public abstract class FibreTracker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
BACKWARD |
static boolean |
FORWARD |
Modifier and Type | Method and Description |
---|---|
TractCollection |
getConnectingPaths(RegionOfInterest roi1,
RegionOfInterest roi2)
Finds
Tract 's that enter two specified regions. |
TractCollection |
getPICoTracts(Point3D seedPoint,
int mcIterations)
Track a path from a single seed point, for many monte-carlo iterations
and wrap result in a
TractCollection . |
double |
ipThreshold() |
TractCollection |
trackFromSeed(Point3D seedPoint)
Track paths from a single seed point within the ROI.
|
TractCollection |
trackFromSeed(Point3D seedPoint,
int pd)
Track paths from a single seed point within the ROI.
|
TractCollection |
trackPaths(RegionOfInterest roi)
Track paths from seed points placed at the centre of all voxels within the ROI.
|
public static final boolean FORWARD
public static final boolean BACKWARD
public final TractCollection trackPaths(RegionOfInterest roi)
roi
- Voxel region within which to sow seeds. Checks bounds and truncates ROI
if necessary.TractCollection
containing the results of tracking from all seed
points in the ROI.TractCollection
public TractCollection trackFromSeed(Point3D seedPoint)
point
- the point in mm to track fromTractCollection
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 seedPoint, int pd)
point
- the seed point in mm.pd
- the index of the principal direction to follow from the seed point.TractCollection
containing a single tract.public final TractCollection getConnectingPaths(RegionOfInterest roi1, RegionOfInterest roi2)
Tract
's that enter two specified regions.
Tracts will be seeded in both regions.TractCollection
containing all Tract
's
that enter both regions.public double ipThreshold()
public TractCollection getPICoTracts(Point3D seedPoint, int mcIterations)
TractCollection
.seedPoint
- the point (in mm) to track from.mcIterations
- the number of monte-carlo iterations