Crop image to ROI
Minimum Origin Version Required: 2022
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
Please refer to the page for additional option switches when accessing the x-function from script
This function crop image to ROI. You need to select the ROI by Rectangle Tool first.
The computation uses function from OpenCV Main API. Please refer to the OpenCV Main API Help file, Version 18.104.22.168 and read imgproc. Image Processing topic.