Skip to content

Fractal dimension

Richard Domander edited this page Mar 13, 2017 · 13 revisions

This plugin estimates the fractal dimension of a binary image by applying the interval-counting algorithm. Intervals of diminishing size are scanned over the image and the number of intervals of each size containing foreground is counted. As the interval size decreases, the proportion of foreground increases in a fractal structure.

###Fractal dimension

  • Menu path: Plugins>BoneJ>Fractal dimension
  • Input paremeters
    • ImgPlus inputImage
  • Output parameters
    • none
  • Calls
    • FractalDimensionsOp

######Setup dialog

  • No setup dialog

######Messages

  • If there's no image open
    • Show an error dialog
    • Abort the run
  • If the input image is not binary
    • Show an error dialog
    • Abort the run

######Results

  • log(n) v. -log(m), where n = number of boxes sampled before foreground was found, and m = size of the boxes
    • Displayed as CSV in a text window

######Differences from BoneJ1

  • Supports hyper-stacks (channels and frames processed as 3D sub-spaces)

###FractalsDimensionsOp

  • A unary function op
  • Inputs
    • RandomAccessibleInterval<B extends BooleanType>
  • Outputs List<ValuePair<Double, Double>>

####Future

  • User documentation
  • Usage reporting
  • Since there's no setup dialog, where to put the Help-button? How to provide the help?
  • Library for finding linear regression line of log(n) / log(m), i.e. fractal dimension. Use ij.measure.CurveFitter still, or maybe new Op?
  • Plotting graphs from results
Clone this wiki locally