Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Performes deterministic streamline tracking on the input tensor image. More...
#include <itkMLBSTrackingFilter.h>
Public Types | |
typedef MLBSTrackingFilter | Self |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef ImageToImageFilter< VectorImage< short, 3 >, Image< double, 3 > > | Superclass |
typedef Superclass::InputImageType | InputImageType |
typedef Superclass::InputImageRegionType | InputImageRegionType |
typedef Image< Vector< float, NumImageFeatures >, 3 > | FeatureImageType |
typedef itk::Image< unsigned char, 3 > | ItkUcharImgType |
typedef itk::Image< double, 3 > | ItkDoubleImgType |
typedef itk::Image< float, 3 > | ItkFloatImgType |
typedef vtkSmartPointer< vtkPolyData > | PolyDataType |
typedef std::deque< itk::Point< double > > | FiberType |
typedef std::vector< FiberType > | BundleType |
Public Member Functions | |
Pointer | Clone () const |
virtual const char * | GetClassName () const |
virtual PolyDataType | GetFiberPolyData () |
Output fibers. More... | |
virtual void | SetSeedImage (ItkUcharImgType::Pointer _arg) |
Seeds are only placed inside of this mask. More... | |
virtual void | SetMaskImage (ItkUcharImgType::Pointer _arg) |
Tracking is only performed inside of this mask image. More... | |
virtual void | SetSeedsPerVoxel (int _arg) |
One seed placed in the center of each voxel or multiple seeds randomly placed inside each voxel. More... | |
virtual void | SetStepSize (double _arg) |
Integration step size in mm. More... | |
virtual void | SetMinTractLength (double _arg) |
Shorter tracts are discarded. More... | |
virtual void | SetMaxTractLength (double _arg) |
Streamline progression stops if tract is longer than specified. More... | |
virtual void | SetAngularThreshold (double _arg) |
Probabilities for directions with larger angular deviation from previous direction is set to 0. More... | |
virtual void | SetSamplingDistance (double _arg) |
Maximum distance of sampling points in mm. More... | |
virtual void | SetNumberOfSamples (int _arg) |
Number of sampling points. More... | |
virtual void | SetStoppingRegions (ItkUcharImgType::Pointer _arg) |
Streamlines entering a stopping region will stop immediately. More... | |
virtual void | SetDemoMode (bool _arg) |
virtual void | SetRemoveWmEndFibers (bool _arg) |
Checks if fiber ending is located in the white matter. If this is the case, the streamline is discarded. More... | |
virtual void | SetAposterioriCurvCheck (bool _arg) |
Checks fiber curvature (angular deviation across 5mm) is larger than 30°. If yes, the streamline progression is stopped. More... | |
virtual void | SetAvoidStop (bool _arg) |
Use additional sampling points to avoid premature streamline termination. More... | |
virtual void | SetRandomSampling (bool _arg) |
If true, the sampling points are distributed randomly around the current position, not sphericall in the specified sampling distance. More... | |
void | SetForestHandler (mitk::TrackingForestHandler< ShOrder > fh) |
Static Public Member Functions | |
static Pointer | New () |
Public Attributes | |
volatile bool | m_PauseTracking |
bool | m_AbortTracking |
bool | m_BuildFibersFinished |
int | m_BuildFibersReady |
volatile bool | m_Stop |
mitk::PointSet::Pointer | m_SamplingPointset |
mitk::PointSet::Pointer | m_AlternativePointset |
Protected Member Functions | |
MLBSTrackingFilter () | |
~MLBSTrackingFilter () | |
void | CalculateNewPosition (itk::Point< double, 3 > &pos, vnl_vector_fixed< double, 3 > &dir) |
Calculate next integration step. More... | |
double | FollowStreamline (itk::Point< double, 3 > pos, vnl_vector_fixed< double, 3 > dir, FiberType *fib, double tractLength, bool front) |
Start streamline in one direction. More... | |
bool | IsValidPosition (itk::Point< double, 3 > &pos) |
Are we outside of the mask image? More... | |
vnl_vector_fixed< double, 3 > | GetNewDirection (itk::Point< double, 3 > &pos, vnl_vector_fixed< double, 3 > &olddir) |
Determine new direction by sample voting at the current position taking the last progression direction into account. More... | |
double | GetRandDouble (double min=-1, double max=1) |
double | RoundToNearest (double num) |
void | BeforeThreadedGenerateData () override |
void | ThreadedGenerateData (const InputImageRegionType &outputRegionForThread, ThreadIdType threadId) override |
void | AfterThreadedGenerateData () override |
void | BuildFibers (bool check) |
int | CheckCurvature (FiberType *fib, bool front) |
Protected Attributes | |
PolyDataType | m_FiberPolyData |
vtkSmartPointer< vtkPoints > | m_Points |
vtkSmartPointer< vtkCellArray > | m_Cells |
BundleType | m_Tractogram |
double | m_AngularThreshold |
double | m_StepSize |
int | m_MaxLength |
double | m_MinTractLength |
double | m_MaxTractLength |
int | m_SeedsPerVoxel |
bool | m_RandomSampling |
double | m_SamplingDistance |
int | m_NumberOfSamples |
SimpleFastMutexLock | m_Mutex |
ItkUcharImgType::Pointer | m_StoppingRegions |
ItkUcharImgType::Pointer | m_SeedImage |
ItkUcharImgType::Pointer | m_MaskImage |
bool | m_AposterioriCurvCheck |
bool | m_RemoveWmEndFibers |
bool | m_AvoidStop |
int | m_Threads |
bool | m_DemoMode |
mitk::TrackingForestHandler< ShOrder > | m_ForestHandler |
InputImageType::Pointer | m_InputImage |
std::vector< PolyDataType > | m_PolyDataContainer |
std::chrono::time_point< std::chrono::system_clock > | m_StartTime |
std::chrono::time_point< std::chrono::system_clock > | m_EndTime |
Performes deterministic streamline tracking on the input tensor image.
Definition at line 54 of file itkMLBSTrackingFilter.h.
typedef std::vector< FiberType > itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::BundleType |
Definition at line 81 of file itkMLBSTrackingFilter.h.
typedef SmartPointer<const Self> itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::ConstPointer |
Definition at line 61 of file itkMLBSTrackingFilter.h.
typedef Image< Vector< float, NumImageFeatures > , 3 > itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::FeatureImageType |
Definition at line 66 of file itkMLBSTrackingFilter.h.
typedef std::deque< itk::Point<double> > itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::FiberType |
Definition at line 80 of file itkMLBSTrackingFilter.h.
typedef Superclass::InputImageRegionType itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::InputImageRegionType |
Definition at line 65 of file itkMLBSTrackingFilter.h.
typedef Superclass::InputImageType itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::InputImageType |
Definition at line 64 of file itkMLBSTrackingFilter.h.
typedef itk::Image<double, 3> itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::ItkDoubleImgType |
Definition at line 76 of file itkMLBSTrackingFilter.h.
typedef itk::Image<float, 3> itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::ItkFloatImgType |
Definition at line 77 of file itkMLBSTrackingFilter.h.
typedef itk::Image<unsigned char, 3> itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::ItkUcharImgType |
Definition at line 75 of file itkMLBSTrackingFilter.h.
typedef SmartPointer<Self> itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::Pointer |
Definition at line 60 of file itkMLBSTrackingFilter.h.
typedef vtkSmartPointer< vtkPolyData > itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::PolyDataType |
Definition at line 78 of file itkMLBSTrackingFilter.h.
typedef MLBSTrackingFilter itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::Self |
Definition at line 59 of file itkMLBSTrackingFilter.h.
typedef ImageToImageFilter< VectorImage< short, 3 >, Image< double, 3 > > itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::Superclass |
Definition at line 62 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 37 of file itkMLBSTrackingFilter.cpp.
|
inlineprotected |
Definition at line 115 of file itkMLBSTrackingFilter.h.
|
overrideprotected |
Definition at line 577 of file itkMLBSTrackingFilter.cpp.
References MITK_INFO.
|
overrideprotected |
Definition at line 70 of file itkMLBSTrackingFilter.cpp.
References mitk::eps, mitk::New(), and mitk::PointSet::New().
|
protected |
Definition at line 545 of file itkMLBSTrackingFilter.cpp.
References mitk::New().
|
protected |
Calculate next integration step.
Definition at line 164 of file itkMLBSTrackingFilter.cpp.
|
protected |
Definition at line 366 of file itkMLBSTrackingFilter.cpp.
References M_PI.
Pointer itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::Clone | ( | ) | const |
|
protected |
Start streamline in one direction.
Definition at line 298 of file itkMLBSTrackingFilter.cpp.
|
virtual |
Runtime information support.
|
virtual |
Output fibers.
|
protected |
Determine new direction by sample voting at the current position taking the last progression direction into account.
Definition at line 194 of file itkMLBSTrackingFilter.cpp.
References itk::OrientationDistributionFunction< TComponent, NOdfDirections >::GetDirection().
|
protected |
Definition at line 188 of file itkMLBSTrackingFilter.cpp.
References min().
|
protected |
Are we outside of the mask image?
Definition at line 177 of file itkMLBSTrackingFilter.cpp.
|
static |
Method for creation through the object factory.
|
protected |
Definition at line 65 of file itkMLBSTrackingFilter.cpp.
|
virtual |
Probabilities for directions with larger angular deviation from previous direction is set to 0.
|
virtual |
Checks fiber curvature (angular deviation across 5mm) is larger than 30°. If yes, the streamline progression is stopped.
|
virtual |
Use additional sampling points to avoid premature streamline termination.
|
virtual |
|
inline |
fh | Stores random forest classifier and performs actual classification |
Definition at line 108 of file itkMLBSTrackingFilter.h.
References itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_ForestHandler.
|
virtual |
Tracking is only performed inside of this mask image.
|
virtual |
Streamline progression stops if tract is longer than specified.
|
virtual |
Shorter tracts are discarded.
|
virtual |
Number of sampling points.
|
virtual |
If true, the sampling points are distributed randomly around the current position, not sphericall in the specified sampling distance.
|
virtual |
Checks if fiber ending is located in the white matter. If this is the case, the streamline is discarded.
|
virtual |
Maximum distance of sampling points in mm.
|
virtual |
Seeds are only placed inside of this mask.
|
virtual |
One seed placed in the center of each voxel or multiple seeds randomly placed inside each voxel.
|
virtual |
Integration step size in mm.
|
virtual |
Streamlines entering a stopping region will stop immediately.
|
overrideprotected |
Definition at line 438 of file itkMLBSTrackingFilter.cpp.
References MITK_INFO.
bool itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_AbortTracking |
Definition at line 84 of file itkMLBSTrackingFilter.h.
mitk::PointSet::Pointer itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_AlternativePointset |
Definition at line 89 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 134 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 149 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 151 of file itkMLBSTrackingFilter.h.
bool itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_BuildFibersFinished |
Definition at line 85 of file itkMLBSTrackingFilter.h.
int itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_BuildFibersReady |
Definition at line 86 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 131 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 153 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 165 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 129 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 158 of file itkMLBSTrackingFilter.h.
Referenced by itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::SetForestHandler().
|
protected |
Definition at line 159 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 147 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 136 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 138 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 137 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 144 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 142 of file itkMLBSTrackingFilter.h.
volatile bool itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_PauseTracking |
Definition at line 83 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 130 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 162 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 140 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 150 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 141 of file itkMLBSTrackingFilter.h.
mitk::PointSet::Pointer itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_SamplingPointset |
Definition at line 88 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 146 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 139 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 164 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 135 of file itkMLBSTrackingFilter.h.
volatile bool itk::MLBSTrackingFilter< ShOrder, NumImageFeatures >::m_Stop |
Definition at line 87 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 145 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 152 of file itkMLBSTrackingFilter.h.
|
protected |
Definition at line 132 of file itkMLBSTrackingFilter.h.