Shape Measurement of a Sewer Pipe. Using a Mobile Robot with Computer Vision



Similar documents
Integrated sensors for robotic laser welding

4. CAMERA ADJUSTMENTS

HIGH-PERFORMANCE INSPECTION VEHICLE FOR RAILWAYS AND TUNNEL LININGS. HIGH-PERFORMANCE INSPECTION VEHICLE FOR RAILWAY AND ROAD TUNNEL LININGS.

Automated Sewer Pipe Inspection through Image Processing

Making Better Medical Devices with Multisensor Metrology

PHOTOGRAMMETRIC TECHNIQUES FOR MEASUREMENTS IN WOODWORKING INDUSTRY

5-Axis Test-Piece Influence of Machining Position

Developing a Sewer Inspection Robot through a Mechatronics Approach

Development of The Next Generation Document Reader -Eye Scanner-

Static Environment Recognition Using Omni-camera from a Moving Vehicle

A System for Capturing High Resolution Images

Polarization of Light

Robot Perception Continued

ME 111: Engineering Drawing

Part-Based Recognition

Optical Digitizing by ATOS for Press Parts and Tools

A PHOTOGRAMMETRIC APPRAOCH FOR AUTOMATIC TRAFFIC ASSESSMENT USING CONVENTIONAL CCTV CAMERA

Types of 3D Scanners and 3D Scanning Technologies.

Solution Guide III-C. 3D Vision. Building Vision for Business. MVTec Software GmbH

LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

Twelve. Figure 12.1: 3D Curved MPR Viewer Window

TAGARNO AS Sandøvej Horsens Denmark Tel: Mail: mail@tagarno.com

SafetyScan Lens. User Manual

Self-Calibrated Structured Light 3D Scanner Using Color Edge Pattern

SPINDLE ERROR MOVEMENTS MEASUREMENT ALGORITHM AND A NEW METHOD OF RESULTS ANALYSIS 1. INTRODUCTION

Reflection and Refraction

3D SCANNING: A NEW APPROACH TOWARDS MODEL DEVELOPMENT IN ADVANCED MANUFACTURING SYSTEM

OPTICAL MEASURING MACHINES

Automotive Applications of 3D Laser Scanning Introduction

Realization of a UV fisheye hyperspectral camera

Tube Control Measurement, Sorting Modular System for Glass Tube

Optical Illusions Essay Angela Wall EMAT 6690

Introduction of MOGURINKO ; The Sewer Pipe Inspection Robot Series

Visual Servoing Methodology for Selective Tree Pruning by Human-Robot Collaborative System

Guidelines for closed circuit television (CCTV) inspection of newly constructed sewers

Encoders for Linear Motors in the Electronics Industry

A method of generating free-route walk-through animation using vehicle-borne video image

LBS-300 Beam Sampler for C-mount Cameras. YAG Focal Spot Analysis Adapter. User Notes

3D Scanner using Line Laser. 1. Introduction. 2. Theory

Important Points: Timing: Timing Evaluation Methodology Example Immediate First announcement of building damage

Geometric Optics Converging Lenses and Mirrors Physics Lab IV

Effective Use of Android Sensors Based on Visualization of Sensor Information

VIDEO INSPECTION AND LASER PROFILING IN FLORIDA. AASHTO SOC Conference Larry Ritchie, FDOT August 14, 2013

Automated Optical Inspection is one of many manufacturing test methods common in the assembly of printed circuit boards. This list includes:

Automatic Calibration of an In-vehicle Gaze Tracking System Using Driver s Typical Gaze Behavior

Robotics. Lecture 3: Sensors. See course website for up to date information.

Manufacturing Process and Cost Estimation through Process Detection by Applying Image Processing Technique

How To Fuse A Point Cloud With A Laser And Image Data From A Pointcloud

3D SCANNERTM. 3D Scanning Comes Full Circle. s u n. Your Most Valuable QA and Dosimetry Tools A / B / C. The 3D SCANNER Advantage

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION INTEGRAL OF THE FIRST KIND

Pipeline External Corrosion Analysis Using a 3D Laser Scanner

Ultrasonic Wave Propagation Review

Automated Pavement Distress Survey: A Review and A New Direction

