Dividing the pixel into blocks

5 views (last 30 days)
kash
kash on 20 Aug 2012
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
Ryan on 20 Aug 2012

Image Analyst
Image Analyst on 20 Aug 2012
Edited: Image Analyst on 20 Aug 2012
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!