フィルターのクリア

Reverse of Normalization

10 ビュー (過去 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 Center および File ExchangeRead, 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