![]() |
[求助]图像裁剪
请问请问 I2 = imcrop(I,[75 68 130 112]); 中130 112 指的什么?
如果我用I1=imcrop(I),对图像做了裁剪,想按照这个得到的裁剪图像的大小对其他图像裁剪该怎么做? 谢谢指导! |
回复: [求助]图像裁剪
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”,再次登陆时亦便于查看回答是否真的帮到你了。 |
回复: [求助]图像裁剪
谢谢提示,可是我还是不太懂,我裁剪的起始坐标怎么确定呢?
|
所有时间均为北京时间。现在的时间是 05:01。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.