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 commentaires

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.

Connectez-vous pour commenter.

 Réponse acceptée

Thorsten
Thorsten le 20 Déc 2014
Modifié(e) : Thorsten le 20 Déc 2014
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.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by