Approximate Entropy Calculation for an Image

Hi,
How can we compute the APPROXIMATE ENTROPY of an IMAGE.
Please help,
Thanks

 채택된 답변

Thorsten
Thorsten 2015년 6월 29일

0 개 추천

function E = entropy(I)
% Assume I in the range 0..1
p = hist(I(:), linspace(0,1,256)); % create histogram
p(p==0) = []; % remove zero entries that would cause log2 to return NaN
p = p/numel(I); % normalize histogram to unity
E = -sum(p.*log2(p)); % entropy definition

댓글 수: 3

shishir
shishir 2015년 6월 29일
This is for computing the ENTROPY. But I want to compute SAMPLE ENTROPY and APPROXIMATE ENTROPY of an IMAGE.
So if you give me something regarding the described entropies, it would be great help.
Thank You Sir,
Marcus Tan
Marcus Tan 2021년 7월 25일
Can someone guide me also how to calculate the approximate entropy of an Spectrogram image transformed from EEG signal? I have seen number of file exchange but none of them work.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Maria da Luz
Maria da Luz 2024년 4월 29일

0 개 추천

Como recortar a região de interrese dessa imagem que neste caso é a mandibula.só a parte branca

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

질문:

2015년 6월 29일

답변:

2024년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by