Can I restore the original matrix back from its gray scale image?

Please I have converted a matrix with floating numbers into gray scale(normalized the intensity values to 0-1) but I want to convert this gray scale mat file back to the original matrix. Can someone help please? I am quite new in Matlab please.

2 Kommentare

Folake - what is the code that you used to convert the matrix? Did you use a particular function or something that you wrote?
Is it color or gray scale to begin with? What happened to the original matrix? How did you "lose" it? Just keep track of it, save it somehow, and then you'll always have it and not need to try to recreate it from partial information.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Thorsten
Thorsten am 20 Dez. 2014
Bearbeitet: Thorsten am 20 Dez. 2014

0 Stimmen

If you have normalized the values there is no way back to the original values, because if a matrix M results in image I when normalized, all matrices s*I for any s except 0 would result in the same image I. If you have only I, it's impossible to dcecide from which of the infinite set of matrices s*M the image resulted.

Weitere Antworten (0)

Kategorien

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by