-
Notifications
You must be signed in to change notification settings - Fork 293
Description
Hi there,
First of all thank you a lot for this work, thank you for sharing and for the optimization you made to make the code run faster in newer GPU architecture 😄
I would like to ask if it is possible to extract just the features and not the descriptors. To make it clear, I'm trying to detect keypoints and extract the descriptors using one of the newer NN descriptor such as HardNet++. I can do this using the OpenCV implementation but I would like to use yours since it is faster and I can rely on a GTX1070.
Since I would like to be realtime and I've to do a lot of processing after the features have been extracted/matched, I'm wondering if it will be possible to avoid to extract descriptors.
I've seen that the descriptor extraction is called here: it will be sufficient comment this line to obtain the effect? I was wondering what is going to happen to the memory since I believe (I'm not a CUDA expert) that you preallocated the memory somewhere, for sure in SiftPoint struct, so I'm thinking about completely remove or not.
Another question that I have is regarding this part: when you compute the descriptor you scale the keypoint location at the same time? Because here there is this:
if (idx==0) { d_sift[bx].xpos *= subsampling; d_sift[bx].ypos *= subsampling; d_sift[bx].scale *= subsampling; }
It look like the descriptor extraction is mandatory and thus required to get the correct keypoints localization, right?
Thank you in advance