ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryReconstructionLabelMapFilter.h>
Public Types | |
typedef TAttributeAccessor | AttributeAccessorType |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageType::ConstPointer | ImageConstPointer |
typedef ImageType::Pointer | ImagePointer |
typedef TImage | ImageType |
typedef ImageType::IndexType | IndexType |
typedef ImageType::LabelObjectType | LabelObjectType |
typedef MarkerImageType::ConstPointer | MarkerImageConstPointer |
typedef MarkerImageType::PixelType | MarkerImagePixelType |
typedef MarkerImageType::Pointer | MarkerImagePointer |
typedef TMarkerImage | MarkerImageType |
typedef ImageType::PixelType | PixelType |
typedef SmartPointer< Self > | Pointer |
typedef BinaryReconstructionLabelMapFilter | Self |
typedef InPlaceLabelMapFilter < TImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
MarkerImageType * | GetMarkerImage () |
virtual const char * | GetNameOfClass () const |
void | SetInput1 (TImage *input) |
void | SetInput2 (TMarkerImage *input) |
void | SetMarkerImage (TMarkerImage *input) |
virtual void | SetForegroundValue (MarkerImagePixelType _arg) |
virtual MarkerImagePixelType | GetForegroundValue () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Protected Member Functions | |
BinaryReconstructionLabelMapFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | ThreadedProcessLabelObject (LabelObjectType *labelObject) |
~BinaryReconstructionLabelMapFilter () | |
Private Member Functions | |
BinaryReconstructionLabelMapFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
MarkerImagePixelType | m_ForegroundValue |
Mark the objects at least partially at the same position as the objects in a binary image.
The attribute is accessed through the accessor given with TAttributeAccessor. The LabelObjects from the input LabelMap are marked with "true" if at least one of their pixel is at the same position than an object in the binary marker image. In the marker image, the pixels with a value equal to ForegroundValue are considered to be in the objects.
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 45 of file itkBinaryReconstructionLabelMapFilter.h.
typedef TAttributeAccessor itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::AttributeAccessorType |
Definition at line 68 of file itkBinaryReconstructionLabelMapFilter.h.
typedef SmartPointer<const Self> itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ConstPointer |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 53 of file itkBinaryReconstructionLabelMapFilter.h.
typedef ImageType::ConstPointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImageConstPointer |
Definition at line 58 of file itkBinaryReconstructionLabelMapFilter.h.
typedef ImageType::Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImagePointer |
Definition at line 57 of file itkBinaryReconstructionLabelMapFilter.h.
typedef TImage itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImageType |
Some convenient typedefs.
Definition at line 56 of file itkBinaryReconstructionLabelMapFilter.h.
typedef ImageType::IndexType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::IndexType |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 60 of file itkBinaryReconstructionLabelMapFilter.h.
typedef ImageType::LabelObjectType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::LabelObjectType |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 61 of file itkBinaryReconstructionLabelMapFilter.h.
typedef MarkerImageType::ConstPointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImageConstPointer |
Definition at line 65 of file itkBinaryReconstructionLabelMapFilter.h.
typedef MarkerImageType::PixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImagePixelType |
Definition at line 66 of file itkBinaryReconstructionLabelMapFilter.h.
typedef MarkerImageType::Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImagePointer |
Definition at line 64 of file itkBinaryReconstructionLabelMapFilter.h.
typedef TMarkerImage itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::MarkerImageType |
Definition at line 63 of file itkBinaryReconstructionLabelMapFilter.h.
typedef ImageType::PixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::PixelType |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 59 of file itkBinaryReconstructionLabelMapFilter.h.
typedef SmartPointer<Self> itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::Pointer |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 52 of file itkBinaryReconstructionLabelMapFilter.h.
typedef BinaryReconstructionLabelMapFilter itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::Self |
Standard class typedefs.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 50 of file itkBinaryReconstructionLabelMapFilter.h.
typedef InPlaceLabelMapFilter<TImage> itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::Superclass |
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Definition at line 51 of file itkBinaryReconstructionLabelMapFilter.h.
itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::BinaryReconstructionLabelMapFilter | ( | ) | [protected] |
itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::~BinaryReconstructionLabelMapFilter | ( | ) | [inline, protected] |
Definition at line 128 of file itkBinaryReconstructionLabelMapFilter.h.
itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::BinaryReconstructionLabelMapFilter | ( | const Self & | ) | [private] |
virtual::itk::LightObject::Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, 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::InPlaceLabelMapFilter< TImage >.
virtual MarkerImagePixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetForegroundValue | ( | ) | const [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<MaskPixelType>::max().
MarkerImageType* itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetMarkerImage | ( | ) | [inline] |
Get the marker image
Definition at line 101 of file itkBinaryReconstructionLabelMapFilter.h.
References itk::ProcessObject::GetInput().
virtual const char* itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
static Pointer itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::New | ( | ) | [static] |
Standard New method.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, 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::InPlaceLabelMapFilter< TImage >.
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, 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::InPlaceLabelMapFilter< TImage >.
virtual void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetForegroundValue | ( | MarkerImagePixelType | _arg | ) | [virtual] |
Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<MaskPixelType>::max().
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetInput1 | ( | TImage * | input | ) | [inline] |
Set the input image
Definition at line 107 of file itkBinaryReconstructionLabelMapFilter.h.
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetInput2 | ( | TMarkerImage * | input | ) | [inline] |
Set the marker image
Definition at line 113 of file itkBinaryReconstructionLabelMapFilter.h.
void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::SetMarkerImage | ( | TMarkerImage * | input | ) | [inline] |
Begin concept checking End concept checking Set the marker image
Definition at line 94 of file itkBinaryReconstructionLabelMapFilter.h.
virtual void itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ThreadedProcessLabelObject | ( | LabelObjectType * | labelObject | ) | [protected, virtual] |
const unsigned int itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::ImageDimension = TImage::ImageDimension [static] |
ImageDimension constants
Definition at line 72 of file itkBinaryReconstructionLabelMapFilter.h.
MarkerImagePixelType itk::BinaryReconstructionLabelMapFilter< TImage, TMarkerImage, TAttributeAccessor >::m_ForegroundValue [private] |
Definition at line 138 of file itkBinaryReconstructionLabelMapFilter.h.