How do I run the version of GrowCut in FileExchange in Matlab 2012a?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to run this image segmentation program.
When attempting to run growcut_test I get the following error:
>> growcut_test
Subscript indices must either be real positive integers or logicals.
Error in growcut_test (line 7)
subplot(2,2,1), imshow(img);
This is line 7 and what is around it:
%-- Load image and seeds
img = imread('lotus.png');
labels = double(imread('labels.png'))-1;
subplot(2,2,1), imshow(img);
subplot(2,2,2), imshow(labels,[]);
subplot(2,2,3), imshow(img);
Any ideas?
댓글 수: 0
채택된 답변
Walter Roberson
2013년 1월 5일
You appear to have a variable named "imshow" that is interfering with use of the Image Processing Toolbox routine imshow()
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!