Return value of rgb2gray

6 views (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)

Community Treasure Hunt

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

Start Hunting!