Piotr's Image & Video Matlab Toolbox使用
2014-06-09 10:35
531 查看
想提取hog特征,大牛向我推荐Piotr's Image & Video Matlab Toolbox,http://vision.ucsd.edu/~pdollar/toolbox/doc/index.html网站上下载,下载之后 addpath(genpath('c:\toolbox'));
savepath; toolboxCompile;
运行
I=double(imread('cameraman.tif'));
figure(1); im(I)
tic, H=hog(I,8,9); toc, V=hogDraw(H,25); figure(2); im(V)
还是有错误。
Error
using gradientMex
I has incorrect type.
Error in gradientMag (line 51)
else [M,O]=gradientMex('gradientMag',I,channel,full); end
Error in hog (line 72)
[M,O] = gradientMag( I );
resample下就好了
I=imResample(single(imread('cameraman.tif')),[250 250])/255;
figure(1); im(I)
tic, H=hog(I,8,9); toc, V=hogDraw(H,25); figure(2); im(V)
成功了
I=imResample(single(imread('cameraman.tif')),[250 250])/255;
figure(1); im(I)
tic, H=hog(I,8,9); toc, V=hogDraw(H,25); figure(2); im(V)
成功
savepath; toolboxCompile;
运行
I=double(imread('cameraman.tif'));
figure(1); im(I)
tic, H=hog(I,8,9); toc, V=hogDraw(H,25); figure(2); im(V)
还是有错误。
Error
using gradientMex
I has incorrect type.
Error in gradientMag (line 51)
else [M,O]=gradientMex('gradientMag',I,channel,full); end
Error in hog (line 72)
[M,O] = gradientMag( I );
resample下就好了
I=imResample(single(imread('cameraman.tif')),[250 250])/255;
figure(1); im(I)
tic, H=hog(I,8,9); toc, V=hogDraw(H,25); figure(2); im(V)
成功了
I=imResample(single(imread('cameraman.tif')),[250 250])/255;
figure(1); im(I)
tic, H=hog(I,8,9); toc, V=hogDraw(H,25); figure(2); im(V)
成功
相关文章推荐
- Matlab2014a for MAC安装Piotr's Image & Video Matlab Toolbox
- VLFeat和Piotr’s Image & Video Matlab Toolbox
- VLFeat和Piotr’s Image & Video Matlab Toolbox
- VLFeat和Piotr’s Image & Video Matlab Toolbox在Matlab中的安装与配置
- VLFeat和Piotr’s Image & Video Matlab Toolbox
- VLFeat和Piotr’s Image & Video Matlab Toolbox
- Matlab/Robotics Toolbox/添加到Matlab中使用
- 使用HTML5抓取 Audio & Video
- 使用HTML5抓取 Audio & Video
- 使用HTML5抓取 Audio & Video
- HTML5 <video> - 使用 DOM 进行自定义控制示例
- matlab .m文件的编写&使用
- Matlab Toolbox & Laplacian Eigenmap resources
- Total&nbsp;Video视频转换软件使用教程
- matlab读jpeg图像--jpeg toolbox的使用
- HTML5 - 使用<video>播放视频
- HTML5<video>标签,使用DOM进行播放控制
- 使用Matlab实现英文单词的"形近词"查找
- VC中使用Matlab Engine出现"无法找到libeng.dll"的问题
- 使用HTML5抓取 Audio & Video