Computer Vision. Image acquisition. 10 April 2018

Similar documents
Cameras. Fig. 2: Camera obscura View of Hotel de Ville, Paris, France, 2015 Photo by Abelardo Morell

Computer Vision. Non linear filters. 25 August Copyright by NHL Hogeschool and Van de Loosdrecht Machine Vision BV All rights reserved

Introduction to Computer Vision

e2v Launches New Onyx 1.3M for Premium Performance in Low Light Conditions

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

velociraptor HS Velociraptor is fast running and fast grabbing! Save a tree...please don't print this document unless you really need to.

7 Big Ideas To Understanding Imaging Systems

pco.edge electrons 2048 x 1536 pixel 50 fps :1 > 60 % pco. low noise high resolution high speed high dynamic range

Advanced Camera and Image Sensor Technology. Steve Kinney Imaging Professional Camera Link Chairman

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

Last class. This class. CCDs Fancy CCDs. Camera specs scmos

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

GigE Vision Series SEN TECH. GigE Vision Overview. Key Features. Accessories

SCD-0017 Firegrab Documentation

Cameras CS / ECE 181B

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

Optical basics for machine vision systems. Lars Fermum Chief instructor STEMMER IMAGING GmbH

panda family ultra compact scmos cameras

DV420 SPECTROSCOPY. issue 2 rev 1 page 1 of 5m. associated with LN2

Application Note. Digital Low-Light CMOS Camera. NOCTURN Camera: Optimized for Long-Range Observation in Low Light Conditions

High Resolution BSI Scientific CMOS

Image Processing for feature extraction

Camera, video production. TNGD10 - Moving media

Data Sheet SMX-160 Series USB2.0 Cameras

Real-color High Sensitivity Scientific Camera

Prosilica GT 1930L Megapixel machine vision camera with Sony IMX CMOS sensor. Benefits and features: Options:

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

GigE MV Cameras - XCG

Real-color High Sensitivity Scientific Camera. For the first time with true color ISO9001

Camera Test Protocol. Introduction TABLE OF CONTENTS. Camera Test Protocol Technical Note Technical Note

Exercise questions for Machine vision

The Condor 1 Foveon. Benefits Less artifacts More color detail Sharper around the edges Light weight solution

A 4 Megapixel camera with 6.5μm pixels, Prime BSI captures highly. event goes undetected.

Genie Nano Series. Camera User s Manual. 1 Gb GigE Vision Monochrome & Color Area Scan

Genie Nano Series. Camera User s Manual. 1 Gb GigE Vision Monochrome & Color Area Scan

pco.1300 solar cooled digital 12bit CCD camera system

Sony PXW-FS7 Guide. October 2016 v4

pco.1600 cooled digital 14bit CCD camera system

BSI scmos 400BSI. Super Signal to Noise Ratio NEW

edge 4.2 bi cooled scmos camera

Introduction. Lighting

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

MARS GigE Cameras User Manual

Cameras. Shrinking the aperture. Camera trial #1. Pinhole camera. Digital Visual Effects Yung-Yu Chuang. Put a piece of film in front of an object.

Specifications Summary 1. Array Size (pixels) Pixel Size. Sensor Size. Pixel Well Depth (typical) 95,000 e - 89,000 e -

IMAGE ACQUISITION, CAMERAS

Information & Instructions

NOVA S12. Compact and versatile high performance camera system. 1-Megapixel CMOS Image Sensor: 1024 x 1024 pixels at 12,800fps

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

IR Laser Illuminators

Cameras. Digital Visual Effects, Spring 2008 Yung-Yu Chuang 2008/2/26. with slides by Fredo Durand, Brian Curless, Steve Seitz and Alexei Efros

Mako G G-030. Compact machine vision camera with high frame rate. Benefits and features: Options:

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

Cameras. Outline. Pinhole camera. Camera trial #1. Pinhole camera Film camera Digital camera Video camera

MOTICAMPRO PROFESSIONAL CCD MICROSCOPY CAMERAS

