Questions tagged [camera-projection]

15 questions
3
votes
0 answers

Scaling Factor of Camera Projection using OpenCV

According to this documentation: http://docs.opencv.org/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html I've obtained m', A, and [R|t]. And then I want to find M'. But I have no idea to find s value, which is a scaling factor. I…
Soonmyun Jang
  • 300
  • 5
  • 12
3
votes
1 answer

Warp Perspective transform of sub sections of image do not align

I want to warp subsections of an image to project it on a nonuniform surface. Ultimately I want to warp an image as seen HERE, kinda like was is done in HERE from THIS project. My problem is when I apply the transformations to each subsection of…
2
votes
1 answer

SceneKit – UV projection from Camera node

I am trying to project 360 image from camera to mesh like this. If anyone has idea on how to do this will be helpful.
sam
  • 61
  • 5
2
votes
1 answer

Why does translation make no impact in projection for a certain dimension?

Because the camera is off the floor (z=1.25m), points with z=0 should never project to the center of the image (only at infinity). However, for z=0 and x=0 all points are projected to exactly the center of the image. Why is that? Minimal example,…
WurmD
  • 1,231
  • 5
  • 21
  • 42
1
vote
1 answer

solvePnP throws error: (-215:Assertion failed) src.size == dst.size && src.channels() == dst.channels() in function 'cvConvertScale'

I have 4 world coordinate points of a box and their image points . I'm trying to calculate the pose of the camera but I'm getting an error File c:\Users\nmorsi200\AppData\Local\Temp\Prog6_4.py", line 292, in
1
vote
1 answer

How to project the BEV to the front view?

I have a picture of the BEV and camera pose. How do I turn it into a front view of the blue vehicle in the picture? BEV
1
vote
1 answer

Intersection of vector with origin in in image with plane in real world

I am trying to get the intersection of a direction vector in an image (direction a person is looking), with a plane directly in front and parallel to the image plane actually. Like, where on the wall is this person looking at, is what I am…
1
vote
1 answer

How to map the 3D skeleton joints back to 2D color image without Coordinatemapper from Kinect Window SDK

I would like to map the 3D skeleton in CameraSpace back to 2D color image in Kinect without using Coordinate mapper. Do I need to transform from Depth Camera to Color Camera? In my opinion, The skeleton joints are gotten from Depth image. Thus, In…
0
votes
0 answers

How to fade 3d sprite when it approach to camera border

I can't figure out how to modify this code to work correctly, I need that when the player turns the camera and the sprite approaches its border, the sprite gradually fades.I also need it to work regardless of how the camera moves. var viewport =…
F1xed
  • 1
  • 1
0
votes
0 answers

Converting a weak perspective Camera (SMPL) to a orthographic/perspective projection model

I am currently trying to import and parse outputs from the SMPL/VIBE model into Blender. The goal is to overlay the predicted mesh/armature on the original image and render it in blender similar to the visualization that is output by pyrenderer as…
0
votes
0 answers

how to project a point defined in real world coordinates to image plane and vice-versa?

I prepared a toy experiment to project a point defined in the world frame to the image plane. I'm trying to calculate the 3D point (inverse-projection) with the calculated pixel coordinates. I used the same coordinate frames as the figure below…
0
votes
1 answer

Calculating the rotation and translation (external parameters) of multiple cameras relative to a single camera?

Given a set of 5 cameras positioned as shown in the image below which capture the top, front, rear, left and right views of an object placed in the center. Also given that the origin of the world coordinate is assumed to be the top view (therefore…
0
votes
2 answers

How to manipulate frustum in three.js

I saw this great implementation of a parallax view, which creates an illusion of depth and I want to build something similar in…
0
votes
1 answer

Kinect v2, projection of 3D point cloud into color image

I am using Kinect V2 to capture the 3D point cloud and its corresponding color image. In order to get a proper projection of some 3D model into this color image, I need to compute valid projection matrix from camera to image space.Since Kinect V2…
-1
votes
0 answers

Converting 2D world coordinate to camera coordinate to pixel coordinate

I have a world coordinate in 2D(x,y) and I want to convert it to camera coordinate and then to pixel coordinate. Any help would be great appreciated.