How do i plot SURF points in the video? i need to visually look at the points by frame. please help

댓글 수: 2

KSSV
KSSV 2016년 12월 22일
Can you give more explanation on what you want to do?
Basically, i would like to do a detection by SURF method in real time and i'm using 'imaq.VideoDevice' to do some real recording.
In every image frame of the real time video, i need to plot the SURF points in every frame.
should i use 'Imshow(image); hold on; and Plot the points in every frame?
or are there any efficient method?
*this is my code*
vidDevice = imaq.VideoDevice('winvideo',1); videoPlayerIn = vision.VideoPlayer;
%% nFrames = 1; while (nFrames<400) rgbData = step(vidDevice); greyimage=rgb2gray(rgbData); points = detectSURFFeatures(greyimage); imshow(greyimage);hold on; strongestPoints = points.selectStrongest(10); strongestPoints.plot('ShowScale',true);
nFrames = nFrames + 1;
end

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

태그

질문:

2016년 12월 22일

댓글:

2016년 12월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by