Class Major_Axis_Demo

java.lang.Object
Ch08_Binary_Regions.Major_Axis_Demo
All Implemented Interfaces:
PlugInFilter, JavaDocHelp

public class Major_Axis_Demo extends Object implements PlugInFilter, JavaDocHelp

ImageJ plugin, shows each region's major axis as a vector scaled by the region's eccentricity. See Sec. 8.6 of [1] for additional details. Also demonstrates the use of the region property scheme, i.e., how to assign numeric properties to regions and retrieve them afterwards. Requires a binary image. Zero-value pixels are considered background, all other pixels are foreground. Display lookup tables (LUTs) are not considered. Results are drawn into a new image (pixel graphics), the original image is not modified. If no image is currently open, the plugin optionally loads a suitable sample image.

[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).

Version:
2020/12/17