Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
普通会员
注册日期: 2009-03-05
年龄: 37
帖子: 34
声望力: 17 ![]() |
![]()
我在做指纹识别,现有两个图像,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) 这个错误怎么改?怎样才能得到我想要的图? |
![]() |
![]() |