Return value of rgb2gray

Hi,
For a given image, does rgb2gray return a mxnx3 matrix or mxn when it eliminates hue and saturation? The documentation is not clear on this.
Thanks

 Risposta accettata

Ashish Uthama
Ashish Uthama il 17 Giu 2015

0 voti

It returns an MxN numeric array.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by