Request for changes-112: New-functor-filters
- Author: Rémi Cresson
- Submitted on 02.08.2017
- Vote :
- Proposed target release: 6.2
- Link to a public git branch : https://git.orfeo-toolbox.org/otb.git/shortlog/refs/heads/new_functor_filters
- Merged :
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.