diff --git a/Modules/Applications/AppImageUtils/app/otbMosaic.cxx b/Modules/Applications/AppImageUtils/app/otbMosaic.cxx index ea99fef7759490dd294199fb0dd558189fe0ebdb..5ea6e4f99e33484d59b317fb87339e65b84a7ee4 100644 --- a/Modules/Applications/AppImageUtils/app/otbMosaic.cxx +++ b/Modules/Applications/AppImageUtils/app/otbMosaic.cxx @@ -145,7 +145,7 @@ public: /* Decorrelated color space <--> RGB functors typedefs */ typedef otb::Functor::LAB2RGB<FloatVectorImageType::PixelType, FloatVectorImageType::PixelType> LAB2RGBFunctor; typedef otb::Functor::RGB2LAB<FloatVectorImageType::PixelType, FloatVectorImageType::PixelType> RGB2LABFunctor; - typedef otb::FunctorImageFilter<RGB2LABFunctor> RGB2LABFilterType; + typedef itk::UnaryFunctorImageFilter<FloatVectorImageType, FloatVectorImageType, RGB2LABFunctor> RGB2LABFilterType; typedef otb::FunctorImageFilter<LAB2RGBFunctor> LAB2RGBFilterType; /** Interpolators typedefs */