Computer and Machine Vision

Similar documents
Computer and Machine Vision

Compression and Image Formats

Imaging Process (review)

CS/ECE 545 (Digital Image Processing) Midterm Review

Graphics and Image Processing Basics

Images and Colour COSC342. Lecture 2 2 March 2015

Digital Media. Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr.

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

Raster (Bitmap) Graphic File Formats & Standards

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

Computer Graphics. Rendering. Rendering 3D. Images & Color. Scena 3D rendering image. Human Visual System: the retina. Human Visual System

Image Processing : Introduction

Image Processing. Adam Finkelstein Princeton University COS 426, Spring 2019

Introduction to Multimedia Computing

LECTURE 07 COLORS IN IMAGES & VIDEO

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Fundamentals of Multimedia

CS101 Lecture 12: Digital Images. What You ll Learn Today

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

IMAGES AND COLOR. N. C. State University. CSC557 Multimedia Computing and Networking. Fall Lecture # 10

Chapter 3 Part 2 Color image processing

Color. Used heavily in human vision. Color is a pixel property, making some recognition problems easy

Colors in Images & Video

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett

Chapter 3 Graphics and Image Data Representations

VU Rendering SS Unit 8: Tone Reproduction

Image Representations, Colors, & Morphing. Stephen J. Guy Comp 575

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

Camera Image Processing Pipeline: Part II

Color Image Processing

CMPSC 390 Visual Computing Spring 2014 Bob Roos Review Notes Introduction and PixelMath

Introduction to Color Theory

Image Processing COS 426

Color: Readings: Ch 6: color spaces color histograms color segmentation

Prof. Feng Liu. Winter /09/2017

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University

Reading instructions: Chapter 6

1. (a) Explain the process of Image acquisition. (b) Discuss different elements used in digital image processing system. [8+8]

Chapter 3 Graphics and Image Data Representations

15110 Principles of Computing, Carnegie Mellon University

CS101 Lecture 19: Digital Images. John Magee 18 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

Computers and Imaging

Information Hiding: Steganography & Steganalysis

Image Processing with OpenCV. PPM2010 seminar Fabrizio Dini Giuseppe Lisanti

Digital Image Processing Color Models &Processing

Camera Image Processing Pipeline: Part II

Computer Vision. Howie Choset Introduction to Robotics

Ch. 3: Image Compression Multimedia Systems

Lecture 8. Color Image Processing

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Wireless Communication

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing.

B.Digital graphics. Color Models. Image Data. RGB (the additive color model) CYMK (the subtractive color model)

Image Perception & 2D Images

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

2. Color spaces Introduction The RGB color space

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

Figure 1: Energy Distributions for light

CSE 564: Visualization. Image Operations. Motivation. Provide the user (scientist, t doctor, ) with some means to: Global operations:

Shujun LI ( 李树钧 ): INF Multimedia Coding. Inputs and Outputs

UNIT 7C Data Representation: Images and Sound

CS 376b Computer Vision

Course Objectives & Structure

Templates and Image Pyramids

University of British Columbia CPSC 414 Computer Graphics

Anna University, Chennai B.E./B.TECH DEGREE EXAMINATION, MAY/JUNE 2013 Seventh Semester

15110 Principles of Computing, Carnegie Mellon University

CGT 511. Image. Image. Digital Image. 2D intensity light function z=f(x,y) defined over a square 0 x,y 1. the value of z can be:

Vision Review: Image Processing. Course web page:

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University

Digital Asset Management 2. Introduction to Digital Media Format

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics

Color Image Processing

Anti aliasing and Graphics Formats

Introduction to Photography

EE482: Digital Signal Processing Applications

Continued. Introduction to Computer Vision CSE 252a Lecture 11

Lecture 1: image display and representation

Indexed Color. A browser may support only a certain number of specific colors, creating a palette from which to choose

The next table shows the suitability of each format to particular applications.

Digital Image Processing Lec 02 - Image Formation - Color Space

To discuss. Color Science Color Models in image. Computer Graphics 2

Image Processing. Michael Kazhdan ( /657) HB Ch FvDFH Ch. 13.1

Lecture Topic: Image, Imaging, Image Capturing

LECTURE 02 IMAGE AND GRAPHICS

The Need for Data Compression. Data Compression (for Images) -Compressing Graphical Data. Lossy vs Lossless compression

Image Processing for feature extraction

Module 6 STILL IMAGE COMPRESSION STANDARDS

LECTURE 03 BITMAP IMAGE FORMATS

2. Color spaces Introduction The RGB color space

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Raster Image File Formats

Introduction to More Advanced Steganography. John Ortiz. Crucial Security Inc. San Antonio

Transcription:

