Skip to main content

Posts

Showing posts from May, 2009

Using Direct Linear Transformation to find Homography

Direct Linear Transform (DLT) Using Direct Linear Transformation to find Homography. With the 4 correspondences, we can solve Direct Linear Transform (DLT) for the homography matrix H. However, a correspondence model may contain both inliers and outliers. Random Sample Consensus (RANSAC) In order to filter out the outliers, to reconstruct the model, use RANSAC in an iterative fashion. For example, for every set of 4 correspondences randomly picked, the occurrence of H is calculated. Using this H value, we can determine the outlier correspondences. With only inliers, we can recalculate H for each set of 4 correspondences.

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)

Teaching Machines to Locate Objects in Photos

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 how to use the cameras to calculate the disparity between photos.  To do so, we have locate the objects in two photos, but this should be done by a machine. In this part of the series, I'll talk about how to show a machine to locate objects in photos. To calculate the depth information or the disparity of an object, we need to locate where the object is in each photo. [Insert an illustration of an object and a camera by X-axis translation] How to locate an object in each photo? In each photo, we need to find the same object.  Then, we should calculate the disparity between the object in the first photo and the object in the second photo. So, how do we locate the same object in each photo? Let's say we want to locate a tip of a cat's left ear in two photos.  Each photo shows the same cat, but at the

How to create AR Glasses

In this blog, I will talk about how to create AR Glasses using the current technologies available. This is about creating a practical pair of glasses one can wear daily. I have three versions. - Basic AR Glasses - Sports AR Glasses - Ultimate AR Glasses Basic AR Glasses What is: - A practical pair of glasses one can wear daily. - Wirelessly connected to a computing platform. - This computing platform can be a standalone platform. Computing Platform - If we create our AR Glasses to use iPhone or Android phone, we don't have to ask our users to carry a separate computing platform. - But we will be dependent on Apple, Google or Samsung eco system. - This can be a stand alone platform. - If it is a stand alone platform, it should be able to charge AR Glasses directly from it, wired or wirelessly. - If it is a standalone platform, it should be a smart phone customized for AR Glasses. - If we plan to make a non-smartphone platform to replac

What are the depth sensors?

How to Create a holographic display and camcorder In the last part of the series, I talked about why the depth sensors may not be ideal for a consumer grade camcorder. These depth sensors lack Miniaturized form factor Cost effectiveness  Poor weather handling Noticeable noise errors Due to these limitations, the holographic display and camcorder will use other depth sensor alternatives. What are the depth sensor alternatives? Cameras We can use one or more cameras.  When we use a camera or more, we can retrieve the depth information. These camera configurations are Monocular Camera Stereoscopic Cameras N-View Cameras For the first prototype, we will limit our use case to indoors. I haven't decided if I should use a monocular camera, stereoscopic cameras or n-view cameras.  This may largely decided by how much time I have available.  Likely, I will use all these camera configurations to compare and contrast the results over the design and the ease-of-u

How to create a holographic camcorder

Since the invention of a camcorder, we haven't seen much of advancement of a video camcorder. Sure, there are few interesting, new features like capturing video in 360 or taking high resolution 4K content. But the content is still in 2D and we still watch it on a 2D display. Have you seen the movie Minority Report (2002)? There is a scene where Tom Cruise is watching a video recording of his lost son in 3D or holographically. Here is a video clip of this scene. I have been waiting for the technological advancement to do this, but it's not here yet. So I decided to build one myself. In order to build a holographic video camcorder, we need two devices. 1) a video recorder - a recorder which captures the video content in 3D or holographically. 2) a video display - a display device which shows the recorded holographic content in 3D or holographically. Do we have a technology to record a video, holographically. Yes, we can now do it, and I'll e