Intelligent Robotics Today: Vision & Time & Space Complexity.

Slides:



Advertisements
Similar presentations
Computer Science 101 RGB Color System. Simplified Introduction to Color Vision Go to How We See: The First Steps of Human Vision or Color Vision for more.
Advertisements

ECE 472/572 - Digital Image Processing Lecture 10 - Color Image Processing 10/25/11.
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
Color Image Processing
Colors – part 1 K1066BI – Graphical Design Teppo Räisänen
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
Aalborg University Copenhagen
Bit Depth and Spatial Resolution SIMG-201 Survey of Imaging Science © 2002 CIS/RIT.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2006 Some figures from Steve Seitz, Steve Palmer, Paul Debevec,
Color.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2010.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2008.
Digital Audio, Image and Video Hao Jiang Computer Science Department Sept. 6, 2007.
CSC 461: Lecture 2 1 CSC461 Lecture 2: Image Formation Objectives Fundamental imaging notions Fundamental imaging notions Physical basis for image formation.
Real-Time Face Detection and Tracking Using Multiple Cameras RIT Computer Engineering Senior Design Project John RuppertJustin HnatowJared Holsopple This.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Digital Images The nature and acquisition of a digital image.
9/14/04© University of Wisconsin, CS559 Spring 2004 Last Time Intensity perception – the importance of ratios Dynamic Range – what it means and some of.
Visual Representation of Information
Spectral contrast enhancement
The Digital Image.
Image Processing Lecture 2 - Gaurav Gupta - Shobhit Niranjan.
Technology and digital images. Objectives Describe how the characteristics and behaviors of white light allow us to see colored objects. Describe the.
© 1999 Rochester Institute of Technology Color. Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Images.
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Color Correct and Remove Keystoning A minimalist approach to photographing your art By Paul Marley.
I-1 Steps of Image Generation –Create a model of the objects –Create a model for the illumination of the objects –Create an image (render) the result I.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Color. There are established models of color, each discipline uses it own method for describing and discussing color intelligently.
Digital Cameras. Image Capture  Images are captured by the image sensor, then stored in the camera in a memory device.  Sensors convert light into an.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Color in image and video Mr.Nael Aburas. outline  Color Science  Color Models in Images  Color Models in Video.
Week 6 Colour. 2 Overview By the end of this lecture you will be familiar with: –Human visual system –Foundations of light and colour –HSV and user-oriented.
Fundamentals of Multimedia Chapter 4 : Color in Image and Video 2 nd Edition 2014 Ze-Nian Li Mark S. Drew Jiangchuan Liu 1.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
©College of Computer and Information Science, Northeastern UniversityMay 27, CS 4300 Computer Graphics Prof. Harriet Fell Fall 2012 Lecture 4 – September.
September 17, 2013Computer Vision Lecture 5: Image Filtering 1ColorRGB HSI.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Digital Image Processing Part 1 Introduction. The eye.
How digital cameras work The Exposure The big difference between traditional film cameras and digital cameras is how they capture the image. Instead of.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
Introduction to Computer Graphics
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
BASIC COLOUR COURSE Algemeen
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Fundamentals of Digital Images & Photography. Pixels & Colors The pixel (a word invented from "picture element") is the basic unit of programmable color.
Image credit: Wikipedia (Fovea) Human Eye Some interesting facts – Rod cells: requires only low light b/w vision blur, all over retina EXCEPT fovea – Cone.
What you need: In order to use these programs you need a program that sends out OSC messages in TUIO format. There are a few options in programs that.
An Introduction to Digital Image Processing Dr.Amnach Khawne Department of Computer Engineering, KMITL.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Color Models Light property Color models.
Half Toning Dithering RGB CMYK Models
Capturing Light… in man and machine
Color Image Processing
Color Image Processing
Color Image Processing
Color Image Processing
Histogram—Representation of Color Feature in Image Processing Yang, Li
Computer Vision Lecture 4: Color
Color Image Processing
Capturing Light… in man and machine
Color Image Processing
Robot Vision Today: Reactive Control & Vision
(Do Now) Journal What is psychophysics? How does it connect sensation with perception? What is an absolute threshold? What are some implications of Signal.
Presentation transcript:

Intelligent Robotics Today: Vision & Time & Space Complexity

Color Perception in Human Two kinds of light receptors: rods and cones Rods register the relative light and dark Cones perceive color –Three kinds of cones: red, green, blue

