java.lang.Object
Ch08_Binary_Regions.Convex_Hull_Demo
- All Implemented Interfaces:
PlugInFilter,JavaDocHelp
This ImageJ plugin demonstrates the use of the ConvexHull class. See Sec. 8.4.2 of [1] for additional
details. It performs region segmentation, calculates the convex hull for each region found and then displays the
result in a new image. Requires a binary image. Zero-value pixels are considered background, all other pixels are
foreground. Display lookup tables (LUTs) are not considered. The resulting convex hull is shown as a vector overlay
on top of a new image, 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:
- 2022/06/24
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic BasicAwtColorColor of the convex hull outline.static doubleFields inherited from interface ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, NO_UNDO_RESET, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING -
Constructor Summary
ConstructorsConstructorDescriptionConstructor, asks to open a predefined sample image if no other image is currently open. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface imagingbook.core.jdoc.JavaDocHelp
getJavaDocUrl
-
Field Details
-
DrawingColor
Color of the convex hull outline. -
StrokeWidth
-
-
Constructor Details
-
Convex_Hull_Demo
public Convex_Hull_Demo()Constructor, asks to open a predefined sample image if no other image is currently open.
-
-
Method Details
-
setup
- Specified by:
setupin interfacePlugInFilter
-
run
- Specified by:
runin interfacePlugInFilter
-