Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType > Class Template Reference

#include <itkConnectednessFilter.h>

Inheritance diagram for itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >:
Collaboration diagram for itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >:

Public Types

enum  DistanceMode { FeatureSimilarity, VectorAgreement, FeatureVectorAgreement }
 The DistanceMode enum Available distance metrics. More...
 
typedef ConnectednessFilter Self
 
typedef ImageToImageFilter< TFeatureImage, TFeatureImage > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef itk::Image< itk::DiffusionTensor3D< TTensorImagePixelType >, 3 > TTensorImage
 
typedef TSeedImage::PixelType SeedPixelType
 
typedef TFeatureImage::PixelType FeaturePixelType
 
typedef TTensorImage::PixelType TensorPixelType
 
typedef TFeatureImage::IndexType IndexType
 
typedef TSeedImage::IndexType IndexSeedType
 
typedef TTensorImage::IndexType IndexTensorType
 
typedef itk::ImageRegionIterator< TSeedImage > SeedIteratorType
 
typedef itk::ImageRegionIterator< TFeatureImage > FeatureIteratorType
 

Public Member Functions

virtual const char * GetClassName () const
 
void SetInputImage (const TFeatureImage *image)
 
void SetInputSeed (const TSeedImage *mask)
 SetInputSeed - seed area from which features are to be propagated. More...
 
void SetInputMask (const TSeedImage *mask)
 SetInputMask - Filter only operates in masked area. More...
 
void SetInputVectorField (const TTensorImage *vecs)
 SetInputVectorField. More...
 
void SetInputVectorFieldConfidenceMap (const TFeatureImage *conf)
 SetInputVectorFieldConfidenceMap - Map that assigned a weight/confidence to each vector. More...
 
void SetPropagationImage (const TFeatureImage *prop)
 SetPropagationImage - OPTIONAL. Set image which values are propagated, it this is not supplied the InputImage is chosen as default. More...
 
TFeatureImage::Pointer GetDistanceImage ()
 GetDistanceImage - Return the distance image using the specified metric. More...
 
TFeatureImage::Pointer GetEuclideanDistanceImage ()
 GetEuclideanDistanceImage - Return distance image that provides distance of shortest path for each voxel w.r.t to euclidean space. More...
 
void SetMode (DistanceMode mode=FeatureSimilarity)
 
void SetApplyRankFilter (bool applyFilter)
 SetApplyRankFilter - if true the values propagated are determined by calculating the median within the mask within a 3x3x3 neighborhood. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ConnectednessFilter ()
 
 ~ConnectednessFilter ()
 
virtual void GenerateData ()
 
virtual double GetDistanceValue (IndexType idxStart, IndexType idxEnd)
 

Detailed Description

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
class itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >

ConnectednessFilter - Propagate the border voxels of seed region, also calculates distance maps

Propagates the values of the boder-region of the seed mask. This is done by looking for the shortes path w.r.t. some distance metric that can be chosen.

Options are FeatureSimilarity - shortest path is determined by looking at feature differences only VectorAgreement - cost is determined by path agreement with supplied vector field FeatureVectorAgreement - cost is a combination of vector agreement and feature similarity

Definition at line 23 of file itkConnectednessFilter.h.

Member Typedef Documentation

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef itk::ImageRegionIterator<TFeatureImage> itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::FeatureIteratorType

Definition at line 42 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef TFeatureImage::PixelType itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::FeaturePixelType

Definition at line 34 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef TSeedImage::IndexType itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::IndexSeedType

Definition at line 38 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef TTensorImage::IndexType itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::IndexTensorType

Definition at line 39 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef TFeatureImage::IndexType itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::IndexType

Definition at line 37 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef SmartPointer<Self> itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::Pointer

Definition at line 29 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef itk::ImageRegionIterator<TSeedImage> itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::SeedIteratorType

Definition at line 41 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef TSeedImage::PixelType itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::SeedPixelType