Application Example: Reverse Engineering

Diffraction of a Circular Aperture

Application Example: Quality Control of Injection-Molded Parts

Inspection and Illumination Systems for Visual Quality Assurance. Large selection Attractive prices Tailored solutions. optometron.

Geometric Camera Parameters

Automatic and Objective Measurement of Residual Stress and Cord in Glass

Projection Center Calibration for a Co-located Projector Camera System

ExmoR A Testing Tool for Control Algorithms on Mobile Robots

Synthetic Sensing: Proximity / Distance Sensors

Procedure: Geometrical Optics. Theory Refer to your Lab Manual, pages Equipment Needed

Application Report. Propeller Blade Inspection Station

Understanding astigmatism Spring 2003

The Olympus stereology system. The Computer Assisted Stereological Toolbox

PCB Component Placement Inspection

WHITE PAPER. Methods for Measuring Flat Panel Display Defects and Mura as Correlated to Human Visual Perception

Solar Tracking Application

PDF Created with deskpdf PDF Writer - Trial ::

Basic Problem: Map a 3D object to a 2D display surface. Analogy - Taking a snapshot with a camera

11.1. Objectives. Component Form of a Vector. Component Form of a Vector. Component Form of a Vector. Vectors and the Geometry of Space

MACHINE VISION MNEMONICS, INC. 102 Gaither Drive, Suite 4 Mount Laurel, NJ USA

Evaluation of the Cross Correlation Method by Using PIV Standard Images

Relating Vanishing Points to Catadioptric Camera Calibration

WAVELENGTH OF LIGHT - DIFFRACTION GRATING

12-1 Representations of Three-Dimensional Figures

Architectural Photogrammetry Lab., College of Architecture, University of Valladolid - jgarciaf@mtu.edu b

Chemotaxis and Migration Tool 2.0

How To Analyze Ball Blur On A Ball Image

Circle Object Recognition Based on Monocular Vision for Home Security Robot

3D Model based Object Class Detection in An Arbitrary View

Equations Involving Lines and Planes Standard equations for lines in space

ASSESSMENT OF VISUALIZATION SOFTWARE FOR SUPPORT OF CONSTRUCTION SITE INSPECTION TASKS USING DATA COLLECTED FROM REALITY CAPTURE TECHNOLOGIES

ENGINEERING METROLOGY

Interference. Physics 102 Workshop #3. General Instructions

2. THE TEORRETICAL OF GROUND PENETRATING RADAR:

Introduction to 3D Imaging

Inspection of diffusely reflecting surfaces

Three Channel Optical Incremental Encoder Modules Technical Data

Manual for simulation of EB processing. Software ModeRTL

PHYS 222 Spring 2012 Final Exam. Closed books, notes, etc. No electronic device except a calculator.

Introduction to CATIA V5

I-SiTE - Laser Scanning Revolutionises Site Survey

ZEISS T-SCAN Automated / COMET Automated 3D Digitizing - Laserscanning / Fringe Projection Automated solutions for efficient 3D data capture

A Measurement of 3-D Water Velocity Components During ROV Tether Simulations in a Test Tank Using Hydroacoustic Doppler Velocimeter

Transcription:

