public class NC_ProbFibreTracker extends EulerFibreTracker
ProbNeighbourChoiceInterpolator
BACKWARD, FORWARD
Constructor and Description |
---|
NC_ProbFibreTracker(TractographyImage image,
double stepLength,
double ipThresh,
java.util.Random ran) |
Modifier and Type | Method and Description |
---|---|
TractCollection |
trackFromSeed(Point3D seedPos)
Track a path from a single seed point,
and wrap result in a #TractCollection.
|
TractCollection |
trackFromSeed(Point3D seedPos,
int pd)
Track a path from a single seed point, following a specified PD.
|
stepSize
getConnectingPaths, getPICoTracts, ipThreshold, trackPaths
public NC_ProbFibreTracker(TractographyImage image, double stepLength, double ipThresh, java.util.Random ran)
image
- the image within which the tracking will take place.stepLength
- the distance (in mm) to move before performing the next interpolation.ipThresh
- the minimum absolute value of the cosine of the
angle between the tracking directions after traversing one slice thickness. So if slice
thickness is 2.5 mm, and step size is 0.25mm, then the curvature will be assessed every
10 steps.ran
- the Random for the randomizer and interpolator.public TractCollection trackFromSeed(Point3D seedPos)
trackFromSeed
in class FibreTracker
seedPos
- the point (in mm) to track from.TractCollection
containing the results of tracking from this
seed point. For single fibre trackers, this TractCollection
will contain
a single tract; multi-fibre trackers may return more than one tract.
Note to developers: Other trackers override this method, so it should always be called
for tractography. Only this method should call
#trackFromSeed(Point3D seedPoint, int pdIndex, boolean direction).public TractCollection trackFromSeed(Point3D seedPos, int pd)
trackFromSeed
in class FibreTracker
seedPos
- the point (in mm) to track from.pd
- the index of the PD to follow for the initial step.TractCollection
containing a single tract.