User Manual MV1-D1312(IE)-G2 / DR1-D1312(IE)-G2 Gigabit Ethernet Series CMOS Area Scan Camera

Baumer FWX05c-II NeuroCheck Edition

Genie TS Series. Camera User s Manual. Genie TS Framework P/N: CA-GENM-TSM00

sensicam em electron multiplication digital 12bit CCD camera system

Light Microscopy for Biomedical Research

Baumer TXF50 Art. No: OD107988

Lecture 30: Image Sensors (Cont) Computer Graphics and Imaging UC Berkeley CS184/284A

ZEISS Axiocam 503 color Your 3 Megapixel Microscope Camera for Fast Image Acquisition Fast, in True Color and Regular Field of View

Figure 1 HDR image fusion example

User's Guide Baumer MX Board Level Cameras (Gigabit Ethernet) Document Version: v1.8 Release: Document Number:

Technical Data VCXG-201M.R Digital Monochrome Matrix Camera, GigE Article No Firmware Revision 2.2

EBU - Tech 3335 : Methods of measuring the imaging performance of television cameras for the purposes of characterisation and setting

LaserBeam ProfilingSolutions. IRLaserBeam Profiler

Applied Machine Vision

BASLER A601f / A602f

ULS24 Frequently Asked Questions

The new CMOS Tracking Camera used at the Zimmerwald Observatory

Basler. Aegis Electronic Group. GigE Vision Line Scan, Cost Effective, Easy-to-Integrate

A NOVEL VISION SYSTEM-ON-CHIP FOR EMBEDDED IMAGE ACQUISITION AND PROCESSING

Technical Data VCXU-91M Digital Monochrome Matrix Camera, USB 3.0 Article No Firmware Revision 2.1

DU-897 (back illuminated)

Basler. Line Scan Cameras

Part Number SuperPix TM image sensor is one of SuperPix TM 2 Mega Digital image sensor series products. These series sensors have the same maximum ima

Automated Inspection With Machine Vision

ME 6406 MACHINE VISION. Georgia Institute of Technology

User Manual MV-D1024E CameraLink Series CMOS Area Scan Cameras

Basler. GigE Vision Line Scan, Cost Effective, Easy-to-Integrate

Instruction Manual for HyperScan Spectrometer

BEAMAGE-3.0 KEY FEATURES BEAM DIAGNOSTICS AVAILABLE MODELS MAIN FUNCTIONS SEE ALSO ACCESSORIES. CMOS Beam Profiling Cameras

Automotive In-cabin Sensing Solutions. Nicolas Roux September 19th, 2018

Another Eye Guarding the World

Acquisition. Some slides from: Yung-Yu Chuang (DigiVfx) Jan Neumann, Pat Hanrahan, Alexei Efros

The Xiris Glossary of Machine Vision Terminology

WDD-2977C / WDD-2977VDN

Basler. Line Scan Cameras

Compatible with Windows 8/7/XP, and Linux; Universal programming interfaces for easy custom programming.

Minimizes reflection losses from UV to IR; No optical losses due to multiple optical surfaces; Optional AR coating and wedge windows available.

ERS KEY FEATURES BEAM DIAGNOSTICS MAIN FUNCTIONS AVAILABLE MODEL. CMOS Beam Profiling Camera. 1 USB 3.0 for the Fastest Transfer Rates

Control of Noise and Background in Scientific CMOS Technology

USB components. Multi-Sensor Cameras. Camera Configuration. Available Sensor Board Designs. Options. Base unit and sensor boards

Noise and ISO. CS 178, Spring Marc Levoy Computer Science Department Stanford University

INNOVATION+ New Product Showcase

Release date: 17 th of September, 2017 End users Validity date: 31 st of December, 2018 or till next revision Revision Number: 2.9

User Manual MV1-D1312C CameraLink Series CMOS Area Scan Colour Camera

pco.dimax digital high speed 12 bit CMOS camera system

Transcription:

Computer Vision Image acquisition 10 April 2018 Copyright 2001 2018 by NHL Stenden Hogeschooland 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