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 );
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
LabelObjectType::LabelType LabelType
SmartPointer< const Self > ConstPointer
LabelMapFilter< TLabelMap, TOutputImage > Superclass
SmartPointer< Self > Pointer
virtual void SetFunctor(const FunctorType &functor)
~LabelMapOverlayImageFilter()
void PrintSelf(std::ostream &os, Indent indent) const
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
OutputImageType::ConstPointer OutputImageConstPointer
FeatureImageType::PixelType FeatureImagePixelType
FeatureImageType::RegionType FeatureImageRegionType
LabelMapOverlayImageFilter()
virtual void ThreadedProcessLabelObject(LabelObjectType *labelObject)
void EnlargeOutputRequestedRegion(DataObject *)
virtual void GenerateOutputInformation()
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 BeforeThreadedGenerateData()
DataObject * GetInput(const DataObjectIdentifierType &key)
void SetInput2(const TFeatureImage *input)
static const unsigned int OutputImageDimension
virtual void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
FeatureImageType::Pointer FeatureImagePointer
void GenerateInputRequestedRegion()
FeatureImageType::ConstPointer FeatureImageConstPointer
OutputImageType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
Base class for all data objects in ITK.
OutputImageType::RegionType OutputImageRegionType
void operator=(const Self &)
OutputImageType::SizeType SizeType
unsigned int ThreadIdType
Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType > FunctorType