Unrecognized function or variable 'detectSIFTFeatures'

7 ビュー (過去 30 日間)
Mary
Mary 2021 年 10 月 11 日
コメント済み: Image Analyst 2021 年 10 月 22 日
Hello friends.
I'm using matlab 2021a , but when I use command below:
points = detectSIFTFeatures(I);
It shows this error:
Unrecognized function or variable 'detectSIFTFeatures'

回答 (2 件)

Image Analyst
Image Analyst 2021 年 10 月 11 日
You probably don't have the Computer Vision Toolbox.
% Check that user has the specified Toolbox installed and licensed.
% hasLicenseForToolbox = license('test', 'image_toolbox'); % Check for Image Processing Toolbox.
% hasLicenseForToolbox = license('test', 'Image_Acquisition_Toolbox'); % Check for Image Acquisition Toolbox.
% hasLicenseForToolbox = license('test', 'Statistics_Toolbox'); % Check for Statistics and Machine Learning Toolbox.
% hasLicenseForToolbox = license('test', 'Signal_Toolbox'); % Check for Signal Processing Toolbox.
hasLicenseForToolbox = license('test', 'Video_and_Image_Blockset'); % Check for Computer Vision Toolbox.
% hasLicenseForToolbox = license('test', 'Neural_Network_Toolbox'); % Check for Deep Learning Toolbox.
if ~hasLicenseForToolbox
% User does not have the toolbox installed, or if it is, there is no available license for it.
% For example, there is a pool of 10 licenses and all 10 have been checked out by other people already.
ver % List what toolboxes the user has licenses available for.
message = sprintf('Sorry, but you do not seem to have the Computer Vision Toolbox.\nDo you want to try to continue anyway?');
reply = questdlg(message, 'Toolbox missing', 'Yes', 'No', 'Yes');
if strcmpi(reply, 'No')
% User said No, so exit.
return;
end
end
What does the above code say? Also do
>> ver
Do you see the Computer Vision Toolbox listed?
  9 件のコメント
Mary
Mary 2021 年 10 月 22 日
Yes, my images are from the same area but with different sensors.Is there a way?
Image Analyst
Image Analyst 2021 年 10 月 22 日
Try to crop them and align them with imregister() so you're looking at the same field of view.

サインインしてコメントする。


yanqi liu
yanqi liu 2021 年 10 月 12 日
sir,may be you should use vlfeat to get sift points, of course,you can use surf,such as
clc; clear all; close all;
I = imread('cameraman.tif');
points = detectSURFFeatures(I);
imshow(I); hold on;
plot(points.selectStrongest(10));

カテゴリ

Help Center および File ExchangeFeature Detection and Extraction についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by