Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Extract ODF peaks by searching all local maxima on a densely sampled ODF und clustering these maxima to get the underlying fiber direction. NrOdfDirections: number of sampling points on the ODF surface (about 20000 is a good value) More...
#include <itkFiniteDiffOdfMaximaExtractionFilter.h>
Public Types | |
enum | Toolkit { FSL, MRTRIX } |
enum | NormalizationMethods { NO_NORM, SINGLE_VEC_NORM, MAX_VEC_NORM } |
typedef FiniteDiffOdfMaximaExtractionFilter | Self |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageToImageFilter< Image< Vector< PixelType,(ShOrder *ShOrder+ShOrder+2)/2+ShOrder >, 3 >, Image< Vector< PixelType, 3 >, 3 > > | Superclass |
typedef Superclass::InputImageType | CoefficientImageType |
typedef CoefficientImageType::RegionType | CoefficientImageRegionType |
typedef CoefficientImageType::PixelType | CoefficientPixelType |
typedef Superclass::OutputImageType | OutputImageType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef OrientationDistributionFunction< PixelType, NrOdfDirections > | OdfType |
typedef itk::Image< unsigned char, 3 > | ItkUcharImgType |
typedef vnl_vector_fixed< double, 3 > | DirectionType |
typedef Image< Vector< float, 3 >, 3 > | ItkDirectionImage |
typedef VectorContainer< unsigned int, ItkDirectionImage::Pointer > | ItkDirectionImageContainer |
Public Member Functions | |
Pointer | Clone () const |
virtual const char * | GetClassName () const |
virtual void | SetMaxNumPeaks (unsigned int _arg) |
maximum number of peaks per voxel. if more peaks are detected, only the largest are kept. More... | |
virtual void | SetPeakThreshold (double _arg) |
threshold on the peak length relative to the largest peak inside the current voxel More... | |
virtual void | SetAbsolutePeakThreshold (double _arg) |
hard threshold on the peak length of all local maxima More... | |
virtual void | SetClusteringThreshold (double _arg) |
directions closer together than the specified angular threshold will be clustered (in rad) More... | |
virtual void | SetAngularThreshold (double _arg) |
directions closer together than the specified threshold that remain after clustering are discarded (largest is kept) (in rad) More... | |
virtual void | SetMaskImage (ItkUcharImgType::Pointer _arg) |
only voxels inside the binary mask are processed More... | |
virtual void | SetNormalizationMethod (NormalizationMethods _arg) |
normalization method of ODF peaks More... | |
virtual void | SetFlipX (bool _arg) |
flip peaks in x direction More... | |
virtual void | SetFlipY (bool _arg) |
flip peaks in y direction More... | |
virtual void | SetFlipZ (bool _arg) |
flip peaks in z direction More... | |
virtual mitk::FiberBundle::Pointer | GetOutputFiberBundle () |
vector field (peak sizes rescaled for visualization purposes) More... | |
virtual ItkDirectionImageContainer::Pointer | GetDirectionImageContainer () |
container for output peaks More... | |
virtual ItkUcharImgType::Pointer | GetNumDirectionsImage () |
number of peaks per voxel More... | |
virtual void | SetToolkit (Toolkit _arg) |
define SH coefficient convention (depends on toolkit) More... | |
virtual Toolkit | GetToolkit () |
SH coefficient convention (depends on toolkit) More... | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
FiniteDiffOdfMaximaExtractionFilter () | |
~FiniteDiffOdfMaximaExtractionFilter () | |
void | BeforeThreadedGenerateData () |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadID) |
void | AfterThreadedGenerateData () |
void | FindCandidatePeaks (OdfType &odf, double odfMax, std::vector< DirectionType > &inDirs) |
std::vector< DirectionType > | MeanShiftClustering (std::vector< DirectionType > &inDirs) |
void | Cart2Sph (const std::vector< DirectionType > &dir, vnl_matrix< double > &sphCoords) |
vnl_matrix< double > | CalcShBasis (vnl_matrix< double > &sphCoords) |
Extract ODF peaks by searching all local maxima on a densely sampled ODF und clustering these maxima to get the underlying fiber direction. NrOdfDirections: number of sampling points on the ODF surface (about 20000 is a good value)
Definition at line 37 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef CoefficientImageType::RegionType itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::CoefficientImageRegionType |
Definition at line 69 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef Superclass::InputImageType itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::CoefficientImageType |
Definition at line 68 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef CoefficientImageType::PixelType itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::CoefficientPixelType |
Definition at line 70 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef SmartPointer<const Self> itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::ConstPointer |
Definition at line 57 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef vnl_vector_fixed< double, 3 > itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::DirectionType |
Definition at line 78 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef Image< Vector< float, 3 >, 3> itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::ItkDirectionImage |
Definition at line 79 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef VectorContainer< unsigned int, ItkDirectionImage::Pointer > itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::ItkDirectionImageContainer |
Definition at line 80 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef itk::Image<unsigned char, 3> itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::ItkUcharImgType |
Definition at line 76 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef OrientationDistributionFunction<PixelType, NrOdfDirections> itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::OdfType |
Definition at line 75 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef Superclass::OutputImageRegionType itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::OutputImageRegionType |
Definition at line 73 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef Superclass::OutputImageType itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::OutputImageType |
Definition at line 72 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef SmartPointer<Self> itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::Pointer |
Definition at line 56 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef FiniteDiffOdfMaximaExtractionFilter itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::Self |
Definition at line 55 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
typedef ImageToImageFilter< Image< Vector< PixelType, (ShOrder*ShOrder + ShOrder + 2)/2 + ShOrder >, 3 >, Image< Vector< PixelType, 3 >, 3 > > itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::Superclass |
Definition at line 59 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
enum itk::FiniteDiffOdfMaximaExtractionFilter::NormalizationMethods |
Definition at line 49 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
enum itk::FiniteDiffOdfMaximaExtractionFilter::Toolkit |
Enumerator | |
---|---|
FSL |
SH coefficient convention (depends on toolkit) |
MRTRIX |
Definition at line 44 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
|
protected |
Definition at line 49 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
|
inlineprotected |
Definition at line 104 of file itkFiniteDiffOdfMaximaExtractionFilter.h.
|
protected |
Definition at line 251 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
References MITK_INFO, and mitk::New().
|
protected |
Definition at line 175 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
References itk::OrientationDistributionFunction< TComponent, NOdfDirections >::GetDirections(), MITK_INFO, and mitk::New().
|
protected |
Calculate spherical harmonic basis of the defined order
Definition at line 481 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
References M_PI.
|
protected |
Convert cartesian to spherical coordinates
Definition at line 457 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
References M_PI.
Pointer itk::FiniteDiffOdfMaximaExtractionFilter< PixelType, ShOrder, NrOdfDirections >::Clone | ( | ) | const |
|
protected |
Extract all local maxima from the densely sampled ODF surface. Thresholding possible.
Definition at line 64 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
References itk::OrientationDistributionFunction< TComponent, NOdfDirections >::GetDirection(), itk::OrientationDistributionFunction< TComponent, NOdfDirections >::GetGeneralizedFractionalAnisotropy(), and itk::OrientationDistributionFunction< TComponent, NOdfDirections >::GetNeighbors().
|
virtual |
Runtime information support.
|
virtual |
container for output peaks
|
virtual |
number of peaks per voxel
|
virtual |
vector field (peak sizes rescaled for visualization purposes)
|
virtual |
SH coefficient convention (depends on toolkit)
|
protected |
Cluster input directions within a certain angular threshold
Definition at line 99 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
|
static |
Method for creation through the object factory.
|
virtual |
hard threshold on the peak length of all local maxima
|
virtual |
directions closer together than the specified threshold that remain after clustering are discarded (largest is kept) (in rad)
|
virtual |
directions closer together than the specified angular threshold will be clustered (in rad)
|
virtual |
flip peaks in x direction
|
virtual |
flip peaks in y direction
|
virtual |
flip peaks in z direction
|
virtual |
only voxels inside the binary mask are processed
|
virtual |
maximum number of peaks per voxel. if more peaks are detected, only the largest are kept.
|
virtual |
normalization method of ODF peaks
|
virtual |
threshold on the peak length relative to the largest peak inside the current voxel
|
virtual |
define SH coefficient convention (depends on toolkit)
|
protected |
Definition at line 326 of file itkFiniteDiffOdfMaximaExtractionFilter.cpp.
References itk::CompareVectors(), max(), and MITK_INFO.