1 #ifndef __itkConnectednessFilter_h
2 #define __itkConnectednessFilter_h
4 #include "itkImageRegionIterator.h"
5 #include "itkImageToImageFilter.h"
6 #include <itkDiffusionTensor3D.h>
22 template <
class TFeatureImage,
class TSeedImage,
typename TTensorImagePixelType =
double>
28 typedef ImageToImageFilter<TFeatureImage, TFeatureImage>
Superclass;
31 typedef typename itk::Image<itk::DiffusionTensor3D<TTensorImagePixelType>, 3>
TTensorImage;
37 typedef typename TFeatureImage::IndexType
IndexType;
48 itkTypeMacro(PropagateLocalFeaturesFilter, ImageToImageFilter)
123 void operator=(
const Self &);
135 bool m_ApplyRankFilter;
139 #ifndef ITK_MANUAL_INSTANTIATION
143 #endif // itkConnectednessFilter_h
ImageToImageFilter< TFeatureImage, TFeatureImage > Superclass
itk::ImageRegionIterator< TSeedImage > SeedIteratorType
itk::SmartPointer< Self > Pointer
TSeedImage::PixelType SeedPixelType
void SetMode(DistanceMode mode=FeatureSimilarity)
void SetInputVectorField(const TTensorImage *vecs)
SetInputVectorField.
TFeatureImage::IndexType IndexType
TTensorImage::PixelType TensorPixelType
void SetInputSeed(const TSeedImage *mask)
SetInputSeed - seed area from which features are to be propagated.
itk::Image< itk::DiffusionTensor3D< TTensorImagePixelType >, 3 > TTensorImage
void SetInputImage(const TFeatureImage *image)
itk::ImageRegionIterator< TFeatureImage > FeatureIteratorType
virtual void GenerateData()
void SetInputMask(const TSeedImage *mask)
SetInputMask - Filter only operates in masked area.
TSeedImage::IndexType IndexSeedType
void SetPropagationImage(const TFeatureImage *prop)
SetPropagationImage - OPTIONAL. Set image which values are propagated, it this is not supplied the In...
TTensorImage::IndexType IndexTensorType
void SetApplyRankFilter(bool applyFilter)
SetApplyRankFilter - if true the values propagated are determined by calculating the median within th...
void SetInputVectorFieldConfidenceMap(const TFeatureImage *conf)
SetInputVectorFieldConfidenceMap - Map that assigned a weight/confidence to each vector.
TFeatureImage::Pointer GetDistanceImage()
GetDistanceImage - Return the distance image using the specified metric.
SmartPointer< Self > Pointer
TFeatureImage::PixelType FeaturePixelType
DistanceMode
The DistanceMode enum Available distance metrics.
virtual double GetDistanceValue(IndexType idxStart, IndexType idxEnd)
TFeatureImage::Pointer GetEuclideanDistanceImage()
GetEuclideanDistanceImage - Return distance image that provides distance of shortest path for each vo...