Image Capture and Problems

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

Image Processing Lecture 4

Image Enhancement contd. An example of low pass filters is:

CSE 564: Scientific Visualization

Hello, welcome to the video lecture series on Digital Image Processing.

Image Processing COS 426

Parameter descriptions:

USE OF HISTOGRAM EQUALIZATION IN IMAGE PROCESSING FOR IMAGE ENHANCEMENT

Chapter 6. [6]Preprocessing

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

Image Processing for feature extraction

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Optical design of a high resolution vision lens

Vision Review: Image Processing. Course web page:

Optimizing throughput with Machine Vision Lighting. Whitepaper

Exercise questions for Machine vision

Digital Image Processing

Mod. 2 p. 1. Prof. Dr. Christoph Kleinn Institut für Waldinventur und Waldwachstum Arbeitsbereich Fernerkundung und Waldinventur

On spatial resolution

ME 6406 MACHINE VISION. Georgia Institute of Technology

EC-433 Digital Image Processing

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Image processing for gesture recognition: from theory to practice. Michela Goffredo University Roma TRE

Image Filtering. Median Filtering

APPLICATIONS FOR TELECENTRIC LIGHTING

Preparing Remote Sensing Data for Natural Resources Mapping (image enhancement, rectifications )

NON UNIFORM BACKGROUND REMOVAL FOR PARTICLE ANALYSIS BASED ON MORPHOLOGICAL STRUCTURING ELEMENT:

A.V.C. COLLEGE OF ENGINEERING DEPARTEMENT OF CSE CP7004- IMAGE PROCESSING AND ANALYSIS UNIT 1- QUESTION BANK

IMAGE PROCESSING: POINT PROCESSES

Midterm Examination CS 534: Computational Photography

Image features: Histograms, Aliasing, Filters, Orientation and HOG. D.A. Forsyth

The Big Train Project Status Report (Part 65)

Camera Requirements For Precision Agriculture

ROAD TO THE BEST ALPR IMAGES

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

A Basic Guide to Photoshop Adjustment Layers

Image Processing. Image Processing. What is an Image? Image Resolution. Overview. Sources of Error. Filtering Blur Detect edges

Computer Vision. Howie Choset Introduction to Robotics

ACM Fast Image Convolutions. by: Wojciech Jarosz

Study guide for Graduate Computer Vision

WHITE PAPER. Methods for Measuring Flat Panel Display Defects and Mura as Correlated to Human Visual Perception

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

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

SPATIAL VISION. ICS 280: Visual Perception. ICS 280: Visual Perception. Spatial Frequency Theory. Spatial Frequency Theory

Using the Advanced Sharpen Transformation

Image filtering, image operations. Jana Kosecka

Photo Examples. Head Position & Background.

Applying Automated Optical Inspection Ben Dawson, DALSA Coreco Inc., ipd Group (987)

Image Manipulation: Filters and Convolutions

>>> from numpy import random as r >>> I = r.rand(256,256);

Density vs. Contrast

A Basic Guide to Photoshop CS Adjustment Layers

TABLETOP WORKSHOP. Janet Steyer

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

Development of Hybrid Image Sensor for Pedestrian Detection

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

Camera Requirements For Precision Agriculture

Passport photographs. Head Position & Background for Passport Photo

Neuron Bundle 12: Digital Film Tools

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Gonzales & Woods, Emmanuel Agu Suleyman Tosun

Color and perception Christian Miller CS Fall 2011

>>> from numpy import random as r >>> I = r.rand(256,256);

SIM University Projector Specifications. Stuart Nicholson System Architect. May 9, 2012

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

CS/ECE 545 (Digital Image Processing) Midterm Review

Deconvolution , , Computational Photography Fall 2018, Lecture 12

Sony PXW-FS7 Guide. October 2016 v4

Using Curves and Histograms

Images and Filters. EE/CSE 576 Linda Shapiro

Chapter 12 Image Processing

User manual MagicLights. for Casablanca Avio, Prestige and Kron

Digital Image Processing

TRUESENSE SPARSE COLOR FILTER PATTERN OVERVIEW SEPTEMBER 30, 2013 APPLICATION NOTE REVISION 1.0

