Filter löschen
Filter löschen

can we invert an image such that its true color can be retrieved?

1 Ansicht (letzte 30 Tage)
Kritika
Kritika am 3 Nov. 2014
Beantwortet: Image Analyst am 3 Nov. 2014
i want to invert the color of image such that it retrieves its original color at the place of a specific color.

Antworten (1)

Image Analyst
Image Analyst am 3 Nov. 2014
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.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by