Math 3360 Mathematical Imaging Lecture 2 Image Transformation

  • Slides: 12
Download presentation
Math 3360: Mathematical Imaging Lecture 2: Image Transformation for Image Processing Prof. Ronald Lok

Math 3360: Mathematical Imaging Lecture 2: Image Transformation for Image Processing Prof. Ronald Lok Ming Lui Department of Mathematics, The Chinese University of Hong Kong

Recap: What is a digital image? n Mathematical definition: n n n A 2

Recap: What is a digital image? n Mathematical definition: n n n A 2 D (grayscale) digital image is a 2 D function defined on a 2 D domain (usually rectangular domain): is called the brightness/intensity/grey level; (x, y) is the spatial coordinates of the image. Thus, a 2 D digital image looks like this: Each element in the matrix is called pixel (picture element); Usually, and IMAGE PROCESSING IS RELATED TO LINEAR ALGEBRA!!

Recap: What is a digital image? n Mathematical definition of color image: n n

Recap: What is a digital image? n Mathematical definition of color image: n n n A 2 D (color) digital image is a 2 D function defined on a 2 D domain (usually rectangular domain): are the intensity/brightness/grey level corresponding to R, G and B respectively ; Combination of R, G, B forms the full spectrum of color! WE WILL FOCUS ON: Grayscale image!

Recap: “Image resolution”? n Image resolution: n Recall: A digital image looks like: where:

Recap: “Image resolution”? n Image resolution: n Recall: A digital image looks like: where: n n (N, G) is called the image resolution. Sometimes, (n, m) is referred to as image resolution as well.

Recap: Read & Write image in Matlab? n n Keep in mind: imread &

Recap: Read & Write image in Matlab? n n Keep in mind: imread & imwrite! Please attend TA session when you will learn MATLAB command to do mathematical imaging!

Main tasks in image processing n Major tasks in imaging includes: n n To

Main tasks in image processing n Major tasks in imaging includes: n n To improve the quality of an image in a subjective way, usually by increasing its contrast. This is called image enhancement. To use as few bits as possible to represent the image, with minimum deterioration in its quality. This is called image compression. To improve an image in an objective way, for example by reducing its blurring. This is called image restoration. To extract explicit characteristics of the image which can be used to identify the contents of the image. This is called feature extraction.

Main tasks in image processing n Mathematical technique for imaging (in 1 sentence): n

Main tasks in image processing n Mathematical technique for imaging (in 1 sentence): n n TRANSFORM an input image to a better image Mathematically, can be LINEAR: can be NON-LINEAR

Now: some mathematics! n n Please refer to Supplementary note 1 & 2 You

Now: some mathematics! n n Please refer to Supplementary note 1 & 2 You will learn from Supplementary note 1 & 2: n n n How linear operator to transform an image (to a better image) is defined? Shift invariant v. s. convolution Separable operator Main idea:

Now: some mathematics! You will see that if the operator on an image is

Now: some mathematics! You will see that if the operator on an image is linear and separable: n Find suitable and for image enhancement, image deblurring and feature selection etc. n

Image enhancement Original Enhanced

Image enhancement Original Enhanced

Image enhancement Original Deblurred

Image enhancement Original Deblurred

Feature selection Original image Edge detection

Feature selection Original image Edge detection