can we invert an image such that its true color can be retrieved?
3 次查看(过去 30 天)
显示 更早的评论
i want to invert the color of image such that it retrieves its original color at the place of a specific color.
0 个评论
回答(1 个)
Image Analyst
2014-11-3
Given what you say, about the only thing I can assume is that somehow the true color image got inverted so you need to invert it back:
trueRGB = 255 - rgbImage;
Then use imfreehand(), gpinput(), or indexing to get the color at "the place". Better information will get you better answers.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!