Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How does cv::ShapeTransformer::estimateTransformation work

It seems like a simple question but I don't get the right answer from the documentation: What is the use of cv::ShapeTransformer::estimateTransformation, to be concrete the estimateTransformation- function of an AffineTransformer.

  1. Is there really no output of this function?
  2. What format do targetShape and transformingShape have? (Is std::vector< cv::Point>> right?)
  3. How can you estimate the std::vector< DMatch > from two contours?

This may be sound like supid question, but i really don't find any examples, so please be patient with me.

How does cv::ShapeTransformer::estimateTransformation work

It seems like a simple question but I don't get the right answer from the documentation: What is the use of cv::ShapeTransformer::estimateTransformation, to be concrete the estimateTransformation- function of an AffineTransformer.

  1. Is there really no output of this function?
  2. What format do targetShape and transformingShape have? (Is std::vector< cv::Point>> right?)
  3. How can you estimate the std::vector< DMatch > from two contours?

This may be sound like supid question, stupid questions, but i really don't find any examples, so please be patient with me.

How does cv::ShapeTransformer::estimateTransformation work

It seems like a simple question but I don't get the right answer from the documentation: What is the use of cv::ShapeTransformer::estimateTransformation, to be concrete the estimateTransformation- function of an AffineTransformer.

  1. Is there really no output of this function?
  2. What format do targetShape and transformingShape have? (Is std::vector< cv::Point>> right?)
    -> answer from vector<point2f> (or vector<point>, which will get converted internally.) (see beraks answer)
  3. How can you estimate the std::vector< DMatch > from two contours?

This may sound like stupid questions, but i really don't find any examples, so please be patient with me.

How does cv::ShapeTransformer::estimateTransformation work

It seems like a simple question but I don't get the right answer from the documentation: What is the use of cv::ShapeTransformer::estimateTransformation, to be concrete the estimateTransformation- function of an AffineTransformer.

  1. Is there really no output of this function?
  2. What format do targetShape and transformingShape have? (Is std::vector< cv::Point>> right?)
    -> answer from vector<point2f> (or vector<point>, which will get converted internally.) (see beraks answer)
  3. How can you estimate the std::vector< DMatch > from two contours?

This may sound like stupid questions, but i really don't find any examples, so please be patient with me.