Effacer les filtres
Effacer les filtres

Reverse of Normalization

15 vues (au cours des 30 derniers jours)
yasmine
yasmine le 14 Jan 2012
G is a mtrix of integers of size (128X128) i normalized it using this method:
Gnorm = (G - Gmin) ./ (Gmax) - Gmin); then used imhist: [P X]=imhist(Gnorm,72);
now i want to get the actual values of X found in G.
would you help me on this please? Thank you.

Réponse acceptée

Walter Roberson
Walter Roberson le 14 Jan 2012
A simple bit of algebra...
Gorig = X * (Gmax - Gmin) + Gmin;

Plus de réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by