Dividing the pixel into blocks

3 Ansichten (letzte 30 Tage)
kash am 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

Antworten (2)

Ryan am 20 Aug. 2012

Image Analyst
Image Analyst am 20 Aug. 2012
Bearbeitet: Image Analyst am 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.


Find more on Image Processing Toolbox 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!

Translated by