I have a color image that I'm trying to convert to grayscale, I use the code below but the image is still in color.
grayimage=mat2gray(colorimage);
imshow(grayimage)
My goal is:
1) To convert a color image into grayscale
2) Then place the intensity / brightness of each grayscale pixel into a range between 0-1
I'm using Octave 4.2.2 Ubuntu 64bit 18.04
--
--
|======================================================|