【发布时间】:2015-06-06 00:00:46
【问题描述】:
下面是 2 张图片比较的 detectSURFFeatures 示例。我无法让 detectSURFFeatures 函数在我的 MATLAB 中工作。没有帮助或文档 detectSURFFeatures 提供任何线索。错误说“> UncalibratedSterio 'uint8' 类型的输入参数的未定义函数 'detectSURFFeatures'。”但据我所知,该函数本身可以覆盖 uint8。我该怎么办?
%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');
【问题讨论】:
标签: image matlab image-processing depth matlab-cvst