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);
92 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
105 #ifndef OTB_MANUAL_INSTANTIATION
This class performs a streaming isotropic shrinking operation without smoothing.
~BinaryImageToDensityImageFilter() override
void DynamicThreadedGenerateData(const InputImageRegionType &outputRegionForThread) override
void GenerateInputRequestedRegion() override
BinaryImageToDensityImageFilter(const Self &)=delete
void PrintSelf(std::ostream &os, itk::Indent indent) const override
InputImageType::SizeType InputImageSizeType
TCountFunction CountFunctionType
NeighborhoodIteratorType::RadiusType RadiusType
BinaryImageToDensityImageFilter Self
CountFunctionType::Pointer CountFunctionPointerType
itk::SmartPointer< const Self > ConstPointer
BinaryImageToDensityImageFilter()
TInputImage InputImageType
InputImageType::RegionType InputImageRegionType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
void BeforeThreadedGenerateData() override
RadiusType m_NeighborhoodRadius
itk::ConstNeighborhoodIterator< TInputImage > NeighborhoodIteratorType
InputImageType::Pointer InputImagePointerType
void operator=(const Self &)=delete
OutputImageType::Pointer OutputImagePointerType
void SetNeighborhoodRadius(unsigned int rad)
TOutputImage OutputImageType
CountFunctionPointerType m_CountFunction
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.