hello everyone,
I want to divide an image into blocks using Matlab.how to divide it by Matlab?
I tried following code but its not working.
I=imread('ab.jpg');
block = mat2cell(I, [60 60 60 60 60 60 60 60 60 60], [80 80 80 80 80 80 80 80 80 80],3);
imshow(I);
can anyone plz suggest me code for the same.I want to divide an image into blocks of size say for example 8x8 irrespective of image resolution.Above code is for image size 800x400.Code must work for any resolution....plzzzz help..
onlyvidya
0
Newbie Poster
Recommended Answers
Jump to PostYou will get a better response if you post this on mathworks bud :)
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.