Refactor PanSharpening module to use FunctorImageFilter everywhere
Compare changes
@@ -53,8 +53,6 @@ public:
@@ -176,7 +174,9 @@ private:
@@ -203,8 +203,9 @@ private:
@@ -224,7 +225,9 @@ private:
@@ -236,12 +239,9 @@ private:
This MR refactors PanSharpening
module to use FunctorImageFilter
.
Avoids relying on TernaryFunctorImageFilter
(either itk version or our own version).
Gain performances by using the void operator()(Tout& out, ...)
form.
Appart from the removal of otb::ImageFusionBase
which was a base class used only by BayesianFusionImageFilter
, all modifications are internal to filters and do not change the API.
A small refactoring has been done PanSharpening application to avoid a compilation error (trying to convert the BayesianFusionImageFilter
to the wrong instance of ImageToImageFilter
). Maybe we could use the new RegisterPipeline()
method here.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging: