1-Conversion:
vector<float*> descriptor;
for(int i; i = 0; i < keypoints.size())
{
descriptor.push_back(&keypoints.at<float>(i));
}
2-size SIFT:
You cannot, because the SIFT algorithm determines the size of blocks, bins, etc. What can you do? You can program your own screener. This is a difficult path, but I recommend you try it.
source
share