Why I am getting Error?
이전 댓글 표시
CODE
clear all; close all; imtool close all; clc;
imag1 = imread('C:\Users\Explorer\Documents\MATLAB\ASL_signs\A.jpg');
imag2 = imread('C:\Users\Explorer\Documents\MATLAB\ASL_signs\A2.jpg');
imag3 = imread('C:\Users\Explorer\Documents\MATLAB\ASL_signs\A3.jpg');
imag4 = imread('C:\Users\Explorer\Documents\MATLAB\ASL_signs\A4.jpg');
imag5 = imread('C:\Users\Explorer\Documents\MATLAB\ASL_signs\A5.jpg');
v1= descrip_blob2(imag1)
v2= descrip_blob2(imag2)
v3= descrip_blob2(imag3)
ERROR
Warning: Iterations terminated prematurely because no part of the contour lies within
the image domain. If the range of pixel values in the input image is small (such as
0-1), consider increasing the range by multiplying the input image with a scale
factor. Also, consider specifying a different initial contour position in MASK.
> In C:\Program Files\MATLAB\R2013a\toolbox\images\images\+images\+activecontour\+internal\ActiveContourEvolver.p>ActiveContourEvolver.moveActiveContour at 105
In activecontour at 232
In descrip_blob2 at 20
Warning: Contour not rendered for constant ZData
> In contour>parseargs at 223
In contour at 79
In descrip_blob2 at 29
Index exceeds matrix dimensions.
Error in descrip_blob2 (line 57)
thisBoundary = boundary{2}; % Or whatever blob you want.
댓글 수: 2
Walter Roberson
2014년 2월 13일
I think we will need to see the images.
uday
2023년 4월 14일
featB2=extract(b2)
답변 (1개)
Roger Stafford
2014년 2월 14일
0 개 추천
My guess would be that your JPEG files are not in a format that 'imread' expects. Try specifying their format.
카테고리
도움말 센터 및 File Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!