18 #ifndef __itkObjectByObjectLabelMapFilter_h
19 #define __itkObjectByObjectLabelMapFilter_h
72 template<
typename TInputImage,
typename TOutputImage=TInputImage,
73 typename TInputFilter=ImageToImageFilter<
74 Image< unsigned char, TInputImage::ImageDimension >,
75 Image< unsigned char, TOutputImage::ImageDimension > >,
76 class TOutputFilter=
typename TInputFilter::Superclass,
77 class TInternalInputImage=
typename TInputFilter::InputImageType,
78 class TInternalOutputImage=
typename TOutputFilter::OutputImageType >
100 typedef typename OutputImageType::SizeType
SizeType;
119 TInputImage::ImageDimension);
121 TOutputImage::ImageDimension);
123 TOutputImage::ImageDimension);
165 itkSetMacro(KeepLabels,
bool);
166 itkGetMacro(KeepLabels,
bool);
167 itkBooleanMacro(KeepLabels);
181 itkSetMacro(ConstrainPaddingToImage,
bool);
182 itkGetMacro(ConstrainPaddingToImage,
bool);
183 itkBooleanMacro(ConstrainPaddingToImage);
191 itkSetMacro(BinaryInternalOutput,
bool);
192 itkGetMacro(BinaryInternalOutput,
bool);
193 itkBooleanMacro(BinaryInternalOutput);
246 #ifndef ITK_MANUAL_INSTANTIATION
247 #include "itkObjectByObjectLabelMapFilter.hxx"
const InputFilterType * GetFilter() const
virtual void GenerateData()
InternalInputImageType::RegionType InternalRegionType
void SetOutputFilter(OutputFilterType *filter)
convert a labeled image to a label collection image
itk::LabelMapToBinaryImageFilter< LabelMapType, InternalInputImageType > LM2BIType
InputImageType::PixelType InputImagePixelType
ObjectByObjectLabelMapFilter Self
OutputImageType::Pointer OutputImagePointer
itk::BinaryImageToLabelMapFilter< InternalOutputImageType, LabelMapType > BI2LMType
OutputFilterType::Pointer m_OutputFilter
ObjectByObjectLabelMapFilter()
itk::PadLabelMapFilter< LabelMapType > PadType
OutputImageType::SizeType SizeType
LabelMapType::LabelObjectType LabelObjectType
bool m_ConstrainPaddingToImage
TInternalInputImage InternalInputImageType
Base class for all process objects that output image data.
void SetInputFilter(InputFilterType *filter)
SmartPointer< Self > Pointer
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
InternalInputImageType::OffsetType InternalOffsetType
static const unsigned int OutputImageDimension
InputImageType::RegionType InputImageRegionType
~ObjectByObjectLabelMapFilter()
TInternalOutputImage InternalOutputImageType
InternalInputImageType::PixelType InternalInputPixelType
itk::AutoCropLabelMapFilter< LabelMapType > CropType
InternalInputImageType::SizeType InternalSizeType
InputImageType::Pointer InputImagePointer
InputImageType::ConstPointer InputImageConstPointer
InputFilterType::Pointer m_InputFilter
SelectType::Pointer m_Select
OutputImageType::RegionType OutputImageRegionType
Crop a LabelMap image to fit exactly the objects in the LabelMap.
Base class for filters that take an image as input and overwrite that image as the output...
TInputFilter InputFilterType
bool m_BinaryInternalOutput
remove the objects according to the value of their attribute
OutputImageType::ConstPointer OutputImageConstPointer
OutputImageType LabelMapType
TInputImage InputImageType
LI2LMType::Pointer m_LI2LM
InputImageType::PixelType InputImagePixelType
InputFilterType * GetFilter()
Label the connected components in a binary image and produce a collection of label objects...
LabelMapFilter< TInputImage, TOutputImage > Superclass
BI2LMType::Pointer m_BI2LM
itk::LabelImageToLabelMapFilter< InternalOutputImageType, LabelMapType > LI2LMType
Control indentation during Print() invocation.
OutputImageType::PixelType OutputImagePixelType
void PrintSelf(std::ostream &os, Indent indent) const
TOutputImage OutputImageType
TOutputFilter OutputFilterType
void SetFilter(InputFilterType *filter)
TOutputImage OutputImageType
InternalOutputImageType::PixelType InternalOutputPixelType
InputImagePixelType m_Label
ObjectByObjectLabelMapFilter applies an image pipeline to all the objects of a label map and produce ...
static const unsigned int ImageDimension
InternalInputImageType::IndexType InternalIndexType
itk::LabelSelectionLabelMapFilter< LabelMapType > SelectType
InternalOutputPixelType m_InternalForegroundValue
Convert a LabelMap to a binary image.
static const unsigned int InputImageDimension
LM2BIType::Pointer m_LM2BI