Imp Img
Imp Img
Histogram Equalization
How It Works:
1. Compute Histogram:
o The cumulative sum of the histogram values is used to map old intensity
values to new ones.
3. Normalize:
o The CDF is scaled to match the intensity range (0-255 for an 8-bit image).
4. Map Pixels:
o Replace each pixel value in the original image with its corresponding value
in the new intensity mapping.
Example Application:
Use Cases:
Satellite imagery.
Advantages:
Limitations:
May introduce artifacts or excessive contrast in areas with already high contrast.
Image filtering in the spatial domain involves manipulating pixel values directly in an
image to achieve desired effects, such as smoothing, sharpening, or edge detection. The
process generally involves applying a filter (also called a kernel or mask) to each pixel
in the image based on its neighboring pixels.
Smoothing filters reduce noise and details, resulting in a blurred or softened image.
Common smoothing filters include:
Purpose: Replaces each pixel value with the average of its neighboring pixels.
2. Gaussian Filter:
Effect: Smooths the image while preserving edges better than the mean filter.
3. Median Filter:
Purpose: Replaces each pixel with the median value of its neighboring pixels.
4. Bilateral Filter:
Key Characteristics:
Properties of WHT:
Applications:
Image and Signal Compression: Reduces redundancy in binary and digital images.
Pattern Recognition: Useful in matching binary patterns.
Error Detection and Correction: Applied in coding theory for error correction codes
(e.g., Hadamard codes).
Speech and Audio Processing: Analyzes and compresses audio signals.
Explain lossless predictive coding
Lossless predictive coding is a data compression technique that predicts the value of a
pixel or sample based on its neighboring values, computes the difference between the
actual and predicted value, and encodes this difference (residual). Since the residuals are
often smaller and have less variability, they can be compressed efficiently using entropy
coding methods (like Huffman or arithmetic coding). As the name suggests, this method is
lossless, meaning the original data can be perfectly reconstructed.
1. Prediction:
o A predictor estimates the current pixel value based on its neighboring pixel
values. Common prediction methods include:
Linear Prediction: Combines neighboring pixel values using a linear
model.
Previous Pixel: Simply uses the previous pixel value as the
prediction.
2. Error Calculation (Residual):
3. Entropy Encoding:
o The residuals are encoded using an entropy coding technique such as
Huffman coding or arithmetic coding to achieve compression.
4. Decoding:
o During decompression, the residuals are added back to the predicted values
to reconstruct the original image.
Applications:
Advantages:
In image segmentation, point, line, and edge detection are fundamental techniques used to
identify distinct features within an image. These features often represent important
structural elements, helping divide the image into meaningful regions or objects.
1. Point Detection
Point detection identifies isolated points or pixels with significant intensity differences
compared to their neighbours. It is useful for detecting small, localized features such as
stars in astronomical images or micro calcifications in medical images.
2. Line Detection
Line detection aims to find linear structures in an image, such as roads in satellite images
or blood vessels in medical images.
3. Edge Detection
Edge detection identifies the boundaries between different regions in an image, where pixel
intensities change abruptly. It is a key step in image segmentation and object detection.
Point Detection: Identifies key features or interest points for tasks like feature
matching.
Line Detection: Useful in detecting structural lines in images, such as roads, veins,
or cracks.
Edge Detection: Helps delineate object boundaries, leading to region-based
segmentation and contour detection.
What are three networks of estimating the degradation function. Explain in detail
1. Skeletons
2. Thinning
1. Skeletonization (Skeletons)
Definition:
Skeletonization reduces an object to its medial axis (a thin line equidistant from its
boundaries), preserving its overall structure while reducing its thickness to one pixel in
width.
Purpose:
Process:
Iteratively remove pixels from the boundary while preserving the object’s
connectivity.
The algorithm stops when further erosion would break the object into separate
components.
Example Application:
2. Thinning
Definition:
Purpose:
Example Application:
Output
One-pixel wide medial axis Thin but not necessarily one-pixel wide
Width