ENG4BF3 Medical Image Processing

Slides:



Advertisements
Similar presentations
ECE 472/572 - Digital Image Processing Lecture 7 - Image Restoration - Noise Models 10/04/11.
Advertisements

Digital Image Processing Lecture 11: Image Restoration Prof. Charlene Tsai.
Digital Image Processing Chapter 5: Image Restoration.
Digital Image Processing
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
Image Restoration 影像復原 Spring 2005, Jen-Chang Liu.
DIGITAL IMAGE PROCESSING
5. 1 Model of Image degradation and restoration
Digital Image Processing
Image Restoration.
Digital Image Processing Chapter 5: Image Restoration.
Image Restoration.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
Chapter 5 Image Restoration. Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective.
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
Antal Nagy Department of Image Processing and Computer Graphics University of Szeged 17th SSIP 2009, July, Debrecen, Hungary1.
Chapter 3: Image Restoration Geometric Transforms.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Restoration.
Chapter 5 Image Restoration.
Image Restoration and Reconstruction (Noise Removal)
Computer Vision - Restoration Hanyang University Jong-Il Park.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
Digital Image Processing
Chapter 3: Image Restoration Introduction. Image restoration methods are used to improve the appearance of an image by applying a restoration process.
CS654: Digital Image Analysis
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی
IMAGE RESTORATION Outline A model of the image degradation / restoration process Noise models Restoration in the presence of noise only – spatial filtering.
Image Restoration Chapter 5.
CS654: Digital Image Analysis Lecture 22: Image Restoration - II.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Image Restoration.
Digital Image Processing Lecture : Image Restoration
Image Restoration Fasih ur Rehman. –Goal of restoration: improve image quality –Is an objective process compared to image enhancement –Restoration attempts.
Digital Image Processing Lecture 10: Image Restoration
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
Ch5 Image Restoration CS446 Instructor: Nada ALZaben.
Digital Image Processing Lecture 11: Image Restoration March 30, 2005 Prof. Charlene Tsai.
Chapter 5 Image Restoration.
By Dr. Rajeev Srivastava
Image Restoration: Noise Models By Dr. Rajeev Srivastava.
Image Restoration. Image restoration vs. image enhancement Enhancement:  largely a subjective process  Priori knowledge about the degradation is not.
Lecture 22 Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which is degraded.
6/10/20161 Digital Image Processing Lecture 09: Image Restoration-I Naveed Ejaz.
Lecture 10 Chapter 5: Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which.
Digital Image Processing
Image Restoration : Noise Reduction
Medical Image Analysis
Digital Image Processing Lecture 10: Image Restoration
IMAGE PROCESSING IMAGE RESTORATION AND NOISE REDUCTION
Degradation/Restoration Model
Image Pre-Processing in the Spatial and Frequent Domain
Image Restoration – Degradation Model and General Approaches
Image Restoration Spring 2005, Jen-Chang Liu.
Image Geometry and Geometric Transformation
Digital Image Processing
Digital Image Processing
DIGITAL IMAGE PROCESSING
IMAGE RESTORATION.
Lecture 11 Image restoration and reconstruction II
Image Analysis Image Restoration.
ENG4BF3 Medical Image Processing
Digital Image Processing
Image Enhancement in the Spatial Domain
Image Restoration and Denoising
Image Restoration - Focus on Noise
Lecture 14 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Digital Image Processing
Digital Image Processing Lecture 11: Image Restoration
Lecture 12 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Presentation transcript:

ENG4BF3 Medical Image Processing Image Restoration

Image Restoration Restoration: a process that attempts to reconstruct or recover a degraded image by using some a priori knowledge of the degradation phenomenon. Technique: model the degradation -> apply the inverse process to recover the original image. Enhancement technique are heuristic while restoration techniques are mathematical.

Degradation Model

Noise Image sensor might produce noise because of environmental conditions or quality of sensing elements. Interference in the image transmission channel. Assumptions: noise is independent of spatial coordinates (except for periodic noise) and independent of the image. Spatial description of noise: Gaussian noise, Rayleigh noise, Erlang (Gamma) noise, Exponential noise, Uniform noise, Impulse noise, etc.

Noise Model Different PDFs provide useful tools for modeling a broad range of noise corruption situations: Gaussian noise: due to factors such as electronic circuit noise, sensor noise (due to poor illumination or high temperature) Rayleigh noise: model noise in range imaging Exponential and Gamma: laser imaging Impulse noise: found in quick transients (e.g., faulty switches)

Noise Model

Noise Model

Noise Model

Periodic Noise Periodic noise: from electrical or electromechanical interference during image acquisition. Frequency domain filtering can be used to remove this noise. Fourier transform of a pure sinusoid is a pair of conjugate impulses. In the Fourier transform of an image corrupted with periodic noise should have a pair of impulses for each sine wave.

Estimation of Noise Parameters

Restoration in the presence of noise When the only degradation is noise: g(x,y)=f(x,y)+n(x,y) G(u,v)=F(u,v)+N(u,v) Spatial filtering is the method of choice in this case: Mean filters, Order-statistics filters, Adaptive filters

Mean filters Sxy : subimage of size m*n Arithmetic mean filter: Geometric mean filter:

Mean filters Harmonic mean filter: Contraharmonic mean filter Negative Q: Suitable for salt noise Positive Q: Suitable for pepper noise

