This repository contains a collection of MATLAB scripts & functions for basic image-processing tasks like image manipulation, image enhancement, image segmentation, and many more. Whether you're a beginner looking to learn image processing with MATLAB or an experienced user seeking reference code, you'll find various examples and tutorials here.
Before using the code in this repository, make sure you have MATLAB installed on your system. You can download MATLAB from the official MathWorks website or you can use the online MATLAB with some restrictions of usage from the online MATLAB 1 or online MATLAB 2. No additional installation is required for these MATLAB scripts apart from MATLAB software. Simply open MATLAB and run the scripts as needed.
To start using the codes, you will need some images; though you can take any image, I have provided some standard MATLAB images that you can use. You can download it from here.
Sl. No. | Programs | Function used | Code Links |
---|---|---|---|
1 | Program to read and show an image in MATLAB | imread(), imshow() | [Code] |
2 | Program to resize an image in different dimensions | imresize() | [Code] |
3 | Program to convert an image from RGB to grayscale image | rgb2gray() | [Code] |
4 | Program to convert an image to its negative image | imcomplement() | [Code] |
5 | Program for bit plane slicing | mod(),floor() | [Code] |