Return value of rgb2gray

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

Accepted Answer

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

More Answers (0)


Find more on Line Plots 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!

Translated by