DIP Assignment 3: 1. Explain Homomorphic Filter
DIP Assignment 3: 1. Explain Homomorphic Filter
⟨Ux,Uy⟩=⟨x,y⟩
In other words, the angle between vectors and the magnitude (length) of vectors are preserved
under the transformation.
2. Length Preservation
Unitary transforms preserve the norm (or length) of vectors. If ∥x∥ denotes the Euclidean
norm of a vector x, then for any vector x,
∥Ux∥=∥x∥
This property ensures that unitary transformations do not stretch or shrink vectors.
3. Orthogonality
A unitary matrix U satisfies the condition:
U†U=UU†=I
Where:
o U† is the conjugate transpose (Hermitian transpose) of U,
This means that the columns (and rows) of a unitary matrix are orthonormal (they are
orthogonal to each other and have unit length).
4. Invertibility
A unitary matrix is always invertible, and its inverse is its conjugate transpose:
U-1=U†
Since U†U= I, multiplying a unitary matrix by its conjugate transpose results in the identity
matrix, confirming that U-1=U†.
5. Eigenvalues on the Unit Circle
The eigenvalues of a unitary matrix all lie on the unit circle in the complex plane. That is, for
any eigenvalue λ\lambda of a unitary matrix U,
∣λ∣=1
This implies that the eigenvalues are of the form eiθ where θ is a real number.
6. Determinant
The determinant of a unitary matrix has an absolute value of 1:
∣det(U)∣=1
This follows from the fact that unitary matrices preserve the norm and volume, and their
determinant represents a scaling factor (which is 1 for unitary matrices).
7. Preservation of Orthogonality
If UU is a unitary matrix, and x1and x2are orthogonal vectors (i.e., ⟨x1,x2⟩=0 ,then their
transformed counterparts Ux1 and Ux2 will also be orthogonal:
⟨Ux1,Ux2⟩=0
8. Unitarity in Quantum Mechanics
In quantum mechanics, unitary transforms represent quantum operations (such as quantum
gates in quantum computing) that preserve the total probability amplitude of quantum states.
The preservation of inner product implies that probabilities (squared magnitudes of quantum
states) remain unchanged under these transformations.
9. Matrix Representation
A unitary matrix UU is typically represented as a square matrix with complex entries. For
example, a 2x2 unitary matrix can be written as:
This ensures that the transform does not distort the magnitude of the signal.
6. Binary Operation
The Hadamard transform operates on binary values (+1+1 and −1-1), which is particularly
useful in applications like error correction codes, where the coefficients are taken from these
values.
7. Symmetry
The Hadamard matrix exhibits a recursive structure, meaning it can be constructed using
smaller Hadamard matrices. Specifically, the Hadamard matrix H 2n can be built from Hn as:
This structure provides symmetry and scalability, allowing efficient construction and
computation for larger matrices.
8. Application in Quantum Computing
The Hadamard transform plays a key role in quantum computing, where it is used to create
superposition states. It is used to map basis states in quantum algorithms, such as the
Deutsch-Jozsa algorithm and Grover's search algorithm.
9. Decoding in Error-Correction Codes
The Hadamard transform is widely used in error-correction codes, such as Hadamard
codes, which help detect and correct errors in data transmission systems.
10. Determinant
The determinant of a Hadamard matrix is either +1+1 or −1-1, depending on the size of the
matrix. For example:
3. Optimum Design: The goal is to achieve the best attenuation at the target frequency with
minimal impact on the rest of the signal. The filter should minimize distortion and not affect
neighboring frequencies.
4. Applications:
o Removing power line interference (50/60 Hz) in medical and audio systems.
1. Primary Colors:
o Red (R), Green (G), and Blue (B) are the primary colors in the additive color
model, which is used in displays (monitors, TVs, etc.).
o In the RGB model, colors are created by combining different intensities of these three
colors of light.
2. Color Cube Representation:
o The RGB color cube is a 3D representation of all possible colors that can be created
by varying the intensities of the red, green, and blue components.
o Each axis of the cube represents one of the primary colors (R, G, and B).
o The cube typically has values from 0 to 255 for each axis in 8-bit color depth, with 0
meaning no intensity and 255 being full intensity.
o Corners of the cube correspond to pure colors (e.g., (255, 0, 0) for red, (0, 255, 0) for
green, and (0, 0, 255) for blue).
o Center: (127, 127, 127) corresponds to a gray color (balanced intensity of all three
primary colors).
o White: (255, 255, 255) is the combination of maximum intensity of all three colors.
3. Color Mixing:
o In the RGB model, combining two primary colors creates secondary colors (e.g., red
and green create yellow, green and blue create cyan).
o When all three components are at full intensity, the result is white. If all three are at
zero, the result is black.
1. Primary Colors:
o The CMY model uses Cyan (C), Magenta (M), and Yellow (Y) as its primary
colors, which are the complementary colors to red, green, and blue.
o The CMY model is used primarily in subtractive color mixing, like in printing,
where colors are created by subtracting light.
2. Color Cube Representation:
o The CMY color cube is also a 3D space, but instead of additive mixing (as in RGB),
it represents subtractive mixing.
o Each axis of the cube corresponds to the cyan, magenta, and yellow components.
o The color space is inverted compared to the RGB model: higher values indicate more
color saturation (with 0 representing no color, and 255 being maximum saturation).
o Pure Cyan corresponds to (255, 0, 0), Pure Magenta corresponds to (0, 255, 0), and
Pure Yellow corresponds to (0, 0, 255) in the CMY space.
o White is (0, 0, 0), and Black is (255, 255, 255) in the CMY cube (the reverse of the
RGB cube).
3. Color Mixing:
o In the CMY model, mixing the primary colors results in the creation of secondary
colors. For example, cyan and magenta mix to form blue, magenta and yellow form
red, and yellow and cyan form green.
o When all three components are mixed at full intensity, the result is black (in theory,
but practical systems use a fourth component, Key (K), in the CMYK model to
improve the depth of black).