Order-statistics filters Median filters: Effective for salt and pepper noise Max and Min filters Max filter: useful for finding brightest points in an image (remove pepper noise) Min filter: useful for finding darkest points in an image (remove salt noise)

Order-statistics filters Midpoint filter: Works best for Gaussian and uniform noise Alpha-trimmed mean filter d/2 lowest and d/2 highest gray-levels are removed Useful for combination of salt-pepper and Gaussian noise

Adaptive, local noise reduction filter Response of the filter is based on four quantities: g(x,y) : variance of noise mL: mean of pixels in Sxy s2L: variance of pixels in Sxy

Adaptive median filtering Handle dense impulse noise Smoothes non-impulse noise Preserves details zmin: minimum gray level in Sxy zmax: maximum gray level in Sxy zmed: median gray level of Sxy zxy: gray level at coordinate (x,y) Smax: maximum allowed size of Sxy

Adaptive median filtering A1=zmed-zmin A2=zmed-zmax If A1>0 and A2<0 go to B else increase the window size If window size<Smax repeat A Else output zxy B B1=zxy-zmin B2=zxy-zmax If B1>0 and B2<0 output zxy Else output zmed

Periodic noise reduction Bandreject filters remove or attenuate a band of frequencies

Periodic noise reduction Butterworth Bandreject Filter Gaussian Bandreject Filter

Periodic noise reduction

Estimation of Degradation

Estimation by image observation We look at a small section of the image containing simple structures (e.g., part of an object and the background) By using sample gray levels of the object and background, we can construct an unblurred “true” image of the subimage

Estimation by Experimentation If equipment similar to the equipment used to acquire the degraded image is available it is possible to obtain an accurate estimate of the degradation. The idea is to obtain the impulse response of the degradation by imaging an impulse (small dot of light) using the system

Estimation by Experimentation FT of an impulse is a constant

Estimation by modeling Approach: derive a mathematical model starting from basic principles Example: Turbulence model

Inverse Filtering Difficulty: if the degradation has zero or very small values, then the ratio N(u,v)/H(u,v) could easily dominate the estimation. Cure: limit filter frequencies to values near the origin.

Wiener Filtering Goal: minimize the estimation error Wiener filtering:

Wiener Filtering

Constrained Least Square Filtering Vector-matrix representation of an image Minimize criterion function subject to

Constrained Least Square Filtering Solution: where P(u,v) is the FT of

Constrained Least Square Filtering

Geometric Transformation Geometrical transformations: modify the spatial relationships between pixels in an image

Geometric Transformation Geometrical transformation consists of two basic operations: Spatial transformation: defines the rearrangement of pixels on the image plane Gray level interpolation: deals with the assignment of gray levels to pixels in the spatially transformed image

Spatial Transformation Image f with pixels coordinates (x,y) has undergone geometric distortion to produce an image g with coordinates (x’,y’) x’=r(x,y), y’=s(x,y) Example: x’=r(x,y)=x/2, y’=s(x,y)=y/2 Distortion is a shrinking of the size of f(x,y) by one-half in both directions.

Spatial Transformation If r(x,y) and s(x,y) are known analytically: the inverse of r and s is applied to g(x’,y’) to recover f(x,y). In practice finding a single set of r(x,y) and s(x,y) is not possible Solution: spatial relocation is formulated by the use of tiepoints. Tiepoints: a set of pixels whose locations in distorted and corrected images are known

Spatial Transformation Suppose the geometrical distortion process within the region is modeled by a pair of bilinear equations: x’=r(x,y)=c1x+c2y+c3yx+c4 y’=s(x,y)=c5x+c6y+c7yx+c8 8 known tiepoints, 8 unknown ci The model is used for all the points inside the region

Spatial Transformation for x=1 to horizontal size { for y=1 to vertical size { x’=r(x,y)=c1x+c2y+c3yx+c4 y’=s(x,y)=c5x+c6y+c7yx+c8 f^(x,y)=g(x’,y’) }

Gray-level Interpolation Depending on the values of ci , x’ and/or y’ can be noninteger for integer values of (x,y) x’=r(x,y)=c1x+c2y+c3yx+c4 y’=s(x,y)=c5x+c6y+c7yx+c8 g is a digital image and its pixel values are defined only at integer values of (x,y). We need inferring gray-level values at noninteger locations (gray-level interpolation)

Gray-level Interpolation Simplest scheme: nearest neighbor approach (zero-order interpolation) Mapping (x,y) to (x’,y’) Selection of closest integer coordinate neighbor to (x’,y’) Assign the gray-level of this nearest neighbor to the pixel at (x,y)

Gray-level Interpolation Nearest neighbor interpolation: simple to implement, has the drawback of producing undesirable artifacts Example: distortion of straight edges in an image More sophisticated techniques: better results, costly in terms of computations A reasonable compromise: bilinear interpolation approach

Gray-level Interpolation (x’,y’): a noninteger coordinate v(x’,y’): the gray-level at (x’,y’) v(x’,y’)=ax’+by’+cx’y’+d The four unknowns (a,b,c,d) are determined using the gray-levels of four neighbors of (x’,y’) When the coefficients (a,b,c,d) have been determined, v(x’,y’) is computed and this values is assigned to the location (x,y).

End of Lecture