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

1 vue (au cours des 30 derniers jours)
Marc McLean
Marc McLean le 16 Oct 2019
Modifié(e) : Marc McLean le 17 Oct 2019
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 commentaires
KALYAN ACHARJYA
KALYAN ACHARJYA le 17 Oct 2019
34.png
Is your problem solved?
Marc McLean
Marc McLean le 17 Oct 2019
Thank you for your answer, but how does your answer solve my problem?

Connectez-vous pour commenter.

Réponse acceptée

Marc McLean
Marc McLean le 17 Oct 2019
Modifié(e) : Marc McLean le 17 Oct 2019
I upgraded to R2019b from R2018b and there is no problem.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by