필터 지우기
필터 지우기

Reverse of Normalization

조회 수: 15 (최근 30일)
yasmine
yasmine 2012년 1월 14일
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.

채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 14일
A simple bit of algebra...
Gorig = X * (Gmax - Gmin) + Gmin;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by