MATLAB Answers

Return value of rgb2gray

2 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

  0 Comments

Sign in to comment.

Accepted Answer

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

  1 Comment

Nathan Bahr
Nathan Bahr on 17 Jun 2015
Thank you.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!