ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh > Class Template Reference

Generate a PointSet containing the narrow band around the edges of a input binary image. More...

#include <itkBinaryMaskToNarrowBandPointSetFilter.h>

Inheritance diagram for itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >:
Collaboration diagram for itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef DistanceFilterType::Pointer DistanceFilterPointer
typedef
ReinitializeLevelSetImageFilter
< RealImageType
DistanceFilterType
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef
ImageRegionConstIteratorWithIndex
< InputImageType
InputImageIterator
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::RegionType InputImageRegionType
typedef TInputImage InputImageType
typedef
DistanceFilterType::NodeContainer 
NodeContainer
typedef
DistanceFilterType::NodeContainerPointer 
NodeContainerPointer
typedef NodeContainer::Element NodeType
typedef
OutputMeshType::ConstPointer 
OutputMeshConstPointer
typedef OutputMeshType::Pointer OutputMeshPointer
typedef TOutputMesh OutputMeshType
typedef
OutputMeshType::PointDataContainer 
PointDataContainer
typedef
PointDataContainer::Iterator 
PointDataContainerIterator
typedef PointDataContainer::Pointer PointDataContainerPointer
typedef SmartPointer< SelfPointer
typedef
OutputMeshType::PointIdentifier 
PointIdentifier
typedef
OutputMeshType::PointsContainer 
PointsContainer
typedef PointsContainer::Iterator PointsContainerIterator
typedef PointsContainer::Pointer PointsContainerPointer
typedef OutputMeshType::PointType PointType
typedef itk::Image< float,
itkGetStaticConstMacro(ImageDimension) > 
RealImageType
typedef RescaleFilterType::Pointer RescaleFilterPointer
typedef
RescaleIntensityImageFilter
< InputImageType,
RealImageType
RescaleFilterType
typedef
BinaryMaskToNarrowBandPointSetFilter 
Self
typedef ImageToMeshFilter
< TInputImage, TOutputMesh > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
void GenerateData (void)
void GenerateOutputInformation (void)
virtual const char * GetNameOfClass () const
void SetInput (const InputImageType *inputImage)

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension
static const unsigned int PointDimension = TOutputMesh::PointDimension

Private Member Functions

 BinaryMaskToNarrowBandPointSetFilter (const BinaryMaskToNarrowBandPointSetFilter &)
void operator= (const BinaryMaskToNarrowBandPointSetFilter &)

Private Attributes

float m_BandWidth
DistanceFilterPointer m_DistanceFilter
RescaleFilterPointer m_RescaleFilter
virtual void SetBandWidth (float _arg)
virtual float GetBandWidth () const
 BinaryMaskToNarrowBandPointSetFilter ()
 ~BinaryMaskToNarrowBandPointSetFilter ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TInputImage, class TOutputMesh>
class itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >

Generate a PointSet containing the narrow band around the edges of a input binary image.

BinaryMaskToNarrowBandPointSetFilter takes a binary image as input and generates a PointSet as output. The point set contains points around the contours of the binary mask in the image. The pixel values of the point set are obtained as the distances from the point to the edge of the binary mask.

This filter is intended to be used for initializing the process of NarrowBand-to-Image Registration.

The filter is templated over the input image type and the output mesh type. The only restriction is that the dimension of points in the mesh should be equal to the input image dimension. The PixelType in the mesh should be capable to represent distance values.

See also:
ReinitializeImageFilter
PointSetToImageRegistrationMethod

Definition at line 54 of file itkBinaryMaskToNarrowBandPointSetFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputMesh >
typedef SmartPointer< const Self > itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::ConstPointer
template<class TInputImage , class TOutputMesh >
typedef DistanceFilterType::Pointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::DistanceFilterPointer

Definition at line 106 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef ReinitializeLevelSetImageFilter< RealImageType > itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::DistanceFilterType

The ReinitializeLevelSet filter is used to evaluate the distance from every pixel to the border of the binary mask. It uses internally a FastMarching filter for propagating a from from the edges of the binary mask.

Definition at line 105 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef InputImageType::ConstPointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::InputImageConstPointer
template<class TInputImage , class TOutputMesh >
typedef ImageRegionConstIteratorWithIndex< InputImageType > itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::InputImageIterator

Definition at line 78 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef InputImageType::PixelType itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::InputImagePixelType
template<class TInputImage , class TOutputMesh >
typedef InputImageType::RegionType itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::InputImageRegionType
template<class TInputImage , class TOutputMesh >
typedef TInputImage itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::InputImageType

Some typedefs associated with the input images.

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

Definition at line 70 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef DistanceFilterType::NodeContainer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::NodeContainer

Definition at line 108 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef DistanceFilterType::NodeContainerPointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::NodeContainerPointer

Definition at line 107 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef NodeContainer::Element itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::NodeType

Definition at line 109 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef OutputMeshType::ConstPointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::OutputMeshConstPointer

