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

조회 수: 2 (최근 30일)
Marc McLean
Marc McLean 2019년 10월 16일
편집: Marc McLean 2019년 10월 17일
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
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 10월 17일
34.png
Is your problem solved?
Marc McLean
Marc McLean 2019년 10월 17일
Thank you for your answer, but how does your answer solve my problem?

댓글을 달려면 로그인하십시오.

채택된 답변

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