MATLAB图像识别问题求助
I=imread('dmi.png')imshow(I)I2=imsubtract(I,background)figure,imshow(I2)运行出错???Erroru...
I=imread('dmi.png')
imshow(I)
I2=imsubtract(I,background)
figure,imshow(I2)
运行出错??? Error using ==> background
MEX level2 S-function "background" must be called with at least 4 right hand arguments
Error in ==> Untitled3 at 5
I2=imsubtract(I,background)
什么原因? 展开
imshow(I)
I2=imsubtract(I,background)
figure,imshow(I2)
运行出错??? Error using ==> background
MEX level2 S-function "background" must be called with at least 4 right hand arguments
Error in ==> Untitled3 at 5
I2=imsubtract(I,background)
什么原因? 展开
1个回答
2009-05-03
展开全部
background这个调用函数没设置进去吧
I=imread('dmi.png')
imshow(I)
background=imopen(I,strel('disk',15));
figure,imshow( background)
I2=imsubtract(I,background)
figure,imshow(I2)
I=imread('dmi.png')
imshow(I)
background=imopen(I,strel('disk',15));
figure,imshow( background)
I2=imsubtract(I,background)
figure,imshow(I2)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询