public class StrahlerCmd extends ContextCommand
Tree
.Constructor and Description |
---|
StrahlerCmd()
Instantiates a new StrahlerCmd.
|
StrahlerCmd(Tree tree)
Instantiates a new StrahlerCmd.
|
Modifier and Type | Method and Description |
---|---|
net.imagej.plot.CategoryChart<Integer> |
getCategoryChart()
Returns the Strahler chart.
|
SNTChart |
getChart()
A variant of
getCategoryChart() that returns the Strahler chart as a
SNTChart object. |
SNTTable |
getTable()
Gets the Strahler table.
|
static void |
main(String[] args) |
void |
run() |
boolean |
validStructure()
Assesses if tree contains multiple roots or loops
|
cancel, getCancelReason, isCanceled
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setContext
public StrahlerCmd()
tree
is is expected to have been
specified as input @parameter
public StrahlerCmd(Tree tree)
tree
- the Tree to be analyzedpublic void run()
public boolean validStructure()
public net.imagej.plot.CategoryChart<Integer> getCategoryChart() throws IllegalArgumentException
IllegalArgumentException
- if tree contains multiple roots or loopsgetChart()
public SNTChart getChart() throws IllegalArgumentException
getCategoryChart()
that returns the Strahler chart as a
SNTChart
object.SNTChart
objectIllegalArgumentException
- if tree contains multiple roots or loopspublic SNTTable getTable() throws IllegalArgumentException
IllegalArgumentException
- if tree contains multiple roots or loopspublic static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.