ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkLabelMapToAttributeImageFilter.h>
Convert a LabelMap to a labeled image.
LabelMapToAttributeImageFilter converts a LabelMap to an Image where all the pixels get the attribute value of the label object they belong.
This implementation was taken from the Insight Journal paper: http://hdl.handle.net/1926/584 or http://www.insight-journal.org/browse/publication/176
Definition at line 44 of file itkLabelMapToAttributeImageFilter.h.
Public Types | |
typedef TAttributeAccessor | AttributeAccessorType |
typedef AttributeAccessorType::AttributeValueType | AttributeValueType |
typedef SmartPointer< const Self > | ConstPointer |
typedef OutputImageType::IndexType | IndexType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef LabelMapToAttributeImageFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageSource | Self |
typedef ProcessObject | Superclass |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
typedef std::vector < DataObjectIdentifierType > | NameArray |
typedef SmartPointer< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Member Functions | |
LabelMapToAttributeImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
OutputImagePixelType | m_BackgroundValue |
typedef TAttributeAccessor itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::AttributeAccessorType |
Definition at line 67 of file itkLabelMapToAttributeImageFilter.h.
typedef AttributeAccessorType::AttributeValueType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::AttributeValueType |
Definition at line 68 of file itkLabelMapToAttributeImageFilter.h.
typedef SmartPointer<const Self> itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::ConstPointer |
Definition at line 52 of file itkLabelMapToAttributeImageFilter.h.
typedef OutputImageType::IndexType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::IndexType |
Definition at line 65 of file itkLabelMapToAttributeImageFilter.h.
typedef InputImageType::ConstPointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImageConstPointer |
Definition at line 58 of file itkLabelMapToAttributeImageFilter.h.
typedef InputImageType::PixelType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImagePixelType |
Definition at line 60 of file itkLabelMapToAttributeImageFilter.h.
typedef InputImageType::Pointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImagePointer |
Definition at line 57 of file itkLabelMapToAttributeImageFilter.h.
typedef InputImageType::RegionType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImageRegionType |
Definition at line 59 of file itkLabelMapToAttributeImageFilter.h.
typedef TInputImage itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImageType |
Some convenient typedefs.
Definition at line 55 of file itkLabelMapToAttributeImageFilter.h.
typedef OutputImageType::ConstPointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImageConstPointer |
Definition at line 62 of file itkLabelMapToAttributeImageFilter.h.
typedef OutputImageType::PixelType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImagePixelType |
Definition at line 64 of file itkLabelMapToAttributeImageFilter.h.
typedef OutputImageType::Pointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImagePointer |
Definition at line 61 of file itkLabelMapToAttributeImageFilter.h.
typedef OutputImageType::RegionType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImageRegionType |
Definition at line 63 of file itkLabelMapToAttributeImageFilter.h.
typedef TOutputImage itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImageType |
Definition at line 56 of file itkLabelMapToAttributeImageFilter.h.
typedef SmartPointer<Self> itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Pointer |
Definition at line 51 of file itkLabelMapToAttributeImageFilter.h.
typedef LabelMapToAttributeImageFilter itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Self |
Standard class typedefs.
Definition at line 49 of file itkLabelMapToAttributeImageFilter.h.
typedef ImageToImageFilter<TInputImage, TOutputImage> itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Superclass |
Definition at line 50 of file itkLabelMapToAttributeImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 95 of file itkLabelMapToAttributeImageFilter.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
protectedvirtual |
LabelMapToAttributeImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TOutputImage >.
|
protectedvirtual |
LabelMapToAttributeImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the value used as "background" in the output image, if the input LabelMap use a background. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
static |
Standard New method.
|
private |
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the value used as "background" in the output image, if the input LabelMap use a background. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
static |
ImageDimension constants
Definition at line 72 of file itkLabelMapToAttributeImageFilter.h.
|
private |
Definition at line 114 of file itkLabelMapToAttributeImageFilter.h.
|
static |
ImageDimension constants
Definition at line 74 of file itkLabelMapToAttributeImageFilter.h.