Skip to content
Snippets Groups Projects
Commit 2f375b36 authored by Julien Malik's avatar Julien Malik
Browse files

BUG: input image maximum is 255

parent 22ca1635
No related branches found
No related tags found
No related merge requests found
......@@ -32,10 +32,10 @@ int otbScalarImageToTexturesFilter(int argc, char * argv[])
}
const char * infname = argv[1];
const char * outprefix = argv[2];
const unsigned int nbBins = atoi(argv[3]);
const unsigned int radius = atoi(argv[4]);
const int offsetx = atoi(argv[5]);
const int offsety = atoi(argv[6]);
const unsigned int nbBins = atoi(argv[3]);
const unsigned int radius = atoi(argv[4]);
const int offsetx = atoi(argv[5]);
const int offsety = atoi(argv[6]);
const unsigned int Dimension = 2;
typedef float PixelType;
......@@ -69,7 +69,7 @@ int otbScalarImageToTexturesFilter(int argc, char * argv[])
otb::StandardFilterWatcher watcher(filter, "Textures filter");
filter->SetInputImageMinimum(0);
filter->SetInputImageMaximum(256);
filter->SetInputImageMaximum(255);
// Write outputs
itk::OStringStream oss;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment