Uses of Class
sc.fiji.snt.util.SWCPoint
Packages that use SWCPoint
Package
Description
SNT core classes
Analysis of
Trees.Classes for handling neuronal reconstructions as graphs
Classes for importing reconstructions into SNT.
Automatic neuron tracing algorithms that reconstruct complete neuronal
morphologies from images without user interaction.
Miscellaneous SNT utilities, including classes defining reconstruction nodes.
Classes implementing SNT's Graph Viewer
-
Uses of SWCPoint in sc.fiji.snt
Methods in sc.fiji.snt that return types with arguments of type SWCPointModifier and TypeMethodDescriptionTree.getBPs()Gets the branch points (junctions) of the graph.Tree.getNodesAsSWCPoints()PathAndFillManager.getSWCFor(Collection<Path> paths) Converts a collection of connected Path objects into SWC points for export.Tree.getTips()Gets the end points (tips) of the graph.Method parameters in sc.fiji.snt with type arguments of type SWCPointModifier and TypeMethodDescriptionstatic PathAndFillManagerPathAndFillManager.createFromNodes(Collection<SWCPoint> nodes) Creates a PathAndFillManager instance from a collection of reconstruction nodes.protected voidPathAndFillManager.flushSWCPoints(List<SWCPoint> swcPoints, PrintWriter pw, String commonFileHeader) PathAndFillManager.importNeurons(Map<String, TreeSet<SWCPoint>> map, org.scijava.util.ColorRGB color, String spatialUnit) Import neuron(s) as a collection of reconstruction nodes (SWC points)Constructor parameters in sc.fiji.snt with type arguments of type SWCPointModifierConstructorDescriptionTree(Collection<SWCPoint> nodes, String label) Instantiates a Tree from a collection of reconstruction nodes. -
Uses of SWCPoint in sc.fiji.snt.analysis
Methods in sc.fiji.snt.analysis that return types with arguments of type SWCPointModifier and TypeMethodDescriptionPersistenceAnalyzer.getDiagramNodes(String descriptor) Gets the tree nodes associated with each point in the persistence diagram.StrahlerAnalyzer.getNodes()TreeStatistics.getNodeStatistics()Convenience method to initialize aNodeStatisticsfrom all the nodes of the Tree being analyzed.TreeStatistics.getNodeStatistics(String type) Convenience method to initialize aNodeStatisticsfrom a subset of the nodes of the Tree being analyzed. -
Uses of SWCPoint in sc.fiji.snt.analysis.graph
Methods in sc.fiji.snt.analysis.graph that return SWCPointModifier and TypeMethodDescriptionDirectedWeightedGraph.addVertex(double x, double y, double z) DirectedWeightedGraph.getRoot()Gets the root of this graph.DirectedWeightedSubgraph.getRoot()Gets the root of this graph.SWCWeightedEdge.getSource()SWCWeightedEdge.getTarget()Methods in sc.fiji.snt.analysis.graph that return types with arguments of type SWCPointModifier and TypeMethodDescriptionDirectedWeightedGraph.getBPs()Gets the branch points (junctions) of the graph.DirectedWeightedSubgraph.getBPs()Gets the branch points (junctions) of the graph.org.jgrapht.traverse.BreadthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedGraph.getBreadthFirstIterator()Gets aBreadthFirstIterator, using the graph root as start vertex.org.jgrapht.traverse.BreadthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedGraph.getBreadthFirstIterator(SWCPoint startVertex) Gets aBreadthFirstIterator, using the specified start vertex.org.jgrapht.traverse.DepthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedGraph.getDepthFirstIterator()Gets aDepthFirstIterator, using the graph root as start vertex.org.jgrapht.traverse.DepthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedGraph.getDepthFirstIterator(SWCPoint startVertex) Gets aDepthFirstIterator, using the specified start vertex.org.jgrapht.traverse.DepthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedSubgraph.getDepthFirstIterator()org.jgrapht.traverse.DepthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedSubgraph.getDepthFirstIterator(SWCPoint startVertex) DirectedWeightedGraph.getLongestPathVertices(boolean useDirected) Return the sequence of nodes representing the longest shortest-path in the graph, as aDeque.DirectedWeightedGraph.getNodesFromLeavesToRoot()DirectedWeightedGraph.getNodesFromRootToLeaves()DirectedWeightedGraph.getNodeStatistics()Gets a NodeStatistics instance for the vertex setDirectedWeightedGraph.getNodeStatistics(String type) Gets a NodeStatistics instance for the nodes in the vertex set of the specified typeDirectedWeightedSubgraph.getNodeStatistics(String type) DirectedWeightedGraph.getShortestPathVertices(SWCPoint v1, SWCPoint v2) Gets the shortest path between source and target vertex as aDequeof SWCPoint objects.DirectedWeightedGraph.getTips()Gets the end points (tips) of the graph.DirectedWeightedSubgraph.getTips()Gets the end points (tips) of the subgraph.org.jgrapht.traverse.TopologicalOrderIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedGraph.getTopologicalOrderIterator()Gets aTopologicalOrderIteratorfor this graph.DirectedWeightedGraph.vertexSet(char lr) Returns the subset of vertices contained in the given hemisphereMethods in sc.fiji.snt.analysis.graph with parameters of type SWCPointModifier and TypeMethodDescriptionorg.jgrapht.traverse.BreadthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedGraph.getBreadthFirstIterator(SWCPoint startVertex) Gets aBreadthFirstIterator, using the specified start vertex.org.jgrapht.traverse.DepthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedGraph.getDepthFirstIterator(SWCPoint startVertex) Gets aDepthFirstIterator, using the specified start vertex.org.jgrapht.traverse.DepthFirstIterator<SWCPoint, SWCWeightedEdge> DirectedWeightedSubgraph.getDepthFirstIterator(SWCPoint startVertex) DirectedWeightedGraph.getShortestPath(SWCPoint v1, SWCPoint v2) Gets the shortest path between source and target vertex as aPathobject.DirectedWeightedGraph.getShortestPathVertices(SWCPoint v1, SWCPoint v2) Gets the shortest path between source and target vertex as aDequeof SWCPoint objects.voidSets the root of the tree.voidSets the root of the tree.Method parameters in sc.fiji.snt.analysis.graph with type arguments of type SWCPointModifier and TypeMethodDescriptionstatic DirectedWeightedGraphGraphUtils.createGraph(Collection<SWCPoint> nodes, boolean assignDistancesToWeights) Deprecated.static TreeGraphUtils.createTree(org.jgrapht.Graph<SWCPoint, ?> graph) Deprecated.DirectedWeightedGraph.getSubgraph(Set<SWCPoint> nodeSubset) Returns the subgraph defined by the supplied subset of vertices, including their edges.protected voidDirectedWeightedGraph.init(Collection<SWCPoint> nodes, boolean assignDistancesToWeights) Constructor parameters in sc.fiji.snt.analysis.graph with type arguments of type SWCPointModifierConstructorDescriptionDirectedWeightedGraph(Collection<SWCPoint> nodes, boolean assignDistancesToWeight) Creates a DirectedWeightedGraph from a collection of reconstruction nodes.protectedDirectedWeightedGraph(Supplier<SWCPoint> vertexSupplier, Supplier<SWCWeightedEdge> edgeSupplier, org.jgrapht.GraphType type, org.jgrapht.graph.GraphSpecificsStrategy<SWCPoint, SWCWeightedEdge> specificsStrategy) Subclass hook for installing a customGraphSpecificsStrategy.protectedDirectedWeightedGraph(Supplier<SWCPoint> vertexSupplier, Supplier<SWCWeightedEdge> edgeSupplier, org.jgrapht.GraphType type, org.jgrapht.graph.GraphSpecificsStrategy<SWCPoint, SWCWeightedEdge> specificsStrategy) Subclass hook for installing a customGraphSpecificsStrategy.protectedDirectedWeightedSubgraph(DirectedWeightedGraph graph, Set<SWCPoint> nodeSubset) Creates a subgraph from a sub-set of nodes.SparseDirectedWeightedGraph(Collection<SWCPoint> nodes, boolean assignDistancesToWeight) Builds a CSR-backed graph from a collection of SWC nodes. -
Uses of SWCPoint in sc.fiji.snt.io
Methods in sc.fiji.snt.io that return SWCPointModifier and TypeMethodDescriptionMouseLightLoader.getSomaLocation()Gets the soma location for this neuron.Methods in sc.fiji.snt.io that return types with arguments of type SWCPointModifier and TypeMethodDescriptionMouseLightLoader.extractNodes(File jsonFile, String compartment) Extracts reconstruction(s) from a JSON file.MouseLightLoader.extractNodes(InputStream stream, String compartment) MouseLightLoader.getNodes()Extracts the nodes (single-point soma, axonal and dendritic arbor) of the loaded neuron.Script-friendly method to extract the nodes of a cellular compartment. -
Uses of SWCPoint in sc.fiji.snt.tracing.auto
Methods in sc.fiji.snt.tracing.auto that return SWCPointModifier and TypeMethodDescriptionprotected SWCPointAbstractAutoTracer.findGraphRoot(DirectedWeightedGraph graph) Finds the root node of a graph.Methods in sc.fiji.snt.tracing.auto with parameters of type SWCPointModifier and TypeMethodDescriptionprotected double[]AbstractGWDTTracer.computeIntensityWeightedJointCoverage(SWCPoint node, net.imglib2.RandomAccess<net.imglib2.type.numeric.integer.UnsignedShortType> countRA, net.imglib2.RandomAccess<? extends net.imglib2.type.numeric.RealType<?>> srcRA) Computes INTENSITY-WEIGHTED joint coverage fraction (like APP2).intComponentReconnector.extendTips(DirectedWeightedGraph graph, SWCPoint root, double backgroundThreshold) Extends leaf tips of the tree across multi-voxel gaps by scanning for bright signal in each leaf's tangent direction and A*-bridging to it.protected booleanAbstractAutoTracer.isInsideSomaRoi(SWCPoint point) Checks if a point is inside the soma ROI.protected voidAbstractGWDTTracer.nodeToVoxelPos(SWCPoint node, long[] pos) Converts an SWCPoint's physical coordinates to voxel position.intComponentReconnector.reconnect(DirectedWeightedGraph graph, SWCPoint root, double backgroundThreshold) Attempts to reconnect disconnected components in the graph back to the main tree (the component containing the root).Method parameters in sc.fiji.snt.tracing.auto with type arguments of type SWCPointModifier and TypeMethodDescriptionprotected doubleAbstractAutoTracer.computeAverageRadius(Set<SWCPoint> nodes) Computes average radius of a set of nodes. -
Uses of SWCPoint in sc.fiji.snt.util
Methods in sc.fiji.snt.util that return SWCPointMethods in sc.fiji.snt.util that return types with arguments of type SWCPointModifier and TypeMethodDescriptionSWCPoint.getNextPoints()Returns the list holding the subsequent nodes in the reconstructed structure after this one.Methods in sc.fiji.snt.util with parameters of type SWCPointModifier and TypeMethodDescriptionintvoidSWCPoint.setPrevious(SWCPoint previousNode) Sets the preceding node in the reconstructionMethod parameters in sc.fiji.snt.util with type arguments of type SWCPointModifier and TypeMethodDescriptionstatic StringReaderSWCPoint.collectionAsReader(Collection<SWCPoint> points) Converts a collection of SWC points into a Reader.static voidSWCPoint.flush(Collection<SWCPoint> points, PrintWriter pw) Prints a list of points as space-separated values.voidBoundingBox.inferSpacing(Collection<SWCPoint> points) Infers the voxel spacing of this box from the inter-node distances of a Collection ofSWCPoints. -
Uses of SWCPoint in sc.fiji.snt.viewer.geditor
Methods in sc.fiji.snt.viewer.geditor with parameters of type SWCPointModifier and TypeMethodDescriptionvoidTreeGraphAdapter.setVertexColor(SWCPoint vertex, org.scijava.util.ColorRGB color)