ITK
4.1.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 Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | SetBackgroundValue (OutputImagePixelType _arg) |
virtual OutputImagePixelType | GetBackgroundValue () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
void | EnlargeOutputRequestedRegion (DataObject *) |
void | GenerateData () |
void | GenerateInputRequestedRegion () |
LabelMapToAttributeImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
~LabelMapToAttributeImageFilter () | |
Private Member Functions | |
LabelMapToAttributeImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
OutputImagePixelType | m_BackgroundValue |
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.
itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::LabelMapToAttributeImageFilter | ( | ) | [protected] |
itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::~LabelMapToAttributeImageFilter | ( | ) | [inline, protected] |
Definition at line 95 of file itkLabelMapToAttributeImageFilter.h.
itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::LabelMapToAttributeImageFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::CreateAnother | ( | void | ) | const [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.
void itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::EnlargeOutputRequestedRegion | ( | DataObject * | ) | [protected, virtual] |
LabelMapToAttributeImageFilter will produce the entire output.
Reimplemented from itk::ProcessObject.
void itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::GenerateData | ( | ) | [protected, virtual] |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
Reimplemented from itk::ImageSource< TOutputImage >.
void itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::GenerateInputRequestedRegion | ( | ) | [protected, virtual] |
LabelMapToAttributeImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual OutputImagePixelType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::GetBackgroundValue | ( | ) | const [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 const char* itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
static Pointer itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::Object.
void itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::operator= | ( | const Self & | ) | [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 >.
void itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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 void itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::SetBackgroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
Set/Get the value used as "background" in the output image, if the input LabelMap use a background. Defaults to NumericTraits<PixelType>::NonpositiveMin().
const unsigned int itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkLabelMapToAttributeImageFilter.h.
OutputImagePixelType itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::m_BackgroundValue [private] |
Definition at line 115 of file itkLabelMapToAttributeImageFilter.h.
const unsigned int itk::LabelMapToAttributeImageFilter< TInputImage, TOutputImage, TAttributeAccessor >::OutputImageDimension = TOutputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkLabelMapToAttributeImageFilter.h.