storing image information in a 2-d array
Ältere Kommentare anzeigen
hello everyone... my problem is i want to divide an color image into 100 blocks of equal size and then store the maximum color information present in the box in a 2d array of 10*10..for instance if the maximum color present in the block is black,it should store 0 in the corresponding cell of 2d array,if white then 1,if red then 2 and so on...i have finite number of colors in my image...i read an article on blockproc but i was unable to implement it...may i have some help or suggestions plz.... thnx in advance...any help is highly appreciated..:)
2 Kommentare
Walter Roberson
am 28 Dez. 2011
RGB images? Or pseudocolor but the color indices do not match your target numbers? Or pseudocolors and the color indices do already match your target numbers?
geekotronics
am 29 Dez. 2011
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!