ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkConvertLabelMapFilter.h>
Public Types | |
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 InputImageType::LabelObjectType | LabelObjectType |
typedef OutputImageType::ConstPointer | OutputImageConstPointer |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::LabelObjectType | OutputLabelObjectType |
typedef SmartPointer< Self > | Pointer |
typedef ConvertLabelMapFilter | Self |
typedef LabelMapFilter < TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () 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 | |
ConvertLabelMapFilter () | |
virtual void | GenerateData () |
~ConvertLabelMapFilter () | |
Private Member Functions | |
ConvertLabelMapFilter (const Self &) | |
void | operator= (const Self &) |
Converts the LabelObjects of a LabelMap to a differente type of LabelObejct.
The LabelObjects are copied and not simply dynamically casted so the filter ensures that the type of the label objects are of the type specified with TOutputImage.
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 43 of file itkConvertLabelMapFilter.h.
typedef SmartPointer< const Self > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 51 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::IndexType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 66 of file itkConvertLabelMapFilter.h.
typedef InputImageType::ConstPointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 57 of file itkConvertLabelMapFilter.h.
typedef InputImageType::PixelType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImagePixelType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 59 of file itkConvertLabelMapFilter.h.
typedef InputImageType::Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkConvertLabelMapFilter.h.
typedef InputImageType::RegionType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 58 of file itkConvertLabelMapFilter.h.
typedef TInputImage itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkConvertLabelMapFilter.h.
typedef InputImageType::LabelObjectType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::LabelObjectType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 60 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::ConstPointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageConstPointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 63 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::PixelType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 65 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 62 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::RegionType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 64 of file itkConvertLabelMapFilter.h.
typedef TOutputImage itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 55 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::LabelObjectType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputLabelObjectType |
Definition at line 67 of file itkConvertLabelMapFilter.h.
typedef SmartPointer< Self > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 50 of file itkConvertLabelMapFilter.h.
typedef ConvertLabelMapFilter itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 48 of file itkConvertLabelMapFilter.h.
typedef LabelMapFilter< TInputImage, TOutputImage > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 49 of file itkConvertLabelMapFilter.h.
itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::ConvertLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 81 of file itkConvertLabelMapFilter.h.
itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::~ConvertLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 82 of file itkConvertLabelMapFilter.h.
itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::ConvertLabelMapFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::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::LabelMapFilter< TInputImage, TOutputImage >.
virtual void itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::GenerateData | ( | ) | [protected, virtual] |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual const char* itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
static Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
void itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::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::LabelMapFilter< TInputImage, TOutputImage >.
const unsigned int itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 70 of file itkConvertLabelMapFilter.h.
const unsigned int itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static] |
ImageDimension constants
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
Definition at line 71 of file itkConvertLabelMapFilter.h.