2.15.3 cvcrop

Brief Information

Crop image to ROI

Additional Information

Minimum Origin Version Required: 2022

Command Line Usage

1. cvcrop; // crop active image window

2. cvcrop igp:=Image1; // crop Image1

3. cvcrop ogp:=<new>; // crop active image window, put results in a new image window

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Image img

Input

ImageLayer

<active>
Specify the image crop image to ROI.

Description

This function crop image to ROI. You need to select the ROI by Rectangle Tool first.

Algorithm

The computation uses function from OpenCV Main API. Please refer to the OpenCV Main API Help file, Version 2.4.11.0 and read imgproc. Image Processing topic.