Digital Image Procesing - Communications And Signal Processing

1y ago
4 Views
2 Downloads
557.82 KB
23 Pages
Last View : 1m ago
Last Download : 3m ago
Upload by : Camryn Boren
Transcription

Digital Image Procesing Discrete Walsh Trasform (DWT) in Image Processing Discrete Hadamard Trasform (DHT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON

1-D Walsh Transform This transform is slightly different from the ones you have met so far! Suppose we have a function f ( x), x 0, , N 1, where N 2 n. We use binary representation for x and u . We need n bits to represent them. x10 bn 1 ( x) b0 ( x) 2

Example: 1-D Walsh Transform Suppose f ( x) has N 8 samples. In that case n 3 since N 2 n. Consider f (6) : x10 6 x2 110 b0 (6) 0, b1 (6) 1, b2 (6) 1

1-D Walsh Transform We define now the 1-D Walsh transform as follows: 1 N 1 n 1 bi ( x ) bn 1 i ( u ) W (u ) f ( x) ( 1) N x 0 i 0 The above is equivalent to: n 1 bi ( x )bn 1 i (u ) 1 N 1 W (u ) f ( x)( 1) i 1 N x 0 The transform kernel values are obtained from: 1 T (u, x) T ( x, u ) N n 1 bi ( x ) bn 1 i ( u ) 1 bi ( x ) bn 1 i ( u ) i 1 ( 1 ) ( 1 ) i 0 N n 1 Therefore, the array formed by the Walsh matrix is a real symmetric matrix. It is easily shown that it has orthogonal columns and rows.

1-D Walsh Transform We would like to write the Walsh transform in matrix form. We define the vectors f f (0) f (1) f ( N 1) T W W (0) W (1) W ( N 1) T The Walsh transform can be written in matrix form W T f As mentioned in previous slide, matrix T is a real, symmetric matrix with orthogonal columns and rows. We can easily show that it is unitary and therefore: T 1 N T T N T , N is thesize of thesignal

1-D Inverse Walsh Transform Base on the last equation of the previous slide we can show that the Inverse Walsh transform is almost identical to the forward transform! n 1 f ( x) W (u ) ( 1)bi ( x )bn 1 i (u ) x 0 i 0 N 1 The above is again equivalent to N 1 n 1 bi ( x )bn 1 i (u ) f ( x) W (u )( 1) i 1 x 0 The array formed by the inverse Walsh matrix is identical to the one formed by the forward Walsh matrix apart from a multiplicative factor N.

2-D Walsh Transform We define now the 2-D Walsh transform as a straightforward extension of the 1-D transform: 1 N 1 N 1 n 1 W (u, v) f ( x, y) ( 1)bi ( x )bn 1 i (u ) bi ( y )bn 1 i (v ) N x 0 y 0 i 0 The above is equivalent to: n 1 (bi ( x )bn 1 i (u ) bi ( x )bn 1 i (u )) 1 N 1 N 1 W (u, v) f ( x, y )( 1) i 1 N x 0 y 0

2-D Inverse Walsh Transform We define now the Inverse 2-D Walsh transform. It is identical to the forward 2-D Walsh transform! 1 N 1 N 1 n 1 bi ( x ) bn 1 i ( u ) bi ( y ) bn 1 i ( v ) f ( x, y) W (u, v) ( 1) N x 0 y 0 i 0 The above is equivalent to: n 1 (bi ( x )bn 1 i (u ) bi ( x )bn 1 i (u )) 1 N 1 N 1 f ( x, y ) W (u, v)( 1) i 1 N x 0 y 0

Implementation of the 2-D Walsh Transform The 2-D Walsh transform is separable and symmetric. Therefore it can be implemented as a sequence of two 1-D Walsh transforms, in a fashion similar to that of the 2-D DFT.

Basis Functions of Walsh Transform Remember that the Fourier transform is based on trigonometric terms. The Walsh transform consists of basis functions whose values are only 1 and -1. They have the form of square waves. These functions can be implemented more efficiently in a digital environment than the exponential basis functions of the Fourier transform.

Kernels of Forward and Inverse Walsh Transform For 1-D signals the forward and inverse Walsh kernels differ only in a constant multiplicative factor of N . This is because the array formed by the kernels is a symmetric matrix having orthogonal rows and columns, so its inverse array is the same as the array itself! In 2-D signals the forward and inverse Walsh kernels are identical!

The Concept of Sequency The concept of frequency exists also in Walsh transform basis functions. We can think of frequency as the number of zero crossings or the number of transitions in a basis vector and we call this number sequency.

Computation of the Walsh Transform For the fast computation of the Walsh transform there exists an algorithm called Fast Walsh Transform (FWT). This is a straightforward modification of the FFT. Advise any introductory book for your own interest.

2-D Hadamard Transform We define now the 2-D Hadamard transform. It is similar to the 2-D Walsh transform. 1 N 1 N 1 n 1 bi ( x ) bi ( u ) bi ( y ) bi ( v ) H (u, v) f ( x, y ) ( 1) N x 0 y 0 i 0 The above is equivalent to: n 1 (bi ( x )bi (u ) bi ( x )bi (u )) 1 N 1 N 1 H (u, v) f ( x, y )( 1) i 1 N x 0 y 0

2-D Inverse Hadamard Transform We define now the Inverse 2-D Hadamard transform. It is identical to the forward 2-D Hadamard transform. 1 N 1 N 1 n 1 bi ( x ) bi ( u ) bi ( y ) bi ( v ) f ( x, y ) H (u, v) ( 1) N x 0 y 0 i 0 The above is equivalent to: n 1 (bi ( x )bi (u ) bi ( x )bi (u )) 1 N 1 N 1 f ( x, y ) H (u, v)( 1) i 1 N x 0 y 0

Properties of the Hadamard Transform Most of the comments made for Walsh transform are valid here. The Hadamard transform differs from the Walsh transform only in the order of basis functions. The order of basis functions of the Hadamard transform does not allow the fast computation of it by using a straightforward modification of the FFT.

Recursive Relationship of the Hadamard Transform An important property of Hadamard transform is that, letting H N represent the Hadamard matrix of order N the recursive relationsh ip holds : H 2N H N H N HN H N Therefore, starting from a small Hadamard matrix we can compute a Hadamard matrix of any size. This is a good reason to use the Hadamard transform!

Ordered Walsh and Hadamard Transforms Modified versions of the Walsh and Hadamard transforms can be formed by rearranging the rows of the transformation matrix so that the sequency increases as the index of the transform increases. These are called ordered transforms. The ordered Walsh/Hadamard transforms do exhibit the property of energy compaction whereas the original versions of the transforms do not. Among all the transforms of this family, the Ordered Hadamard is the most popular due to recursive matrix property and also energy compaction.

Images of 1-D Hadamard matrices

More images of 1-D Hadamard matrices 8x8 Hadamard matrix (non-ordered) 8x8 Hadamard matrix (ordered) 16x16 Hadamard matrix (non-ordered) 16x16 Hadamard matrix (ordered)

More images of 1-D Hadamard matrices 32x32 Hadamard matrix (non-ordered) 32x32 Hadamard matrix (ordered) 64x64 Hadamard matrix (non-ordered) 64x64 Hadamard matrix (ordered)

Superiority of DCT in terms of energy compaction in comparison with Hadamard Experiment The 256x256 DCT matrix Display of a logarithmic function of the DCT of “cameraman” The cumulative transform energy sequences

Non-ordered and ordered Hadamard The ordered Hadamard Transform of “cameraman” The cumulative transform energy sequences The non-ordered Hadamard Transform of “cameraman” The sequency of transform as a function of the sample index Question: In the bottom figures which of the two transforms is related to each curve?

Digital Image Procesing Discrete Walsh Trasform (DWT) in Image Processing Discrete Hadamard Trasform (DHT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON . 1-D Walsh Transform 10 1 ( ) 0 ( ) 2. 2 . ( ), 0 , , 1 ,

Related Documents:

Digital Image Fundamentals Titipong Keawlek Department of Radiological Technology Naresuan University Digital Image Structure and Characteristics Image Types Analog Images Digital Images Digital Image Structure Pixels Pixel Bit Depth Digital Image Detail Pixel Size Matrix size Image size (Field of view) The imaging modalities Image Compression .

L2: x 0, image of L3: y 2, image of L4: y 3, image of L5: y x, image of L6: y x 1 b. image of L1: x 0, image of L2: x 0, image of L3: (0, 2), image of L4: (0, 3), image of L5: x 0, image of L6: x 0 c. image of L1– 6: y x 4. a. Q1 3, 1R b. ( 10, 0) c. (8, 6) 5. a x y b] a 21 50 ba x b a 2 1 b 4 2 O 46 2 4 2 2 4 y x A 1X2 A 1X1 A 1X 3 X1 X2 X3

A digital image is a 2D representation of a scene as a finite set of digital values, calledpicture elements or pixels or pels. The field of digital image processing refers to processing digital image by means of a digital computer. NOTE: A digital image is composed of finite number of elements like picture elements, image

Digital image processing is the use of computer algorithms to perform image processing on digital images. As a . Digital cameras generally include dedicated digital image processing chips to convert the raw data from the image sensor into a color-corrected image in a standard image file format. I

Actual Image Actual Image Actual Image Actual Image Actual Image Actual Image Actual Image Actual Image Actual Image 1. The Imperial – Mumbai 2. World Trade Center – Mumbai 3. Palace of the Sultan of Oman – Oman 4. Fairmont Bab Al Bahr – Abu Dhabi 5. Barakhamba Underground Metro Station – New Delhi 6. Cybercity – Gurugram 7.

Axis Communications AXIS 215 PTZ-E Axis Communications AXIS 216FD Axis Communications AXIS 216FD-V Axis Communications AXIS 216MFD Axis Communications AXIS 216MFD-V Axis Communications AXIS 221 Axis Communications AXIS 223M Axis Communications AXIS 225FD Axi

Corrections, Image Restoration, etc. the image processing world to restore images [25]. Fig 1. Image Processing Technique II. TECHNIQUES AND METHODS A. Image Restoration Image Restoration is the process of obtaining the original image from the degraded image given the knowledge of the degrading factors. Digital image restoration is a field of

time test takers of the American Board of Radiology radiation biology (left), physics (center), and clinical (right) qualifying examinations from 2005-2016 [2017 unavailable]. Reported average pass rates from 2018 are plotted as outliers (for radiation biology and physics) and labeled. Two-sided P-values (with distribution of normality confirmed by the Shapiro test) demonstrate that the .