Overview Why are photos used in engineering reports? Micro to macro and beyond Camera techno stuff Backgrounds and lighting

WEBCAMS UNDER THE SPOTLIGHT

Image Formation. Dr. Gerhard Roth. COMP 4102A Winter 2015 Version 3

CAMERA BASICS. Stops of light

Outline for Tutorials: Strobes and Underwater Photography

the RAW FILE CONVERTER EX powered by SILKYPIX

Facial Biometric For Performance. Best Practice Guide

Graphics and Image Processing Basics

PHOTOGRAPHY: MINI-SYMPOSIUM

Be aware that there is no universal notation for the various quantities.

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro

Image analysis. CS/CME/BIOPHYS/BMI 279 Fall 2015 Ron Dror

in association with Getting to Grips with Printing

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

CSC 320 H1S CSC320 Exam Study Guide (Last updated: April 2, 2015) Winter 2015

Computer Graphics Fundamentals

THE RUGGED GO ANYWHERE LIGHT

OUTDOOR PORTRAITURE WORKSHOP

Color Image Processing

Speed and Image Brightness uniformity of telecentric lenses

Linear Gaussian Method to Detect Blurry Digital Images using SIFT

Quintic Hardware Tutorial Camera Set-Up

Visual Perception of Images

Review and Analysis of Image Enhancement Techniques

Realistic Image Synthesis

Evaluating Commercial Scanners for Astronomical Images. The underlying technology of the scanners: Pixel sizes:

FOG REMOVAL ALGORITHM USING ANISOTROPIC DIFFUSION AND HISTOGRAM STRETCHING

Transcription:

Image Capture and Problems A reasonable capture IVR Vision: Flat Part Recognition Fisher lecture 4 slide 1

Image Capture: Focus problems Focus set to one distance. Nearby distances in focus (depth of focus). Further not so well focused. Compare identical lines. IVR Vision: Flat Part Recognition Fisher lecture 4 slide 2

Image Capture: Shadow problems False color to emphasize the shadow location. Often hard to separate from part. IVR Vision: Flat Part Recognition Fisher lecture 4 slide 3

Image Capture: Saturation problems Pixels clip at 255. IVR Vision: Flat Part Recognition Fisher lecture 4 slide 4

Image Capture: Specularities/highlights Saturated pixels set to red. IVR Vision: Flat Part Recognition Fisher lecture 4 slide 5

Image Capture: Non-uniform illumination Contrast on background enhanced: may cause analysis problems. IVR Vision: Flat Part Recognition Fisher lecture 4 slide 6

Image Capture: Radial lens distortion Note straight lines at image edge. May make accurate measurements hard. IVR Vision: Flat Part Recognition Fisher lecture 4 slide 7

Image Capture: Overcoming Problems Shadows, specularities, non-uniform illumination: increase ambient lighting by using light diffusing panels or lots of point lights Depth of Focus: use smaller aperture and brighter light Motion Blur: use shorter capture time and brighter light Saturation: use smaller aperture, reduce gain and adjust gamma IVR Vision: Flat Part Recognition Fisher lecture 4 slide 8

Lens Distortion: more expensive lenses, view from further away Aliasing: use incandescent lights IVR Vision: Flat Part Recognition Fisher lecture 4 slide 9

Illumination control techniques Main cause of problem: point light sources Brightness = B / (surface distance from source) 2 Sharp shadows: Strong illumination variations IVR Vision: Flat Part Recognition Fisher lecture 4 slide 10

Shadow Example Figure and shadow at bottom left emphasized IVR Vision: Flat Part Recognition Fisher lecture 4 slide 11

Lighting control To reduce complications arising from illumination: Increase ambient (all direction) light with light diffuser panels Illumination by camera to move shadows to non-visible places Backlighting panel IVR Vision: Flat Part Recognition Fisher lecture 4 slide 12

LIGHTS NEAR CAMERA DIFFUSER PANEL MUCH LESS SHADOW IVR Vision: Flat Part Recognition Fisher lecture 4 slide 13

