Entropy Error - Index exceeds the number of array elements (1).

2 次查看(过去 30 天)
When I run:
I = imread('circuit.tif');
J = entropy(I)
I get the error:
Index exceeds the number of array elements (1).
The same error occurs with the example at:
openExample('images/CalculateEntropyOfGrayscaleImageExample')
The Image Processing Toolkit is installed. The image is in the path.
What could be causing this error?
Any help would be appreciated.

采纳的回答

Marc McLean
Marc McLean 2019-10-17
编辑:Marc McLean 2019-10-17
I upgraded to R2019b from R2018b and there is no problem.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by