Skip to content

Use FunctorImageFilter to refactor filters in MorphologicalProfiles module

Julien Michel requested to merge use_functor_filter_morphologicalprofiles into develop

Summary

This MR uses FunctorImageFilter to remove classes deriving from QuaternaryFunctorImageFilter and TernaryFunctorImageFilter and replace them by template using declarations, in a similar way than in !318 (merged) .

Rationale

This removes classes definitions without changing the feature scope. Once this MR and !318 (merged), we will be able to remove QuaternaryFunctorImageFilter since no classes in OTB will depend on it anymore.

Implementation Details

Documentation

I followed the same pattern as in !318 (merged) to document the template using and link to the applied functor.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement

Merge request reports