Dividing the pixel into blocks

조회 수: 8 (최근 30일)
kash
kash 2012년 8월 20일
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

답변 (2개)

Ryan
Ryan 2012년 8월 20일

Image Analyst
Image Analyst 2012년 8월 20일
편집: Image Analyst 2012년 8월 20일
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!

Translated by