Module org.bonej.bonej_plugins
Package org.bonej.wrapperPlugins
Class FractalDimensionWrapper<T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
java.lang.Object
org.scijava.AbstractContextual
org.scijava.command.ContextCommand
org.bonej.wrapperPlugins.BoneJCommand
org.bonej.wrapperPlugins.FractalDimensionWrapper<T>
- All Implemented Interfaces:
Runnable,org.scijava.Cancelable,org.scijava.command.Command,org.scijava.Contextual,org.scijava.plugin.SciJavaPlugin
public class FractalDimensionWrapper<T extends net.imglib2.type.numeric.RealType<T> & net.imglib2.type.NativeType<T>>
extends BoneJCommand
This command estimates the fractal dimension of a binary image with the
box-counting algorithm. Boxes of diminishing size are scanned over the image
and the number of boxes of each size containing foreground (bone) is counted.
As the box size decreases, the proportion of boxes containing foreground
increases in a fractal structure.
The command returns a table of fractal dimension and R² values. Fractal dimension is the slope of a linear line fit to (-log(size), log(count)) points returned by the box count algorithm. R² is the goodness of the fit of the linear line. Optionally the points are also returned in separate table(s).
- Author:
- Richard Domander
-
Field Summary
Fields inherited from class org.bonej.wrapperPlugins.BoneJCommand
resultsTable, subspaces -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bonej.wrapperPlugins.BoneJCommand
find3DSubspacesMethods inherited from class org.scijava.command.ContextCommand
cancel, getCancelReason, isCanceledMethods inherited from class org.scijava.AbstractContextual
context, getContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.scijava.Contextual
setContext
-
Constructor Details
-
FractalDimensionWrapper
public FractalDimensionWrapper()
-
-
Method Details
-
run
public void run()
-