21 #ifndef otbBinaryFunctorNeighborhoodImageFilter_h
22 #define otbBinaryFunctorNeighborhoodImageFilter_h
24 #include "itkImageToImageFilter.h"
25 #include "itkImageRegionIteratorWithIndex.h"
26 #include "itkConstNeighborhoodIterator.h"
46 template <
class TInputImage1,
class TInputImage2,
class TOutputImage,
class TFunction>
52 typedef itk::ImageToImageFilter<TInputImage1, TOutputImage>
Superclass;
82 void SetInput1(
const TInputImage1* image1);
85 void SetInput2(
const TInputImage2* image2);
88 const TInputImage1* GetInput1();
89 const TInputImage2* GetInput2();
117 typedef typename NeighborhoodIteratorType1::RadiusType
RadiusType1;
118 typedef typename NeighborhoodIteratorType2::RadiusType
RadiusType2;
127 m_Radius.Fill(radius);
146 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
151 void GenerateInputRequestedRegion(
void)
override;
157 void operator=(
const Self&) =
delete;
164 #ifndef OTB_MANUAL_INSTANTIATION