Dividing the pixel into blocks

2 ビュー (過去 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