goodFeaturesToTrack : only detecting bright features

I’m trying to use “goodFeaturesToTrack” to detect features in my image.

As far as I understand, it is supposed to look for corner-like features.

However, I’ve got the impression that it is mainly detecting bright “points” (and I haven’t found any dark point being detected). Is this normal behaviour, or is this specific to my images?

A sample image :
good features to track

Thanks a lot in advance

you could try inverting the picture. if it still detects the same points, it’s invariant to the sign of these peaks.

1 Like

Thanks a lot.
When inverting the picture, it’s now the black points that are detected.
So it’s not the algorithm itself that favors one color, but my image that had “sharper features” in bright than in dark.

I will however still have to work on why it is detecting mainly isolated dots, that are probably not the most reliable features to track (but that might be due to the noise of the image, and the fact that there aren’t many nice corners with straight lines at bigger scales