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.

94 questions
1
vote
1 answer

Calculate distance between two points in a perpective image

I want to verify the distance between two points C and D (CD) in a perpective image. The picture is taken in my living room. Dimension of each tiles is 0.6x0.6 (in meters). Real world measurements: Distance between point A and point D (AD) = 1.8…
1
vote
1 answer

How to estimate camera pose according to a projective transformation matrix of two consecutive frames?

I'm working on the kitti visual odometry dataset. I use projective transformation to register two 2D consecutive frames(see projective transformation example here ). I want to know how this 3*3 projective transformation matrix is related to the…
leo
  • 11
  • 2
1
vote
1 answer

Projective Geometry - Find Plane in 3D using eigen

I'm trying to construct a plane out of three points in 3D. I want to use projective geometry to achieve this. As far as I know, one can "simply" solve the following to find a plane: A * x = 0 ,where A is a 3x4 Matrix - each row being one of the…
NewTech
  • 211
  • 3
  • 13
1
vote
0 answers

Reconstruct 3D points from two images, given camera movement

I am trying to reconstruct the real-world coordinates of 3D points from two images taken from the same camera. The camera is not calibrated, but the movement (translation and rotation) is known. In short: Requirement: No calibration Extra…
Nick Lee
  • 4,383
  • 1
  • 19
  • 31
1
vote
1 answer

how to produce projective transformation matrix best fit for multiple 4-point sets?

Normally I am using this kind of matlab code to do a projective transformation with a single set of reference points: fixedpoints = [0 0; 50 0; 50 100; 0 100]; movingpoints= [752 361; 888 361; 885 609; 736…
1
vote
1 answer

Conjugate rotation transformation in OpenCV

I am trying to apply a certain rotation to an image, but it doesn't work as expected. The rotation I have is: [0.109285 0.527975 0.000000 -0.527975 0.109285 0.000000 0.000000 0.000000 1.000000] Which should be a rotation of…
aledalgrande
  • 5,014
  • 3
  • 33
  • 58
1
vote
0 answers

Convert pitch, roll, and yaw angles

I have a pitch, roll, and yaw angles (in degrees). I want to find the angle to north. My goal is to transform this info (pitch+roll+yaw) to a simple compass degrees.
1
vote
0 answers

Recovering pose from essential matrix gives inconsistent sign of translation vector

I have three views with point correspondences and I want to compute the pose of the camera at the second and the third view. I therefore generate a random dataset (no noise) containing points in the different views with known rotation and…
takahashi
  • 1,691
  • 2
  • 11
  • 23
1
vote
1 answer

Epipolar constraint in the 8-point algorithm

I am developing a system using two cameras, and I want to know is it possible that the epipolar constraint can be satisfied by a matrix that this not part of the set of essential matrices? If so, in which situation do I have to handle this matrix?
1
vote
0 answers

Wrong Homography Transformation

Recently, I studied homography transformation (which adds an addition dimension to 2D points[x,y]->[wx,wy,x]) and projective geometry. When I tried to transform the bottom part of photo 1 to the top of a new image, the result is wrong. The reason I…
Alex Lin
  • 385
  • 2
  • 12
1
vote
1 answer

Creating a Cube-based 3-Dimensional Game

I am trying to create a 3-dimensional game that is based entirely off of cubes of the exact same size. I wanted to learn how to make my own 3-dimensional game using only 2-dimensional game libraries. Currently, the way I am doing is that I have an…
Sidd Singal
  • 532
  • 4
  • 16
1
vote
1 answer

Rectification-projective2d

Does any one know how this function (projective2d) works? I have a code for rectification and my Matlab have error with this function (Undefined function 'projective2d' for input arguments of type 'double'), however I think it should work for double…
1
vote
1 answer

How to "translate" the movement of the camera to the image?

I'm doing some work with a camera and video stabilization with OpenCV. Let's suppose I know exactly (in meters) how much my camera has moved from one frame to another and I want to use this to return the second frame where it should be. I'm sure I…
1
vote
0 answers

Algorithm to interpolate any view from individual view mapped on a sphere

I'm trying to create a graphics engine to show point cloud data (in first person for now). My idea is to precalculate individual views from different points in the space we are viewing and mapping them into a sphere. Is it possible to interpolate…
1
vote
1 answer

MATLAB: projective transformations

I have a picture and I want to get projective transformation by shifting it back like this: but the only result I can see is this: and I cannot find my mistake. My code (A - picture I want to transform): p=0.25; a=p*rows(A); U = @(m, n) ([1 1; 1…
myname
  • 137
  • 1
  • 7