OpenCV Q&A Forum - RSS feedhttp://answers.opencv.org/questions/OpenCV answersenCopyright <a href="http://www.opencv.org">OpenCV foundation</a>, 2012-2018.Mon, 11 Nov 2019 03:32:02 -0600Perspective transformation - Deriving formula for single Camerahttp://answers.opencv.org/question/221482/perspective-transformation-deriving-formula-for-single-camera/I would like to solve an equation and of that formulate a formula that takes two inputs and gives one output:
**Input:**
- (u,v) - Pixel coordinates
- (t) - Translation of the camera with respect to the plane, in one dimension (z)
**Output**
- (x,y) - World coordinate
And for the rotation of the camera, this is set to static. So the only part that can alternate is the height of the camera with respect to the plane.
I've successfully solved an equation system, but for when the camera has fixed rotation and fixed height as described here: https://dsp.stackexchange.com/a/46591/46122
But now I want to express a formula but that takes one additional parameter (height in [mm]).
However, I'm not sure how this equation system would look like described here, https://dsp.stackexchange.com/a/46591/46122
to reflect my additional parameter.
My goal is to have a camera mounted on a linear rail (that moves in the z-direction and is vertical to the plane) that can detect objects on the plane. To my help, I have a laser sensor that constantly measures the height from the plane to the camera, which can be given as an input to the transform.
Any help is appreciated!r.anderssonMon, 11 Nov 2019 03:32:02 -0600http://answers.opencv.org/question/221482/Perspective transformation between 3D pointshttp://answers.opencv.org/question/73555/perspective-transformation-between-3d-points/ Hello,
I need to find a transformation from one camera to another (stereo), so i think i need a perspective transformation in 3D. Am i right? How can i find such transformation?
Thanks a lot,
OlegOleg_kSun, 18 Oct 2015 19:41:01 -0500http://answers.opencv.org/question/73555/