MATLAB Answers

1

Return value of rgb2gray

Asked by Nathan Bahr on 17 Jun 2015
Latest activity Commented on by 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.

1 Answer

Answer by Ashish Uthama on 17 Jun 2015
 Accepted Answer

It returns an MxN numeric array.

  1 Comment

Nathan Bahr on 17 Jun 2015
Thank you.

Sign in to comment.