Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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?

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

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")