Ask Your Question
1

getting compilation error with estimateRigidTransform

asked 2013-09-14 15:33:04 -0600

praney gravatar image

updated 2014-10-22 07:03:15 -0600

I am trying to use estimateRigidTransform but I am getting error

error C2039: 'estimateRigidTransform' : is not a member of 'cv'

I have included

include <opencv2/core/core.hpp>
include <opencv2/imgproc/imgproc.hpp>
include <opencv2/highgui/highgui.hpp>
include <opencv2/features2d/features2d.hpp>
include <opencv2/nonfree/features2d.hpp>
include <opencv2/calib3d/calib3d.hpp>
include <opencv2/ts/ts.hpp>

what I am missing so that estimateRigidTransform can not be recognized

edit retag flag offensive close merge delete

Comments

I have the same problem now.. can anyone help?

zedv gravatar imagezedv ( 2014-10-07 11:24:29 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-10-22 05:39:39 -0600

bvbdort gravatar image

Add below header, it solves

#include "opencv2/video/tracking.hpp"
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-09-14 15:33:04 -0600

Seen: 1,462 times

Last updated: Oct 22 '14