Definition at line 84 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef OutputMeshType::Pointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::OutputMeshPointer
template<class TInputImage , class TOutputMesh >
typedef TOutputMesh itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::OutputMeshType

Some typedefs associated with the output mesh.

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

Definition at line 81 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef OutputMeshType::PointDataContainer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointDataContainer

Definition at line 89 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef PointDataContainer::Iterator itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointDataContainerIterator

Definition at line 91 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef PointDataContainer::Pointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointDataContainerPointer

Definition at line 90 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef SmartPointer< Self > itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::Pointer
template<class TInputImage , class TOutputMesh >
typedef OutputMeshType::PointIdentifier itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointIdentifier

Definition at line 86 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef OutputMeshType::PointsContainer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointsContainer

Definition at line 85 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef PointsContainer::Iterator itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointsContainerIterator

Definition at line 88 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef PointsContainer::Pointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointsContainerPointer

Definition at line 87 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef OutputMeshType::PointType itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointType

Definition at line 82 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef itk::Image< float, itkGetStaticConstMacro(ImageDimension) > itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::RealImageType

Float image type to be used by the ReinitializeLevelSet image filter

Definition at line 99 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef RescaleFilterType::Pointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::RescaleFilterPointer

Definition at line 116 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef RescaleIntensityImageFilter< InputImageType, RealImageType > itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::RescaleFilterType

The ReinitializeLevelSetImageFilter expect the input to be binary withing the range [-0.5:0.5]. This filte will scale the input to fit in this range.

Definition at line 114 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef BinaryMaskToNarrowBandPointSetFilter itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::Self

Standard class typedefs.

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

Definition at line 59 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
typedef ImageToMeshFilter< TInputImage, TOutputMesh > itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::Superclass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputMesh >
itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::BinaryMaskToNarrowBandPointSetFilter ( ) [protected]

Set/Get the width of the narrowband. This is the maximum distance from the binary mask edges to the points in the narrow band. The full width of the full narrow band will be double of this value.

template<class TInputImage , class TOutputMesh >
itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::~BinaryMaskToNarrowBandPointSetFilter ( ) [protected]

Set/Get the width of the narrowband. This is the maximum distance from the binary mask edges to the points in the narrow band. The full width of the full narrow band will be double of this value.

template<class TInputImage , class TOutputMesh >
itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::BinaryMaskToNarrowBandPointSetFilter ( const BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh > &  ) [private]

Member Function Documentation

template<class TInputImage , class TOutputMesh >
virtual::itk::LightObject::Pointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::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::MeshSource< TOutputMesh >.

template<class TInputImage , class TOutputMesh >
void itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::GenerateData ( void  ) [virtual]

Some typedefs associated with the output mesh.

Reimplemented from itk::ProcessObject.

template<class TInputImage , class TOutputMesh >
void itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::GenerateOutputInformation ( void  ) [virtual]

Some typedefs associated with the output mesh.

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

template<class TInputImage , class TOutputMesh >
virtual float itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::GetBandWidth ( ) const [virtual]

Set/Get the width of the narrowband. This is the maximum distance from the binary mask edges to the points in the narrow band. The full width of the full narrow band will be double of this value.

template<class TInputImage , class TOutputMesh >
virtual const char* itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageToMeshFilter< TInputImage, TOutputMesh >.

template<class TInputImage , class TOutputMesh >
static Pointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::MeshSource< TOutputMesh >.

template<class TInputImage , class TOutputMesh >
void itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::operator= ( const BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh > &  ) [private]
template<class TInputImage , class TOutputMesh >
void itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Set/Get the width of the narrowband. This is the maximum distance from the binary mask edges to the points in the narrow band. The full width of the full narrow band will be double of this value.

Reimplemented from itk::MeshSource< TOutputMesh >.

template<class TInputImage , class TOutputMesh >
virtual void itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::SetBandWidth ( float  _arg) [virtual]

Set/Get the width of the narrowband. This is the maximum distance from the binary mask edges to the points in the narrow band. The full width of the full narrow band will be double of this value.

template<class TInputImage , class TOutputMesh >
void itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::SetInput ( const InputImageType inputImage)

Member Data Documentation

template<class TInputImage , class TOutputMesh >
const unsigned int itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::ImageDimension = TInputImage::ImageDimension [static]

Image dimension.

Definition at line 95 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
float itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::m_BandWidth [private]

Definition at line 152 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
DistanceFilterPointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::m_DistanceFilter [private]

Definition at line 149 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
RescaleFilterPointer itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::m_RescaleFilter [private]

Definition at line 150 of file itkBinaryMaskToNarrowBandPointSetFilter.h.

template<class TInputImage , class TOutputMesh >
const unsigned int itk::BinaryMaskToNarrowBandPointSetFilter< TInputImage, TOutputMesh >::PointDimension = TOutputMesh::PointDimension [static]

The dimension of the output mesh.

Definition at line 120 of file itkBinaryMaskToNarrowBandPointSetFilter.h.


The documentation for this class was generated from the following file: