Dividing the pixel into blocks
Show older comments
I have an image say which i have uploaded now i want to resize that RGB image and divide pixels having same value into blocks
for example in the image uploaded of arabian sea ,it consists of water(blue) ,sand(brown) ,leaves,and more
so i want to divide water(blue) into block,sand(brown)into another block and so on please help
Answers (2)
Ryan
on 20 Aug 2012
0 votes
Do you have the image processing toolbox? This should get you started down the right path:
Image Analyst
on 20 Aug 2012
Edited: Image Analyst
on 20 Aug 2012
0 votes
In addition to the nice links Ryan gave, you might look at the rgb2ind() function in MATLAB, which I believe does something like what's described in this link:
Also take a peek at the quadtree() function. It doesn't classify but just finds "uniform" areas.
Categories
Find more on Color Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!