Commit be3faf1f authored by Otmane Lahlou's avatar Otmane Lahlou

ENH : modify min/max value of the rescaler : wrapping necessary

parent 76dd7d53
......@@ -72,8 +72,8 @@ int otbMeanDiffChangeDetectionTest(int argc, char* argv[] )
reader1->SetFileName( inputFilename1 );
reader2->SetFileName( inputFilename2 );
writer->SetFileName( outputFilename );
rescaler->SetOutputMinimum( -1 );
rescaler->SetOutputMaximum( 1 );
rescaler->SetOutputMinimum( 0 );
rescaler->SetOutputMaximum( 255 );
filter->SetInput1( reader1->GetOutput() );
filter->SetInput2( reader2->GetOutput() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment