Image ROI Center
This function block is utilized to crop an image based on specified center coordinates, width, and height. It allows users to define a specific region of interest (ROI) within an image for further processing.
📥 Inputs
Image Any
The input image from which the region of interest will be extracted.
Center
A point representing the center of the region you want to crop.
Width
The width of the cropping area.
Height
The height of the cropping area.
📤 Outputs
Image Any
The cropped image extracted from the specified region of interest.
Rectangle
The coordinates of the rectangular area that defines the ROI.
🕹️ Controls
This function block does not have direct controls, as input parameters will be directly specified through the connected nodes.
🎨 Features
Flexible Cropping
Allows specifying the cropping area dynamically based on the center coordinates and adjustable dimensions.
Output Rectangle Coordinates
Outputs the coordinates of the cropped rectangle, providing useful information about the cropping area for further processing or annotation.
📝 Usage Instructions
Connect Input Image: Link an image to the
Image Any
input.Specify Center: Provide a point for the center of the cropping area in the
Center
input.Set Dimensions: Define the desired
Width
andHeight
for the cropping area.Evaluate Block: Run the block to process the image and obtain the cropped output along with the rectangle coordinates.
📊 Evaluation
When executed, this function block will output the area of the image defined by the center point and specified dimensions, resulting in a new image that is a cropped version of the original.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated