18 #ifndef itkAttributeMorphologyBaseImageFilter_h
19 #define itkAttributeMorphologyBaseImageFilter_h
62 template<
typename TInputImage,
typename TOutputImage,
typename TAttribute,
typename TFunction >
88 typedef typename TInputImage::SizeType
SizeType;
91 TOutputImage::ImageDimension);
126 itkSetMacro(FullyConnected,
bool);
127 itkGetConstReferenceMacro(FullyConnected,
bool);
128 itkBooleanMacro(FullyConnected);
177 itkStaticConstMacro(
ACTIVE, OffsetValueType, -2);
178 itkStaticConstMacro(
ROOT, OffsetValueType, -3);
187 void SetupOffsetVec(OffsetDirectVecType & PosOffsets, OffsetVecType & Offsets);
335 #ifndef ITK_MANUAL_INSTANTIATION
336 #include "itkAttributeMorphologyBaseImageFilter.hxx"
OffsetValueType FindRoot(OffsetValueType x)
void EnlargeOutputRequestedRegion(DataObject *) override
bool Criterion(OffsetValueType x, OffsetValueType y)
bool operator()(GreyAndPos const &l, GreyAndPos const &r) const
signed long OffsetValueType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::Pointer InputImagePointer
TInputImage::InternalPixelType InputInternalPixelType
void GenerateInputRequestedRegion() override
TInputImage::OffsetType OffsetType
TInputImage::IndexType IndexType
Base class for all process objects that output image data.
OffsetValueType * m_Parent
GreyAndPos * m_SortPixels
SmartPointer< Self > Pointer
void Union(OffsetValueType n, OffsetValueType p)
AttributeType * m_AuxData
static const OffsetValueType ACTIVE
SmartPointer< const Self > ConstPointer
void GenerateData() override
std::list< IndexType > ListType
TInputImage::PixelType InputPixelType
void SetupOffsetVec(OffsetDirectVecType &PosOffsets, OffsetVecType &Offsets)
TInputImage::SizeType SizeType
TOutputImage::InternalPixelType OutputInternalPixelType
static const OffsetValueType ROOT
void PrintSelf(std::ostream &os, Indent indent) const override
AttributeMorphologyBaseImageFilter()
std::vector< OffsetValueType > OffsetDirectVecType
virtual ~AttributeMorphologyBaseImageFilter()
Base class for filters that take an image as input and produce an image as output.
TOutputImage::RegionType RegionType
Superclass::InputImagePointer InputImagePointer
Control indentation during Print() invocation.
AttributeMorphologyBaseImageFilter Self
TInputImage InputImageType
TOutputImage OutputImageType
AttributeMorphologyBaseImageFilter(const Self &)
void MakeSet(OffsetValueType x)
static const unsigned int ImageDimension
AttributeType m_AttributeValuePerPixel
Morphological opening by attributes.
Base class for all data objects in ITK.
static const OffsetValueType INACTIVE
TOutputImage::PixelType OutputPixelType
std::vector< OffsetType > OffsetVecType