フィルターのクリア

Why I am getting Error?

2 ビュー (過去 30 日間)
Explorer
Explorer 2014 年 2 月 13 日
コメント済み: uday 2023 年 4 月 14 日
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
Walter Roberson 2014 年 2 月 13 日
I think we will need to see the images.
uday
uday 2023 年 4 月 14 日
featB2=extract(b2)

サインインしてコメントする。

回答 (1 件)

Roger Stafford
Roger Stafford 2014 年 2 月 14 日
My guess would be that your JPEG files are not in a format that 'imread' expects. Try specifying their format.

Community Treasure Hunt

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

Start Hunting!

Translated by