18 #ifndef __otbFusionImageBase_h
19 #define __otbFusionImageBase_h
22 #include "itkNumericTraits.h"
30 template <
class TInputMultiSpectralImage,
class TInputMultiSpectralInterpImage,
class TInputPanchroImage,
31 class TOutputImage,
class TFunctor>
33 TInputMultiSpectralInterpImage,
34 TInputPanchroImage, TOutputImage, TFunctor>
38 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputMultiSpectralImage::ImageDimension);
39 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
74 typedef typename InputMultiSpectralInterpImageType::RegionType
80 typedef typename InputMultiSpectralImageType::SizeType
SizeType;
84 this->SetInput1(multiSpect);
88 this->SetInput2(multiSpectInterp);
92 this->SetInput3(panchro);
97 if (this->GetNumberOfInputs() < 1)
106 if (this->GetNumberOfInputs() < 2)
115 if (this->GetNumberOfInputs() < 3)