Computer Vision. Image acquisition. 25 August 2014. Copyright 2001 2014 by NHL Hogeschool and Van de Loosdrecht Machine Vision BV All rights reserved



Similar documents
Computer Vision. Image math. Copyright by NHL Hogeschool and Van de Loosdrecht Machine Vision BV All rights reserved

Basler. Line Scan Cameras

product overview pco.edge family the most versatile scmos camera portfolio on the market pioneer in scmos image sensor technology

Computer Vision. Color image processing. 25 August 2014

APPLICATION NOTE. Basler racer Migration Guide. Mechanics. Flexible Mount Concept. Housing

How To Use An Edge 3.1 Scientific Cmmos Camera

pco.edge 4.2 LT 0.8 electrons 2048 x 2048 pixel 40 fps :1 > 70 % pco. low noise high resolution high speed high dynamic range

MRC High Resolution. MR-compatible digital HD video camera. User manual

Overview. Proven Image Quality and Easy to Use Without a Frame Grabber. Your benefits include:

Industrial vision cameras CAMERA LINK DVI-D FULL HD CAMERA LINE

Computer Vision: Machine Vision Filters. Computer Vision. Optical Filters. 25 August 2014

Basler. Area Scan Cameras

Computer vision. 3D Stereo camera Bumblebee. 25 August 2014

PDF Created with deskpdf PDF Writer - Trial ::

MONOCHROME RGB YCbCr VIDEO DIGITIZER

Basler scout AREA SCAN CAMERAS

Cameras for Industries

Basler pilot AREA SCAN CAMERAS

USB 3.0 Camera User s Guide

KS732 Family. Rev KS732. 1/3 CCD Color USB Camera

Grasshopper3 U3. Point Grey Research Inc Riverside Way Richmond, BC Canada V6W 1K7 T (604)

Basler beat AREA SCAN CAMERAS. High-resolution 12 MP cameras with global shutter

WHITE PAPER. Are More Pixels Better? Resolution Does it Really Matter?

High Definition Imaging

Basler dart AREA SCAN CAMERAS. Board level cameras with bare board, S- and CS-mount options

EVIDENCE PHOTOGRAPHY TEST SPECIFICATIONS MODULE 1: CAMERA SYSTEMS & LIGHT THEORY (37)

Baumer Industrial Cameras Innovative Vision Components for Automated Image Processing

Understanding Line Scan Camera Applications

ZEISS Axiocam 506 color Your Microscope Camera for Imaging of Large Sample Areas Fast, in True Color, and High Resolution

SMART CAMERA SENSORS SMART CAMERA SENSOR FOR VISUAL INSPECTION AND IDENTIFICATION

7 MEGAPIXEL 180 DEGREE IP VIDEO CAMERA

Visual perception basics. Image aquisition system. P. Strumiłło

SNC-VL10P Video Network Camera

From Pixel to Info-Cloud News at Leica Geosystems JACIE Denver, 31 March 2011 Ruedi Wagner Hexagon Geosystems, Geospatial Solutions Division.

Understanding Network Video Security Systems

Speed Dome. Technical Manual

T-REDSPEED White paper

D/N VARI-FOCAL IR CAMERA

Basler ace. USER S MANUAL FOR GigE CAMERAS

Megapixel PoE Day / Night Internet Camera TV-IP572PI (v1.0r)

AxioCam MR The All-round Camera for Biology, Medicine and Materials Analysis Digital Documentation in Microscopy

The Dusk of FireWire - The Dawn of USB 3.0

QHY (5L-II-M) CCD camera for video meteor observation

Understanding Megapixel Camera Technology for Network Video Surveillance Systems. Glenn Adair

Basler racer. Line Scan Cameras. Next generation CMOS sensors with 2k to 12k resolution and up to 80 khz line rate

White Paper. "See" what is important

