ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkRegionFromReferenceLabelMapFilter.h>
Set the region from a reference image.
Change the region of a label map to be the same as one of a reference image. This filter implements the same feature as its superclass, but with the input region well integrated in the pipeline architecture. If the output cannot contain some of the objects' lines, they are truncated or removed. All objects fully outside the output region are removed.
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 54 of file itkRegionFromReferenceLabelMapFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::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 Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef InputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef ImageBase < itkGetStaticConstMacro(ImageDimension) > | ReferenceImageType |
typedef InputImageType::RegionType | RegionType |
typedef RegionFromReferenceLabelMapFilter | Self |
typedef InputImageType::SizeType | SizeType |
typedef ChangeRegionLabelMapFilter < TInputImage > | Superclass |
typedef TInputImage | TOutputImage |
Public Types inherited from itk::ChangeRegionLabelMapFilter< TInputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::IndexType | IndexType |
typedef InputImageType::IndexValueType | IndexValueType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TInputImage | InputImageType |
typedef InputImageType::LabelObjectType | LabelObjectType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef InputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef InputImageType::RegionType | RegionType |
typedef ChangeRegionLabelMapFilter | Self |
typedef InputImageType::SizeType | SizeType |
typedef InPlaceLabelMapFilter < TInputImage > | Superclass |
typedef TInputImage | TOutputImage |
Public Types inherited from itk::InPlaceLabelMapFilter< TInputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::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 Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef InputImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef InputImageType::RegionType | RegionType |
typedef InPlaceLabelMapFilter | Self |
typedef LabelMapFilter < TInputImage, TInputImage > | Superclass |
typedef TInputImage | TOutputImage |
Public Types inherited from itk::LabelMapFilter< TInputImage, TInputImage > | |
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 TInputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef LabelMapFilter | Self |
typedef ImageToImageFilter < TInputImage, TInputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
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< TInputImage > | Superclass |
Public Types inherited from itk::ImageSource< TInputImage > | |
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 TInputImage | 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::ChangeRegionLabelMapFilter< TInputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::InPlaceLabelMapFilter< TInputImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LabelMapFilter< TInputImage, TInputImage > | |
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 const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ChangeRegionLabelMapFilter< TInputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::InPlaceLabelMapFilter< TInputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::LabelMapFilter< TInputImage, TInputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TInputImage > | |
static const unsigned int | OutputImageDimension |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
RegionFromReferenceLabelMapFilter (const Self &) ITK_DELETE_FUNCTION | |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TInputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::LabelMapFilter< TInputImage, TInputImage > | |
FastMutexLock::Pointer | m_LabelObjectContainerLock |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::RegionFromReferenceLabelMapFilter< TInputImage >::ConstPointer |
Definition at line 61 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::IndexType itk::RegionFromReferenceLabelMapFilter< TInputImage >::IndexType |
Definition at line 84 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::ConstPointer itk::RegionFromReferenceLabelMapFilter< TInputImage >::InputImageConstPointer |
Definition at line 78 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::PixelType itk::RegionFromReferenceLabelMapFilter< TInputImage >::InputImagePixelType |
Definition at line 80 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::Pointer itk::RegionFromReferenceLabelMapFilter< TInputImage >::InputImagePointer |
Definition at line 77 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::RegionType itk::RegionFromReferenceLabelMapFilter< TInputImage >::InputImageRegionType |
Definition at line 79 of file itkRegionFromReferenceLabelMapFilter.h.
typedef TInputImage itk::RegionFromReferenceLabelMapFilter< TInputImage >::InputImageType |
Some convenient typedefs.
Definition at line 76 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::LabelObjectType itk::RegionFromReferenceLabelMapFilter< TInputImage >::LabelObjectType |
Definition at line 81 of file itkRegionFromReferenceLabelMapFilter.h.
typedef Superclass::OutputImagePixelType itk::RegionFromReferenceLabelMapFilter< TInputImage >::OutputImagePixelType |
Definition at line 73 of file itkRegionFromReferenceLabelMapFilter.h.
typedef Superclass::OutputImagePointer itk::RegionFromReferenceLabelMapFilter< TInputImage >::OutputImagePointer |
Definition at line 71 of file itkRegionFromReferenceLabelMapFilter.h.
typedef Superclass::OutputImageRegionType itk::RegionFromReferenceLabelMapFilter< TInputImage >::OutputImageRegionType |
Definition at line 72 of file itkRegionFromReferenceLabelMapFilter.h.
typedef Superclass::OutputImageType itk::RegionFromReferenceLabelMapFilter< TInputImage >::OutputImageType |
Superclass typedefs.
Definition at line 67 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::PixelType itk::RegionFromReferenceLabelMapFilter< TInputImage >::PixelType |
Definition at line 83 of file itkRegionFromReferenceLabelMapFilter.h.
typedef SmartPointer< Self > itk::RegionFromReferenceLabelMapFilter< TInputImage >::Pointer |
Definition at line 60 of file itkRegionFromReferenceLabelMapFilter.h.
typedef ImageBase< itkGetStaticConstMacro(ImageDimension) > itk::RegionFromReferenceLabelMapFilter< TInputImage >::ReferenceImageType |
Definition at line 96 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::RegionType itk::RegionFromReferenceLabelMapFilter< TInputImage >::RegionType |
Definition at line 86 of file itkRegionFromReferenceLabelMapFilter.h.
typedef RegionFromReferenceLabelMapFilter itk::RegionFromReferenceLabelMapFilter< TInputImage >::Self |
Standard class typedefs.
Definition at line 58 of file itkRegionFromReferenceLabelMapFilter.h.
typedef InputImageType::SizeType itk::RegionFromReferenceLabelMapFilter< TInputImage >::SizeType |
Definition at line 85 of file itkRegionFromReferenceLabelMapFilter.h.
typedef ChangeRegionLabelMapFilter< TInputImage > itk::RegionFromReferenceLabelMapFilter< TInputImage >::Superclass |
Definition at line 59 of file itkRegionFromReferenceLabelMapFilter.h.
typedef TInputImage itk::RegionFromReferenceLabelMapFilter< TInputImage >::TOutputImage |
Definition at line 88 of file itkRegionFromReferenceLabelMapFilter.h.
|
inlineprotected |
Definition at line 116 of file itkRegionFromReferenceLabelMapFilter.h.
References itk::ProcessObject::SetNumberOfRequiredInputs().
|
inlineprotected |
Definition at line 121 of file itkRegionFromReferenceLabelMapFilter.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::ChangeRegionLabelMapFilter< TInputImage >.
|
overrideprotectedvirtual |
Generate the information describing the output data. The default implementation of this method will copy information from the input to the output. A filter may override this method if its output will have different information than its input. For instance, a filter that shrinks an image will need to provide an implementation for this method that changes the spacing of the pixels. Such filters should call their superclass' implementation of this method prior to changing the information values they need (i.e. GenerateOutputInformation() should call Superclass::GenerateOutputInformation() prior to changing the information.
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ChangeRegionLabelMapFilter< TInputImage >.
const ReferenceImageType* itk::RegionFromReferenceLabelMapFilter< TInputImage >::GetReferenceImage | ( | ) | const |
|
static |
Standard New method.
|
private |
|
overrideprotectedvirtual |
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::ChangeRegionLabelMapFilter< TInputImage >.
|
inline |
Set the input image
Definition at line 104 of file itkRegionFromReferenceLabelMapFilter.h.
References itk::ImageToImageFilter< TInputImage, TInputImage >::SetInput().
|
inline |
Set the reference image
Definition at line 110 of file itkRegionFromReferenceLabelMapFilter.h.
References itk::RegionFromReferenceLabelMapFilter< TInputImage >::SetReferenceImage().
void itk::RegionFromReferenceLabelMapFilter< TInputImage >::SetReferenceImage | ( | const ReferenceImageType * | image | ) |
Copy the output information from another Image.
Referenced by itk::RegionFromReferenceLabelMapFilter< TInputImage >::SetInput2().
|
static |
ImageDimension constants
Definition at line 93 of file itkRegionFromReferenceLabelMapFilter.h.
|
static |
ImageDimension constants
Definition at line 91 of file itkRegionFromReferenceLabelMapFilter.h.
|
static |
ImageDimension constants
Definition at line 92 of file itkRegionFromReferenceLabelMapFilter.h.