Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SIFT with Emgu : How can I solve error : 'INVERT METHOD' does not exist in the namespace 'Emgu.CV.CvEnum'

Tags:

sift

emgucv

I download sift implementation from : https://sites.google.com/site/btabibian/projects/3d-reconstruction/code but i get the error : 'INVERT METHOD' does not exist in the namespace 'Emgu.CV.CvEnum'. from code line : CvInvoke.cvInvert(H, H_inv.Ptr, Emgu.CV.CvEnum.INVERT_METHOD.CV_SVD); any suggestion to solve my problem?

like image 909
H.Gheisari Avatar asked Dec 15 '25 08:12

H.Gheisari


1 Answers

This sample uses a very old version of EmguCV: 2.0.1.0. The current version is 3.0.

You have to change the CvInvoke.CvInvert() call into CvInvoke.Invert(). The third method parameter is of type Emgu.CV.CvEnum.DecompMethod, so you have to change INVERT_METHOD.CV_SVD into DecompMethod.Svd.

like image 158
dymanoid Avatar answered Dec 16 '25 22:12

dymanoid