Skip to content
Snippets Groups Projects
Commit 77299c78 authored by Rémi Cresson's avatar Rémi Cresson
Browse files

FIX: replace otb::FunctorImageFilter with itk::UnaryFunctorImageFilter to fix #2004

parent dad1ee22
No related branches found
No related tags found
1 merge request!649Resolve "Mosaic do not work anymore with rgb mode"
Pipeline #3172 passed
...@@ -145,7 +145,7 @@ public: ...@@ -145,7 +145,7 @@ public:
/* Decorrelated color space <--> RGB functors typedefs */ /* Decorrelated color space <--> RGB functors typedefs */
typedef otb::Functor::LAB2RGB<FloatVectorImageType::PixelType, FloatVectorImageType::PixelType> LAB2RGBFunctor; typedef otb::Functor::LAB2RGB<FloatVectorImageType::PixelType, FloatVectorImageType::PixelType> LAB2RGBFunctor;
typedef otb::Functor::RGB2LAB<FloatVectorImageType::PixelType, FloatVectorImageType::PixelType> RGB2LABFunctor; 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; typedef otb::FunctorImageFilter<LAB2RGBFunctor> LAB2RGBFilterType;
/** Interpolators typedefs */ /** Interpolators typedefs */
......
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