Uses of Class
sc.fiji.snt.Path
Packages that use Path
Package
Description
SNT core classes
Analysis of
Trees.Classes for curation of reconstructions, as implemented by the "Curation Assistant".
Feature detectors for traced paths.
Classes for handling neuronal reconstructions as graphs
Classes for growth analysis of neurites across time
Filters for detection of tube-like structures
Customizations and commands for SNT's GUI.
Path-finding algorithms for interactive neuron tracing.
Automatic neuron tracing algorithms that reconstruct complete neuronal
morphologies from images without user interaction.
Miscellaneous SNT utilities, including classes defining reconstruction nodes.
-
Uses of Path in sc.fiji.snt
Fields in sc.fiji.snt declared as PathModifier and TypeFieldDescriptionprotected PathSNT.currentPathprotected PathPath.fittedprotected PathPath.fittedVersionOfprotected PathPath.parentPathprotected PathSNT.temporaryPathFields in sc.fiji.snt with type parameters of type PathMethods in sc.fiji.snt that return PathModifier and TypeMethodDescriptionSNT.autoTrace(List<SNTPoint> pointList, PointInImage forkPoint) Automatically traces a path from a list of points and adds it to the activePathAndFillManagerinstance.SNT.autoTrace(List<SNTPoint> pointList, PointInImage forkPoint, boolean headless) Automatically traces a path from a point A to a point B.SNT.autoTrace(SNTPoint start, SNTPoint end, PointInImage forkPoint) Automatically traces a path from a point A to a point B.SNT.autoTrace(SNTPoint start, SNTPoint end, PointInImage forkPoint, boolean headless) Automatically traces a path from a point A to a point B.PathFitter.call()Takes the signal from the image specified in the constructor to fit cross-section circles around the nodes of input path.Path.clone()Creates a deep copy of this Path.Path.clone(boolean includeImmediateChildren) Creates a copy of this Path with optional inclusion of immediate children.Path.createPath()Returns a new Path with this Path's attributes (e.g. spatial scale), but no nodes.Tree.get(int index) Returns the Path at the specified position.SNT.getCurrentPath()protected PathSNT.getEditingPath()Path.getFitted()Gets the fitted version ('flavor') of this Path.Path.getInterpolatedPath(double maxDistance) Returns a new Path in which nodes have been interpolated to ensure that the distance between consecutive nodes does not exceed the specified threshold.Path.getParentPath()Gets the parent path that this path branches from.NearPoint.getPath()PathAndFillManager.getPath(int i) Returns the Path at the specified position in the PathAndFillManager list.PathFitter.getPath()protected PathPathAndFillManager.getPathFrom3DViewerName(String name) PathAndFillManager.getPathFromID(int id) Returns the Path with the specified id.PathAndFillManager.getPathFromName(String name, boolean caseSensitive) Returns the Path with the specified name.Path[]PathAndFillManager.getPathsStructured()Path[]PathAndFillManager.getPathsStructured(Collection<Path> paths) protected PathSNT.getPreviousEditingPath()Path.getResampledPath(double targetSpacing) Returns a new Path in which nodes have been resampled to ensure uniform spacing along the path.Path.getSection(int startIndex, int endIndex) Gets a section between two nodes of this Path.protected PathSNT.getSingleSelectedPath()Path.getSmoothedPath(int windowSize) Returns a smoothed version of this path using a simple moving average filter.Path.getStartJoins()Deprecated.Path.getUnfitted()Gets the original (unfitted) path that this path is a fitted version of.MultiPathTracerCanvas.Entry.path()Returns the value of thepathrecord component.Path.reversed()Path.transform(PathTransformer transformation, ij.ImagePlus template, ij.ImagePlus model) Methods in sc.fiji.snt that return types with arguments of type PathModifier and TypeMethodDescriptionPath.getChildren()Gets the list of child paths that branch from this path.PathAndFillManager.getPaths()Returns the "main" paths managed by this PathAndFillManager.SNTService.getPaths()Gets the paths currently listed in the Path ManagerPathAndFillManager.getPathsFiltered()Returns the 'de facto' Paths (excluding null or fitted versions).PathAndFillManager.getPathsInROI(ij.gui.Roi roi) PathAndFillManager.getSelectedPaths()Gets all paths selected in the GUIPathManagerUI.getSelectedPaths(boolean ifNoneSelectedGetAll) Gets the paths currently selected in the Manager'sJTreelist.SNT.getSelectedPaths()SNTService.getSelectedPaths()Gets the paths currently selected in the Path Manager list.Fill.getSourcePaths()Returns the set of source paths for the filled structure.PathAndFillManager.getUnSelectedPathsRenderedInViewPort(TracerCanvas canvas) Tree.list()Gets all the paths from this tree.SNTUtils.randomPaths()Generates a list of random paths.Methods in sc.fiji.snt with parameters of type PathModifier and TypeMethodDescriptionvoidvoidbooleanAdds a new Path to this Tree.voidAppends a single entry without repaintingvoidAdds a new path.voidprotected voidPathAndFillManager.addPath(Path p, boolean forceNewName, boolean forceNewId, boolean assumeMaxUsedTreeID) voidintbooleanPathAndFillManager.deletePath(Path p) Deletes a path.protected booleanSNT.editModeAllowed(boolean warnUserIfNot, Path pathToEdit) Checks if edit mode can be enabled, optionally using a specific path.protected booleanPathAndFillManager.exportAllPathsAsSWC(Path[] primaryPaths, String baseFilename, String commonFileHeader) protected booleanPathAndFillManager.exportConnectedStructureAsSWC(Path primaryPath, File swcFile, String commonFileHeader) static StringPathManagerUI.extractTagsFromPath(Path p) protected StringPathAndFillManager.getDefaultName(Path p) intReturns the index of the specified Path in this Tree.booleanPath.isConnectedTo(Path other) booleanPathAndFillManager.isSelected(Path path) Checks if a Path is currently selected in the GUI.voidbooleanRemoves a path from this tree.protected voidSNT.replaceCurrentPath(Path path) voidPath.replaceNodes(Path replacementPath) Replaces all nodes of this path with those from the replacement path, preserving hierarchical relationships (parent, children, connections).voidPathAndFillManager.resetListeners(Path justAdded) protected voidPathAndFillManager.resetListeners(Path justAdded, boolean expandAll) voidSelects a specific path in the Path Manager.voidSNT.selectPath(Path p, boolean addToExistingSelection) voidPath.setBranchFrom(Path parentPath, PointInImage branchPoint) Establishes this path as a child path originating from the specified parent path.voidSNT.setCurrentPath(Path path) protected voidSNT.setEditingPath(Path path) protected voidvoidFillManagerUI.setPathList(List<Path> pathList, Path justAdded, boolean expandAll) voidPathManagerUI.setPathList(List<Path> pathList, Path justAdded, boolean expandAll) voidSNT.setPathList(List<Path> pathList, Path justAdded, boolean expandAll) voidFill.setSourcePaths(Path[] newSourcePaths) Sets the source paths for the filled structure using an array of paths.voidPath.setStartJoin(Path parentPath, PointInImage branchPoint) Deprecated.usesetBranchFrom(Path, PointInImage)insteadvoidSNT.setTemporaryPath(Path path) Method parameters in sc.fiji.snt with type arguments of type PathModifier and TypeMethodDescriptionvoidAdds multiple bookmarks from selected path nodesbooleanPathAndFillManager.deletePaths(Collection<Path> paths) Deletes a collection of paths.PathManagerUI.extractTagsFromPaths(Collection<Path> paths) Path[]PathAndFillManager.getPathsStructured(Collection<Path> paths) PathAndFillManager.getSWCFor(Collection<Path> paths) Converts a collection of connected Path objects into SWC points for export.voidSNT.initPathsToFill(Set<Path> fromPaths, boolean splitFillerThreads) ij.ImagePlusSNT.makePathVolume(Collection<Path> paths, boolean labelsImage) Rasterizes centerline of paths into an ImagePlusPathAndFillManager.nearestPointOnAnyPath(Collection<Path> paths, PointInCanvas pic, double distanceLimit) protected NearPointPathAndFillManager.nearestPointOnAnyPath(Collection<Path> paths, PointInImage pim, double distanceLimitSquared, boolean unScaledPositions) protected static StringPath.pathsToIDListString(ArrayList<Path> a) voidPathManagerUI.refreshForPaths(Collection<Path> paths) Repaints the Path Manager view for the given paths.voidTree.replaceAll(List<Path> paths) Replaces all Paths in this Tree.protected voidPath.setChildren(Set<Path> pathsLeft) voidFillManagerUI.setPathList(List<Path> pathList, Path justAdded, boolean expandAll) voidPathManagerUI.setPathList(List<Path> pathList, Path justAdded, boolean expandAll) voidSNT.setPathList(List<Path> pathList, Path justAdded, boolean expandAll) protected voidPathAndFillManager.setSelected(Collection<Path> selectedPaths, Object sourceOfMessage) voidFillManagerUI.setSelectedPaths(Collection<Path> selectedPathSet, Object source) voidPathManagerUI.setSelectedPaths(Collection<Path> selectedPaths, Object source) voidSNT.setSelectedPaths(Collection<Path> selectedPathsSet, Object source) voidFill.setSourcePaths(Set<Path> newSourcePaths) Sets the source paths for the filled structure using a set of paths.Constructors in sc.fiji.snt with parameters of type PathModifierConstructorDescriptionCreates an instance of aEntryrecord class.NearPoint(PointInImage nearPoint, Path path, int indexInPath) protectedNearPoint(PointInImage nearPoint, Path path, int indexInPath, boolean unScaledPositions) PathFitter(ij.ImagePlus imp, Path path) Instantiates a new PathFitter.PathFitter(net.imagej.ImgPlus<? extends net.imglib2.type.numeric.RealType<?>> img, Path path) Instantiates a new PathFitter.PathFitter(net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> img, Path path, double xSpacing, double ySpacing, double zSpacing, String unit) Instantiates a new PathFitter directly from pixel data.PathFitter(SNT plugin, Path path) Instantiates a new PathFitter.PathNodeCanvas(Path path, int index, TracerCanvas canvas) Creates a node from a Path position.Constructor parameters in sc.fiji.snt with type arguments of type PathModifierConstructorDescriptionTree(Collection<Path> paths) Instantiates a new Tree from a set of paths. -
Uses of Path in sc.fiji.snt.analysis
Fields in sc.fiji.snt.analysis with type parameters of type PathModifier and TypeFieldDescriptionTreeStatistics.innerBranchesTreeColorMapper.pathsTreeStatistics.primaryBranchesTreeStatistics.terminalBranchesMethods in sc.fiji.snt.analysis that return PathModifier and TypeMethodDescriptionMultiSpectralRefiner.call()Runs the multispectral refinement on this path.Methods in sc.fiji.snt.analysis that return types with arguments of type PathModifier and TypeMethodDescriptionMultiTreeStatistics.getBranches()PathStatistics.getBranches()Gets all the paths being analyzed as branches.StrahlerAnalyzer.getBranches()StrahlerAnalyzer.getBranches(int order) TreeStatistics.getBranches()Gets all the branches in the analyzed tree.MultiTreeStatistics.getInnerBranches()PathStatistics.getInnerBranches()Gets the inner branches from the analyzed paths.TreeStatistics.getInnerBranches()Retrieves the branches of highestStrahler orderin the Tree.MultiTreeStatistics.getPrimaryBranches()PathStatistics.getPrimaryBranches()Gets the primary branches from the analyzed paths.TreeStatistics.getPrimaryBranches()Retrieves the primary branches of the analyzed Tree.TreeStatistics.getPrimaryPaths()Retrieves all the Paths in the analyzed Tree tagged as primary.StrahlerAnalyzer.getRootAssociatedBranches()MultiTreeStatistics.getTerminalBranches()PathStatistics.getTerminalBranches()Gets the terminal branches from the analyzed paths.TreeStatistics.getTerminalBranches()Retrieves the terminal branches of the analyzed Tree.Methods in sc.fiji.snt.analysis with parameters of type PathModifier and TypeMethodDescriptionvoidPathProfiler.assignValues(Path p) Retrieves pixel intensities at each node of the Path storing them as Pathvalues<T extends net.imglib2.type.numeric.RealType<T>>
voidPathProfiler.assignValues(Path p, int channel) Retrieves pixel intensities at each node of the Path storing them as Pathvaluesstatic double[]MultiSpectralRefiner.computeNodeCosts(ij.ImagePlus imp, Path path) Computes the cost at each node of a path without modifying it.static <T extends net.imglib2.type.numeric.NumericType<T>>
double[]MultiSpectralRefiner.computeNodeCosts(net.imagej.ImgPlus<T> img, Path path) Computes the cost at each node of a path without modifying it.int[]PathProfiler.findMaxima(Path path, int channel) Finds the maxima in the profile of the specified path.int[]PathProfiler.findMinima(Path path, int channel) Finds the minima in the profile of the specified path.Gets a specific metric value for an individual path.ij.gui.Plotij.gui.Plotij.gui.PlotGets the plot profile as an ImageJ plot (all channels included).static PCAnalyzer.PrincipalAxis[]PCAnalyzer.getPrincipalAxes(Path path) Computes the principal axes for a Path structure.doubleStrahlerAnalyzer.getRelativeExtensionAngle(Path branch) Computes the relative extension angle for a StrahlerAnalyzer branch by finding the parent direction from the graph structure.List<ij.gui.PolygonRoi> Gets ROI representations of the specified path.Gets the profile for the specified path as a map of lists of pixel intensities (profile indices as keys)Gets the profile for the specified path as a map of lists of pixel intensities (profile indices as keys)Gets the profile for the specified path as a map of lists, with distances (or indices) stored underPathProfiler.X_VALUES("x-values") and intensities underPathProfiler.Y_VALUES("y-values").Gets the profile for the specified path as a map of lists, with distances (or indices) stored underPathProfiler.X_VALUES("x-values") and intensities underPathProfiler.Y_VALUES("y-values").static <T extends net.imglib2.type.numeric.RealType<T>>
double[]ProfileProcessor.profilePathNodes(net.imglib2.RandomAccessible<T> rai, Path path, double[] values) Get the intensities for the point coordinates of a PathMethod parameters in sc.fiji.snt.analysis with type arguments of type PathModifier and TypeMethodDescriptionstatic ij.gui.RoiRoiConverter.convert(Collection<Path> paths, ij.ImagePlus imp) ij.gui.OverlayRoiConverter.convertPaths(ij.gui.Overlay overlay, Collection<Path> paths) Converts an ad-hoc collection of paths into 2D polyline ROIs.static voidPeripathDetector.createTorusMask(Collection<Path> paths, ij.ImagePlus output, PeripathDetector.Config cfg, double fillValue) static <T extends net.imglib2.type.numeric.RealType<T>>
voidPeripathDetector.createTorusMask(Collection<Path> paths, net.imglib2.RandomAccessibleInterval<T> output, PeripathDetector.Config cfg, double fillValue) PeripathDetector.detect(Collection<Path> paths, net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> img, PeripathDetector.Config cfg) static ij.gui.RoiRoiConverter.get2DBoundingBox(Collection<Path> paths, int exportPlane) static voidColorMapper.unMap(Collection<Path> paths) Removes color mapping from the specified collection of paths.Constructors in sc.fiji.snt.analysis with parameters of type PathModifierConstructorDescriptionDetection(double x, double y, double z, double intensity, Path path, int nodeIndex, double distanceFromSkeleton) Deprecated.MultiSpectralRefiner(ij.ImagePlus imp, Path path) Creates a refiner for a single path using an ImagePlus.MultiSpectralRefiner(net.imagej.ImgPlus<T> img, Path path) Creates a refiner for a single path using an ImgPlus.PathProfiler(Path path, ij.ImagePlus imp) Deprecated.PathProfiler(Path path, net.imagej.Dataset dataset) Instantiates a new Profiler from a single path.PathStatistics(Path path) Instantiates PathStatistics from a single path.PathStraightener(Path path, ij.ImagePlus imp) Instantiates a new PathStraightenerPathStraightener(Path path, SNT snt) Instantiates a new PathStraightenerProfileProcessor(net.imglib2.RandomAccessibleInterval<T> rai, Path path) RoiConverter(Path path, ij.ImagePlus imp) Instantiates a new Converter.Constructor parameters in sc.fiji.snt.analysis with type arguments of type PathModifierConstructorDescriptionPathStatistics(Collection<Path> paths, String label) Instantiates PathStatistics from a collection of paths.RoiConverter(Collection<Path> paths, ij.ImagePlus imp) Instantiates a new Converter.TreeStatistics(Collection<Path> paths, String label) Instantiates Tree statistics from a collection of paths. -
Uses of Path in sc.fiji.snt.analysis.curation
Methods in sc.fiji.snt.analysis.curation that return types with arguments of type PathModifier and TypeMethodDescriptionPlausibilityCheck.Warning.affectedPaths()Returns the value of theaffectedPathsrecord component.CurationTags.Partition.negative()Returns the value of thenegativerecord component.CurationTags.Partition.positive()Returns the value of thepositiverecord component.CurationTags.Partition.unreviewed()Returns the value of theunreviewedrecord component.CurationTags.Partition.unsure()Returns the value of theunsurerecord component.Methods in sc.fiji.snt.analysis.curation with parameters of type PathModifier and TypeMethodDescriptionabstract List<PlausibilityCheck.Warning> Evaluates the plausibility of a child path forking from a parent.For this check,parentis ignored: it evaluates whether the child's first node is within range of any soma path.static voidCurationTags.clearReview(Path path) Removes everycur:*suffix frompath's name.static booleanCurationTags.isNegative(Path path) static booleanCurationTags.isPositive(Path path) static booleanCurationTags.isReviewed(Path path) static booleanstatic voidCurationTags.markNegative(Path path) Tagspathas a negative (rejected) review example.static voidCurationTags.markPositive(Path path) Tagspathas a positive (accepted) review example.static voidCurationTags.markUnsure(Path path) Tagspathas needing follow-up review ("not sure").voidPlausibilityMonitor.onForkInitiated(Path parent, int branchIndex) Hook 1: Fork initiation. Called fromSNT.startPath()when the user Alt-clicks to start a branch.PlausibilityMonitor.onNodeEdited(Path editedPath, int nodeIndex) Hook 4: Node editing. Called after a node is moved, inserted, or deleted during edit mode.PlausibilityMonitor.onPathFinalized(Path completedChild) Hook 3: Path finalization. Called when the user completes an entire path (SNT.finishPath()).PlausibilityMonitor.onSegmentCompleted(Path candidateChild) Hook 2: Segment completion. Called fromSNT.searchFinished()when A* returns a candidate segment, before the user sees the keep/junk dialog.Method parameters in sc.fiji.snt.analysis.curation with type arguments of type PathModifier and TypeMethodDescriptionstatic CurationTags.PartitionCurationTags.partitionByReviewStatus(Collection<Path> paths) Sibling ofCurationTags.partitionByReviewStatus(Tree)that accepts any iterable of paths.PlausibilityMonitor.runDeepScan(Collection<Path> paths) Runs all enabledPlausibilityCheck.DeepChecks against the given paths.PlausibilityMonitor.runFullScan(Collection<Path> paths) Runs all enabled checks (both live and deep) against the given paths.abstract List<PlausibilityCheck.Warning> PlausibilityCheck.DeepCheck.scan(Collection<Path> paths) Scans a collection of paths for plausibility issues.PlausibilityCheck.PathOverlap.scan(Collection<Path> paths) PlausibilityCheck.RadiusJumps.scan(Collection<Path> paths) PlausibilityCheck.RadiusMonotonicity.scan(Collection<Path> paths) PlausibilityCheck.SignalQuality.scan(Collection<Path> paths) Constructor parameters in sc.fiji.snt.analysis.curation with type arguments of type PathModifierConstructorDescriptionCreates an instance of aPartitionrecord class.Warning(String checkName, PlausibilityCheck.Severity severity, String message, PointInImage location, List<Path> affectedPaths, double value, double threshold) Compact constructor: guarantees affectedPaths is never null. -
Uses of Path in sc.fiji.snt.analysis.detection
Fields in sc.fiji.snt.analysis.detection declared as PathModifier and TypeFieldDescriptionfinal PathDetection.pathThe path this detection is associated withMethods in sc.fiji.snt.analysis.detection with parameters of type PathModifier and TypeMethodDescriptionstatic double[]DetectorUtils.prepareRadii(Path path) Prepares a sanitized radius array for the given path.static List<double[]> DetectorUtils.sampleDistancesWithIndices(Path path, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> edt) Samples the EDT at each node of a single path, returning the distance value and node index for each in-bounds node.Method parameters in sc.fiji.snt.analysis.detection with type arguments of type PathModifier and TypeMethodDescriptionDetectorUtils.assignToNearestPaths(List<Detection> detections, Collection<Path> allPaths) Reassigns each detection to the nearest path (by minimum node distance).static voidPeripathDetector.createTorusMask(Collection<Path> paths, ij.ImagePlus output, PeripathDetector.Config cfg, double fillValue) Creates a binary torus mask around the given paths, writing into anImagePlus.static <T extends net.imglib2.type.numeric.RealType<T>>
voidPeripathDetector.createTorusMask(Collection<Path> paths, net.imglib2.RandomAccessibleInterval<T> output, PeripathDetector.Config cfg, double fillValue) Creates a binary torus mask around the given paths.AlongPathDetector.detect(Collection<Path> paths, net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> img, AlongPathDetector.Config cfg) Detects swellings (boutons/varicosities) along the given paths by analyzing the longitudinal radius profile and, optionally, on-skeleton image intensity.AlongPathDetector.detect(Collection<Path> paths, AlongPathDetector.Config cfg) Convenience overload that performs radius-only detection (no image).LabelProximityDetector.detect(Collection<Path> paths, net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> labelImg, LabelProximityDetector.Config config) Detects proximity contacts between paths and labeled surfaces.PeripathDetector.detect(Collection<Path> paths, net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> img, PeripathDetector.Config cfg) Detects intensity maxima along the given paths.static double[]DetectorUtils.sampleDistances(Collection<Path> paths, net.imglib2.img.Img<net.imglib2.type.numeric.real.FloatType> edt) Samples the EDT at every node position of the given paths.Constructors in sc.fiji.snt.analysis.detection with parameters of type PathModifierConstructorDescriptionDetection(double x, double y, double z, double intensity, Path path, int nodeIndex, double distanceFromSkeleton) Creates a new detection.Detection(double x, double y, double z, double intensity, Path path, int nodeIndex, double distanceFromSkeleton, int labelValue) Creates a new detection with an associated label value. -
Uses of Path in sc.fiji.snt.analysis.graph
Methods in sc.fiji.snt.analysis.graph that return PathModifier and TypeMethodDescriptionDirectedWeightedGraph.getLongestPath(boolean useDirected) Return the sequence of nodes representing the longest shortest-path in the graph, as aPath.DirectedWeightedGraph.getShortestPath(SWCPoint v1, SWCPoint v2) Gets the shortest path between source and target vertex as aPathobject. -
Uses of Path in sc.fiji.snt.analysis.growth
Methods in sc.fiji.snt.analysis.growth that return PathModifier and TypeMethodDescriptionGrowthAnalyzer.TimePoint.path()Returns the value of thepathrecord component.Method parameters in sc.fiji.snt.analysis.growth with type arguments of type PathModifier and TypeMethodDescriptionGrowthAnalyzer.analyze(Collection<Path> paths, double frameInterval, String timeUnits) Performs growth analysis on a collection of time-matched paths.Constructors in sc.fiji.snt.analysis.growth with parameters of type Path -
Uses of Path in sc.fiji.snt.filter
Method parameters in sc.fiji.snt.filter with type arguments of type PathModifier and TypeMethodDescriptionstatic <T extends net.imglib2.type.numeric.RealType<T>>
double[]SpectralSimilarity.averageColorFromPaths(net.imglib2.RandomAccessibleInterval<T> input, List<Path> paths, double xSpacing, double ySpacing, double zSpacing) Computes the average color vector from path node positions. -
Uses of Path in sc.fiji.snt.gui
Methods in sc.fiji.snt.gui that return types with arguments of type PathMethods in sc.fiji.snt.gui with parameters of type PathModifier and TypeMethodDescriptionvoidCostPalette.Listener.costFunctionPicked(SNT.CostType chosen, Path chosenPath) User picked a CostType;chosenPathis the corresponding A* result.Method parameters in sc.fiji.snt.gui with type arguments of type PathModifier and TypeMethodDescriptionvoidPathManagerUISearchableBar.doMorphoFiltering(Collection<Path> paths, String property, Number min, Number max) -
Uses of Path in sc.fiji.snt.tracing
Fields in sc.fiji.snt.tracing declared as PathMethods in sc.fiji.snt.tracing that return PathModifier and TypeMethodDescriptionDefaultSearchNode.asPath(double x_spacing, double y_spacing, double z_spacing, String spacing_units) DefaultSearchNode.asPathReversed(double x_spacing, double y_spacing, double z_spacing, String spacing_units) BiSearch.getResult()FillerThread.getResult()ManualTracerThread.getResult()SearchInterface.getResult()TracerThread.getResult()TubularGeodesicsTracer.getResult()protected PathBiSearch.reconstructPath(double x_spacing, double y_spacing, double z_spacing, String spacing_units) Methods in sc.fiji.snt.tracing with parameters of type PathModifier and TypeMethodDescriptionprotected voidprotected voidMethod parameters in sc.fiji.snt.tracing with type arguments of type PathModifier and TypeMethodDescriptionvoidFillerThread.setSourcePaths(Collection<Path> newSourcePaths) -
Uses of Path in sc.fiji.snt.tracing.auto
Methods in sc.fiji.snt.tracing.auto that return PathModifier and TypeMethodDescriptionstatic PathSomaUtils.roiToSomaPath(ij.gui.Roi roi, double[] spacing) Creates a single-node soma Path from an ImageJ ROI.static PathSomaUtils.roiToSomaPath(ij.gui.Roi roi, Path referencePath) Creates a single-node soma Path from an ImageJ ROI using calibration from a reference Path.SomaUtils.SomaResult.toPath(double[] spacing) Creates a single-node Path representing the soma.Methods in sc.fiji.snt.tracing.auto with parameters of type PathModifier and TypeMethodDescriptionstatic PathSomaUtils.roiToSomaPath(ij.gui.Roi roi, Path referencePath) Creates a single-node soma Path from an ImageJ ROI using calibration from a reference Path.Method parameters in sc.fiji.snt.tracing.auto with type arguments of type PathModifier and TypeMethodDescriptionstatic AutoTraceConfigAutoTraceConfig.fromPaths(List<Path> paths, net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.numeric.RealType<?>> source, double[] spacing) Derives auto-trace configuration from one or more example paths. -
Uses of Path in sc.fiji.snt.util
Fields in sc.fiji.snt.util declared as PathModifier and TypeFieldDescriptionPointInImage.onPathThe Path associated with this node, if any (optional field)Fields in sc.fiji.snt.util with type parameters of type PathModifier and TypeFieldDescriptionfinal Map<Path, IntSummaryStatistics> CrossoverFinder.CrossoverEvent.indexWindowMin/max of node indices per path near the eventCrossoverFinder.CrossoverEvent.participantsUnique paths taking part in the crossoverMethods in sc.fiji.snt.util that return PathModifier and TypeMethodDescriptionPointInImage.getPath()Returns the Path associated with this node (if any)static PathTreeUtils.getRootPath(Path path) Gets the root path of the tree containing the given path.static PathTreeUtils.mergePaths(List<Path> orderedPaths, boolean reparentChildren) Merges a list of paths into a single path by appending nodes sequentially.Methods in sc.fiji.snt.util that return types with arguments of type PathModifier and TypeMethodDescriptionTreeUtils.findPathsNeedingReversal(Collection<Path> paths, PointInImage rootLocation) Determines which paths need to be reversed so that their start nodes point toward a given root location.TreeUtils.orderByEndpointProximity(Collection<Path> paths) Orders a collection of paths to form a spatially continuous chain based on endpoint proximity.Methods in sc.fiji.snt.util with parameters of type PathModifier and TypeMethodDescriptionstatic voidTreeUtils.collectChildren(Path path, Collection<Path> children) Collects direct children of a path into the provided collection.static voidTreeUtils.collectDescendants(Path path, Collection<Path> descendants) Collects all descendants (children, grandchildren, etc.) of a path into the provided collection.static intTreeUtils.countDescendants(Path path) Counts all descendants (children, grandchildren, etc.) of a path.static TreeUtils.EndpointMatchTreeUtils.findClosestEndpoints(Path p1, Path p2) Finds the closest endpoint pairing between two paths.static TreeTreeUtils.getConnectedTree(Path path) Gets the connected tree (component) containing the given path.static intTreeUtils.getMaxOrder(Path path) Returns the maximum path order in the connected tree containing the given path.static PathTreeUtils.getRootPath(Path path) Gets the root path of the tree containing the given path.static booleanTreeUtils.isAncestorOf(Path potentialAncestor, Path potentialDescendant) Checks if 'potentialAncestor' is an ancestor of 'potentialDescendant'.static booleanTreeUtils.isDescendantOf(Path potentialDescendant, Path potentialAncestor) Checks if 'potentialDescendant' is a descendant of 'potentialAncestor'.static booleanTreeUtils.isInSubtree(Path target, Path root) Checks if 'target' is in the subtree rooted at 'root'.voidAssociates a Path with this nodestatic voidTreeUtils.syncCanvasOffset(Path child, Path parent) Applies the parent's canvas offset to the child path and all its descendants.static voidImpUtils.zoomTo(ij.ImagePlus imp, double zoomMagnification, PointInImage location, Path path) Zooms the image canvas to a specific location on a path, correctly accounting for the path'scanvas offset.Method parameters in sc.fiji.snt.util with type arguments of type PathModifier and TypeMethodDescriptionTreeUtils.analyzeEndpointClusters(Collection<Path> paths) Analyzes a collection of paths to determine which endpoint cluster (starts or ends) is more tightly grouped, suggesting the root location.static booleanTreeUtils.canFormContinuousChain(Collection<Path> paths, double tolerance) Checks if a collection of paths can form a spatially continuous chain within a given tolerance.static voidTreeUtils.collectChildren(Path path, Collection<Path> children) Collects direct children of a path into the provided collection.static voidTreeUtils.collectDescendants(Path path, Collection<Path> descendants) Collects all descendants (children, grandchildren, etc.) of a path into the provided collection.static List<CrossoverFinder.CrossoverEvent> CrossoverFinder.find(Collection<Path> paths, CrossoverFinder.Config cfg) Entry point: detect crossover events for a collection of paths using the given config.TreeUtils.findPathsNeedingReversal(Collection<Path> paths, PointInImage rootLocation) Determines which paths need to be reversed so that their start nodes point toward a given root location.static PathTreeUtils.mergePaths(List<Path> orderedPaths, boolean reparentChildren) Merges a list of paths into a single path by appending nodes sequentially.TreeUtils.orderByEndpointProximity(Collection<Path> paths) Orders a collection of paths to form a spatially continuous chain based on endpoint proximity.static voidTreeUtils.orientPathsForMerging(List<Path> orderedPaths) Orients paths in a chain so they can be merged end-to-start.static intTreeUtils.orientPathsTowardRoot(Collection<Path> paths, PointInImage rootLocation) Orients paths so their start nodes point toward a given root location.static PointInImageTreeUtils.suggestRootLocation(Collection<Path> paths, PointInImage referencePoint) Analyzes paths and suggests auto-orientation based on: If a reference point (e.g., ROI centroid) is provided, orient toward it For 3+ paths: find the tighter endpoint cluster as the root For 2 paths: find the closest endpoint pair as the rootstatic voidImpUtils.zoomTo(ij.ImagePlus imp, double zoomLevel, Collection<Path> paths, int plane) Zooms the image canvas to the specified magnification level, centered on the bounding box of the given paths.static doubleImpUtils.zoomTo(ij.ImagePlus imp, Collection<Path> paths) Zooms the image canvas to optimally display the specified paths in the XY plane.static doubleImpUtils.zoomTo(ij.ImagePlus imp, Collection<Path> paths, int plane) Zooms the image canvas to optimally display the specified paths in the given plane.Constructors in sc.fiji.snt.util with parameters of type PathModifierConstructorDescriptionPathCursor(net.imglib2.RandomAccessible<T> accessible, Path path) protectedPointInCanvas(double x, double y, double z, Path onPath) protectedPointInImage(double x, double y, double z, Path onPath)
getParentPath()instead