How To Use A Gigabit Network Camera With A Microsoft Memory Card With A Memory Card For A Microtune On A Microsatellite (Solar Microtron) With A Power Card On A Mini-Turbine (A

SECURITY CAMERA INSTRUCTION MANUAL ENGLISH VERSION 1.0 LBC

ebus Player Quick Start Guide

Thermal Imaging Camera Module C200/C250 series

PicSight -GigE. Extensible GigE Vision and GeniCam compliant cameras with advanced flexibility for OEMs

Video surveillance camera Installation Guide

A System for Capturing High Resolution Images

D/N VANDAL RES. VARI-FOCAL DOME CAMERA

Implementing and Using the EMVA1288 Standard

Characterizing Digital Cameras with the Photon Transfer Curve

AirCam OD-325HD-2.5MM

Development of a high-resolution, high-speed vision system using CMOS image sensor technology enhanced by intelligent pixel selection technique

Genie Monochrome Series

Introduction to CCDs and CCD Data Calibration

User Manual MV1-D1024E Gigabit Ethernet Series

Appearance Type Setting distance Sensing area Model Remarks Camera with lighting. 34mm to 49mm 5mm x 4.9mm to 9mm x 8.

DS-2DY9186-AI2. Features. 2MP IR Integrated Network High Speed Positioning System

1.3 CW x720 Pixels. 640x480 Pixels. 720P Wireless 150Mbps IPCAM. High Quality 720P MegaPixel Image

Nederland België / Belgique

Cognex Vision Software

LIST OF CONTENTS CHAPTER CONTENT PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

Planetary Imaging Today. Bryan Cogdell, Celestron LLC

User Manual Photonfocus D/L-2048 Gigabit Ethernet Series CMOS Area Scan Camera

IP Surveillance. Presentation for BICSI Regional Conference Troy, Michigan March 15, Tom Jones, PE, RCDD / NTS Field Sales Engineer, D-Link

D/N VANDAL RES. VARI-FOCAL IR DOME CAMERA

Web:

Introduction to Video 101 Second Edition By Ken MacDonald

Leica DFC450 & DFC450 C. Digital Microscope Cameras for Analysis and Documentation

HICC-0600T D1 Network box camera

AS-M5630U Sony 32X Optical Zoom HD 2MP Network Security Camera Module

COGNEX. Cognex Vision Software. GigE Vision Cameras. User s Guide

Synthetic Sensing: Proximity / Distance Sensors

Appearance Type Setting distance Sensing area Model Remarks Camera with lighting. 34mm to 49mm 5mm x 4.9mm to 9mm x 8.

22X DSP COLOR ZOOM CAMERA AUTO FOCUS ZOOM CAMERA

Optimal Vision Using Cameras for Intelligent Transportation Systems

The Elements of GigE Vision

Advances in scmos Camera Technology Benefit Bio Research

Analog Video product overview. March 2015

Genie TS Series. GigE Vision Area Scan Camera. Camera User s Manual. Genie TS Framework CA-GENM-TSM00

Séries U3-CMOS. Nouvelles. Caméras Numériques USB3. Ultra rapides

GV-FE420. Visítenos: Cámara IP Fisheye Megapixel

Realization of a UV fisheye hyperspectral camera

S300. Big Screen Viewing. Bright projection 2800 ANSI Lumens. SVGA resolution, 15,000:1 contrast ratio. Low ownership costs - up to 6500 hrs lamp life

2-Megapixel Sony Progressive CMOS Sensor with Super Wide Dynamic Range and High Frame Rate

D/N VANDAL RESISTANT 700TVL VARI-FOCAL IR DOME CAMERA CMR6082X/6082MX3.6 N/P CMR6086X/6086MX3.6 N/P

pco.interface GigE & USB Installation Guide

802.3af. Build-in Speaker. PoE

Rapid re-deployable security solutions

. ImagePRO. ImagePRO-SDI. ImagePRO-HD. ImagePRO TM. Multi-format image processor line

Day / Night IR Color Camera User Manual V2.1.0

How To Use A High Definition Oscilloscope

Features

Remote RadEye Product Family

2MP H.264/ MPEG-4/ MJEPG

Transcription:

Computer Vision Image acquisition 25 August 2014 Copyright 2001 2014 by NHL Hogeschool and Van de Loosdrecht Machine Vision BV All rights reserved j.van.de.loosdrecht@nhl.nl, jaap@vdlmv.nl Image acquisition Overview: Camera Lens Frame grabber Lighting Signal to Noise Ratio (*) Image acquisition 2 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 1

Cameras Web cams Medium tech Price Quality Resolution Frames per second Specials: Peltier cooling Image amplifiers High tech Image acquisition 3 Analogue camera, WAT-505EX Image acquisition 4 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 2

Camera Sensor type: CCD CMOS Infra red X-rays Radar Sound MRI Radio telescope (astronomy) Image acquisition 5 Infra red camera for thermal imaging from 20C to 250C Image acquisition 6 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 3

normal color image infra red image Image acquisition 7 arm on cupboard (ir) after arm removed (ir) Image acquisition 8 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 4

infra red raw image in false colors Image acquisition 9 Range camera, Time Of Flight Image acquisition 10 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 5

Range camera, Time Of Flight Image acquisition 11 Range camera, Time Of Flight Image acquisition 12 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 6

Lady bug, 360 graden beeld Image acquisition 13 Lady bug, 360 graden beeld Image acquisition 14 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 7

Stereo vision Image acquisition 15 Sensor: array of pixels Resolution: Number pixels width x height Typical values: 640 x 480, 800 x 600, 1280 x 1024 Frames per second: Typical values: 5 to 200 Diagonal chip is the size: Typical values: 1/3, 1/2, 2/3 en 1 Important for choice of lens (vignetting) Fill factor: Light sensitivity Micro lenses Image acquisition 16 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 8

Vignetting Image acquisition 17 Sensor: array of pixels Pixel size Important for the light sensitivity Typical values: 3-12 µm Square: important by size measurements Pixel depth (dynamic range) Number of gray values 8 bits = 256 (usually enough) 10 bits = 1024 12 bits = 4096 Gain and offset Pixel value = offset + amount of light * gain High gain -> more noise Spectral sensitivity (quantum efficiency) Image acquisition 18 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 9

Color sensor 1 chip Pattern with filters and interpolation Less sharpness than comparable grayscale camera 3 chips More expensive Less shockproof Image acquisition 19 Raw format Image is grayscale image with raw color sensor information Demonstration: Open image: raw_image.jl ConvertCFAtoRGB888Image image BayerGB Image acquisition 20 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 10

Sensor: CCD versus CMOS CCD Better signal / noise ratio better suitable in low light situations CMOS Cheaper Easy integration at chip level Pixel addressable Windowing Sub sampling and binning High Dynamical Range Image acquisition 21 Pixel addressable Windowing Part of sensor surface -> higher frame rate Multiple windows in one snapshot Sub sampling and binning n by n neighbour pixels are combined to 1 pixel image factor n smaller-> higher frame rate Image acquisition 22 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 11

High Dynamical Range Image acquisition 23 Shutter Typical values : 1/15.. 1/10.000 second Mechanic Electronic Global shutter Rolling shutter problems with fast moving objects Image acquisition 24 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 12

Rolling shutter Fokker Dr I, Stichting Vroege Vogels Lelystad Image acquisition 25 Digitalization From continuous analogue light to sampled digital image: Spatial co-ordinates Intensity value Time Sensitive to a specific part of the spectrum Image acquisition 26 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 13

Analogue CCD Camera Analogue output Monochrome (EIA) RS-170 Video, 30 fps, 640 x 480 lines CCIR, 25 fps, 768 x 576 lines Frame grabber converts typically to 8-bit grey scale Colour composite NTSC, 30 fps PAL, 25 fps Non standard video Image acquisition 27 Analogue CCD Camera Scanning Interlaced Cheap First, even, odd, both Progressive scan Expensive Motion applications External triggering Pixel dimensions / dimensions of ccd chip square pixels are important for measurements Shutter speed (typical: 1-1/10.000 second) Image acquisition 28 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 14

Demonstration Interlaced versus Progressive Scan Open image interlaced.jl DeInterlace image (from point menu) Image acquisition 29 DeInterlace Image acquisition 30 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 15

Calculation real pixel ratio for analogue camera (*) Example WAT-505EX (old type): chip: 596 (V) x 795 (H) pixels pixel: 6.5 ųm (V) x 6.25 ųm (H) Frame grabber (CCIR): 576 lines of 768 pixels real pixel width: (795 / 768) * 6.25 = 6.47 ųm squareness of pixel: (6.5 / 6.47) = 1.005 596-576 = 20 lines are not used Image acquisition 31 Analogue frame grabber, RIO full version Image acquisition 32 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 16

Analogue frame grabber (*) Host bus (PCI, AT) Spatial resolution (768 x 576 25 Hz) Intensity resolution (8 bit) Video input Number of input channels Type (RS-170, PAL, etc) Accuracy On board processing Input LUT s, ROI, scaling, etc Digital I/O Video display Software driver Image acquisition 33 Analogue camera triggering (*) Analogue camera in free running mode example 25 frames (images) per second (fps) Triggering in software Triggering by frame grabber Triggering of camera Asynchrone reset Image acquisition 34 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 17

Digital CCD Camera Digital output Digital area scan Larger image size possible (4k x 4k) Higher resolution (8.. 12 bit) Fast acquisition (>100 Mbytes/s) example: 1k x 1k, 100 fps Windowing Binning Applications: machine vision, scientific Digital line scan camera 10k - 100k lps Processing Line by line Stitched together into 2D image Application: high speed motion Image acquisition 35 Digital line scan camera Image acquisition 36 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 18

Standards for digital camera interfaces Camera link Highest performance Expensive frame grabber FireWire (IEEE 1394a and 1394b) Available on common main boards IIDC standard DCAM DV is for handy cams USB (1,2 and 3) Available on common main boards (1 and 2) GigE Vision Gigalink ethernet CoaXPress Image acquisition 37 Standards for digital camera interfaces: comparision Standard Max Length Speed USB 2.0 5 m 480 Mb/s USB 3.0 (USB3 Vision) 5 m 4800 Mb/s 1394a (Firewire A) 4.5 m 400 Mb/s 1394b (Firewire B) 4.5 m 800 Mb/s Future: 1394c (FireWire C) 3200 Mb/s CameraLink 10 m 6120 Mb/s Gigabit Ethernet( GigE) 100 m 1000 Mb/s Gigabit Ethernet( 10GigE) 100 m 10000 Mb/s CoaxPress 100 m 10000 Mb/s The max length can be enlarged using repeaters The real speed (fps) is also depended on the overhead of the protocol used Image acquisition 38 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 19

Standards for digital camera interfaces Gen<I>Cam One SDK for GigE Vision IEEE 1394 Camera Link GenApi: configuring the camera SFNC: Standard Feature Naming Convention GenTL: Transport Layer convention Image acquisition 39 Real time behaviour Real time loop: Acquisition image Process image, do measurement Activate outputs / log result Process time will fluctuate, buffering of images needed by: operating system frame grabber camera Image acquisition 40 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 20

Camera triggering Image acquisition 41 Camera trends Analogue cameras will be used less CMOS sensor will increase its market share, CCD will lose Digital FireWire and USB cameras have become cheaper and better Now: for best performance Camera Link Since 2005: FireWire IEEE 1394b camera s on the market Since 2005: GigaE Vision Gen<I>Cam Image acquisition 42 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 21

Lenses Image acquisition 43 Lens Lens mount: C, CS, F,. Focal length (mm), fixed or zoom Aperture or diaphragm (F) Depth of field Minimum focal distance Geometric distortion -> telecentric lenses Field of view Size of CCD chip Focal length Distance to object Image acquisition 44 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 22

Lighting Requirements: Homogeneous light over field of view Maximum contrast for features of interest Minimum contrast for features of non interest Minimum sensitivity to: Environmental variations (ambient light) Feature variations Image acquisition 45 Lighting techniques Natural ambient light Direct light, creates shadows and reflection Diffuse light, minimises shadows and reflection Back lighting, high contrast Dark field lighting Strobed light, freeze motion Structured light, measurement Polarised light, reduction of reflection Warning: using laser light can be dangerous!!! Image acquisition 46 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 23

Signal to Noise Ratio (*) The amount of noise in an image is measured in the Signal to Noise Ratio (SNR) Is measured by computing its value in a homogeneously illuminated background section of the image First the standard deviation is measured: σ 1 1 N N N 2 2 1 = bi b i N i= 1 i= 1 2 where b i is the brightness of the image at position i Image acquisition 47 Signal to Noise Ratio (*) This can be rearranged to: σ 1 1 b N N N 2 1 = i b i N i= 1 i= 1 The SNR is calculated as: max( b) min( b) SNR = :1 σ 2 where max(b) and min(b) are the maximum and minimum possible brightness value in the image b. Image acquisition 48 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 24

Signal to Noise Ratio (*) Example: If max(b) = 255, min(b) = 0, and stddev = 5.0, then SNR = 51:1. The SNR is sometimes expressed in decibels as SNR(dB) = 20 log 10 (SNR). For the example, this would mean a SNR(dB) = 34.2 db. Image acquisition 49 Demonstration Calculation of SNR (*) open image card1.jl (low light, low contrast, extreme gain) roi 125 28 138 50 to get homogeneously illuminated background section Minmaxpixel is 8 21 (should normally be 0.. 255 for 8 bit camera) standarddeviation on roi gives 1.75, so SNR = 13 / 1.75 = 7.4 : 1 Calculation stddev by hand : (no slides) Convert roi to Int16Image (beware of overflow!!) Calculate AveragePixel of roi (= 14) Create new image with SetAllPixels 14 on roi (synthetic menu) Subtract image14 from roi Multiply this result with itself SumIntPixels on result of multiply (=23858) stdev = sqrt(23858/(138*50-1)) = 1.86 (difference due to rounding error in AveragePixel) Image acquisition 50 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 25

Calculate Standard Deviation (*) Image acquisition 51 Reduce noise by averaging images Noise can be reduced by averaging images avgimage = for each pixel: (Sum pixel of all images) / nr of images The SNR improves theoretically linear to the square root of the number of images Image acquisition 52 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 26

Exercise noise reduction by averaging images (*) Exercise: average ten images card1.jl,, card10.jl and calculate SNR of result, use min/max pixel of ROI original image Explain why improved is not as good as could be expected in theory see for answer script card_noise.jls, examine variables answer exercise: stdev = 0.856, SNR = 15.2, so improvement is by factor 2 Image acquisition 53 Demonstration noise reduction by averaging images use script card_noisedemo.jls average ten under exposed images card1.jl,, card10.jl Image acquisition 54 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 27

Demonstration noise reduction by averaging images Image acquisition 55 Jaap van de Loosdrecht, NHL, VdLMV, j.van.de.loosdrecht@nhl.nl 28