Why some FeatureDetector finds features only in the middle of the image?

asked 2014-07-29 06:57:17 -0600

thdrksdfthmn gravatar image

updated 2014-07-30 05:19:17 -0600

I try to make a classifier, and I tested different FeatureDetectors and I have seen some of the detectors find features only in the middle of the image. Like for example STAR:

image description

Is there a possibility to change that, so it finds the feature all over the image, not only in the center region?


EDIT:

The green rectangle is the bounding rect of the centers of the KeyPoints found. Why I do not have KeyPoints outside it, like on the shadow of the car (right), or on the white car, on the top, or between the rocks on the floor. With other images I get the same bounding rect, no displacement. Is it normal that STAR is not searching on the border of the image?

I have used cv::FeatureDetector::create("STAR")

edit retag flag offensive close merge delete

Comments

Hmm your image shows features everywhere ... As to finding more features in the center, this is normal due to the number plate having strong edges. The reason why there are no features in the center are quite logical, the black car has no strong edges or pixel intensities changing this they cannot be used as as interesting points.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-07-30 04:53:29 -0600 )edit

Ok my istake. I thought that the border was an initial detection of a cascade car classifier. Again I think the same conclusion can be stated. Probably the features at the borders cannot be calculated due to the fact how the feature is calculated. I do not have an exact solution for this, should investigate STAR code further.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-07-30 06:29:14 -0600 )edit

A search at the documentation of stardescriptor points me to he function below which adjusts a image boundary parameter. I think that universal featuredetector interface used by both will probably use that parameter to define a border to ignore. Ill keep you posted.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-07-30 06:32:11 -0600 )edit

this topic seems to talk about the border functionality also.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-07-30 06:36:35 -0600 )edit