필터 지우기
필터 지우기

Corner detection on a subpart of an image

조회 수: 1 (최근 30일)
Tobias Pahlberg
Tobias Pahlberg 2011년 11월 2일
Hi
I would like to do corner detection on a subpart of an image using Computer Vision System Toolbox. For example using:
% FAST algorithm by Rosten & Drummond
hCornerDet = vision.CornerDetector('Method','Local intensity comparison (Rosten & Drummond)');
pts = step(hCornerDet, I);
I can get the allowed pixels from regionprops or use ginput() to get the corners of the region to do corner detection on.
I don't want to search the whole image and remove detected corners outside the wanted area afterwords.
Any suggestions?

답변 (1개)

Image Analyst
Image Analyst 2011년 11월 2일
I suggest you explain better what "remove" means. Does that mean that you want to set those pixels to black?
  댓글 수: 1
Tobias Pahlberg
Tobias Pahlberg 2011년 11월 3일
From the corner detection function I get x, and y position of the corners. I don't want the x, and y positions of the corners that are on a totally black border.
I don't want these rows in the "pts"-vector to begin with, but I don't know if it's possible to alter the code in that way?

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

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by