Different answer using inbuilt function and own code for entropy
Ältere Kommentare anzeigen
When I use the inbuilt function and my own code for entropy, the answer is different.
E = -sum(Rarray(Rarray>0) .* log2(Rarray(Rarray>0)));
E2 = entropy(Rarray);
Entropy with Writen code = -768.0522
Entropy wth Function = 1.7366
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Filtering and Enhancement finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!