21 #ifndef otbBinaryImageToDensityImageFilter_h
22 #define otbBinaryImageToDensityImageFilter_h
24 #include "itkImageToImageFilter.h"
25 #include "itkDataObject.h"
26 #include "itkConstNeighborhoodIterator.h"
36 template <
class TInputImage,
class TOutputImage,
class TCountFunction>
42 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
65 typedef typename NeighborhoodIteratorType::RadiusType
RadiusType;
74 m_NeighborhoodRadius.Fill(rad);
79 void ThreadedGenerateData(
const InputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
80 void BeforeThreadedGenerateData()
override;
81 void GenerateInputRequestedRegion()
override;
92 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
96 void operator=(
const Self&) =
delete;
105 #ifndef OTB_MANUAL_INSTANTIATION