How to calculate linear index of fuzziness of an image?

5 ビュー (過去 30 日間)
Mustafa Uysal
Mustafa Uysal 2019 年 12 月 29 日
Hi,
i am trying to calculate linear index of fuzziness of an image using this formula:
Wuc4x.png
i have to see a positive value. But i see a negative value, so i think i am doing something wrong. here is my try and output_image
q=(pi/2)*(1-output_image/255); %I is output image and 255 is maximum gray level. output_iamge is 288*384 double and grayscale image
y= sum(sum(min(q,1-q)))/(width*height); %M*N is width*height

回答 (0 件)

カテゴリ

Help Center および File ExchangeFuzzy Logic Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by