How to compute the scaled version of gray scale image

1 回表示 (過去 30 日間)
Gunjan Gautam
Gunjan Gautam 2020 年 2 月 25 日
コメント済み: Gunjan Gautam 2020 年 3 月 2 日
Method graycomatrix returns a glcm and a sclaed version of input image. I was just wondering how to scale the image to 8 gray scales. Also, I want some clarity on Energy obtained from this glcm. Energy needs to have values between 0 and 1 where 1 represents that the image is constant. So, can I say that Energy value closed to 0 is desired and this represents high energy ??
Please help

回答 (1 件)

Devineni Aslesha
Devineni Aslesha 2020 年 2 月 28 日
The ‘NumLevels’ property in graycomatrix’ function scales the image to 8 gray scales as the default value of ‘NumLevels’ is 8. The maximum value of energy is ‘1’ which is obtained for a constant image.
  1 件のコメント
Gunjan Gautam
Gunjan Gautam 2020 年 3 月 2 日
Sorry but I did not get the answer of my question.

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by