Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Computer Vision and Applications.

Slides:



Advertisements
Similar presentations
Image formation. Image Formation Vision infers world properties form images. How do images depend on these properties? Two key elements –Geometry –Radiometry.
Advertisements

Computer Vision, Robert Pless
Presented by Xinyu Chang
5/13/2015CAM Talk G.Kamberova Computer Vision Introduction Gerda Kamberova Department of Computer Science Hofstra University.
Lecture 2 Imaging Geometry and OpenCV
Oleh Tretiak © Computer Vision Lecture 1: Introduction.
CPSC 425: Computer Vision (Jan-April 2007) David Lowe Prerequisites: 4 th year ability in CPSC Math 200 (Calculus III) Math 221 (Matrix Algebra: linear.
3D Computer Vision and Video Computing Review Midterm Review CSC I6716 Spring 2011 Prof. Zhigang Zhu
Advanced Computer Vision Introduction Goal and objectives To introduce the fundamental problems of computer vision. To introduce the main concepts and.
Cameras (Reading: Chapter 1) Goal: understand how images are formed Camera obscura dates from 15 th century Basic abstraction is the pinhole camera Perspective.
Midterm Review CS485/685 Computer Vision Prof. Bebis.
Geometry of Images Pinhole camera, projection A taste of projective geometry Two view geometry:  Homography  Epipolar geometry, the essential matrix.
Announcements. Projection Today’s Readings Nalwa 2.1.
Overview of Computer Vision CS491E/791E. What is Computer Vision? Deals with the development of the theoretical and algorithmic basis by which useful.
CS485/685 Computer Vision Prof. George Bebis
Computer Vision - A Modern Approach
Computing With Images: Outlook and applications
Announcements Mailing list Project 1 test the turnin procedure *this week* (make sure it works) vote on best artifacts in next week’s class Project 2 groups.
Computer Vision : CISC4/689
2007Theo Schouten1 Introduction. 2007Theo Schouten2 Human Eye Cones, Rods Reaction time: 0.1 sec (enough for transferring 100 nerve.
Highlights Lecture on the image part (10) Automatic Perception 16
Detecting Patterns So far Specific patterns (eyes) Generally useful patterns (edges) Also (new) “Interesting” distinctive patterns ( No specific pattern:
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
1 Introduction What IS computer vision? Where do images come from? the analysis of digital images by a computer.
MSU CSE 803 Fall 2008 Stockman1 CV: 3D sensing and calibration Coordinate system changes; perspective transformation; Stereo and structured light.
The Camera : Computational Photography Alexei Efros, CMU, Fall 2008.
1 Digital Images WorldCameraDigitizer Digital Image (i) What determines where the image of a 3D point appears on the 2D image? (ii) What determines how.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
A Brief Overview of Computer Vision Jinxiang Chai.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Basics of Rendering Pipeline Based Rendering –Objects in the scene are rendered in a sequence of steps that form the Rendering Pipeline. Ray-Tracing –A.
Camera Geometry and Calibration Thanks to Martial Hebert.
Image Formation Fundamentals Basic Concepts (Continued…)
Perception Introduction Pattern Recognition Image Formation
 In electrical engineering and computer science image processing is any form of signal processing for which the input is an image, such as a photograph.
CSCE 5013 Computer Vision Fall 2011 Prof. John Gauch
Metrology 1.Perspective distortion. 2.Depth is lost.
Computer Vision Why study Computer Vision? Images and movies are everywhere Fast-growing collection of useful applications –building representations.
Computer Science Department Pacific University Artificial Intelligence -- Computer Vision.
1 Digital Image Processing Dr. Saad M. Saad Darwish Associate Prof. of computer science.
Cmput412 3D vision and sensing 3D modeling from images can be complex 90 horizon 3D measurements from images can be wrong.
LCC, MIERSI SM 14/15 – T4 Special Effects Miguel Tavares Coimbra.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Jack Pinches INFO410 & INFO350 S INFORMATION SCIENCE Computer Vision I.
1 Machine Vision. 2 VISION the most powerful sense.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Camera Model Calibration
Cameras, lenses, and sensors 6.801/6.866 Profs. Bill Freeman and Trevor Darrell Sept. 10, 2002 Reading: Chapter 1, Forsyth & Ponce Optional: Section 2.1,
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Midterm Review. Tuesday, November 3 7:15 – 9:15 p.m. in room 113 Psychology Closed book One 8.5” x 11” sheet of notes on both sides allowed Bring a calculator.
  Computer vision is a field that includes methods for acquiring,prcessing, analyzing, and understanding images and, in general, high-dimensional data.
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
Computer Vision Set: OpenCV programming Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro More programming in OpenCV.
Digital Video Library - Jacky Ma.
- photometric aspects of image formation gray level images
The Camera : Computational Photography
Instructor: Mircea Nicolescu
Applications of AI Image Processing.
CSCE 441 Computer Graphics 3-D Viewing
Modeling 101 For the moment assume that all geometry consists of points, lines and faces Line: A segment between two endpoints Face: A planar area bounded.
Introduction Computer vision is the analysis of digital images
Introduction Computer vision is the analysis of digital images
Chapter 1: Image processing and computer vision Introduction
The Camera : Computational Photography
Object Recognition Today we will move on to… April 12, 2018
Camera Calibration Coordinate change Translation P’ = P – O
Introduction Computer vision is the analysis of digital images
Presentation transcript:

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Computer Vision and Applications

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Computer Vision Computer vision is the study of extracting content from digital image data (my definition) the analysis of digital images by a computer (Shapiro’s definition) the science and technology of machines that see (Wikipedia definition) One textbook says: “The goal of computer vision is to make useful decisions about real physical objects and scenes based on sensed images.”

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Applications Image databases

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro More applications Robot vision Mars exploration rover Stanley – winner of 2005 DARPA Grand Challenge

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro More applications Face detection and recognition

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro More Applications Surveillance Modeling for graphics and animation

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro More Applications liver kidney Medical imaging Document analysis

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro More Applications Photo tourism

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro More Applications Games

Industrial inspection Biometrics (faces, fingerprints) Motion analysis (including gestures and actions) Road / traffic analysis Real-time tracking Augmented reality Human-computer interaction Visual navigation Image / video indexing and retrieval Motion capture and entertainment … More Applications

Related fields Machine vision –Sometimes refers to industrial applications Image processing –Transforming one image into another Pattern recognition –Concerned with classification or description of observations –Data could be anything (not necessarily images) Photogrammetry –Science of obtaining accurate measurements and maps from photographs (images) Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Why Study Computer Vision? Images and movies are everywhere Fast-growing collection of useful applications Interesting scientific mysteries –how does object recognition work? Better understanding of human vision

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Complexity Computer vision is far from a solved problem Successful systems exist –Usually for controlled situations –Often dependent on parameter settings There are many visual tasks that people perform better than computers

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Imaging Geometry

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Pinhole Cameras Abstract camera model - box with a small hole in it Pinhole cameras work in practice

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Distant Objects Are Smaller

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Parallel Lines Meet Common to draw film plane in front of the focal point. Moving the film plane merely scales the image.

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Cartesian coordinates: –We have, by similar triangles, that: –(X, Y, Z) ~ (f X/Z, f Y/Z, f) –f is called the focal length. The equation of projection [X, Y, Z] [fX/Z, fY/Z]

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro The reason for lenses We won’t worry much about lenses in this class.

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Lens distortion “Barrel distortion” of rectangular grid is common for inexpensive lenses Precision lenses can be expensive Zoom lenses often show severe distortion Fish-eye lenses also have severe distortion

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Image capture Images are not continuous Typically captured with a CCD camera (charge-coupled-device) The amount of light striking each location on a grid is integrated over some time period Rows are read out one at a time For color images, successive pixels usually correspond to different colors High quality color cameras use a beam splitter and 3 separate CCD chips

Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro Resolution Resolution often (but not always) refers to the number of pixels in the image. Lower resolution has fewer pixels. Interestingly, faces of people you know can usually be recognized at 64 x 64 (or less) pixels. Squint and look at the lowest resolution image.

Programming in OpenCV In OpenCV, images are represented as matrices (as in linear algebra). Mat image = imread("photo.jpg");// Most generic declaration The image could have a number of underlying data types for each pixel: uchar – unsigned byte (greyscale image) Vec3b – vector of 3 bytes (color image) Point2f – point in two dimensions, float many others… Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro

Creating images Images can be created using a number of methods: using namespace cv;// all my code assumes this Mat image;// creates 0x0 image Mat image = …// uses copy constructor Mat image(rows, cols, type);// type is CV_8U, for example Mat image(rows, cols, type, scalarValue); –Example: Mat allBlue(360, 480, CV_8UC3, Scalar(255, 0, 0)); Mat_ colorImage = imread(“color.jpg”); // Can be convenient, but now limited to Vec3b images (matrices) // Also, must declare as a similar parameter type when passed Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro

Copying images Be careful to remember that most image copy and pass by value methods do NOT perform a deep copy. image2 = image1; // shallow copy void someMethod(Mat imageParam);// shallow copy If you want a deep copy, then use clone (or copyTo): image2 = image1.clone(); // deep copy image1.copyTo(image2);// deep copy Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro

Memory management Memory management is handled by the Mat class. –This is different from the IplImage class in OpenCV 1 –This works correctly even if multiple images share the same data –A reference count is kept for each image –The data is deallocated only when the reference count goes to zero –However, this can allow privacy leaks unless you are careful Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro

Backwards compatibility OpenCV 2 is backwards compatible with OpenCV 1. IplImage *iplIm = cvLoadImage("photo.jpg"); // Do work with image here cvReleaseImage(&iplIm); // necessary to prevent memory leak Can convert to Mat simply: Mat converted(iplIm);// do not release image until finished Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro

Image manipulation OpenCV provides many methods to manipulate entire images: Filtering: blur, smooth, median, gradient, laplacian Transformations: resize, affine, perspective, color space, threshold, flood fill Segmentation: grabCut, watershed Feature detection: edges, corners, lines, circles, template matching, SIFT Computer Vision Set: Applications Slides by D.A. Forsyth, C.F. Olson, J. Ponce, L.G. Shapiro