ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <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 > | |
Public Types inherited from itk::ImageSource< TOutputImage > | |
typedef Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
typedef DataObject::Pointer | DataObjectPointer |
typedef Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Types inherited from itk::ProcessObject | |
typedef std::vector < DataObjectPointer > | DataObjectPointerArray |
typedef std::vector < DataObjectIdentifierType > | NameArray |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Static Public Member Functions | |
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 Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Member Functions | |
LabelMapToAttributeImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
OutputImagePixelType | m_BackgroundValue |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
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.
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 |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
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 |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkLabelMapToAttributeImageFilter.h.
typedef InputImageType::PixelType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 60 of file itkLabelMapToAttributeImageFilter.h.
typedef InputImageType::Pointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkLabelMapToAttributeImageFilter.h.
typedef InputImageType::RegionType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 59 of file itkLabelMapToAttributeImageFilter.h.
typedef TInputImage itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
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 |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkLabelMapToAttributeImageFilter.h.
typedef OutputImageType::Pointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 61 of file itkLabelMapToAttributeImageFilter.h.
typedef OutputImageType::RegionType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkLabelMapToAttributeImageFilter.h.
typedef TOutputImage itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 56 of file itkLabelMapToAttributeImageFilter.h.
typedef SmartPointer<Self> itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkLabelMapToAttributeImageFilter.h.
typedef LabelMapToAttributeImageFilter itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkLabelMapToAttributeImageFilter.h.
typedef ImageToImageFilter<TInputImage, TOutputImage> itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
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.
Reimplemented from itk::Object.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
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
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkLabelMapToAttributeImageFilter.h.
|
private |
Definition at line 115 of file itkLabelMapToAttributeImageFilter.h.
|
static |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkLabelMapToAttributeImageFilter.h.