MATLAB: Reverse of Normalization

digital image processingimage processingnormalization

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.

Best Answer

A simple bit of algebra...
Gorig = X * (Gmax - Gmin) + Gmin;
Related Question