GRID STACKS


A Grid Stack Drawn From Box Counting

animation of box counting

A grid stack or grid image is a stack of slices showing the different calibres of grids used and where they fell on an image during box counting.

Generate a Grid Stack Illustrating the Box Counting Process


Show Grids


draw grids - Generate image stacks showing where grids were placed

Select this option on the GRAPHICS OPTIONS panel to generate grid images. When selected, one stack is generated for each grid position .

A slice can be drawn for each box size, or only a specified number of evenly selected sizes.

Use this option for grayscale and binary, scans to see what the box counting process looked like and how an image was sampled. To change the drawing colour, use the IJ menu to change the selection colour (EDIT>OPTIONS>COLORS>Selection:).

The animations here were generated by saving the result as an animated gif in ImageJ. (See an example of how to use grid stacks to compare box counting processes).

For binary scans, the stack will show at each calibre in a series, the boxes that contained foreground pixels and were counted. (See an example of what this can be used for).

If this option causes processing to slow or hang, reduce the number of slices per grid (see below).




Limit the Maximum Number of Slices Per Grid Stack

max slices - Set the number of slices per stack

Select this option on the GRAPHICS OPTIONS panel to limit the number of slices in each grid image.

This option is activated only when draw grids is selected, which means the scan type includes that option.

Use it to avoid memory crashes and speed up processing by limiting the number of slices per grid image drawn. The default is 12 slices, but the actual number to use depends on image size, processor speed, etc.

Grid Stack Saved as an Animated Gif in ImageJ

The grayscale image here was processed by selecting the ROI from the image below it. The original series had 50 box sizes, but max slices was set to 33, so the resulting grid illustration has 33 slices instead of the 50 sizes actually used.

FracLac uniformly selects from the set of sizes which grid calibres to draw.

Drawing grids can generate many files. You may want to select to save if you choose to draw grids.




HOME