Affine-SIFT Functional Detector (ASIFT)

I am working on a project where I have to detect the functions of an object (in a video frame) and match it with other objects (inside some other frame) in order to recognize the same object for tracking. I have many algorithms for detecting Google functions. I also made some comparisons between them (SIFT, SURF and ASIFT).

ASIFT is computationally expensive, but the results are more accurate than SIFT and SURF. I understand ASIFT a lot, but have not succeeded in my project.

Can someone help me using ASIFT in my project?

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

What files should be included in my project? I am working on OPENCV 2.1, IDE VS 2010. His first post on this platform. Hope someone helps me.

+4
source share
1 answer

Important functions are in the compute_asift_keypoints files. {c, h} and compute_asift_matches. {c, h}. They will inform you which features are required. From there you have a choice:

  • The quick and dirty way: you need to enable and compile everything except the executable part (demo _ *. Cpp file). You can either compile the files as a library (by changing CMakeLists.txt), or add them to your project in your IDE. Note that you will not use functions from io_png, for example, but you need to compile them if you do not want to be annoyed by compiler errors about missing functions.

  • Clear (but longer) path: you should ignore / delete all files that also contain part of the I / O, since OpenCV can take care of them. Then you can also look for functions that are already implemented in OpenCV, for example, apply affine transformation, SVD ... and gradually replace them with your OpenCV colleague.

+2
source

Source: https://habr.com/ru/post/1383779/


All Articles