Variable A will saving an color image matrix. This matrix contains three
layers, those are Red, Green, and Blue. You can save each layers in three
different variables (R_layer, G_layer, B_layer). So you can process them
depend on your need.
okay, I hope my question can solve your problem.
regards,
Esa
%==================================================%
On 7/24/07, Laiq Azam wrote: >
> Hello all,
>
> Does anybody have a simple code of reading and processing a color image in
> matlab, taking average of pixel (4 next pixels left and right).....
>
> I would appreciate any feedback....
>
> Thanks.
>
> --
> Laiq
>
>
Reply by Roshan Martis●July 28, 20072007-07-28
Though it is not my field I think u need to work in HSV domain. There is a
comamnd called rgb2hsv() in Immage processing toolbox
Reply by Laiq Azam●July 26, 20072007-07-26
Hello all,
Does anybody have a simple code of reading and processing a color image in
matlab, taking average of pixel (4 next pixels left and right).....