Convex Hull

Block Category: Detection

Input Image Format

Input Image Requirements: Gray scale

Description: The Convex Hull block calculates the convex hull of a 2D point set using Sklansky’s algorithm.

The Convex Hull block works in conjunction with the Threshold and Find Contour blocks to filter out unwanted pixels.

Example

In this example, the convex hull of the plant is calculated and a line is drawn around it based on its contour and size.

ConvexHullExample