Halcon operator clip_region

   Function: Cut an area into a rectangle;

Parameter translation (the order corresponds to the order of the above parameters):

Input area,

Output the cropped rectangular area,

Enter the row coordinates of the upper left corner of the rectangular area,

Enter the coordinates of the upper left corner of the rectangular area,

Enter the row coordinates of the lower right corner of the rectangular area 0 ≤ Row2 ≤ 511 (lin) 、

Enter the column coordinates of the lower right corner of the rectangular area 0 ≤ Column2 ≤ 511 (lin)

 

description:

The operator clip_region cuts the input region into a rectangular region through four coordinate points. The efficiency of clip_region is much higher than that of generating rectangular regions through intersection.

 

Guess you like

Origin blog.csdn.net/weixin_39829336/article/details/113067940