18#ifndef itkAttributeMorphologyBaseImageFilter_h
19#define itkAttributeMorphologyBaseImageFilter_h
51template <
typename TInputImage,
typename TOutputImage,
typename TAttribute,
typename TFunction>
76 using SizeType =
typename TInputImage::SizeType;
113 itkSetMacro(FullyConnected,
bool);
114 itkGetConstReferenceMacro(FullyConnected,
bool);
115 itkBooleanMacro(FullyConnected);
187 std::unique_ptr<InputPixelType[]>
m_Raw;
256#ifndef ITK_MANUAL_INSTANTIATION
257# include "itkAttributeMorphologyBaseImageFilter.hxx"
bool operator()(const OffsetValueType &l, const OffsetValueType &r) const
std::unique_ptr< OffsetValueType[]> m_Parent
void GenerateData() override
void EnlargeOutputRequestedRegion(DataObject *output) override
typename TInputImage::IndexType IndexType
void MakeSet(OffsetValueType x)
std::unique_ptr< AttributeType[]> m_AuxData
AttributeType m_AttributeValuePerPixel
static constexpr unsigned int ImageDimension
static constexpr OffsetValueType INACTIVE
void PrintSelf(std::ostream &os, Indent indent) const override
typename TInputImage::OffsetType OffsetType
typename TInputImage::SizeType SizeType
void GenerateInputRequestedRegion() override
typename TOutputImage::PixelType OutputPixelType
void SetupOffsetVec(OffsetDirectVecType &PosOffsets, OffsetVecType &Offsets)
AttributeMorphologyBaseImageFilter(const Self &)
std::unique_ptr< OffsetValueType[]> m_SortPixels
TOutputImage OutputImageType
std::vector< OffsetValueType > OffsetDirectVecType
SmartPointer< Self > Pointer
CompareOffsetType m_CompareOffset
OffsetValueType FindRoot(OffsetValueType x)
SmartPointer< const Self > ConstPointer
AttributeMorphologyBaseImageFilter Self
std::unique_ptr< InputPixelType[]> m_Raw
typename TOutputImage::InternalPixelType OutputInternalPixelType
bool Criterion(OffsetValueType x, OffsetValueType y)
typename TOutputImage::RegionType RegionType
TInputImage InputImageType
typename TInputImage::PixelType InputPixelType
typename TInputImage::InternalPixelType InputInternalPixelType
static constexpr OffsetValueType ACTIVE
ImageToImageFilter< TInputImage, TOutputImage > Superclass
AttributeMorphologyBaseImageFilter()
void Union(OffsetValueType n, OffsetValueType p)
std::vector< OffsetType > OffsetVecType
std::list< IndexType > ListType
~AttributeMorphologyBaseImageFilter() override=default
Base class for all data objects in ITK.
typename InputImageType::Pointer InputImagePointer
Control indentation during Print() invocation.
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....