Skip to main content

How to project a camera plane A to a camera plane B

How to Create a holographic display and camcorder

In the last part of the series "How to Create a Holographic Display and Camcorder", I talked about what the interest points, descriptors, and features to find the same object in two photos.

In this part of the series, I'll talk about how to extract the depth of the object in two photos by calculating the disparity between the photos.

In order to that, we need to construct a triangle mesh between correspondences.

To construct a mesh, we will use Delaunnay triagulation.




 Delaunnay Triagulation




- It minimizes angles of all triangles, while the sigma of triangles is maximized.

The reason for the triangulation is to do a piece wise affine transformation for each triangle mapped from a projective plane A to a projective plane B.

A projective plane A is of a camera projective view at time t,
while a projective plane B is of a camera projective view at time t+1.
(or, at t-1.  It really doesn't matter)


Piece wise Affine Transformation

For that, we need at least 3 correspondences.  Why?

Because Affine transform support 6 DoF (degrees of freedom).


Why do piece-wise affine transform?

Because a full rectangular affine transform doesn't fit a convex rectangular form.



Why do homography?



What we just did is called Homography.


Ah = 0




With it, we can project a projective plane to any projective plane.


Comments

Anonymous said…
This comment has been removed by a blog administrator.
dparksports said…
This comment has been removed by the author.
Rich said…
This comment has been removed by a blog administrator.
dparksports said…
This comment has been removed by the author.
Rich said…
This comment has been removed by a blog administrator.
dparksports said…
This comment has been removed by the author.
Rich said…
This comment has been removed by a blog administrator.
Rich said…
This comment has been removed by a blog administrator.
Rich said…
This comment has been removed by a blog administrator.
Rich said…
This comment has been removed by a blog administrator.
dparksports said…
This comment has been removed by the author.
Anonymous said…
This comment has been removed by a blog administrator.
Big B said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.
Anonymous said…
This comment has been removed by a blog administrator.

Popular posts from this blog

How to improve the traditional ASR using Connectionist Temporal Classification

The traditional Automatic Speech Recognition (ASR) performs at about 85% accuracy rate.  At this rate, ASR users are often frustrated with the experience with using such a system. The tradition ASR is often fragile: 1) requires extensive modification of parameters, just to make it work. 2) requires extensive understanding of a language model and a acoustic model. 3) doesn't scale well to multiple languages. 4) hyper-sensitive to speaker variants. Deep Learning on the acoustic model has been introduced, but not much of gain in the accuracy. What if, we can do a DL from end to end? Connectionist Temporal Classification (2006) introduces an idea of using FFT on the frequency of a recording of a voice command and constructs a spectrogram at 8kHz.  At each spectrogram interval, a DL neural network can be assigned, individually. The basic idea is to have RNN output neurons to encode distribution over "symbols". The traditional ASR uses a phone...

Calculating camera extrincs

Before we talk about the projection matrix of the depth correspondces, we need to know two things: - Camera extrinsics - Camera intrinsics Camera extrinsics maps the world coorinates to the camera coordinates. For the simplicity of the camera, it is a pinhole camera without lenses.  I'll talk about the lenses, the focal length, the lense aberation, the pixel sensor dimension, etc in Camera intrincs. So, locating an object in two images and projecting in the camera space is not that straight. But, it will be a straight process with the application of Machine Learning. I'll talk about the next part of the series in applying the deep neural network to optimizing the homographic projection and have it robust in low texture settings including low light. Deep Neural Network - Estimating Homography to address: - low texture environment - outside light conditions ( gamma > 2kLs) - robust as or better than SfM or other SLAM techniquese First, we need to locate the ...

How to use Convolution Neural Network to predict SIFT features

A feature locator is essential in all CV domain.  It's the basis of the germetric transformation, epipolar geometry, to 3D mesh reconstruction. Many techniques - SIFT and other SLAM technologies, are available, but they require ideal environments to work in. To address the short comings: - sensitive to low texture environment - sensitive to low light envonrment - sensitive to high light environment (like outdoor day light with above 20k lux) - and many other issues I propose a CNN based neural network to detect 4 correspondences in an image A and an image B. Since it is tricky to have a neural network to predict a 4x4 affine matrix of rotation and translation, I separated the translation vector from the rotation vector. Basically, the ground truth data will be precalcalated with a generic SIFT with RANSAC to calculate the correspondences set P and P'. The L2 (Eucledean) distance will be used between a predicted value.  They are 4 points, so an averaged will ...