![34.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/243094/34.png)
Entropy Error - Index exceeds the number of array elements (1).
1 次查看(过去 30 天)
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!