The objective of this MATLAB script is to find the edges in a grayscale image by applying the following edge detection operators:
- Laplacian Operator
- Unsharp Masking
- Highboost Filtering
This MATLAB script performs the following tasks:
- Converts an image to grayscale (if not already grayscale).
- Applies various Laplacian filters with different center coefficients.
- Enhances image sharpness using Unsharp Masking.
- Performs Highboost Filtering to improve image details.
- Displays and compares results visually.
- Clone or download this repository to your local system.
- Ensure MATLAB (R2020b or later) and the Image Processing Toolbox are installed.
- Run the script
lab09_edges.m
in MATLAB. - The script will display the results of different edge detection methods including Laplacian, Unsharp Masking, and Highboost Filtering.
- MATLAB R2020b or later.
- Image Processing Toolbox.
- Save the file as
lab09_edges.m
. - Open MATLAB and navigate to the directory containing the script.
- Run the script in MATLAB by typing
lab09_edges
in the command window. - The script will:
- Read and convert the input image to grayscale.
- Apply Laplacian filters with different coefficients.
- Perform Unsharp Masking with different kernel sizes.
- Apply Highboost Filtering with different boost factors.
- Display the processed images in separate figure windows.
Rahul Patel
Electronics and Communication Engineering Student
Date: Febrary 02, 2025