VR Take-Home Assignments
VR Take-Home Assignments
• Extract and display the Red, Green, and Blue channels separately from an
RGB image.
Part B
1. Image Negative
2. Log Transformation
3. Image Whitening
4. Contrast Stretching
Stretch the intensity values of a gray-scale image to span the entire range [0, 255].
5. Histogram Equalization
Part C
1. Low-Pass Filtering
Apply an average filter (3 × 3 and 5 × 5 kernel) on an image and observe the degree
of smoothing. Apply a Gaussian filter (3 × 3 and 5 × 5 kernel) and compare its effect
with the average filter.
2. Median Filtering
3. High-Pass Filtering
Part D
1. Frequency Spectrum Visualization
3. High-Pass Filtering
Use Gaussian HPF to detect high frequency components of an image. Compare the
result with spatial-domain Gaussian High Pass filtering for various kernel sizes.
Add periodic noise to an image (e.g., sine waves of a fixed frequency). Design a
notch reject filter to remove the periodic noise. Identify the noise’s frequency
components and create corresponding notch filters. Apply the notch filter and
visualize the enhanced image.
Part E
1. Gradient-Based Edge Detection
Apply Sobel and Prewitt operators on a grayscale image and visualize the gradient
magnitude and direction. Compare the performance of Sobel and Prewitt edge
detectors.
Apply the Canny Edge Detector step by step on an image and experiment with
different values of Gaussian kernel size and threshold parameters.
3. Marr-Hildreth Edge Detection
Part F
1. Harris Corner Detector
Apply the Harris Corner Detector to images of text, buildings, and natural scenes,
captured by your phone. Experiment with different values of the Harris response
threshold and Compare the performance.
Part G
Scale-Invariant Feature Transform
• Implement SIFT feature detection using OpenCV and visualize the detected
keypoints on an image.
• Use SIFT to detect features in two images of the same object taken from
different viewpoints. Count the number of matches between the two images.
Part H
Co-occurrence matrix
Capture or download two different textured images (e.g., brick wall vs. cloth
fabric) and Compute the Co-occurrence matrix of the images for different position
operators.
Extract the texture features such as contrast, correlation, energy, entropy, and
homogeneity for both images. Compare texture feature values of both images.