How to save an image which only display properly using imshow(grayImg,)?
2 views (last 30 days)
I am working on an image encryption project, so I first converts color image to gray and do the rest, after encryption I can see the image only using
but if I store the image with
Then it isn't saving as expected or not as I saw when using imshow(grayImg,) Does anyone know what kind of error am I making?