When an logarithmic transform can be applied to an image
3 ビュー (過去 30 日間)
古いコメントを表示
i am using the below statement for logarithmic transform. z(x,y)=c.*log10(1+m);
How to identify the value of C in the above statement.
Under what circumstances logarithmic transform can be applied to an image
0 件のコメント
回答 (1 件)
Walter Roberson
2017 年 6 月 6 日
編集済み: Walter Roberson
2017 年 6 月 6 日
If you do not know the potential range of m then you cannot estimate c.
If you know all of the unique m and z values, then you could
c_estimated = mean( unique_z ./ log10(1+unique_m) );
(However if any z value is negative then c must be negative and you would need to sort z in the opposite direction.)
"Under what circumstances logarithmic transform can be applied to an image"
The image values must be converted to floating point class, either using double() or using im2double().
It might not make much sense to apply a logarithmic transform in very many situations, but that is a different matter than asking when a logarithmic transform can be applied.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!