Skip to content
Snippets Groups Projects
Commit 02975278 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: use non-deprecated functions

parent 7c8fb9f7
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,8 @@ int otbScalarToRainbowRGBPixelFunctorNew(int itkNotUsed(argc), char * itkNotUsed
typedef itk::UnaryFunctorImageFilter<ImageType,
RGBImageType, ColorMapFunctorType> ColorMapFilterType;
ColorMapFilterType::Pointer colormapper = ColorMapFilterType::New();
colormapper->GetFunctor().SetMaximum(150);
colormapper->GetFunctor().SetMinimum(70);
colormapper->GetFunctor().SetMaximumInputValue(150);
colormapper->GetFunctor().SetMinimumInputValue(70);
std::cout << colormapper << std::endl;
......
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