18 #ifndef itkLabelOverlayImageFilter_h
19 #define itkLabelOverlayImageFilter_h
53 template<
typename TInputImage,
typename TLabelImage,
typename TOutputImage >
57 Functor::LabelOverlayFunctor<
58 typename TInputImage::PixelType,
59 typename TLabelImage::PixelType,
60 typename TOutputImage::PixelType > >
68 typename TInputImage::PixelType,
69 typename TLabelImage::PixelType,
98 itkSetMacro(Opacity,
double);
99 itkGetConstReferenceMacro(Opacity,
double);
107 #ifdef ITK_USE_CONCEPT_CHECKING
115 typename OutputPixelType::ValueType > ) );
145 void operator=(const Self &);
152 #ifndef ITK_MANUAL_INSTANTIATION
153 #include "itkLabelOverlayImageFilter.hxx"
virtual ~LabelOverlayImageFilter()
SmartPointer< Self > Pointer
TInputImage::PixelType InputPixelType
BinaryFunctorImageFilter< TInputImage, TLabelImage, TOutputImage, Functor::LabelOverlayFunctor< typename TInputImage::PixelType, typename TLabelImage::PixelType, typename TOutputImage::PixelType > > Superclass
Apply a colormap to a label image and put it on top of the input image.
OutputPixelType::ComponentType ComponentType
void BeforeThreadedGenerateData() override
Base class for all process objects that output image data.
void SetLabelImage(const TLabelImage *input)
void GenerateOutputInformation() override
Functor for applying a colormap to a label image and combine it with a grayscale image.
TInputImage InputImageType
TLabelImage LabelImageType
SmartPointer< const Self > ConstPointer
LabelOverlayImageFilter()
void AddColor(ComponentType r, ComponentType g, ComponentType b)
LabelPixelType m_BackgroundValue
TOutputImage::PixelType OutputPixelType
TOutputImage OutputImageType
unsigned int GetNumberOfColors() const
const LabelImageType * GetLabelImage() const
Control indentation during Print() invocation.
void PrintSelf(std::ostream &os, Indent indent) const override
LabelOverlayImageFilter Self
#define itkConceptMacro(name, concept)
Implements pixel-wise generic operation of two images, or of an image and a constant.
TLabelImage::PixelType LabelPixelType