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

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.

2 Kommentare

34.png
Is your problem solved?
Thank you for your answer, but how does your answer solve my problem?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Marc McLean
Marc McLean am 17 Okt. 2019
Bearbeitet: Marc McLean am 17 Okt. 2019

0 Stimmen

I upgraded to R2019b from R2018b and there is no problem.

Weitere Antworten (0)

Kategorien

Produkte

Version

R2018b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by