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

1 visualización (últimos 30 días)
Marc McLean
Marc McLean el 16 de Oct. de 2019
Editada: Marc McLean el 17 de Oct. de 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 comentarios
KALYAN ACHARJYA
KALYAN ACHARJYA el 17 de Oct. de 2019
34.png
Is your problem solved?
Marc McLean
Marc McLean el 17 de Oct. de 2019
Thank you for your answer, but how does your answer solve my problem?

Iniciar sesión para comentar.

Respuesta aceptada

Marc McLean
Marc McLean el 17 de Oct. de 2019
Editada: Marc McLean el 17 de Oct. de 2019
I upgraded to R2019b from R2018b and there is no problem.

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by