Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7527351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:05:06+00:00 2026-05-30T04:05:06+00:00

I am using the C++ OpenCV interface but need to use a function that

  • 0

I am using the C++ OpenCV interface but need to use a function that hasn’t been reimplemented for the interface so uses the old convention (function is cvFindExtrinsicCameraParams2 if it matters)

So I need to convert a vector<Point3f> to a CvMat* …how do I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:05:07+00:00Added an answer on May 30, 2026 at 4:05 am

    I’m not sure what the result should be, but if I read the documentation right, you can convert your type in a few steps:

    First, create the new counterpart Mat to CvMat*:

    std::vector<Point3f> myVec = ...;
    //template<typename _Tp> explicit Mat(const vector<_Tp>& vec, bool copyData=false);
    Mat m = Mat(myVec);
    

    Then use Mat‘s cast operator:

    //operator CvMat() const;
    CvMat cvm = static_cast<CvMat>(m);
    

    and finally call your function

    cvFindExtrinsicCameraParams2(...,&cvm,...);
    

    However, I’ve no experience with OpenMv, so I’m just citing the documentation. This may not reflect what you wanted it to do, in which case you may have to clarify your question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have an iplimage that has been modified using opencv. I am needing
I've been using openCV quite a bit lately and I'm amazed at how fast
How can I subtract one image from another using openCV? Ps.: I coudn't use
I'm using OpenCV 2.3.2 library downloaded from OpenCV trunk. I want to use setOpenGlDrawCallback
I am using opencv sharp, and haar cascaes for profile face, but i wanna
I'm trying to learn how to use OpenCV's new C++ interface. How do I
I am using OpenCV 2.3.1 in Android. I need to crop the image into
I've been working on a project using OpenCV for a while, and am ready
I have developed an application written in unmanaged C++ that makes use of OpenCV
im using opencv's HaarDetectObjects(...) to detect an object in an image. The function returns

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.