International Journal of Advanced Robotic Systems ARTICLE Shape Measurement of a Sewer Pipe Using a Mobile Robot with Computer Vision Regular Paper Kikuhito Kawasue 1,* and Takayuki Komatsu 1 1 Department of Environmental Robotics, University of Miyazaki, Miyazaki, Japan * Corresponding author E-mail: kawasue@cc.miyazaki-u.ac.jp Received 13 Jul 2012; Accepted 27 Nov 2012 DOI: 10.5772/55261 2013 Kawasue and Komatsu; licensee InTech. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Abstract A mobile robot equipped with two lasers and a CCD camera for pipe inspection is proposed. Circular laser streaks that appeared on the inner surface of the pipe reveal the shape of the pipe. The 3D shape of a sewer pipe can be reconstructed considering the movement of the mobile robot along the pipe. Since the tilt of the mobile robot with respect to the axis of the pipe appears as the deformation between two circular streaks, the shape of a sewer pipe can be measured accurately, regardless of the tilt of the robot. Keywords Sewer Pipe, Measurement, Image Processing, Three Dimensional 1. Introduction Sewer pipes totalling over 400,000 kilometres in length are buried under the ground in Japan. The number of worn pipes has increased and a number of subsidence accidents due to collapse have occurred. Since 80% of these pipes have a diameter of 450 mm or less, human inspectors cannot enter these pipes. Recently, pipe inspection has been performed using a moving cart with a CCD camera [1 3]. In these systems, human inspectors judge the condition of the pipe based on images recorded by the CCD camera. Note that human judgment results in individual variations because the judgment depends upon individuals senses quantitative measurement is required. Automatic detection methods of cracks in a pipe have been introduced as prior work [4 5], but the automatic shape measurement of the pipe is also required to evaluate the pipe s condition. In order to address this problem, we have developed a system equipped with two lasers, directed in different directions. The circular laser streaks that appeared on the inner surface of the pipe show the cross sectional shape of the pipe. The concept behind the proposed system is based on the method of the shape from the structure light [7 10]. In this method, projecting a laser slit onto a threedimensionally shaped surface produces a line of illumination that appears distorted from other perspectives to that of the laser projector and can be used for an exact geometric reconstruction of the surface shape. The cross sectional shape is detected by the proposed system using this method. The basic idea of the developed system is described in the patent disclosure www.intechopen.com Kikuhito Kawasue and Takayuki Komatsu: Int J Adv Shape Robotic Measurement Sy, 2013, Vol. of a 10, Sewer 52:2013 Pipe 1

[6]. Two parallel lasers are used in the system published in the patent disclosure. In our new approach, two laser slits are projected in different directions and the accuracy has been improved. The robot moves along the axis of the tubular structure and the measured cross sectional shape data is accumulated to reconstruct the 3D structure on the computer. Two laser slits are projected from the proposed system in different directions and the shapes of the streaks that appear on the surface of the object are deformed depending on the tilt of the system. The tilt of the system with respect to the sewer pipe can also be measured by detecting the deformation of the streaks. Therefore, the measurement of the vertical cross section of the pipe is possible, regardless of the tilt of the system, by considering the tilt of the system with respect to the target. Figure 2. Laser streaks on the inner surface of the pipe Quantitative and quick measurement can be realized using the proposed system. 2. Measurement system A photograph of the robot used for sewer pipe measurement is shown in Figure 1. The robot is controlled by a computer and driven by a pulse motor. A laser projector is placed on the front of the robot and the laser is projected in the radial direction using a cornshaped mirror. Laser ring streaks are displayed on the inner surface of the pipe. The streaks are recorded by the CCD camera and the cross sectional shape of the inner surface of the pipe is detected. Figure 2 shows the laser streaks that appear on the inner surface of the sewer. The streaks are deformed depending on the condition of the sewer pipe. The robot moves along the axis of the pipe and the detected cross sectional data is accumulated considering the amount of movement of the robot. An image of the reconstructed pipe displayed on a computer is shown in Figure 3. Figure 1. Mobile robot for sewer pipe inspection Figure 3. Reconstructed pipe through the accumulation of measured sections Figure 4 shows the laser projector setup of the proposed system. Two laser projectors referred to hereinafter as Laser A and Laser B are installed on the robot. Laser A is projected perpendicular to the direction of movement of the robot and Laser B is tilted with respect to the direction of movement of the robot. The image recorded by the CCD is digitized through an IEEE1394 interface and processed by a computer. Figure 5 shows a photograph of the laser projector with a corn shaped mirror. A laser is reflected on the surface of the cornshaped mirror and is projected circumferentially. The laser draws a ring shaped streak on the inner surface of the pipe. The shape of the streak varies depending on the surface condition and the deformation of the pipe. The robot runs along the inside of the sewer pipe and measures the shape of the pipe by analysing the laser streaks that appear on the inner surface of the pipe. Figure 6 shows the measurement section of the pipe onto which two lasers have been projected. When the system is tilted with respect to the pipe, the shape of the streak drawn by Laser B is deformed compared with the measurement section of Laser A. This means that the tilt of the system can be detected sensitively from the streak of Laser B. This enables accurate measurement considering the tilt of the system with respect to the pipe. 2 Int J Adv Robotic Sy, 2013, Vol. 10, 52:2013 www.intechopen.com

