ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkConvertLabelMapFilter.h>
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.
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 Types inherited from itk::LabelMapFilter< TInputImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageConstPointer | InputImageConstPointer |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::InputImageRegionType | InputImageRegionType |
typedef Superclass::InputImageType | 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 SmartPointer< Self > | Pointer |
typedef LabelMapFilter | 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::LabelMapFilter< TInputImage, TOutputImage > | |
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::LabelMapFilter< TInputImage, TOutputImage > | |
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 | |
ConvertLabelMapFilter (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
typedef SmartPointer< const Self > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::ConstPointer |
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 |
Definition at line 57 of file itkConvertLabelMapFilter.h.
typedef InputImageType::PixelType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 59 of file itkConvertLabelMapFilter.h.
typedef InputImageType::Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 56 of file itkConvertLabelMapFilter.h.
typedef InputImageType::RegionType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 58 of file itkConvertLabelMapFilter.h.
typedef TInputImage itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Definition at line 54 of file itkConvertLabelMapFilter.h.
typedef InputImageType::LabelObjectType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::LabelObjectType |
Definition at line 60 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::ConstPointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageConstPointer |
Definition at line 63 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::PixelType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 65 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::Pointer itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 62 of file itkConvertLabelMapFilter.h.
typedef OutputImageType::RegionType itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 64 of file itkConvertLabelMapFilter.h.
typedef TOutputImage itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::OutputImageType |
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 |
Definition at line 50 of file itkConvertLabelMapFilter.h.
typedef ConvertLabelMapFilter itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 48 of file itkConvertLabelMapFilter.h.
typedef LabelMapFilter< TInputImage, TOutputImage > itk::ConvertLabelMapFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 49 of file itkConvertLabelMapFilter.h.
|
inlineprotected |
Definition at line 81 of file itkConvertLabelMapFilter.h.
|
inlineprotected |
Definition at line 82 of file itkConvertLabelMapFilter.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.
|
overrideprotectedvirtual |
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 |
Runtime information support.
Reimplemented from itk::LabelMapFilter< TInputImage, TOutputImage >.
|
static |
Standard New method.
|
private |
|
static |
ImageDimension constants
Definition at line 70 of file itkConvertLabelMapFilter.h.
|
static |
ImageDimension constants
Definition at line 71 of file itkConvertLabelMapFilter.h.