POSE estimation in OpenCv Java using cvFindExtrinsicsCameraParams2

asked 2013-05-04 07:40:49 -0600

utkarshmankad gravatar image

I am trying to perform POSE estimation using SIFT algorithm, using the already given method in OpenCv C++ -

cvFindExtrinsicCameraParams2( const CvMat* object_points, const CvMat* image_points, const CvMat* camera_matrix, const CvMat* distortion_coeffs, CvMat* rotation_vector, CvMat* translation_vector, int use_extrinsic_guess CV_DEFAULT(0) );

I am successfully able to do it in C++ program.

I want to port this same program into an Android application.While doing this, I am not able to find the analogous method for above given function on OpenCv java.

Please help me to find the analogous method for the OpenCv function mentioned above. Also,Please suggest me any other alternative to perform POSE estimation using SIFT.

Thanks in advance

edit retag flag offensive close merge delete

Comments

me too am in the process of implementing this algorithm and I'm referring to this book mastering_opencv_with_practical_computer_vision_projects , but until now I can not solve it

Marwen Z gravatar imageMarwen Z ( 2013-05-04 08:36:12 -0600 )edit

I would be able to help you, if you're trying this out in C++. In Android, its getting difficult as the developers have tweaked many APIs for simplification. They would have definitely done something for POSE estimation as well.

utkarshmankad gravatar imageutkarshmankad ( 2013-05-05 22:55:09 -0600 )edit

Thank you, now I'm in the stage of registration of 3d graphics objects on the recognized object, that's why I did it like this

1-calibration of the camera

2-2D-3D matches

3-Calculating the pose

4-Registration of virtual object

i'm in step 2 can you give me ideas

Marwen Z gravatar imageMarwen Z ( 2013-05-06 03:13:43 -0600 )edit