Emma Thompson
Emma Thompson

Reputation: 11

How to understand opencv's RotationWarper

Recently, I am doing image stitching, and I found stitching_detailed.py breaks up the steps of opencv's stitching algorithm, I read this code, have some questions about the PyRotationWarper:

  1. What is the necessity of warping image in the pipeline of stitcinging
  2. How to choose warp type and set scale properly when create warper instance
  3. How to understand the input parameters K and R of the function warp()? I know they represent the camera intrinsic matrix and the rotation matrix, but I dn't know how they works here.
  4. What is the coordinate system of the top-left corner output by the warp() function? Where is its origin, and why might it have negative values?

I google searched RotationWarper and found there are little information and example code about it, which make me still confused about it.

I feel these questions stem from my lack of SLAM knowledge, it would be nice if someone could provide some background knowledge, and preferably with example code using cv.PyRotationWarper along with visualization.

Upvotes: 1

Views: 135

Answers (0)

Related Questions