なぜ、entropy 関数で画像のエントロピーが正しく計算できないのでしょうか?
Show older comments
なぜ、entropy 関数で画像のエントロピーが正しく計算できないのでしょうか?
int16 型で定義される画像 (例えば、DICOM画像)のエントロピーを計算しようとしています。
entropy 関数は int16 型の入力をサポートしていないようですので、
>> entropy(double(int16))
と double 型にキャストして計算したところ、画像の複雑さから考えて極端に小さな値が算出されます。
Accepted Answer
More Answers (0)
Categories
Find more on テクスチャ解析 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!