In order to determine the tilt angle of Laser B, the measurement accuracy was checked while varying the tilt angle of Laser B in 5 increments. The results are shown in Figure 7. At approximately 35, the error was less than 0.5. Therefore, Laser B was set to have a tilt of 35 in the proposed system. Figure 4. Laser projector setup 1.The streak is divided into short segments. 2.The angles of all the segments are calculated. 3.A pair of segments for which the orientations are antiparallel (180) is found. The midpoint of the line joining the segments will be situated at the centre of the ellipse, as shown in Figure 9. 4.The midpoints on the parameter plane are accumulated for all pairs of corresponding segments. 5.The average centre point of the ellipses is determined by finding the peak point on the parameter plane. 6.The distance of each streak pixel from the centre is calculated as shown in Figure 10, and each streak is separated by determining the separation line on the graph. This enables the robust detection of the laser streaks. Figure 5. Laser projector with a corn shaped mirror Figure 8. Image captured by the robot Figure 6. Measurement section of the pipe Figure 9. Centre detection of the laser streaks 160 140 Figure 7. Measurement section of the pipe Figure 8 shows the original image of the streaks captured by the CCD camera on the robot. Two streaks are captured simultaneously in a single image. Each streak can be separated easily by the following method. The streaks are recorded as the shape of an ellipse, the centre of which is quickly estimated as follows. Distance[Pixel] 120 100 80 60 40 20 0-180 -120-60 0 60 120 180 Figure 10. Separation of the streak Phase[ ] Development point Separation point Approximation curve www.intechopen.com Kikuhito Kawasue and Takayuki Komatsu: Shape Measurement of a Sewer Pipe 3

3. Calibration of the system Calibration [11 13] constitutes an important task in realizing the quantitative measurement. In order to calculate the quantitative data from an image, the following calibration procedure is performed. Since the size of the pipe usually has a range from 200 mm to 600 mm, a wide lens is required in order to satisfy the range requirement for the pipe. The distortion that generally accompanies wide lenses should be corrected through pre processing. The relation between the original camera coordinates and the undistorted coordinates is defined [14 19] as follows: 2 2 u' k1 (1 k2 ( u v )) u (1) 2 2 v' k1(1 k2 ( u v )) v where (u,v) are the original camera coordinates and (u,v ) are the undistorted camera coordinates. The origin of these coordinates is at the centre of the image. The image can be corrected as shown in Figure 11 by finding adequate parameters (k1,k2). A standard pipe with a known size is used for the calibration. The laser streak recorded by the CCD camera is used for calibration. More than four pairs of camera coordinates and global coordinates of the laser position are inputted into the computer to establish the calibration. converting from the camera coordinates to the global coordinates can be written as: x k y k 31 31 u k v k 11 21 k k 32 u k v k 1 12 22 k k 13 23 u v All of the points on the circular laser streak are converted into global coordinates and the cross sectional shape of the pipe is estimated. The overall shape of the pipe is reconstructed by integrating the cross section of the pipe along the axis of the pipe while considering the movement of the robot. Since the robot is driven by a pulse motor, the distance driven can be estimated based on the number of pulses sent to the pulse motor. 4. Detection of the tilt of the robot against the axis of the sewer pipe Figure 12a shows the streak detected by scanner B when the system rotates around the x axis. In this figure, l is the length from the bottom of the measured structure to the peak (Point P). The tilt of the system with respect to the x axis is detected by measuring the change of l, which is sensitive to the tilt around the x axis. The curve of Figure 12b shows the streak detected by scanner B when the system rotates around the y axis. When the system rotates around the y axis, the streak detected by laser B also rotates according to the system tilt itself. Here, θb is the angle between OP and the axis perpendicular to the bottom of the structure. The tilt of the system with respect to the y axis can be detected by the change in θb. The tilt with respect to the z axis can be detected by the tilt of the bottom line of the detected section. 32 (3) Measurement section a Original image Figure 11. Correction on the camera distortion b After correction P P The relation between the camera coordinates (u,v) and the global coordinates (x,y) can be defined as follows: l θ b u k11 k12 k13 x s v k21 k22 k23 y (2) 1 k31 k32 1 1 O O where k11 through k32 are parameters that consider the rotation, scale, and displacement between the camera coordinates and the global coordinates. These parameters are determined by inputting corresponding pairs of camera coordinates and global coordinates. The inputs are performed using a mouse to designate the camera coordinates and a keyboard to designate the corresponding global coordinates. Here, k11 through k32 are determined by inputting more than four pairs of corresponding coordinates into Eq. [2]. The function for a b Figure 12. Correction on the camera distortion When the robot is tilted with respect to the pipe, as shown in Figure 13, the robot measures the area of [I] but the robot misinterprets the area to be [II] without considering the tilt with respect to the pipe. Therefore, the system corrects the data obtained by considering the tilt. The formula for the correction can be written as follows: 4 Int J Adv Robotic Sy, 2013, Vol. 10, 52:2013 www.intechopen.com

