Request for changes-112: New-functor-filters
- Author: Rémi Cresson
- Submitted on 02.08.2017
- Vote : +3 from Rémi, Victor, Guillaume
- Proposed target release: 6.2
- Merged : 7c068ce3d690c06e0fd97a548d5c340fd2a5ffe1
Add two "new" functor image filters.
The otbUnaryFunctorImageFilter is very convenient to change the number of channels of the output image. However, there is currently no such thing for binary and ternary functors.
A Modules/Core/Common/include/otbBinaryFunctorImageFilter.h A Modules/Core/Common/include/otbTernaryFunctorImageFilter.h
The new filters implements the same strategy of the otbUnaryFunctorImageFilter, using respectively itkBinaryImageFunctorFilter and itkTernaryImageFunctorFilter.