18 #ifndef __itkLabelMapMaskImageFilter_h
19 #define __itkLabelMapMaskImageFilter_h
46 template<
typename TInputImage,
typename TOutputImage>
65 typedef typename LabelObjectType::LabelType
LabelType;
72 typedef typename OutputImageType::IndexType
IndexType;
73 typedef typename OutputImageType::SizeType
SizeType;
79 TInputImage::ImageDimension);
81 TOutputImage::ImageDimension);
83 TOutputImage::ImageDimension);
97 this->
SetNthInput( 1, const_cast<TOutputImage *>(input) );
136 itkSetMacro(Negated,
bool);
137 itkGetConstReferenceMacro(Negated,
bool);
138 itkBooleanMacro(Negated);
144 itkSetMacro(Crop,
bool);
145 itkGetConstReferenceMacro(Crop,
bool);
146 itkBooleanMacro(Crop);
154 itkGetConstReferenceMacro(CropBorder,
SizeType);
197 #ifndef ITK_MANUAL_INSTANTIATION
198 #include "itkLabelMapMaskImageFilter.hxx"
TimeStamp m_CropTimeStamp
OutputImageType::IndexType IndexType
TInputImage InputImageType
void SetInput1(const TInputImage *input)
void SetInput2(const TOutputImage *input)
Barrier::Pointer m_Barrier
TOutputImage OutputImageType
~LabelMapMaskImageFilter()
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject)
LabelObjectType::LengthType LengthType
Base class for all process objects that output image data.
void SetFeatureImage(const TOutputImage *input)
OutputImageType::ConstPointer OutputImageConstPointer
static const unsigned int OutputImageDimension
void PrintSelf(std::ostream &os, Indent indent) const
InputImageType::RegionType InputImageRegionType
InputImageType::Pointer InputImagePointer
LabelObjectType::LabelType LabelType
InputImageType::ConstPointer InputImageConstPointer
virtual void SetInput(const InputImageType *image)
SmartPointer< const Self > ConstPointer
LabelMapFilter< TInputImage, TOutputImage > Superclass
OutputImageType::RegionType RegionType
void GenerateInputRequestedRegion()
void operator=(const Self &)
Generate a unique, increasing time value.
OutputImageType::PixelType OutputImagePixelType
OutputImageType::PixelType OutputImagePixelType
void EnlargeOutputRequestedRegion(DataObject *)
Base class for filters that take an image as input and overwrite that image as the output...
DataObject * GetInput(const DataObjectIdentifierType &key)
InputImageType::PixelType InputImagePixelType
LabelMapMaskImageFilter Self
Base class for filters that take an image as input and produce an image as output.
static const unsigned int InputImageDimension
Control indentation during Print() invocation.
virtual void GenerateOutputInformation()
LabelMapMaskImageFilter()
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
InputImageType::LabelObjectType LabelObjectType
static const unsigned int ImageDimension
const OutputImageType * GetFeatureImage()
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
OutputImageType::SizeType SizeType
TOutputImage OutputImageType
InputImageType::PixelType InputImagePixelType
OutputImagePixelType m_BackgroundValue
InputImagePixelType m_Label
virtual void BeforeThreadedGenerateData()
Base class for all data objects in ITK.
Mask and image with a LabelMap.
SmartPointer< Self > Pointer
unsigned int ThreadIdType
OutputImageType::Pointer OutputImagePointer
OutputImageType::RegionType OutputImageRegionType