Z cos Y sin sin Z cos Y (4) mm/s. The shape of the pipe was measured by considering the tilt of the pipe. The reconstructed shape of the pipe is shown in Figure 17. The vertical displacement was calculated using the data obtained by the acceleration sensor. Figure 18 shows the vertical displacement with respect to the movement of the robot. The blue line shows the results of the experiment and the red line shows the ideal case. The error was approximately 0.1 mm in this experiment. Figure 13. Measurement area of the robot tilt In order to evaluate the performance of the system, a robot was placed on a turntable and was rotated during measurement, as shown in Figure 14. The laser is projected onto the surface of the pipe and the CCD camera detects the laser streaks that appear on the surface of the pipe. The measurement was performed from 0 to 10 at intervals of 2 and the measurement accuracy was investigated. The error was less than 0.6 mm for the rotation around each axis. Figure 15. Bent pipe caused by a subsidence of the ground. Sulphuric acid accumulates and it shortens the life of the sewage pipe Figure 14. Tilt detection experiment 5. Detection of the tilt of the pipe with respect to the gravitational direction In the previous section, the tilt correction of the robot with respect to the pipe is discussed. However, the tilt of the pipe with respect to the gravitational direction should also be considered. The subsidence of the ground causes the sewage pipes to bend, which causes sulphuric acid to accumulate in some cases, shortening the life of the sewage pipes, as shown in Figure 15. Figure 16. Photograph of the tilt detection experiment with respect to the gravitational direction Therefore, a function to detect the tilt of the pipe with respect to the gravitational direction is used to measure the bend of the pipe. An acceleration sensor (ART Promotions:WAA 006) is used to detect the tilt with respect to the gravitational direction. The experimental setup is shown in Figure 16. The pipe was tilted by 3, and the velocity of the robot movement was set at 10 Figure 17. Experimental results of tilt detection of the pipe www.intechopen.com Kikuhito Kawasue and Takayuki Komatsu: Shape Measurement of a Sewer Pipe 5

7. Experimental results of the shape measurement Figure 18. Experimental results of tilt detection with respect to the gravitational direction. The blue line shows the results of the experiment and the red line shows the ideal case. When the measurement system is tilted with respect to the structure axis, the measurement section is also tilted with respect to the tubular structure. Therefore, the detected data must be rotated considering the tilt (rotation) of the measurement system with respect to the structure. Figure 20 gives an example of the point cloud data of the sewer pipe. The data was obtained while the system was intentionally swung forward to the right and the left. The left hand image does not take into consideration the tilt of the system. Although the pipe was originally straight, the pipe constructed on the computer is curved because the tilt of the system is not taken into consideration. In the right hand image of Figure 20, the data is corrected by considering the tilt of the system. 6. Measurement Flow The measurement flow is summarized as shown in Figure 19. The robot is driven by a pulse motor and runs along the pipe. The degree of movement of the robot can be detected by counting the number of pulses sent to the pulse motor. The CCD camera captures the laser streaks that appear on the inner surface of the sewer pipe. The detected streak in camera coordinates is converted to global coordinates. The tilt of the robot with respect to the pipe is calculated by the deformation of the streak, as mentioned earlier. The detected cross section of the pipe is accumulated in order to reconstruct the sewer pipe on the computer. The tilt of the pipe with respect to the gravitational direction is also detected using an acceleration sensor. This procedure is repeated until the robot stops. Figure 20. Reconstructed sewer pipe displayed on the computer Figure 21. Inside of the measured sewer The tilt of the pipe with respect to the gravitational direction is also detected using an acceleration sensor, as stated in Section 5. The shape data with the tilt information is stored in the computer. Figure 19. Measurement flow Another experimental result is shown in Figure 21. Clay letters A and B are attached to the pipe. The cross sections of the pipe are measured and summarized along the axis in order to reconstruct the shape of the sewer pipe on the computer. The reconstructed pipe and the letters using the measured data are shown in Figure 22. 6 Int J Adv Robotic Sy, 2013, Vol. 10, 52:2013 www.intechopen.com

