回复: [求助]图像裁剪
lz
I2 = imcrop(I, rect) crops the image I. rect is a four-element position vector[xmin ymin width height] that specifies the size and position of the crop rectangle.
[xmin ymin width height] 分别为横纵坐标的起始值及所截block的宽与高
你可以使用size( )函数把裁剪的出的block参数存为某些变量,即可被再次调用。
Thx for reading.
PS:若还算满意,直接点击“Thanks”,再次登陆时亦便于查看回答是否真的帮到你了。
|