필터 지우기
필터 지우기

use detectORBFeatures at r2018a

조회 수: 2 (최근 30일)
dayeon
dayeon 2024년 4월 5일
답변: Angelo Yeo 2024년 4월 6일
hi, i want to use detectORBFeatures function
but my matlab version is R2018a, and by my searched result, detectORBFeatures is developed at matlab 2019 version, so i can't use that function at my matlab environment.
Is there any way i can use detectORBFeatures at my matlab environment (r2018a)?
Or, which functions related to feature based alignment that i can use at my matlab version?
thanks a lot for all your responses :))

답변 (1개)

Angelo Yeo
Angelo Yeo 2024년 4월 6일
(1) You can use alternative detectors that are introduced before R2019a. For example, these detectors find corner features like ORB does.
(2) However, the feature type should not be the only criteria when you choose detectors. See the doc below for further explanation.
(3) Below is an example to compare the detection algorithms I mentioned earlier with ORB. (Note: This example is taken from detectORBFeatures documentation.)
%%
% Read an image into the workspace.
I = imread('businessCard.png');
%%
% Convert the image into a grayscale image.
I = im2gray(I);
%%
% Display the grayscale image.
figure
imshow(I)
%%
% Detect and store keypoints using ORB, FAST ,MinEigen, Harris detectors
pointsORB = detectORBFeatures(I); % Introduced in R2019a
pointsFAST = detectFASTFeatures(I); % Introduced in R2013a
pointsMinEigen = detectMinEigenFeatures(I); % Introduced in R2013a
pointsHarris = detectHarrisFeatures(I); % Introduced in R2013a
%%
figure
subplot(2,2,1)
imshow(I)
hold on
plot(pointsORB.selectStrongest(100),"ShowScale", false)
hold off;
title("ORB")
subplot(2,2,2)
imshow(I)
hold on
plot(pointsFAST.selectStrongest(100))
hold off;
title("FAST")
subplot(2,2,3)
imshow(I)
hold on
plot(pointsMinEigen.selectStrongest(100))
hold off;
title("MinEigen")
subplot(2,2,4)
imshow(I)
hold on
plot(pointsHarris.selectStrongest(100))
hold off;
title("Harris")

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by