BasicImageProcessin​g_MATLABGUIapplicat​ion

Version 1.0 (1.31 MB) by DUY Nguyen
MATLAB GUI implements several basic image processing and segmentation functions without using MATLAB high-level image processing function
62 Downloads
Updated 1 Mar 2023

Image Processing and Segmentation Application

MATLAB GUI implements several basic image processing and segmentation functions without using MATLAB high-level image processing function. This application allows the user to open images, apply image processing functions, and display the processed images.

Features

Open and display images from a file selector: Example Image Select from a list of basic image processing functions:

  • a. Convolution function with an arbitrary 3 by 3 kernel specified by the user. The application provides the user with several options for accommodating negative numbers and overflow including: 1) Satuarated Handling: if the result of an operation falls outside the valid range (0-255 for 8-bit images), the value is set to the minimum or maximum valid value. 2) Scaled Handling: scaling the output values to fit within the valid range. 3) Saturated of Absolute Handling: negative values are simply set to their absolute values before using the saturated handling.
  • b. Sobel edge detection algorithm (magnitude).
  • c. Median filtering (3 by 3).
  • d. Gray scale transformation algorithm based on parameters specified by the user. The application displays an image histogram to help the user select the input and output ranges.
  • e. Automatic thresholding algorithm based on the image histogram. The application automatically selects a threshold using Otsu’s method and then displays the resulting binary image. An option for manually thresholding the image is also included.
  • f. Add noise and filter the noise with DNN function in Matlab

Installation

Install Matlab (R2022b version) on your computer.

Download the source code from GitHub.

Open the Matlab Guide by typing guide in the Matlab command window.

In the Matlab Guide, click on 'File' and then 'Open Existing GUI'.

Navigate to the directory where you downloaded the source code and select the file Assignment_ENGN.mlapp.

Usage

Click on 'Run' in the Matlab Guide to run the application.

In the application, click on the 'Load Image' button to open an image.

Set the parameters for the selected function using the input boxes or slider.

Select an image processing function by clicking the equivalent button.

The processed image will be displayed in the output section.

License

This is an assignment of Industrial Machine Vision course at Falculty of Sustainable Design Engineering, University of Prince Edward Island, Canada.

Instructor: Prof. Nicholas Krouglicof.

Contact

If you have any questions or feedback, please contact the developer at email address nguyenanhduy22101998@gmail.com

Cite As

DUY Nguyen (2024). BasicImageProcessing_MATLABGUIapplication (https://github.com/duyanhnguyen-daniel/BasicImageProcessing_MATLABGUIapplication/releases/tag/v1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.