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.

回答(1 个)

Image Analyst
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.

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by