Approximate Entropy Calculation for an Image
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
How can we compute the APPROXIMATE ENTROPY of an IMAGE.
Please help,
Thanks
0 件のコメント
採用された回答
Thorsten
2015 年 6 月 29 日
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 件のコメント
Thorsten
2015 年 6 月 29 日
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
2024 年 4 月 29 日
Como recortar a região de interrese dessa imagem que neste caso é a mandibula.só a parte branca
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1682186/image.png)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!