Reverse of Normalization
15 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuesta aceptada
Walter Roberson
el 14 de En. de 2012
A simple bit of algebra...
Gorig = X * (Gmax - Gmin) + Gmin;
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!