How to convert a grayscale matrix to an RGB matrix in MATLAB?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-04-12T03:04:20Z Indexed on 2010/04/12 3:13 UTC
Read the original article Hit count: 355

Filed under:
|
|
|
grayImage = grayImage / max(max(grayImage));

?

grayImage = grayImage / 255;

Which of the above is right,and reason?

© Stack Overflow or respective owner

Related posts about matrix

Related posts about matlab