Questions tagged [camera-matrix]

In computer vision a camera matrix or (camera) projection matrix is a matrix which describes the mapping of a pinhole camera from 3D points in the world to 2D points in an image.

In computer vision a camera matrix or (camera) projection matrix is a matrix which describes the mapping of a pinhole camera from 3D points in the world to 2D points in an image.

The Wikipedia Article provides a deeper explanation: http://en.wikipedia.org/wiki/Camera_matrix

29 questions
6
votes
1 answer

2D-3D homography matrix estimation

I am working with my Kinect on some 2D 3D image processing. Here is my problem: I have points in 3D (x,y,z) which lie on a plane. I also know the coordinates of the points on the RGB image (x,y). Now I want to estimate a 2D-3D homography matrix to…
user2576458
  • 161
  • 3
  • 9
3
votes
1 answer

stereo vision 3d point calculation with known intrinsic and extrinsic matrix

I have successfully calculated Rotation, Translation with the intrinsic camera matrix of two cameras. I also got rectified images from the left and right cameras. Now, I wonder how I calculate the 3D coordinate of a point, just one point in an…
SSS
  • 621
  • 2
  • 7
  • 25
3
votes
1 answer

Python calibrate camera

I have the following image I1. I did not capture it. I downloaded it from Google I apply a known homography H to I1 to obtain the following image I2. I want to assume that a camera has taken this above shot of I2. I do not know the camera matrix…
RaviTej310
  • 1,635
  • 6
  • 25
  • 51
3
votes
2 answers

How to invert the Rotation of one Axis in a Camera Matrix (e.g. OSG CameraViewMatrix)

For an augmented reality application I am using some slam algorithm to predict the current orientation of my mobile phone. The algorithm (LSD-Slam) supplies the current pose in form of a SE3 lie group (using Sophus::Sim3f). If I got this right,…
1
vote
0 answers

solvePnP method estimation distance error

I am dealing with the estimated distance of an object with the solvePnP method. I already did some measurements and my calculated distance is far above the actual distance. I also used a calibrated camera. For the distance calculation, I use the…
PaaaV
  • 11
  • 1
1
vote
1 answer

Why is inverse intrinsic matrix denoted with dimensions [3, 4]?

I am working with the multinerf Framework from Google Research. It's great to work with and things are actually pretty clear down to the paragraph existing data loaders under Intrinsic camera poses: Intrinsic camera poses pixtocams= [N, 3, 4] numpy…
GutzeK456
  • 39
  • 5
1
vote
0 answers

2D image coordinate to 3D space coordinate through camera matrix

I am trying to get a grasp of how to project 2D coordinates into a 3D space through my camera matrix, but I can't for the love of it, understand it. So I am hoping that someone here can point me to a guide or something that can help me. Here is what…
1
vote
0 answers

Get rotation from camera matrix of format x y z w

I have a 4x4 matrix within JS called world to obj. This matrix I assume from context must be the camera transformations matrix and thus I am trying to extract the rotation from it in radians on x y and z axis. I have no clue where to start and have…
c.hum
  • 35
  • 8
1
vote
1 answer

OpenGL "Free Aspect Ratio" like in Unity

I've made my own simple Level Editor in Visual Studio using OpenGL and C++ to create games for android phone. But I've stumbled across a problem where some objects that I have put in my editor do not appear correctly on android nor and sometimes…
1
vote
1 answer

C# OpenGL OpenTK - Camera moves away from drawings as I adjust eye.X value

I've been trying to set up a camera in OpenGL for a few days now, but I just can't get it working properly. As the eye.X or eye.Y value increases/decreases, instead of "looking arround", the camera(I know there is no such thing as a camera...)…
BoyBaykiller
  • 109
  • 1
  • 7
1
vote
0 answers

How to get the x and y coordinates of a 2D image that was rendered from a 3D world (Pinhole Camera Model)

I am new to 3d graphics. I have been creating scenes in blender and rendering them. Knowing the world locations of the object and camera, as well as the focal length of the lens, I would like to calculate the x1 and x2 ( or x and y) location of the…
kitty Kat
  • 73
  • 1
  • 6
1
vote
0 answers

Undistortion of CAHVORE camera model

I have some images with fisheye distortion and their corresponding CAVHORE calibration files. I want to have the images undistorted, using OpenCV (namely cv2.fisheye.undistortImage) for now, which needs the intrinsic matrix K and distortion…
ilke444
  • 2,641
  • 1
  • 17
  • 31
1
vote
1 answer

How to find the focal length from camera matrix?

I have OpenCV code for calculating camera matrix and fixing distortion in image. Here is the part of the code in OpenCV and C++. //default capture width and height const int FRAME_WIDTH = 1288; const int FRAME_HEIGHT = 964; //max number of objects…
bob
  • 363
  • 3
  • 8
  • 21
1
vote
0 answers

Projecting from screen to world space in C has strange FOV results

firstly thank you for looking at my post, I will try to be as detailed as I can to explain my problem. I am trying to build a simple ray tracer and I am getting some strange results when I try to project rays from my screen to the world. I have the…
Kevin Orriss
  • 1,012
  • 3
  • 11
  • 24
1
vote
0 answers

Setting the camera matrix in MATLAB

Is it possible to set the camera view and projection matrices in MATLAB? With "view matrix" I refer to the position and orientation of the camera in space (actually, the inverse of it, but this is just a detail), and "projection matrix" refers to…
Violin Yanev
  • 1,507
  • 2
  • 16
  • 23
1
2