The specifications of the sewer pipe are estimated by computer using the obtained point cloud data. The average error of the measurement is less than 0.4 mm. Figure 22. Experimental pipe using the measured data 8. Conclusion A sewer pipe measurement robot that uses machine vision was introduced in the present paper. Quantitative measurement was realized using two lasers and an image processing technique. Two lasers enabled the detection of the tilt of the robot with respect to the axis of the pipe. The shape of the inner surface of the pipe is reconstructed by accumulating the measured sections along the axis of the sewer pipe. The average measurement error was approximately 0.5 mm, which is sufficient for the measurement of the sewer pipe. The condition of the sewer pipe can be evaluated quantitatively using the proposed system. 9. Acknowledgments The present study was supported by a Grant in Aid for Scientific Research (18656153). 10. References [3] Kolesnik M., Barato, G.: Online distance recovery for a sewer inspection robot. (2000) Vol I: 504 507 [4] Iyer, S., Sinha, S.: A robust approach for automatic detection and segmentation of cracks in underground pipeline images. (2005) Vol: 921 933 [5] Fieguth, P., Sinha, S.: Automated analysis and detection of cracks in underground scanned pipes. (1999) Vol IV: 395 399 [6] Kawasue, K. : Pipe measurement system. Japanese Patent Disclosure. (2006) [7] Penney, C., Corby, N.: Coded aperture light detector for three dimensional camera. (1989) [8] Wang, Y.: Characterizing three dimensional surface structure from visual images. (1991) Vol 13: 52 60 [9] Kak, A., Boyer, K., Safranek, R., Yang, H.: Knowledgebased stereo and structured light for 3 d robot vision. (1986) 185 218 [10] Boyer, K., Kak, A.: Color encoded structured light for rapid active ranging. (1987) Vol 9: 14 28 [11] Davies, E.R.: Machine Vision: Theory, Algorithms, Practicalities, Academic Press. 1990 [12] Torras, C. Computer Vision: Theory and Industrial Applications, SpringerVerlag. 1992 [13] Fargeras, O.: Three dimensional Computer Vision, A geometric viewpoint. 1996 [14] Tsuji, S., Matumoto, F.: Detections of ellipses by a modified Hough transform, IEEE Trans. Comput. 27, pp. 777 781 [15] Tsai, R.A.: Versatile camera calibration technique for high accuracy 3d machinevision metrology using offthe shelf TV cameras and lenses. (1987) Vol 3: 323 344 [16] Tsai, R.: Ancient and accurate camera calibration technique for 3 d machine vision. (1986) 364 374 [17] Gennery, D.: Generalized camera calibration including fish eye lenses. (2006) Vol 68: 239 266 [18] Gennery, D.: Camera calibration including lens distortion. JPL internal report D 8580,1991 [19] Goshtasby, A.: Correction of image deformation from lens distortion using Bezier patches. (1989) Vol 47: 385 394 [1] Comittee, S.P.R.: Report of sewerage policy to realize circular path. Ministry of land, infrastructure and transport (2006) [2] Sinha, S., Fieguth, P.: Morphological segmentation and classification of underground pipe images. (2006) Vol 17: 21 31 www.intechopen.com Kikuhito Kawasue and Takayuki Komatsu: Shape Measurement of a Sewer Pipe 7