![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/4676350_1522103542222_DEF.jpg)
Arushi
RTMNU
自 2013 起处于活动状态
Followers: 0 Following: 0
I have to resize my image to a fix size of 256*256 and then I have to divide the image into two 2*2 non overlapping blocks?
Feeds
提问
I have to resize my image to a fix size of 256*256 and then I have to divide the image into two 2*2 non overlapping blocks? i have made this code but its not working on my image
img=imread('cameraman.tif'); [m n]=size(img); block=4; %slide_len=1; for ix=0:block:m-block for jy=...
11 years 前 | 2 个回答 | 1