3

Does opencv allows to use ASIFT ?

http://www.ipol.im/pub/algo/my_affine_sift/

The creator published the c++ so I believe it wouldn't be so hard to implement it into opencv

2 Answers2

1

What do you mean by

Does opencv allows to use ASIFT ?

At this moment, ASIFT is not available in OpenCV directly, but it should be a no-brainer to connect the code provided by the ASIFT authors to OpenCV. Probably all you'll have to do is to convert the OpenCV cv::Mat to some specific image format, by accessing Mat::data pointer.

If you are worried about licensing terms, you should contact the ASIFT authors. OpenCV is free to use/modify/redistribute/sell, under a BSD licence. And it seems that it is the same for ASIFT.

And if you are talking about integrating the code into OpenCV, and sending a patch to the dev guys, there is a guide on how to do it here http://code.opencv.org/projects/opencv/wiki/CodeSubmissions and here http://code.opencv.org/projects/opencv/wiki/How_to_contribute and here http://code.opencv.org/projects/opencv/wiki/CodingStyleGuide . I (and many others) strongly encourage you to do it! It seems to be an important addition to OpenCV.

Sam
  • 19,708
  • 4
  • 59
  • 82
  • 1
    By now, there's a [Python script in OpenCV](https://github.com/opencv/opencv/blob/d579f080936308a9f1aa10463eb1c8d991676cfc/samples/python/asift.py) that implements A- variants of many feature matching algorithms that are present in OpenCV, thus obtaining ASIFT, ASURF and so on. – nh2 Sep 11 '16 at 23:07
0

The 2022 update is that ASIFT is in OpenCV v3.4 and higher.

Examples for the latest stable (v4.6):

erikreed
  • 1,447
  • 1
  • 16
  • 21