图像处理的表面特征检测 [英] surface feature detection on image processing

查看:339
本文介绍了图像处理的表面特征检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

比较2图像的detectSURFFeatures的示例如下。我无法使detectSURFFeatures函数在我的MATLAB中工作。没有帮助或doc detectSURFFeatures给出任何线索。对于'uint8'类型的输入参数,错误说> UncalibratedSterio
未定义函数'detectSURFFeatures'。但据我所知,函数本身可以覆盖uint8。我该怎么办?

An example of detectSURFFeatures in comparison of 2 image is in below. I couldn't make detectSURFFeatures function work in my MATLAB. no help or doc detectSURFFeatures gives any clue. the error says " > UncalibratedSterio Undefined function 'detectSURFFeatures' for input arguments of type 'uint8'." but the function itself can cover uint8 as i know. what should i do?

%Rectified Sterio Image Uncalibrated
%   There is no calibration of cameras
I1 = rgb2gray(imread('right_me.jpg'));
I2 = rgb2gray(imread('left_me.jpg'));
Value = 2000.0;
blobs1 = detectSURFFeatures(I1, 'MetricThreshold', Value);
blobs2 = detectSURFFeatures(I2, 'MetricThreshold', Value);
figure;
imshow(I1);
hold on;
plot(selectStrongest(blobs1, 30));
title('Thirty strongest SURF features in I1');
figure;
imshow(I2);
hold on;
plot(selectStrongest(blobs2, 30));
title('Thirty strongest SURF features in I2');


推荐答案

您收到该错误是因为 detectSURFFeatures 。您必须至少有R2011b,因为当 detectSURFFeatures 可用时: http://www.mathworks.com/help/vision/release-notes.html#R2011b

You are getting that error because detectSURFFeatures does not exist in your MATLAB distribution. You must have at least R2011b, as that was when detectSURFFeatures was available: http://www.mathworks.com/help/vision/release-notes.html#R2011b

我怀疑你有一个比R2011b更旧的MATLAB版本,所以如果你想让自己很容易,你需要升级你的MATLAB版本。但是,如果我可以提出建议,我建议 mexopencv 项目rel =nofollow> Kota Yamaguchi http://kyamagu.github.io/mexopencv/

I suspect you have an older version of MATLAB than R2011b and so if you want to make it easy on yourself, you need to upgrade your version of MATLAB. However, if I may make a suggestion, I suggest the mexopencv project by Kota Yamaguchi: http://kyamagu.github.io/mexopencv/

他编写了可以直接与MATLAB接口的OpenCV包装器,因此您可以实际调用OpenCV的SURF功能检测和MATLAB匹配方法,但是您需要安装OpenCV就是这样做的。如果你不想升级你的MATLAB版本,这是我可以提供的一个解决方案。

He wrote OpenCV wrappers that can directly interface with MATLAB and so you can actually call OpenCV's SURF feature detection and matching methods from MATLAB but you will need to install OpenCV to do that. It will be a bit of work to get it working, but this is one solution I can provide if you don't want to upgrade your version of MATLAB.

祝你好运!

这篇关于图像处理的表面特征检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