Return value of rgb2gray

1 view (last 30 days)
Nathan Bahr
Nathan Bahr on 17 Jun 2015
Commented: Nathan Bahr on 17 Jun 2015
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

Accepted Answer

Ashish Uthama
Ashish Uthama on 17 Jun 2015
It returns an MxN numeric array.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!