Minimum Circle
This function block calculates the smallest enclosing circle around a specified shape (contour) in an image. It helps in identifying the minimum bounding circle for an object within an image.
📥 Inputs
Image Any
The input image that contains the object or shape to be analyzed.
Contour
The shape (contour) for which the minimum enclosing circle is to be calculated.
📤 Outputs
Image
The output image showing the minimum enclosing circle drawn around the detected contour.
Center
The coordinates of the center of the enclosing circle.
Radius
The radius of the enclosing circle.
🕹️ Controls
No specific controls are needed for this function block; parameters are taken from the provided inputs.
🎨 Features
Minimum Enclosing Circle Calculation
Efficiently computes the smallest circle that can encompass the given contour.
Visual Representation
Outputs an image that visually represents the circle enclosing the specified shape, providing clear graphical feedback.
📝 Usage Instructions
Input Image: Connect an image to the
Image Any
input containing the object of interest.Input Contour: Specify the contour of the object using the
Contour
input.Evaluate: Run the block to compute the minimum enclosing circle.
📊 Evaluation
Executing this function block calculates and returns the center and radius of the minimum circle that surrounds the provided contour, along with a visual representation in the output image.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated