LUMS Mine Detector Project

Similar documents
Rectification and Disparity

Announcements. Stereo

Camera Calibration. Schedule. Jesus J Caban. Note: You have until next Monday to let me know. ! Today:! Camera calibration

CS201 Computer Vision Camera Geometry

Machine vision. Summary # 11: Stereo vision and epipolar geometry. u l = λx. v l = λy

Announcements. Stereo

Lecture 14: Basic Multi-View Geometry

calibrated coordinates Linear transformation pixel coordinates

Image Transformations & Camera Calibration. Mašinska vizija, 2018.

MERGING POINT CLOUDS FROM MULTIPLE KINECTS. Nishant Rai 13th July, 2016 CARIS Lab University of British Columbia

Depth from two cameras: stereopsis

CHAPTER 3 DISPARITY AND DEPTH MAP COMPUTATION

Stereo Vision. MAN-522 Computer Vision

Depth from two cameras: stereopsis

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry

Stereo II CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz

Unit 3 Multiple View Geometry

IEEE Consumer Electronics Society Calibrating a VR Camera. Adam Rowell CTO, Lucid VR

Omni Stereo Vision of Cooperative Mobile Robots

Survey on Visual Servoing for Manipulation

Outline. ETN-FPI Training School on Plenoptic Sensing

Computer Vision I. Dense Stereo Correspondences. Anita Sellent 1/15/16

Geometry of Multiple views

Lecture 9: Epipolar Geometry

3D Vision Real Objects, Real Cameras. Chapter 11 (parts of), 12 (parts of) Computerized Image Analysis MN2 Anders Brun,

BIL Computer Vision Apr 16, 2014

Computer Vision I. Announcement. Stereo Vision Outline. Stereo II. CSE252A Lecture 15

3D Geometry and Camera Calibration

Epipolar Geometry and Stereo Vision

Epipolar Geometry and Stereo Vision

Camera Model and Calibration

Epipolar Geometry and Stereo Vision

Structure from motion

55:148 Digital Image Processing Chapter 11 3D Vision, Geometry

Introduction to 3D Machine Vision

Computer Vision Lecture 17

Robot Vision Control of robot motion from video. M. Jagersand

Computer Vision Lecture 17

3D Sensing and Reconstruction Readings: Ch 12: , Ch 13: ,

Rectification and Distortion Correction

3D Computer Vision. Structure from Motion. Prof. Didier Stricker

Lecture'9'&'10:'' Stereo'Vision'

Multiple View Geometry

Ceilbot vision and mapping system

Perception II: Pinhole camera and Stereo Vision

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 263

Image Formation. Antonino Furnari. Image Processing Lab Dipartimento di Matematica e Informatica Università degli Studi di Catania

Stereo. 11/02/2012 CS129, Brown James Hays. Slides by Kristen Grauman

Stereo and Epipolar geometry

Pin Hole Cameras & Warp Functions

There are many cues in monocular vision which suggests that vision in stereo starts very early from two similar 2D images. Lets see a few...

Index. 3D reconstruction, point algorithm, point algorithm, point algorithm, point algorithm, 253

Intelligent Robotics

Computer Vision. Coordinates. Prof. Flávio Cardeal DECOM / CEFET- MG.

Reminder: Lecture 20: The Eight-Point Algorithm. Essential/Fundamental Matrix. E/F Matrix Summary. Computing F. Computing F from Point Matches

Conversion of 2D Image into 3D and Face Recognition Based Attendance System

Cameras and Stereo CSE 455. Linda Shapiro

Epipolar Geometry CSE P576. Dr. Matthew Brown

3D Sensing. 3D Shape from X. Perspective Geometry. Camera Model. Camera Calibration. General Stereo Triangulation.

Flexible Calibration of a Portable Structured Light System through Surface Plane

Stereo vision. Many slides adapted from Steve Seitz

Projector Calibration for Pattern Projection Systems

Correspondence and Stereopsis. Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]

Depth Measurement and 3-D Reconstruction of Multilayered Surfaces by Binocular Stereo Vision with Parallel Axis Symmetry Using Fuzzy

An investigation into stereo algorithms: An emphasis on local-matching. Thulani Ndhlovu

An idea which can be used once is a trick. If it can be used more than once it becomes a method

Multiple View Geometry

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

An Overview of Matchmoving using Structure from Motion Methods

Two-view geometry Computer Vision Spring 2018, Lecture 10

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10

5LSH0 Advanced Topics Video & Analysis

Recap: Features and filters. Recap: Grouping & fitting. Now: Multiple views 10/29/2008. Epipolar geometry & stereo vision. Why multiple views?

Project 4 Results. Representation. Data. Learning. Zachary, Hung-I, Paul, Emanuel. SIFT and HoG are popular and successful.

Epipolar geometry. x x

CS5670: Computer Vision

INFO - H Pattern recognition and image analysis. Vision

Scalable geometric calibration for multi-view camera arrays

Computer Vision cmput 428/615

Dense 3D Reconstruction. Christiano Gava

Camera Model and Calibration. Lecture-12

Stereo CSE 576. Ali Farhadi. Several slides from Larry Zitnick and Steve Seitz

Vision Review: Image Formation. Course web page:

7. The Geometry of Multi Views. Computer Engineering, i Sejong University. Dongil Han

INTELLIGENT INDOOR MOBILE ROBOT NAVIGATION USING STEREO VISION

Fundamentals of Stereo Vision Michael Bleyer LVA Stereo Vision

3D Fusion of Infrared Images with Dense RGB Reconstruction from Multiple Views - with Application to Fire-fighting Robots

Vision-based Mobile Robot Localization and Mapping using Scale-Invariant Features

arxiv: v1 [cs.cv] 28 Sep 2018

Today. Stereo (two view) reconstruction. Multiview geometry. Today. Multiview geometry. Computational Photography

Epipolar Geometry and Stereo Vision

Mobile Robots Summery. Autonomous Mobile Robots

Pin Hole Cameras & Warp Functions

MAPI Computer Vision. Multiple View Geometry

Image processing techniques for driver assistance. Razvan Itu June 2014, Technical University Cluj-Napoca

Task selection for control of active vision systems

Complex Sensors: Cameras, Visual Sensing. The Robotics Primer (Ch. 9) ECE 497: Introduction to Mobile Robotics -Visual Sensors

Structure from motion

MOTION STEREO DOUBLE MATCHING RESTRICTION IN 3D MOVEMENT ANALYSIS

CSCI 5980: Assignment #3 Homography

Transcription:

LUMS Mine Detector Project

Using visual information to control a robot (Hutchinson et al. 1996). Vision may or may not be used in the feedback loop. Visual (image based) features such as points, lines and regions can be used to, for example, enable the alignment of a manipulator / gripping mechanism with an object Robot Movement Vision System

Current Image Reference image Can I move the manipulator so that the current image matches the reference image? Measurements Corners Lines Regions Corner features

Open-loop robot control The extraction of the image information and control of the robot are two separate tasks Vision System Control Sequence Once the information is extracted, a control sequence is generated and the robot moves blindly, assuming that there is no change in the environment. Vision information is extracted only once.

Visual Servoing (Hill & Park 1979) Dynamic look and move systems Control of the robot is done in two stages. The vision system provides the input to the robot controller which in turn uses joint feedback to internally stabilize the robot. Visual information is extracted continuously. Vision System Robot Controller Joint Feedback

Visual Servoing (Hill & Park 1979) Direct visual servo systems Here, visual controller directly computes the input to the robot joints and robot controller is eliminated altogether. Visual Controller Joint Feedback

Image based Visual Servo systems 2D image measurements are used directly Reduce the error between a set of current and desired image features Position based visual servo systems 3D information about the scene is estimated with a known camera model. The control task is defined in 3D world coordinates Hybrid visual servo systems A combination of previous 2 approaches Also called 2 ½ D visual servoing

Number of Cameras 1 2 >2 Eye-In- Hand Stand- Alone Eye-In- Hand Stand- Alone Redundant-Camera- System

Maintain a fixed distance and orientation w.r.t the ground. Arm visual servoing Visual Feedback Arm joint control Two main tasks Visual perception for ground profiling Arm joint control for obtaining the desired wrist configuration

Binocular Stand-Alone Position based Dynamic look-and -move Vision System Joint 1 Joint 2 Sensor Payload

Stereo Vision Custom built rig 2 logitech c500 webcams Total cost < $100 OpenCV library

Motivation Used for 3D reconstruction of a scene captured simultaneously by 2 cameras Depth information is not available from a single image.

Motivation By capturing images of a scene from 2 viewpoints we can calculate the depth through triangulation The depth of a point is inversely proportional to its disparity

Camera calibration Estimate the camera matrix containing the following parameters The focal lengths of both cameras Principle point offsets Radial and tangential distortion coefficients Done by capturing images of a known 3D object, and solving the equation of the pinhole camera model for the required unknowns The calibration object

The Calibration Process

Stereo calibration After the calibration of the individual cameras, the stereo parameters must be estimated. These relate to the relative placement of both cameras in space. The parameters include The translation vector The rotation matrix The essential matrix The fundamental matrix Same procedure as single camera calibration OpenCV provides routines both for simple and stereo calibration

Image rectification for faster correspondences Use the epipolar constraint to reduce the search space We can even transform the images so that the epipolar lines are horizontal and the images are row aligned. Epipolar Geometry

Image rectification for faster correspondences OpenCV provides 2 methods for image rectification Uncalibrated Rectification Stereo pair may not be calibrated Calibration parameters estimated along with rest of the unknowns Calibrated Rectification Stereo pair calibrated beforehand More accurate than uncalibrated rectification As stereo calibration parameters are available beforehand, we have used calibrated rectification. Also known as Bouget s method.

Some rectification results from local outdoor experiments

Some rectification results from local outdoor experiments

Some rectification results from local outdoor experiments

Finding correspondences and generating the disparity maps The disparity can be calculated easily once the images are row aligned. It is the difference between the value of x L and x R Disparity is inversely proportional to depth d = x L - x R

Finding correspondences and generating the disparity maps OpenCV provides 3 algorithms for correspondences Block matching Semi-Global block matching Graph-Cut Algorithm Block matching Matching through correlation The correlation function is a simple Sum of Squared Differences (SSD) window. Does not find a lot of correspondences but gives results in real-time.

Disparity Maps

Disparity Maps

Disparity Maps

Generating the 3D point cloud The disparity map can be used to obtain the point cloud with the help of the extrinsic and intrinsic camera parameters derived from the calibration process

Generating the 3D point cloud

Generating the 3D point cloud

Plane fitting through PCA The point cloud can now be used to calculate the normal vector of the visible terrain. This vector will eventually be used to adjust the angle of the arm. The normal is simply the singular vector with the smallest singular value.

2 DoF P-R configuration Sensory feedback National Instruments hardware Vision System Joint 1 Joint 2 Sensor Payload

Lab experimental setup

Sensors and Circuitry Motor drive (C-Series Module) Interface Power Distribution Rotary Encoder Linear Encoder SbRIO (NI)

National Instruments Single board RIO (Sb-RIO). Real time processor Reconfigurable FPGA Analog and Digital I/O. C series connectivity Stand alone Communication Programmable with LabVIEW

Programming environment LabVIEW 2010 Graphical Real time module Parallelism Interfacing OpenCV code with LabVIEW SbRIO with PC Program Structure

Main control loop Simple on-off control. Two tasks Visual ground profiling through stereo Joint motor control (critical).

The speed breaker experiment

Chaumette and Hutchinson (2006) Chaumette and Hutchinson (2007) Kragic and Christensen (?) Learning OpenCv by Bradski and Kaehler ni.com