Examples of image processing

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

1.Discuss the frequency domain techniques of image enhancement in detail.

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing

8. Lecture. Image restoration: Fourier domain

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

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

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam

Midterm Review. Image Processing CSE 166 Lecture 10

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

Frequency Domain Enhancement

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

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing.

Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering

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

Transforms and Frequency Filtering

Digital Image Processing

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

Fourier Transforms and the Frequency Domain

Lecture #10. EECS490: Digital Image Processing

Digital Image Processing. Lecture # 3 Image Enhancement

Digital Image Processing

1. (a) Explain the process of Image acquisition. (b) Discuss different elements used in digital image processing system. [8+8]

Digital Image Processing

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

Digital Image Processing 3/e

Digital Image Processing

Image Processing. 2. Point Processes. Computer Engineering, Sejong University Dongil Han. Spatial domain processing

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

Design of Various Image Enhancement Techniques - A Critical Review

Image Enhancement in the Spatial Domain (Part 1)

Image Enhancement in Spatial Domain

TDI2131 Digital Image Processing

Digital Image Processing. Image Enhancement: Filtering in the Frequency Domain

Image Processing Lecture 4

2D Discrete Fourier Transform

IMAGE ENHANCEMENT - POINT PROCESSING

Computer Vision, Lecture 3

Practical Image and Video Processing Using MATLAB

CoE4TN4 Image Processing. Chapter 4 Filtering in the Frequency Domain

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

Image Processing for feature extraction

What is image enhancement? Point operation

Last Lecture. Lecture 2, Point Processing GW , & , Ida-Maria Which image is wich channel?

Image Smoothening and Sharpening using Frequency Domain Filtering Technique

Image Enhancement. Image Enhancement

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Image preprocessing in spatial domain

Module 3 : Sampling & Reconstruction Lecture 26 : Ideal low pass filter

Digital Image Processing

Qäf) Newnes f-s^j^s. Digital Signal Processing. A Practical Guide for Engineers and Scientists. by Steven W. Smith

Non Linear Image Enhancement

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

DIGITAL IMAGE PROCESSING UNIT III

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Noise and Restoration of Images

Image Restoration and De-Blurring Using Various Algorithms Navdeep Kaur

Enhancement. Degradation model H and noise must be known/predicted first before restoration. Noise model Degradation Model

IMAGE PROCESSING PROJECT REPORT NUCLEUS CLASIFICATION

Digital Image Processing. Filtering in the Frequency Domain (Application)

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

On spatial resolution

EE 438 Final Exam Spring 2000

Fourier transforms, SIM

Exercise questions for Machine vision

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

EEL 6562 Image Processing and Computer Vision Image Restoration

ECC419 IMAGE PROCESSING

Various Image Enhancement Techniques - A Critical Review

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

Fourier Transforms in Radio Astronomy

PHYS 352. FFT Convolution. More Advanced Digital Signal Processing Techniques

Review and Analysis of Image Enhancement Techniques

MATLAB 6.5 Image Processing Toolbox Tutorial

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY

6. Very low level processing (radiometric calibration)

Anna University, Chennai B.E./B.TECH DEGREE EXAMINATION, MAY/JUNE 2013 Seventh Semester

Syllabus of the course Methods for Image Processing a.y. 2016/17

This content has been downloaded from IOPscience. Please scroll down to see the full text.

Signal segmentation and waveform characterization. Biosignal processing, S Autumn 2012

Teaching Scheme. Credits Assigned (hrs/week) Theory Practical Tutorial Theory Oral & Tutorial Total

Image Deblurring. This chapter describes how to deblur an image using the toolbox deblurring functions.

Filtering in the spatial domain (Spatial Filtering)

Stochastic Image Denoising using Minimum Mean Squared Error (Wiener) Filtering

IMAGE PROCESSING PAPER PRESENTATION ON IMAGE PROCESSING

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

Filip Malmberg 1TD396 fall 2018 Today s lecture

Lab 4 Digital Scope and Spectrum Analyzer

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image.

IDENTIFICATION OF FISSION GAS VOIDS. Ryan Collette

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

Image Enhancement using Histogram Equalization and Spatial Filtering

Correction of Clipped Pixels in Color Images

Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

DEFOCUS BLUR PARAMETER ESTIMATION TECHNIQUE

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

EE482: Digital Signal Processing Applications

Digital Image Processing Question Bank UNIT -I

Digital Image Processing

Sampling and Reconstruction

Transcription:

Examples of image processing

Example 1: We would like to automatically detect and count rings in the image 3

Detection by correlation Correlation = degree of similarity Correlation between f(x, y) and h(x, y) max at (20, 25) 10 10 10 0.3 20 20 20 0.2 30 30 30 0.1 40 40 40 0 50 50 50-0.1 60 10 20 30 40 50 60 60 10 20 30 40 50 60 60 10 20 30 40 50 60-0.2 4

Detection by correlation Correlation = degree of similarity Correlation between f(x, y) and h(x, y) sensitive to changes in the amplitude of f and h Correlation coefficient 5 scaled between -1 to 1, scale-independent

Detection by correlation Correlation = degree of similarity Correlation between f(x, y) and h(x, y) sensitive to changes in the amplitude of f and h Significant computational time Correlation coefficient 6 scaled between -1 to 1, scale-independent

Detection by correlation Correlation = degree of similarity Correlation between f(x, y) and h(x, y) Correlation theorem 7 Phase correlation method

Phase correlation method Given two input images f and h Calculate the DFT of both images Calculate the cross-power spectrum by taking the complex conjugate of the second result, multiplying the FTs together elementwise, and normalizing this product elementwise 8

Phase correlation method Obtain the normalized cross-correlation by applying the inverse Fourier transform Determine the location of the peak in c 9

Phase correlation method Obtain the normalized cross-correlation by applying the inverse Fourier transform Determine the location of the peak in c The method is resilient to noise 10

Correlation in the spatial versus frequential domain Trade-off estimate performed by Campbell [1969]: if the number of nonzero terms in h (smaller image) is less than 132 (approximately 13x13 pixels), correlation in the spatial domain is faster than the FFT approach 11

Detection by correlation 12

Detection by correlation (2 nd trial) 50 100 150 200 250 50 100 150 200 250 50 log(phase correlation) -2-4 50 after thresholding 1 0.9 0.8 50 100-6 -8 100 0.7 0.6 100 150-10 -12 150 0.5 0.4 0.3 150 200-14 200 0.2 200-16 0.1 250 50 100 150 200 250 250 50 100 150 200 250 0 250 50 100 150 200 250 13

Example 2: Unhook the moon One would like to analyze the surface of the moon The acquired image is of poor quality A movement of the camera during the long-exposure acquisition led to a fuzzy image 14

Modelling the problem (of image degradation) The resulting grey level of each pixel = average grey level seen by the pixel during the movement Assuming the movement is rectilinear, this is modelled by a convolution of the original image f(x, y) by a linear mask whose size corresponds to the movement amplitude f(x, y) = original image (unknown) h(x, y) = convolution mask or impulse response (length unknown) g(x, y) = observed fuzzy image 15

Modelling the problem (of image degradation) There can also be some unknown noise b(x, y). Assuming it is additive: FT Assuming the noise can be neglected: 16

Modelling the problem (of image degradation) Assuming the noise can be neglected: The original image can then be recovered by computing the inverse FT This restoration technique is called by (pseudo) inverse filtering f(x, y) is restored thanks to a filter whose transfer function is 1/H 17

Modelling the problem (of image degradation) This restoration technique is called by (pseudo) inverse filtering However, directly applied, this method may fail For the frequencies where H gets null (or takes values very close to zero), B/H cannot be neglected any longer: the restored image is then heavily corrupted by the noise. This problem can be tackled by using a filter whose transfer function is 1/H when H is greater than a given threshold, and zero otherwise (pseudo-inverse filtering) 18

Identifying the model s parameters With astronomic images, one can be lucky if a far star is in the black background of f(x, y), it can be consider as a Dirac. In g(x, y), it then directly leads to the impulse response of the filter that degraded the image (i.e. h) Look for such a star in the dark regions of g (use profiles, thresholds ) If one can t directly estimate h from g, another solution consists in the trial-error strategy 19

Using the identified model The image can now be restored It is possible to further improve the result (contrast, edges ) 20

Example 3: A portion of rice One would like to analyze a picture featuring some rice seeds The aim is to obtain a segmented binary image The background is not uniform Neither are the seeds 256x256 image Every pixel is coded by 8 bits 21

A portion of rice Image histogram We do not clearly see distinct classes 22

A portion of rice Thresholding Rice seeds are bright Threshold = 150 Central seeds are detected, but peripheral seeds are missing Threshold = 50 Central seeds are aggregated with the part of the background 23

A portion of rice A slice of the original image (horizontal line in the center) The background of the image is not uniform 24

A portion of rice Edge detection Seeds do not have a homogeneous grey level in the image However, they are (almost) always brighter than their neighborhood Sobel filtering for edge detection The next step is to close these edges for further isolating every seed 25

A portion of rice Edge detection Seeds do not have a homogeneous grey level in the image However, they are (almost) always brighter than their neighborhood (Morphological dilation original image) followed by thresholding The next step is to close these edges for further isolating every seed 26

Estimation of the background In practice: by calibration Empty image (without seeds) is used If the empty image is not available? 27

Estimation of the background We will try to remove only seeds from the image Morphological opening with a structuring element larger (at least in one dimension) than the rice seeds 28

Estimation of the background Morphological opening with a structuring element larger (at least in one dimension) than the rice seeds Original image opening: 29

Estimation of the background Original image opening Thresholding 30

Estimation of the background: frequential approach We can consider that the intensity variations of the background are slower than the intensity variations of the seeds From here, the information related to the background is situated in the low frequencies FT(original image) 31

Estimation of the background: frequential approach Lowpass filtering (Butterworth Lowpass) of the original image with a relatively low cutoff frequency 32

Estimation of the background: frequential approach To compensate the dome, we divide the original image by the (lowpass) filtered image (or substract two images) Now the background is compensated 33

Estimation of the background: frequential approach Thresholding 34