Computer and Machine Vision Lecture Week 7 Part-2 (Exam #1 Review) February 26, 2014 Sam Siewert

Outline of Week 7 Basic Convolution Transform Speed-Up Concepts for Computer Vision Hough Linear Transform Review for Exam #1 Exam #1 Next Week Friday/Saturday Friday In Person 9am to 12noon Or Via E-mail Between 9am Friday and 9pm Saturday Sam Siewert 2

Exam #1 Review CV and Learning OpenCV Chapters 1 to 4 and from Lecture Sam Siewert 3

Exam Format 1 Question from CV Ch. 1 2+ CV Ch. 1-2 2+ CV Ch. 3 & 4 2+ from Notes 8 Questions Total Some True/False (1 or 2) Some Multiple Choice (1 or 2) Some Short Answer, Pseudo-Code (C/C++ or OpenCV), Diagrams or English Description See Blackboard for Remote Instructions Open Book and Notes Provide Citations (Detailed) if You Re-Use Code! Sam Siewert 4

Notes in Class Analog vs. Digital Video Analog vs Digital Encoding for Transmission NTSC Basics Impact of Digital Encoding on Computer Vision Digital is Routed (Diversely), Buffered, Compressed Multiplexed (Shares Transmission Carrier) Higher Latency, but More Flexible (Can be Processed) Transported by Large (IP 1500 byte MTU) or Small (188 byte MPEG) packets? Out-of-order arrival? Bandwidth Delay Product Bits in Network (e.g. Gbits/sec x seconds of transport latency) QoS Does Packet Switched Approach Ideal of Constant Bit Rate? Analog is Continuous Transmission Known Deterministic Latency Can t be Processed Easily Typically Lower Resolution and Not as Bandwidth Efficient Sam Siewert 5

MPEG Order of Operations and Lossy Steps Sam Siewert 6

Notes in Class, Labs - Encoding Pixel (Point) Encoding RGB-α (Alpha is the opacity, a multiplier for each band for foreground pixels, 1-Alpha for background pixels) YCrCb Know Sub-Sampling Formats Frame Encoding I-frame (compression limited to data contained in frame) Uncompressed formats PPM, PGM, PBM (TIFF) Compressed formats JPG, PNG, MPEG I-frame Common Resolutions and Aspect Ratios (2K, 1080p, 720p, etc/) Group of Pictures I-frame starts, B (bidirectional) and P (predicted) frames reference I- frame (I-frame Only Better for CV) Ffmpeg basics Lossy vs. lossless steps (e.g. quantization and DCT for macro-block) Ok for Machine Vision? What Do We Lose? Sam Siewert 7

Color Models and Tri-Stimulus Graphics and MV use Additive Models RGB cube HSV cylinder Human Physiology Limits Perception Tri-stimulus XYZ based on Human Eye Sensitivity to Short (420-440nm), Medium (530-540nm), Long (560-580nm) Wavelength Light in Visible range of Spectrum Gamut complete subset of colors in visible spectrum based on CIE model for wavelength Note that in gray levels, levels are brightness only at the same chromaticity (e.g. white with more or less brightness) 24-bit, 8-bit per Channel RGB has 16 million color Palette (2^24) Gamma non-linear correction factor to account for perception of adjacent gray levels that is not a linear progression of intensity Radiometry vs Photometry Know the Difference Sam Siewert 8

CV Chapter 1 Basic Concepts Computer vs. Machine Vision - Goals Parsing an Imaged Scene into a List of Objects Perception History The Challenges of Computer VIsion Does an Image Match a Known Pattern Does this Generalize? What if Object is Rotated? Scaled? Blurred? Seen from and Angle? In Bad Lighting? Value of Color in Scene Segmentation and 3D Visual Cues Sam Siewert 9

CV Chapter 2 Images and Transforms {P}, {Q}, {R} notation, Transformations, and Convolution Convolution Application of PSF Must be 1/9 * 1 1 1 to avoid change in intensity of original 1 1 1 1 1 1 CV Convention for a PBM, PGM, PPM Frames are: {A}, {B}, {C} All Pixels in each Image are 0 or 1 only PBM Simple threshold conversion from PGM to PBM, Graymap to Bitmap, is: for all pixels do { if(p0 > thresh) A0=0; else A0=1} For PBM display purposes, use: for all pixels do {R0 = 255((1-A0)} for image between 0 and saturation Review Basic transformations like shrinking and edge finding Geometric Transformations (Review) 2D Planar, Perspective, Orthographic Sam Siewert 10

Color and Pixel Encoding OpenCV Image, Mat, Array RGB Color Channels Conversion from RGB to YCrCb RGB, Alpha (24-bit RGB, add Alpha for 32-bit for Composite Images) Alpha Compositing and Opaque Layers C = α x C foreground + (1-α) x C background Sam Siewert 11

CV Chapter 3 Noise Suppression Concepts and Filters Median Filters Mode Filters (Understand Concept) How to Apply to Color vs. PGM? Sharpen, Blur and Noise Removal Filters for Color (Understand Concepts that Complicate) Apply Filter to Each Color Band Separately Causes Color Bleeding Vector Median Filter is Solution (Not Responsible For, but Know) Pyramids for Resolution Decimation Know This! Sam Siewert 12

CV Chapter 4 Segmentation By Threshold and By Edge Finding Sobel Transform (Why Better than Others)? Canny Concepts (Why Better than Sobel?) Algorithm for Hough Linear Transform and Concept for RANSAC Basic Concepts for Keypoint Feature Selection, Detection, and Match for Correspondence Not full SIFT (yet) Application of a Histogram to Count Occurrence of Intensity Levels in an Image or Kernel by Bin Simple Single Peaked Histogram Has Well-defined Threshold Bi-modal or Multi-modal Histogram has No Obvious Threshold Background Elimination for a Stable Background Can Help Alternative is Adaptive Threshold Threshold Varies According to Location in Image Threshold Varies over Time Analysis and Experimentation with Threshold are Focus of Lab #3 Sam Siewert 13

Learning OpenCV Examples Used in Class and Labs Know Them Ch. 1 OpenCV API Concepts Ch. 2 Simple Camera Capture and Image file Input/Output and Transforms Ch. 3 IplImage Data Structure (Mat, Array access by channel) HighGui and Interactive CV Basics from Labs Sam Siewert 14