Package sc.fiji.snt.tracing.auto
Class GWDTTracer<T extends net.imglib2.type.numeric.RealType<T>>
java.lang.Object
sc.fiji.snt.tracing.auto.AbstractAutoTracer
sc.fiji.snt.tracing.auto.AbstractGWDTTracer<T>
sc.fiji.snt.tracing.auto.GWDTTracer<T>
- Type Parameters:
T- pixel type
- All Implemented Interfaces:
AutoTracer
public class GWDTTracer<T extends net.imglib2.type.numeric.RealType<T>>
extends AbstractGWDTTracer<T>
In-memory GWDT tracer using array storage.
Fast but memory-intensive. Best for images < 1GB. Uses APP2-style algorithm: Gray-Weighted Distance Transform, Fast Marching, and hierarchical pruning.
- Author:
- Tiago Ferreira
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class sc.fiji.snt.tracing.auto.AbstractGWDTTracer
AbstractGWDTTracer.HierarchySegment, AbstractGWDTTracer.WaypointBiasSourceNested classes/interfaces inherited from interface sc.fiji.snt.tracing.auto.AutoTracer
AutoTracer.SeedRole -
Field Summary
Fields inherited from class sc.fiji.snt.tracing.auto.AbstractGWDTTracer
ALIVE, backgroundThreshold, branchTuneMaxAngle, cnnType, dims, FAR, jointLeafPruneEnabled, leafPruneEnabled, leafPruneOverlap, maxBounds, maxIntensity, minBounds, minBranchIntensityLength, minIntensity, overshootRemovalEnabled, parallelBranchPruneEnabled, resampleEnabled, resampleStep, scoreMap, scoreMapEnabled, scoreMapFilterType, scoreMapPruneThreshold, scoreMapScales, seedVoxel, smoothEnabled, smoothWindowSize, source, spacing, sphereOverlapThreshold, srRatio, storage, TRIAL, zigzagRemovalEnabledFields inherited from class sc.fiji.snt.tracing.auto.AbstractAutoTracer
logger, rootStrategy, somaRoi, somaRoiZPosition, verboseFields inherited from interface sc.fiji.snt.tracing.auto.AutoTracer
ROI_CENTROID, ROI_CENTROID_WEIGHTED, ROI_CONTAINED, ROI_EDGE, ROI_UNSET -
Constructor Summary
ConstructorsConstructorDescriptionGWDTTracer(ij.ImagePlus source) Creates a new GWDTTracer from an ImagePlus.GWDTTracer(net.imagej.ImgPlus<T> source) Creates a new GWDTTracer from an ImgPlus.GWDTTracer(net.imglib2.RandomAccessibleInterval<T> source) Creates a new GWDTTracer with isotropic spacing (1.0 for each dimension).GWDTTracer(net.imglib2.RandomAccessibleInterval<T> source, double[] spacing) Creates a new GWDTTracer. -
Method Summary
Modifier and TypeMethodDescriptionstatic GWDTTracer<?> create(ij.ImagePlus source) static GWDTTracer<?> create(net.imagej.ImgPlus<?> source) protected StorageBackendCreate the storage backend for this tracer.static voidMethods inherited from class sc.fiji.snt.tracing.auto.AbstractGWDTTracer
addNeighborsToHeap, computeAndApplyScoreMap, computeAverageSpacing, computeIntensityRange, computeIntensityWeightedJointCoverage, createIsotropicSpacing, darkNodeAndSegmentPruning, getCaliperFraction, getDimensions, getEffectiveThreshold, getMaxGapVoxels, getMinSomaDistance, getNSomas, getScoreMap, getSpacing, getSpacing, getTipExtensionDistance, getTracedRegionBuffer, hierarchicalPrune, honoredSeedRoles, indexToPos, isAllowVoxelGap, isAutoFilter, isInBounds, isParallelBranchPruneEnabled, isPathFittingEnabled, iterateNeighbors, nodeToVoxelPos, posToIndex, posToIndex, pruneParallelBranches, recalculateRadiiFromImage, removeOvershoots, removeZigzags, resampleCurve, runFastMarching, setAllowVoxelGap, setAutoFilter, setBackgroundThreshold, setBranchTuneMaxAngle, setCaliperFraction, setConnectivityType, setJointLeafPruneEnabled, setLeafPruneOverlap, setMaxGapVoxels, setMinBranchIntensityLength, setMinSegmentLength, setMinSegmentLengthVoxels, setMinSomaDistance, setNSomas, setOvershootRemovalEnabled, setParallelBranchPruneEnabled, setPathFittingEnabled, setResampleStep, setRoots, setScoreMap, setScoreMapEnabled, setScoreMapFilterType, setScoreMapPruneThreshold, setScoreMapScales, setSeed, setSeedPhysical, setSmoothWindowSize, setSphereOverlapThreshold, setSrRatio, setTipExtensionDistance, setTips, setTracedRegionBuffer, setWaypointBiasFixedFactor, setWaypointBiasRadiusVoxels, setWaypointBiasSource, setWaypointBiasStrength, setWaypoints, setZigzagRemovalEnabled, smoothCurve, trace, traceMultiSoma, traceToGraph, traceTrees, tuneBranchesMethods inherited from class sc.fiji.snt.tracing.auto.AbstractAutoTracer
collapseSomaNodes, collapseSomaToRoiCentroid, collapseSomaToWeightedCentroid, computeAverageRadius, estimateBackgroundThreshold, findGraphRoot, findRoot, findRoot, findRootPhysical, findRootPhysical, findThickestPoint, findThickestPointPhysical, getRootStrategy, getSomaRoi, isInsideSomaRoi, isVerbose, log, removeDisconnectedComponents, setSomaRoi, setSomaRoi, setSomaRoiZPosition, setStatusListener, setVerbose, splitAtSomaBoundary, status
-
Constructor Details
-
GWDTTracer
Creates a new GWDTTracer.- Parameters:
source- the grayscale image to tracespacing- voxel dimensions [x, y, z] in physical units
-
GWDTTracer
Creates a new GWDTTracer from an ImgPlus.- Parameters:
source- the grayscale image to trace
-
GWDTTracer
Creates a new GWDTTracer with isotropic spacing (1.0 for each dimension). -
GWDTTracer
public GWDTTracer(ij.ImagePlus source) Creates a new GWDTTracer from an ImagePlus.- Parameters:
source- the grayscale image to trace
-
-
Method Details
-
createStorageBackend
Description copied from class:AbstractGWDTTracerCreate the storage backend for this tracer. Subclasses override to specify array, sparse, or disk-backed storage.- Specified by:
createStorageBackendin classAbstractGWDTTracer<T extends net.imglib2.type.numeric.RealType<T>>
-
create
-
create
-
main
-