Real Time 3D Depth Estimation and
Real Time 3D Depth Estimation and
Abstract - The research topics in the areas of recognition and collision prevention depend on
photogrammetry and computer vision to Model 3D accurate scene analysis. Currently existing approaches
objects from image sequences are significant for many for stereo vision are classified into two categories such
years. This paper proposes rectification of un-calibrated as monocular sequences and binocular or trinocular
stereo images and real time depth estimation and sequences or stereo sequences according to the
measurement of objects using Intel compute stick. The dimension of data available. One image at a time is
proposed system uses a pair of hand held USB camera classified as monocular. Two or three images at each
with unknown focal length to visualize un-calibrated instant are classified as bi- or trinocular sequences, or
images and thermal camera (Testo 870-1). The proposed
stereo sequences [1]. The stereo vision consists of
system uses sum of absolute difference (SAD) algorithm
to match the strongest points feature in the stereo images.
active and passive system. The active stereo system
The correctly matching points between the montage such as ultra sound and laser gives depth directly. In
images must satisfy the epipolar constraints. The passive stereo system algorithms such as sum of
algorithm computes the epipolar fundamental matrix absolute difference (SAD), random sample consensus
and obtains inliers point in order to get a 3D rectified (RANSAC) is used for binocular or trinocular images
stereo image. Additionally the propose algorithm stereo system to estimate depth. 3-Dimension objects
perform depth estimation to measure real time distance are in high demand for the development of computer
of objects dynamically. The proposed system uses Intel technology. The hardware requirement for active
computer stick with windows 8.1, video graphics array stereo requires high cost equipment such as 3D laser
(VGA) to high-definition multimedia interface (HDMI) scanner. The stereo vision analysis with calibration
converter, webcam, thermal camera, MATLAB 14a method seems to be complex process which does not
software. The proposed system finds many applications satisfies time and space limit [2]. This limitation is
such as fusion of real virtual scenes, robotic vision, traffic overcome by using uncelebrated stereo image
scene analysis, motion tracking and object tracking.
sequence. In realistic 3D models from uncalibrated
Thus the proposed system estimate accurate real time
image sequences is a hot research aspect in computer
distance of object and obtain 3D rectified stereo images.
graphics and computer vision fields because of less
Keywords-un-calibrated stereo images, depth inexpensive and simpler hardware. The oriented
estimation, epipolar constraint, Intel compute stick, cameras capture uncaliberated images. The
webcam, thermal camera. corresponding points in between the two images are
obtained from any one of the three methods such as
1. INTRODUCTION 2D-2D relative orientation (also called recovery of
Movement is an inherently continuous process. motion), 2D-3D image orientation (or space resection
The relative motions between objects in a scene and or camera calibration) and 3D-3D absolute orientation
cameras, between different moving objects in the (3D similarity transformation). 2D-3D image
scene produce the apparent motions of objects orientation are used in the proposed system [3]. On the
between frames. The objective of motion analysis is to critical configurations of points in 3D object space,
infer the real motion of objects in the scene from the i.e.Center of perspective and points on the object
changes between adjacent frames. To determine an surface. The relationship between the world
object‘s distance relative to an observer (sensor) is a coordinates and the pixel coordinates is linear
common field of research in Computer Vision and projective. Epipolar geometry concept is used to
Image Analysis. A growing number of modern reduce geometry in the captured image which cut
applications such as position determination, object down the complexity of the stereo correspondence
book, to a VGA display like projector, LCD monitor Step 4: A Matlab compiler popups, add .m file as
etc., convert the HDMI signal to VGA output. It main file and select the run time download from web,
doesn’t require any external power source. HDMI then apply package to create EXE file
female to female coupler is shown in Fig.6 (b). It is 2) Run EXE File In Intel Compute Stick
used to interface with HDMI to VGA cable to transfer
In this model hardware (Intel compute stick)
data from an HDMI-compliant source device to a
connected to monitor through HDMI to VGA and then
compatible computer monitor device. HDMI female to female convertor is connected
computing stick port. In monitor select standalone
package, then select testing folder in which run EXE
application file. Real time images capture in webcams
and rectified images can be seen in monitor as shown
in Fig.12, Fig.13 and Fig.14.
3) Real Time Measurement And Depth Estimation
Fig.5. Intel compute stick
The rectification of image depth estimation is
analyzed in section 3, disparity map is used to find the
3) Webcam and thermal camera
depth of the particular object in the scene, nearer and
Webcam and thermal camera is used to capture the far in the rectified image. The depth is estimate by
real time images subtracting the background of left and right image
which give a binary image with threshold value added
in them. The clarity is obtained by adjusting the
threshold value. For distance calculation webcams
separated with 15 cm distance is considered as
baseline to get the clear image. Table 1 shows the real
distance measurement of true values at room
condition. Now known distance of the object at
different positions (10 …300 cm) is calculated and the
corresponding values are noted. Apply values in spline
(a) (b) function which compares the actual value and known
Fig.6. Converters (a) Hdmi to vga converter (b) Hdmi female to values which gives the real time distance of object in
female coupler
the specified area.
(a) (b)
Fig.8.Deploy tool
IV. EXPERIMENTAL RESULTS
In this model there are mainly ‘4’ modules as given
below:
1) Generating EXE file from MATLAB
Sequence to generating .m to EXE file:
Step 1: complete the simulation of .m file
Step 2: apply deploy tool command in the command
window-Matlab
Step 3: Select application compiler package
MATLAB program for deployment as standalone Fig.9. Upload .m file
applications.
2017 International Conference on Nascent Technologies in the Engineering Field (ICNTE-2017)
Fig.12. Hardware setup for thermal camera 4) Real Time Measurement And Depth
Estimation using thermal camera
V. CONCLUSION
The proposed system performs the rectification of
un-calibrated stereo images, real time depth estimation
and real time distance measurement using stereo
images, Intel compute stick, webcam and thermal
camera. The algorithm uses SAD, triangulation
method, epipolar constraints and disparity map for 3D
rectification, depth estimation and distance
Fig.17.Real time person capture in thermal camera measurement of object. The real time applications of
the proposed system are fusion of real and virtual
scenes, robotic vision, traffic scene analysis, motion
tracking and object tracking. The proposed system is
effective in finding the distance of moving objects
based on color and feature matching. It also estimate
accurate real time distance of the object and obtain 3D
rectified stereo images using thermal camera.
ACKNOWLEDGEMENT
This work is funded by UGC, Major Research
Project, MRP-MAJOR-ELEC-2013-19701.
Fig.18. Stereo montage of left and right image
REFERENCES
[1] Z.zhang and O.Faugers, “3D Dynamics Scene Analysis”,
Springer Series in Information Sciences, Springer-Verlag,
Berlin Heidelberg GmbH, 1992.
[2] M.Bennamoun and G.j.Mamic. “Object Recognition
Fundamentals & Case Studies” , Springer Series in Advances
in Pattern Recognition ,Springer-Verlag London Ltd.2001.
[3] A.Gruen and T.s.Huang(Eds).” Calibration and Orientation of
Cameras in Computer vision”. Springer Series in Information
Sciences, Springer-Verlag, Berlin Heidelberg GmbH,2001.
[4] Y. S. Kang, and Y. S. Ho, "An efficient image rectification
Fig.19.Stereo rectified image method for parallel multi-camera arrangement,", in IEEE
transaction on Consumer Electronics, vol. 57, no. 3, pp.1041-
1048, Aug.2011.
[5] Ravindraiah, Dr. J. L. Mazher Iqbal (2014), Hard Exudates
Detection in Proliferative Diabetic Retinopathy using
Gradient Controlled Fuzzy C MEANS Clustering Algorithm,
GESJ: Computer Science and Telecommunications,
VolNo.4(44), PP 27-31.
[6] R. Ravindraiah, Dr. J. L. Mazher Iqbal (2014), Segmentation of
Diabetic Retinopathy Images through a Subjective
Approach, GESJ: Computer Science and
Telecommunications, VolNo.4 (44), PP 32-34, 2014.
[7] T.Hareesh, J. L. Mazher Iqbal, “ARM 7 based Intelligent
System for Surveillance and Street Light Management”,
International Journal of Computer Applications, volume 107 –
Fig.20. Real time window scene capture in thermal camera No 9, PP 12-16, December 2014.
[8] J.L.Mazher Iqbal, J.Lavanya and S.Arun, “Abnormal Human
Activity Recognition using Scale Invariant Feature
Transform” International Journal of Current Engineering and
Technology, Vol.5, No.6, PP 3748-3751, December 2015.
[9] J.L. Mazher Iqbal, M. Suriya ParveenS. Arun, “Image stitching
and 2D to 3D Image Reconstruction for Abnormal Activity
Detection”, International Journal of Computer Applications,
Volume 133 – No.17, PP 1-7 January 2016.
(a) (b)
Fig.21. Stereo images (a) Stereo montage of left and right image (b)
Stereo rectified image