Hull Convex
This function block is used for calculating and visualizing the convex hull around a given contour in an image. The convex hull is the smallest convex shape that can enclose a set of points (or contour).
📥 Inputs
Image Any
The input image that contains the contour you wish to analyze.
Contour
The specific contour that you want to evaluate for the convex hull.
📤 Outputs
Image
The modified image showing both the original contour and the calculated convex hull.
Contour
The contour representation of the convex hull.
Center
The center point of the convex hull.
Area
The area of the convex hull.
🕹️ Controls
This block does not have specific user-facing controls; it operates based on the provided inputs.
🎨 Features
Contour Visualization
The block visualizes both the original contour and the convex hull using different colors for easy identification.
Area Calculation
Automatically computes the area of the convex hull for subsequent analysis.
Center Identification
Outputs the center point of the convex hull for potential use in further processing.
📝 Usage Instructions
Input Image: Connect the image containing the desired contour to the
Image Any
input.Input Contour: Provide the relevant contour data to the
Contour
input.Evaluate: Run the block to generate the convex hull around the specified contour.
📊 Evaluation
Upon evaluation, this function block will display the convex hull overlaid on the input image, providing additional contour data and its area.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated