https://github.com/rahulpatel2002/imageprocessing-edgedetection
MATLAB implementation of edge detection using Laplacian operators, unsharp masking, and highboost filtering. This lab explores various filtering techniques to enhance image features.
https://github.com/rahulpatel2002/imageprocessing-edgedetection
convolution-filter edge-detection highboost-filter image-processing laplacian-filter matlab unsharp-masking
Last synced: about 1 year ago
JSON representation
MATLAB implementation of edge detection using Laplacian operators, unsharp masking, and highboost filtering. This lab explores various filtering techniques to enhance image features.
- Host: GitHub
- URL: https://github.com/rahulpatel2002/imageprocessing-edgedetection
- Owner: RAHULPATEL2002
- Created: 2025-01-28T16:20:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-03T18:25:43.000Z (over 1 year ago)
- Last Synced: 2025-03-17T05:18:16.800Z (over 1 year ago)
- Topics: convolution-filter, edge-detection, highboost-filter, image-processing, laplacian-filter, matlab, unsharp-masking
- Language: MATLAB
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Finding Edges in Images**
## **AIM**
The objective of this MATLAB script is to find the edges in a grayscale image by applying the following edge detection operators:
1. Laplacian Operator
2. Unsharp Masking
3. Highboost Filtering
---
## **Features**
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.
---
## **How to Use**
1. Clone or download this repository to your local system.
2. Ensure MATLAB (R2020b or later) and the Image Processing Toolbox are installed.
3. Run the script `lab09_edges.m` in MATLAB.
4. The script will display the results of different edge detection methods including Laplacian, Unsharp Masking, and Highboost Filtering.
---
## **Prerequisites**
- MATLAB R2020b or later.
- Image Processing Toolbox.
---
## **Instructions**
1. Save the file as `lab09_edges.m`.
2. Open MATLAB and navigate to the directory containing the script.
3. Run the script in MATLAB by typing `lab09_edges` in the command window.
4. 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.
---
## **Example Results**
### **Laplacian Edge Detection**

### **Unsharp Masking**

### **Highboost Filtering**

---
## **Author**
**Rahul Patel**
*Electronics and Communication Engineering Student*
*Date: Febrary 02, 2025*
---