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

1 view (last 30 days)
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.

Accepted Answer

Marc McLean
Marc McLean on 17 Oct 2019
Edited: Marc McLean on 17 Oct 2019
I upgraded to R2019b from R2018b and there is no problem.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!