Computer Vision Uses the electromagnetic spectrum to produce an image. –Visible light, x-rays, thermal, infrared

Representation Image: picture like format where there is a direct physical correspondence to the scene being viewed. –There are multiple readings in a grid Pixels: “picture element” –Measure depends on the type of spectra being used –Image function: converts a signal to a pixel value

CCD Cameras Charged-Couple Device: detects visible light –Light fall on an array of metal-oxide semiconductor capacitor (MOS) –Line transfer or frame transfer –Frame grabber A/D conversion –A/D conversion Slower than CCD Frame buffers

Representations Grayscale –8-bit – 256 discrete gray values –0 black, 255 white

Representations Different method for representing color –RGB space: red, green, blue –HSV space: hue, saturation, and value

RGB Color Space –24 bit color (8 bits per color)

RGB Representations Interleaved –RGB values stored together Red = image[row][col][0] Green = image[row][col][1] Blue = image[row][col][2] Separate –RGB values stored as separate 2D arrays Red = image_red[row][col] Green = image_green[row][col] Blue = image_Blue[row][col]

Region Segmentation

Identifying a region in an image with a particular color –Thresholding –Binary image

HSV Representations –HSV space: hue, saturation, and value Hue is the dominant wavelength Saturation is the lack of whiteness Value is intensity or brightness the light –Linear transformation between RGB and HSV

HSV Color Space

Comparison of Region Segmentation Original Image RGB segmentation HSV Segmentation

IC Color Vision System Color Space Finding color blobs in an image Making a color model Tuning the camera

Color Selection Plane Hue=0 Hue=360 Sat=0 Val=224 Sat=224 Val=224 Sat=224 Val=0 Note: 224 is the range of values the camera pixels put out in each of R, G & B

Color Blobs For color tracking, a rectangular piece of the color selection plane is selected. All of the pixels in the image whose color falls within that piece are selected. Selected pixels that are contiguous are combined as blobs Each blob has a size, position, number of pixels, major and minor axis, etc. The blobs correspond to objects seen in the image that are the desired color (as given by the specified piece of the of the color selection plane).

Color Models The XBC can segment the image using three different pieces of the color selection plane (each is called a color model) simultaneously It can track a number of blobs from each color model It can display the video in any one of three ways –Raw (live video) –Processed (pixels not selected by a color model are dark) –Combined (processed combined with raw show you can see where the blobs are on the live video)

More on Color Models A Color Model-HSV specifies a bounding box in the color selection plane Moving either edge towards the center line constrains the range of accepted color values to only include more vivid colors. If everything you want is being accepted but so is a lot of other junk you don't want, move the corners closer to the center.

Onscreen Instructions for setting color models

Onscreen Instructions for setting color models

Move Mode Mode Designator Press the SELECT button to view the onscreen instructions Corner move mode is selected by the L or R button and is indicated by a highlighted corner Symmetric Move or Resize mode (M or R) is selected by the START button

Processed Video The A button cycles through live, processed, and combined video

XBC Camera Check 1.Create a color model for channel 0 that sees a red screw driver 2.Load xbctest.ic onto your XBC 3.Run the program 4.Select the vision test 5.Select the correct channel/model to see red 6.Follow onscreen directions to get data on the blobs 7.If you like your model, save it to flash 8.For more info, see XBC Camera in IC Help

Which Color Model? The XBC stores 3 channels of color (0, 1, 2) There are 3 models maintained for each channel: 1.The currently active model (the one you see in the modify model menu) 2.The model in flash (you can save the currently active model and camera settings using the save to flash menu item or make them active by loading from flash) 3.The default model and camera settings which are made active by selecting restore to default

Tuning the Camera By default cameras turn on Auto White Balance (AWB) and dynamically adjust their color temperature to keep the amounts of red and blue in the field of view roughly balanced. This is fine if the content of the field of view is roughly balanced between red and blue and if the goal is to look good to humans in changing, arbitrary lighting situations. However, when trying to do color tracking, dynamically changing color temperature is generally counter productive. Instead, you should use the Vision/Camera Config menu and press the Start button to interactively calibrate the white balance while pointing the camera at a white sheet of paper. This will adjust the Red and Blue components of the color temperature until the amount of each in the scene balances, then turn off AWB to lock those values in. After this procedure, it's a good idea to go to the Vision/Flash Memory menu, select "Setting: ", and then "Save to Flash".

Tuning the Camera Focus the un-focus the lens –Depending on what you are looking for it can help to have the image a little out of focus