Isolating flat parts Isolate parts, then characterise later Assume Dark part Light background Reasonably uniform illumination > distinguishable parts IVR Vision: Flat Part Recognition Fisher lecture 4 slide 14

Midlecture Problem Given this image, how might we label pixels as object and background? IVR Vision: Flat Part Recognition Fisher lecture 4 slide 15

Thresholding Introduction Key technique: thresholding Assume pixel values are separable Part and typical distribution 10000 9000 8000 7000 6000 5000 4000 3000 2000 1000 0 0 50 100 150 200 250 Spread: not quite uniform illumination + part color variations + sensor noise IVR Vision: Flat Part Recognition Fisher lecture 4 slide 16

Thresholding Thresholding: central technique for row = 1 : height for col = 1 : width if value(row,col) < ThreshHigh % inside high bnd % & value(row,col) > ThreshLow % optional low bnd output(row,col) = 1; else output(row,col) = 0; end IVR Vision: Flat Part Recognition Fisher lecture 4 slide 17

10000 9000 OBJECT BACKGROUND 8000 7000 6000 5000 THRESHOLD 4000 3000 2000 1000 0 0 50 100 150 200 250 IVR Vision: Flat Part Recognition Fisher lecture 4 slide 18

Threshold Selection Exploit bimodal distribution 10000 9000 8000 7000 6000 5000 4000 3000 2000 1000 0 0 50 100 150 200 250 But: Distributions broad and some overlap > misclassified pixels Shadows dark so might be classified with object Distribution has more than 2 peaks So: smooth histogram to improve shape for selection IVR Vision: Flat Part Recognition Fisher lecture 4 slide 19

Convolution General purpose image (and signal) processing function Computed by a weighted sum of image data and a fixed mask Linear operator: conv(a*b,c) = a*conv(b,c) Used in different processes: noise removal, smoothing, feature detection, differentiation,... IVR Vision: Flat Part Recognition Fisher lecture 4 slide 20

2 1.5 1 0.5 0 0.5 1 50 100 150 200 250 300 School of Informatics, University of Edinburgh Convolution in 1D Output(x) = N i= N weight(i) input(x i) Input: 0 Gaussian Mask and Output: 0.12 2 0.1 1.5 0.08 1 0.06 0.5 0.04 0 0.02 0.5 0 0 5 10 15 20 25 30 35 40 45 50 1 0 50 100 150 200 250 300 Derivative of Gaussian Mask and Output: 0.1 0 0 0 50 100 150 200 250 300 0.1 0 5 10 15 20 25 30 35 40 45 IVR Vision: Flat Part Recognition Fisher lecture 4 slide 21

2D Convolution - Smoothing Output(x, y) = N i= N N j= N weight(i,j) input(x i,y j) * = IVR Vision: Flat Part Recognition Fisher lecture 4 slide 22

Convolution for Edge Detection IVR Vision: Flat Part Recognition Fisher lecture 4 slide 23

Convolution Explains Illusions IVR Vision: Flat Part Recognition Fisher lecture 4 slide 24

Histogram Smoothing for threshold selection Histogram Smoothing (in findthresh.m) Convolve with a Gaussian smoothing window filterlen = 50; % filter length thefilter = gausswin(filterlen,sizeparam); % size=4 thefilter = thefilter/sum(thefilter); % unit norm tmp2=conv(thefilter,thehist); % makes longer output % select corresponding portion offset = floor((filterlen+1)/2); tmp1=tmp2(offset:len+offset-1); IVR Vision: Flat Part Recognition Fisher lecture 4 slide 25

0.08 8000 0.07 7000 0.06 6000 0.05 5000 0.04 4000 0.03 3000 0.02 2000 0.01 1000 0 0 5 10 15 20 25 30 35 40 45 50 FILTER SHAPE 0 0 50 100 150 200 250 300 SMOOTHED HISTOGRAM IVR Vision: Flat Part Recognition Fisher lecture 4 slide 26

What We Have Learned 1. Image Capture Problems and Fixes 2. Differentiating object from background 3. Convolution 4. Histogram smoothing & threshold selection IVR Vision: Flat Part Recognition Fisher lecture 4 slide 27