Undefined function 'conv2' for input arguments of type 'double' and attributes 'full 3d real'.
来源:互联网 发布:j罗 皇马 数据 编辑:程序博客网 时间:2024/04/30 08:54
Matlab出现的问题
图像的差的绝对值运算:首先读取一幅图像,然后对这幅图像进行高斯滤波,再将原图像和高斯滤波后的图像进行相减。
Undefined function 'conv2' for input arguments of type 'double' and attributes 'full 3d real'
源码:
I=imread('4.tif');
>> subplot(1,3,1);imshow(I,[]);
>> j=uint8(filter2(fspecial('gaussian'),I));
Undefined function 'conv2' for input arguments of type 'double' and attributes 'full 3d real'.
Error in filter2 (line 60)
y = conv2(hcol, hrow, x, shape);
修改后:
>> i=imread('4.tif');
>> j=rgb2gray(i);
>> k=uint8(filter2(fspecial('gaussian'),j));
>> subplot(1,3,2);
>> imshow(k,[]);
>> h=imabsdiff(j,k);
>> subplot(1,3,3);
>> imshow(k,[]);
0 0
- Undefined function 'conv2' for input arguments of type 'double' and attributes 'full 3d real'.
- Undefined function 'conv2' for input arguments of type 'double' and attributes 'full 3d complex'.
- Undefined function 'adb' for input arguments of type 'double'.
- 错误(Undefined function 'produce' for input arguments of type 'double'.)
- 解决Undefined function or method 'vgg_kmiter' for input arguments of type 'double'.
- Undefined function or method ' ' for input arguments of type 'double' ---错误解决办法
- 解决Undefined function or method 'vgg_kmiter' for input arguments of type 'double'.
- Matlab 出现Undefined function '' for input arguments of type 'double'.解决方案
- Undefined function 'im2double' for input arguments of type 'uint8'.
- matlab错误:Function 'conv2' is not defined for values of class 'double' and attributes
- 关于MATLAB函数不可用问题。??? Undefined function or method 'minfo' for input arguments of type 'double'.
- matlab中发生Undefined function 'regessionLoop' for input arguments of type 'char'.
- Undefined function or method 'deploywhich' for input arguments of type 'char'
- Matlab出现On Startup: Error using eval undefined function 'workspacefunc' for input arguments of type
- the Undefined function 'caffe_' for input arguments of type 'char' 解决办法
- matlab 出现Undefined function 'functionname' for input arguments of type 'logical'问题的解决办法
- Matlab出现On Startup: Error using eval undefined function 'workspacefunc' for input arguments of type
- matlab提示Undefined operator '*' for input arguments of type 'cell'.
- Random rand =new Random(47);
- Oracle expdp/impdp导出导入命令及数据库备份
- Bellman-Ford求最短路径
- STL中Vector的内存分配机制
- 安全加密算法与数据签名总结(1)
- Undefined function 'conv2' for input arguments of type 'double' and attributes 'full 3d real'.
- 升级Android Studio2.2遇坑经历记录
- 线程、多线程与线程池总结
- DFS和BFS
- rmmod: chdir(/lib/modules): No such file or directory 解决方法
- 8086的寻址方式
- Codeforces723 E. One-Way Reform (欧拉路径)
- 201312-1-出现最多的次数
- WindbgX64和WinxpSp3虚拟机双击调试的参数设置