Skip to content
Snippets Groups Projects
Commit 68b886f9 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

BUG: AddExample is for 2d and more examples

parent d399d82b
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@
#include "otbApplyGainFilter.h"
#include "otbImageFileWriter.h"
#include "itkImageRegionIterator.h"
#include <string>
#include "otbStreamingHistogramVectorImageFilter.h"
namespace otb
......@@ -281,13 +281,13 @@ private:
SetMinimumParameterIntValue("spatial.local.h", 1);
SetMinimumParameterIntValue("spatial.local.w", 1);
unsigned int exId = AddExample( "Local contrast enhancement by luminance" );
SetDocExampleParameterValue( "in" , "couleurs.tif" , exId );
SetDocExampleParameterValue( "out" , "equalizedcouleurs.tif float" , exId );
SetDocExampleParameterValue( "bins" , "256" , exId );
SetDocExampleParameterValue( "spatial.local.w" , "500" , exId );
SetDocExampleParameterValue( "spatial.local.h" , "500" , exId );
SetDocExampleParameterValue( "mode" , "lum" , exId );
SetExampleComment( "Local contrast enhancement by luminance" , 0 );
SetDocExampleParameterValue( "in" , "couleurs.tif" );
SetDocExampleParameterValue( "out" , "equalizedcouleurs.tif float" );
SetDocExampleParameterValue( "bins" , "256" );
SetDocExampleParameterValue( "spatial.local.w" , "500" );
SetDocExampleParameterValue( "spatial.local.h" , "500");
SetDocExampleParameterValue( "mode" , "lum" );
AddRAMParameter();
}
......
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