获取最小外接矩形的四个顶点
shape_trans(RegionClosingXM, RegionTransXM, 'rectangle2')
gen_contour_region_xld(RegionTransXM, Contours, 'border')
smallest_rectangle2_xld(Contours, Row1, Column1, Phi, Length1, Length2)
gen_rectangle2_contour_xld(Rectangle, Row1, Column1, Phi, Length1, Length2)
gen_polygons_xld (Rectangle, Polygons, 'ramer', 2)
get_polygon_xld (Polygons, RowsXM, ColumnsXM, Length, Phi)
gen_cross_contour_xld (Cross4, RowsXM, ColumnsXM, 60, Phi)