Grayscale image and imshow
2 次查看(过去 30 天)
显示 更早的评论
I have a grayscale jpg image. I have used a window function to bring the edges down to 0 however over the range that i have multiplied (coulombs and rows on the outer edges of the image) by the window function there is a light blue tint in the picture ???
imshow should only display in black and white should it not??
0 个评论
采纳的回答
Walter Roberson
2011-6-7
If you have a "grayscale jpg image" then that could mean that you started with an RGB image in which the R, G, and B channels were all equal. Manipulating such an image could potentially end up with unequal channels.
The alternative is that you had an indexed (pseudocolor) image whose colormap consisted entirely of gray entries; if so then the color the image would show up would depend upon the colors available in the colormap you are using.
Please check the size() of the image: it would have 3 dimensions if it is a truecolor image whose R, G, and B were all equal.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Red 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!