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
  • Constructor Details

    • FractalDimensionWrapper

      public FractalDimensionWrapper()
  • Method Details

    • run

      public void run()