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);
181 void operator=(const
Self&) ITK_DELETE_FUNCTION;
197 #ifndef ITK_MANUAL_INSTANTIATION
198 #include "itkLabelMapMaskImageFilter.hxx"
void EnlargeOutputRequestedRegion(DataObject *) override
TimeStamp m_CropTimeStamp
OutputImageType::IndexType IndexType
TInputImage InputImageType
virtual void BeforeThreadedGenerateData() override
void SetInput1(const TInputImage *input)
void SetInput2(const TOutputImage *input)
Barrier::Pointer m_Barrier
virtual void GenerateOutputInformation() override
TOutputImage OutputImageType
~LabelMapMaskImageFilter()
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
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
Generate a unique, increasing time value.
OutputImageType::PixelType OutputImagePixelType
OutputImageType::PixelType OutputImagePixelType
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject) override
Base class for filters that take an image as input and overwrite that image as the output...
unsigned int ThreadIdType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
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
void GenerateInputRequestedRegion() override
Control indentation during Print() invocation.
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
LabelMapMaskImageFilter()
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
void PrintSelf(std::ostream &os, Indent indent) const override
InputImagePixelType m_Label
Base class for all data objects in ITK.
Mask and image with a LabelMap.
SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointer
OutputImageType::RegionType OutputImageRegionType
Standard barrier class implementation for synchronizing the execution of threads. ...