Definition at line 33 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef ConnectednessFilter itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::Self

Standard class typedefs.

Definition at line 27 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef ImageToImageFilter<TFeatureImage, TFeatureImage> itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::Superclass

Definition at line 28 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef TTensorImage::PixelType itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::TensorPixelType

Definition at line 35 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
typedef itk::Image<itk::DiffusionTensor3D<TTensorImagePixelType>, 3> itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::TTensorImage

Definition at line 31 of file itkConnectednessFilter.h.

Member Enumeration Documentation

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
enum itk::ConnectednessFilter::DistanceMode

The DistanceMode enum Available distance metrics.

Enumerator
FeatureSimilarity 
VectorAgreement 
FeatureVectorAgreement 

Definition at line 53 of file itkConnectednessFilter.h.

Constructor & Destructor Documentation

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::ConnectednessFilter ( )
inlineprotected

Definition at line 114 of file itkConnectednessFilter.h.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::~ConnectednessFilter ( )
inlineprotected

Definition at line 115 of file itkConnectednessFilter.h.

Member Function Documentation

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::GenerateData ( )
protectedvirtual

Does the real work.

Definition at line 75 of file itkConnectednessFilter.cxx.

References mitk::New().

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
virtual const char* itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
TFeatureImage::Pointer itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::GetDistanceImage ( )

GetDistanceImage - Return the distance image using the specified metric.

Returns

Definition at line 54 of file itkConnectednessFilter.cxx.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
double itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::GetDistanceValue ( IndexType  idxStart,
IndexType  idxEnd 
)
protectedvirtual

Definition at line 244 of file itkConnectednessFilter.cxx.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
TFeatureImage::Pointer itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::GetEuclideanDistanceImage ( )

GetEuclideanDistanceImage - Return distance image that provides distance of shortest path for each voxel w.r.t to euclidean space.

Returns

Definition at line 61 of file itkConnectednessFilter.cxx.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
static Pointer itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::New ( )
static

Method for creation through the object factory.

Referenced by main().

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::SetApplyRankFilter ( bool  applyFilter)
inline

SetApplyRankFilter - if true the values propagated are determined by calculating the median within the mask within a 3x3x3 neighborhood.

Parameters
applyFilter

Definition at line 112 of file itkConnectednessFilter.h.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::SetInputImage ( const TFeatureImage *  image)

Definition at line 21 of file itkConnectednessFilter.cxx.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::SetInputMask ( const TSeedImage *  mask)

SetInputMask - Filter only operates in masked area.

Parameters
mask

Definition at line 33 of file itkConnectednessFilter.cxx.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::SetInputSeed ( const TSeedImage *  mask)

SetInputSeed - seed area from which features are to be propagated.

Parameters
mask

Definition at line 27 of file itkConnectednessFilter.cxx.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::SetInputVectorField ( const TTensorImage vecs)

SetInputVectorField.

Parameters
vecs

Definition at line 67 of file itkConnectednessFilter.cxx.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::SetInputVectorFieldConfidenceMap ( const TFeatureImage *  conf)

SetInputVectorFieldConfidenceMap - Map that assigned a weight/confidence to each vector.

Parameters
conf

Definition at line 39 of file itkConnectednessFilter.cxx.

template<class TFeatureImage, class TSeedImage, typename TTensorImagePixelType = double>
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImagePixelType >::SetMode ( DistanceMode  mode = FeatureSimilarity)
inline

Definition at line 106 of file itkConnectednessFilter.h.

template<typename TFeatureImage , typename TSeedImage , typename TTensorImage >
void itk::ConnectednessFilter< TFeatureImage, TSeedImage, TTensorImage >::SetPropagationImage ( const TFeatureImage *  prop)

SetPropagationImage - OPTIONAL. Set image which values are propagated, it this is not supplied the InputImage is chosen as default.

Parameters
prop

Definition at line 48 of file itkConnectednessFilter.cxx.


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