Questions tagged [projective-geometry]

Projective geometry is an incidence geometry of colinearity preserving transformations. Its use is widespread in computer graphics, computer vision, image registration, photography, among others. Homogeneous coordinates are commonly used to represent objects (point, lines, planes etc.) in real projective geometry. These are well-known to represent translation, rotation and perspective transformation simply as matrix-vector multiplication.

100 questions
53
votes
11 answers

proportions of a perspective-deformed rectangle

Given a 2d picture of a rectangle distorted by perspective: I know that the shape was originally a rectangle, but I do not know its original size. If I know the pixel coordinates of the corners in this picture, how can I calculate the original…
40
votes
3 answers

What is the difference between the fundamental, essential and homography matrices?

I have two images that are taken from different positions. The 2nd camera is located to the right, up and backward with respect to 1st camera. So I think there is a perspective transformation between the two views and not just an affine transform…
15
votes
3 answers

Extract projective homography from two Kinect depth maps

Given two consecutive 3D point clouds 1 and 2 (not the whole cloud, say 100 points selected from the cloud with OpenCV's GoodFeaturesToMatch), obtained from a Kinect depthmap, I want to compute camera's homography from 1 to 2. I understand that this…
smirkingman
  • 6,167
  • 4
  • 34
  • 47
15
votes
2 answers

Warping an image using control points

I want to convert an image using control points according to this scheme extracted from here: A and B contains the coordinates of the source an target vertices. I am computing the transformation matrix as: A = [51 228; 51 127; 191 127; 191 228]; B…
Freeman
  • 5,810
  • 3
  • 47
  • 48
11
votes
1 answer

Is there an algorithm for solving such projection reconstruction geometric problem?

We have a grid with red squares on it. Meaning we have an array of 3 squares (with angles == 90 deg) which as we know have same size, lying on the same plane and with same rotation relative to the plane they are lying on, and are not situated on…
Rella
  • 65,003
  • 109
  • 363
  • 636
10
votes
6 answers

Normal Vector of Three Points

Hey math geeks, I've got a problem that's been stumping me for a while now. It's for a personal project. I've got three dots: red, green, and blue. They're positioned on a cardboard slip such that the red dot is in the lower left (0,0), the blue dot…
mattbasta
  • 13,492
  • 9
  • 47
  • 68
8
votes
1 answer

Describing nonlinear transformation between two images, using homography

A one to one point matching has already been established between the blue dots on the two images. The image2 is the distorted version of the image1. The distortion model seems to be eyefish lens distortion. The question is: Is there any way to…
7
votes
1 answer

Howto project a planar polygon on a plane in 3d-space

I want to project my Polygon along a vector to a plane in 3d Space. I would preferably use a single transformation matrix to do this, but I don't know how to build a matrix of this kind. Given the plane's parameters (ax+by+cz+d), the world…
sum1stolemyname
  • 4,506
  • 3
  • 26
  • 44
7
votes
1 answer

Need help for proper rectilinear projection of equirectangular panoramic image

With the algorithm below, when the projection plane is tangent to the equator (the center line of the equirectangular image), projected image looks rectilinear. But when the projection plane is tilted, (py0 != panorama.height/2), lines are…
Panoramidal
  • 309
  • 3
  • 7
7
votes
2 answers

3D Camera coordinates to world coordinates (change of basis?)

Suppose I have the coordinates X, Y, Z and orientation Rx, Ry, Rz of an object with respect to a camera. In addition, I have the coordinates U, V, W and orientation Ru, Rv, Rw of this camera in the world. How do I transform the position (location…
6
votes
1 answer

Compute homography given rotation and translation between two cameras

I know that one can compute the homography matrix by using at least four correpondence points. I was wondering if and how can I obtain a homography matrix if I already know the rotation and translation between two cameras, including the camera…
6
votes
1 answer

How can I project an arbitrary plane identified by 4 points onto a 2d plane?

The issue we are trying to solve the issue of locating a point in two different representations of a plane. The first plane we have is rotated to create perspective; the second is a 2d view of that same plane. We have 4 points on each of the plans…
Scott
  • 16,711
  • 14
  • 75
  • 120
6
votes
1 answer

How can I transform an image using matrices R and T (extrinsic parameters matrices) in opencv?

I have a rotation-translation matrix [R T] (3x4). Is there a function in opencv that performs the rotation-translation described by [R T]?
Carlo Pane
  • 193
  • 2
  • 12
6
votes
3 answers

back-projecting a 2D point to 3D Plucker line

I'm trying to build a tracker (hand tracking personal project), and for this reason I need to back-project a 2d point to a 3d line, using Plucker coordinates. (like ray tracing) As an input, I have the 2d coordinates of a point and the projection…
dim_tz
  • 1,451
  • 5
  • 20
  • 37
6
votes
5 answers

Computing a matrix which transforms a quadrangle to another quadrangle in 2D

In the figure below the goal is to compute the homography matrix H which transforms the points a1 a2 a3 a4 to their counterparts b1 b2 b3 b4. That is: [b1 b2 b3 b4] = H * [a1 a2 a3 a4] What way would you suggest to be the best way to calculate…
1
2 3 4 5 6 7