Jael
2009-03-08, 07:09
我在做指纹识别,现有两个图像,A是经过滤波的图像,中央为一个圆形包括指纹,周围背景是灰色的,B的中央为圆形mask全白,背景全黑,我想用B乘以A得到中央指纹,同时把背景变为黑色,用了R=(B.*A);
结果出现了这样的错误??? Error using ==> times
Integers can only be combined with integers of the same class, or scalar doubles.
Error in ==> dippart2 at 24
R=(B.*A)
这个错误怎么改?怎样才能得到我想要的图?
结果出现了这样的错误??? Error using ==> times
Integers can only be combined with integers of the same class, or scalar doubles.
Error in ==> dippart2 at 24
R=(B.*A)
这个错误怎么改?怎样才能得到我想要的图?