csp256 / cudaLATCH

GPU implementation of LATCH descriptor & matcher.
40 stars 12 forks source link

getting opencv compatible descriptors? #8

Open antithing opened 5 years ago

antithing commented 5 years ago

Hi, and thanks for making this code available. i am running it on a test image and it looks great, but I need to do the matching with opencv. After i run the following:

latch(img0, d_I, pitch, h_K1, d_D1, &numKP1, maxKP, d_K, &keypoints1, d_mask, latchFinished);

Am I right in thinking that d_D1 is the descriptor array?

How can i convert that to a cv::mat that i can use in opencv's matching functions?

Thank you!