Introduction to Digital Image Analysis Part II: Image Analysis

Slides:



Advertisements
Similar presentations
5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 5 Thresholding/Segmentation.
Advertisements

5th Intensive Course on Soil Micromorphology Naples th - 14th September Image Analysis Lecture 5 Thresholding/Segmentation.
3-D Computer Vision CSc83020 / Ioannis Stamos  Revisit filtering (Gaussian and Median)  Introduction to edge detection 3-D Computater Vision CSc
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Spatial Filtering (Chapter 3)
Chapter 3 Image Enhancement in the Spatial Domain.
Prénom Nom Document Analysis: Document Image Processing Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Digital Image Processing
1Ellen L. Walker ImageJ Java image processing tool from NIH Reads / writes a large variety of images Many image processing operations.
Computer Vision Group Edge Detection Giacomo Boracchi 5/12/2007
Digital Image Processing: Revision
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Highlights Lecture on the image part (10) Automatic Perception 16
Elements of Biomedical Image Processing BMI 731 Winter 2005 Kun Huang Department of Biomedical Informatics Ohio State University.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Media Cybernetics Deconvolution Approaches and Challenges Jonathan Girroir
Introduction to Image Analysis Presented to Microscopy and Microscopy Education 11 March 2000 New Orleans, LA.
Digital Image Processing Image Enhancement Part IV.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Digital Image Processing Chapter 9: Morphological Image Processing 5 September 2007 Digital Image Processing Chapter 9: Morphological Image Processing.
Filtering and Enhancing Images. Major operations 1. Matching an image neighborhood with a pattern or mask 2. Convolution (FIR filtering)
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
J. Shanbehzadeh M. Hosseinajad Khwarizmi University of Tehran.
Image Segmentation and Morphological Processing Digital Image Processing in Life- Science Aviad Baram
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
Image Processing is replacing Original Pixels by new Pixels using a Transform rst uvw xyz Origin x y Image f (x, y) e processed = v *e + r *a + s *b +
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
Image Processing Part II. 2 Classes of Digital Filters global filters transform each pixel uniformly according to the function regardless of its location.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
Lecture # 19 Image Processing II. 2 Classes of Digital Filters Global filters transform each pixel uniformly according to the function regardless of.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
CSE 6367 Computer Vision Image Operations and Filtering “You cannot teach a man anything, you can only help him find it within himself.” ― Galileo GalileiGalileo.
TOPIC 12 IMAGE SEGMENTATION & MORPHOLOGY. Image segmentation is approached from three different perspectives :. Region detection: each pixel is assigned.
Sharpening Spatial Filters ( high pass)  Previously we have looked at smoothing filters which remove fine detail  Sharpening spatial filters seek to.
Image-Pro Premier Basic Training Course Part 7 - Image Enhancements.
Designing a Microscopy Experiment Kurt Thorn, PhD Director, Image from Susanne Rafelski, Marshall lab.
Image: Susanne Rafelski, Marshall lab Introduction to Digital Image Analysis Part I: Digital Images Kurt Thorn NIC UCSF.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Introduction to Digital Image Analysis Kurt Thorn NIC.
Filters– Chapter 6. Filter Difference between a Filter and a Point Operation is that a Filter utilizes a neighborhood of pixels from the input image to.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Miguel Tavares Coimbra
Edge Detection Phil Mlsna, Ph.D. Dept. of Electrical Engineering Northern Arizona University.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Image enhancement algorithms & techniques Point-wise operations
ECE 692 – Advanced Topics in Computer Vision
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Math 3360: Mathematical Imaging
Introduction to Computer and Human Vision
Image Processing - in short
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Image Enhancement in the Spatial Domain
Spatial operations and transformations
Introduction to Digital Image Analysis Part I: Digital Images
Digital Image Processing Week IV

Lecture 2: Image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Morphological Operators
Review and Importance CS 111.
Spatial operations and transformations
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

Introduction to Digital Image Analysis Part II: Image Analysis Kurt Thorn NIC UCSF Image: Susanne Rafelski, Marshall lab

Many measurements of light intensity What is a digital Image? Many measurements of light intensity 1 3 5 4 2 6 13 20 11 14 44 75 81 45 12 28 98 255 234 78 27 94 215 194 68 18 39 66 63 35 8

Background correction Cameras have a non-zero offset There can also be background fluorescence due to media autofluorescence, etc. Want to correct for this by background subtraction Camera dark image Estimate background from image

Estimating background from image Number Pixel Intensity

Dark image Acquired with no light going to the camera Allows you to measure instrument background Can detect what’s real background autofluorescence

Dark image

Shading correction Measure and correct for nonuniformity in illumination and detection Image a uniform fluorescent sample

Shading correction

Correction procedure Imeas = Itrue * Shading + Dark Itrue = (Imeas – Dark) / Shading Good to do on all images

Digital Image Filters Averaging / Smoothing Gaussian smoothing 1 1 2 6 1 2 6 10 16 Gaussian smoothing

How this works (10+11+22+13+8+10+20+20+15)/9 = 14 10 +11 +22 1 10 11 Multiply corresponding pixels and sum 10 11 22 5 7 13 8 24 20 15 23 14 3 17 6 12 14

Linear Filters Kernel Simple Smoothing Gaussian Smoothing 1 1 2 6 10 1 2 6 10 16 Simple Smoothing 113 255 1 1 1 1 12 37 110 85 25 69 28 56 50 38 38 69 85

Why smooth? If your image is sampled appropriately (at Nyquist) the point spread function will be spread out over multiple pixels Properly exploiting this redundancy requires deconvolution But smoothing helps Also reduces single pixel noise artifacts that can’t be real

Actual PSF and Gaussian Filter

Why smooth? Averages redundancy and suppresses noise Noisy image Gaussian smoothing filter, s = 1 pixel

Smoothing Original Gaussian Filtered

Edge Detection 1 -1 1 2 -1 -2 Original

Horizontal edge detection 1 -1 1 2 -1 -2 Horizontal edge detection

Contrast enhancement filters Unsharp Laplacian Laplacian of Gaussian -1 -4 26

Contast enhancement Original Unsharp Filtered

Nonlinear filters Can do things like median filtering – replace center pixel by median value within box Good for smoothing while maintaining edges

Thresholding Pixel Intensity

Thresholding, where to set the cutoff?

Thresholding, where to set the cutoff? Automatic segmentation using Otsu’s method

One problem with this approach… It’s biased towards brighter objects Ideally would use second channel to independently define objects to measure

Binary images Thresholding gives you a binary image; 1 inside an object, 0 elsewhere This can be used to identify objects It can also be manipulated

Binary Operations: Erosion/Dilation Structuring Element: 1 1 Erosion 1 Dilation 1

Other binary operations Sequential erosion and dilation – tends to smooth objects Hole filling Removing objects at borders

Acknowledgements & Further Reading Nico Stuurman Gonzalez, Woods, and Eddins: Digital Image Processing (Using Matlab) Burger and Burge, Digital Image Processing, An Algorithmic Introduction using Java (ImageJ) Pawley: Handbook of Biological Confocal Microscopy