18 #ifndef itkLabelMapOverlayImageFilter_h
19 #define itkLabelMapOverlayImageFilter_h
51 template<
typename TLabelMap,
typename TFeatureImage,
typename TOutputImage=Image< RGBPixel<
typename TFeatureImage::PixelType >, TFeatureImage::ImageDimension > >
69 typedef typename LabelObjectType::LabelType
LabelType;
83 typedef typename OutputImageType::IndexType
IndexType;
84 typedef typename OutputImageType::SizeType
SizeType;
91 TLabelMap::ImageDimension);
93 TOutputImage::ImageDimension);
95 TOutputImage::ImageDimension);
109 this->
SetNthInput( 1, const_cast<TFeatureImage *>(input) );
133 itkSetMacro( Opacity,
double );
134 itkGetConstReferenceMacro( Opacity,
double );
176 void operator=(const Self&);
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkLabelMapOverlayImageFilter.hxx"
void SetFeatureImage(const TFeatureImage *input)
void SetInput1(const TLabelMap *input)
TOutputImage OutputImageType
LabelMapType::PixelType LabelMapPixelType
LabelMapType::RegionType LabelMapRegionType
void EnlargeOutputRequestedRegion(DataObject *) override
LabelObjectType::LabelType LabelType
SmartPointer< const Self > ConstPointer
LabelMapFilter< TLabelMap, TOutputImage > Superclass
SmartPointer< Self > Pointer
virtual void SetFunctor(const FunctorType &functor)
~LabelMapOverlayImageFilter()
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
Barrier::Pointer m_Barrier
LabelMapOverlayImageFilter Self
TFeatureImage FeatureImageType
const FeatureImageType * GetFeatureImage()
OutputImageType::RegionType RegionType
Base class for all process objects that output image data.
const FunctorType & GetFunctor() const
static const unsigned int InputImageDimension
LabelMapType::ConstPointer LabelMapConstPointer
virtual void BeforeThreadedGenerateData() override
OutputImageType::ConstPointer OutputImageConstPointer
FeatureImageType::PixelType FeatureImagePixelType
FeatureImageType::RegionType FeatureImageRegionType
LabelMapOverlayImageFilter()
OutputImageType::PixelType OutputImagePixelType
FunctorType & GetFunctor()
virtual void SetInput(const InputImageType *image)
LabelMapType::LabelObjectType LabelObjectType
static const unsigned int ImageDimension
OutputImageType::Pointer OutputImagePointer
LabelMapType::Pointer LabelMapPointer
LabelObjectType::LengthType LengthType
virtual void Modified() const
Apply a colormap to a label map and superimpose it on an image.
Base class for filters that take an image as input and overwrite that image as the output...
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject) override
unsigned int ThreadIdType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
void SetInput2(const TFeatureImage *input)
static const unsigned int OutputImageDimension
FeatureImageType::Pointer FeatureImagePointer
FeatureImageType::ConstPointer FeatureImageConstPointer
OutputImageType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
virtual void GenerateOutputInformation() override
void GenerateInputRequestedRegion() override
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
Base class for all data objects in ITK.
OutputImageType::RegionType OutputImageRegionType
OutputImageType::SizeType SizeType
Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType > FunctorType
Standard barrier class implementation for synchronizing the execution of threads. ...