Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sahq-azhar/matlab-image_processing

The programs are designed to recognize objects in real-time video footage by using HSV values.
https://github.com/sahq-azhar/matlab-image_processing

image image-processing matlab matlab-gui video video-processing

Last synced: 21 days ago
JSON representation

The programs are designed to recognize objects in real-time video footage by using HSV values.

Awesome Lists containing this project

README

        

Image Processing Using MATLAB


This repository contains image processing code. The codes are designed to recognise objects using HSV values from real-time video data.

[![View MATLAB-Image Processing on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://in.mathworks.com/matlabcentral/fileexchange/99884-matlab-image-processing)

## v.2017.1.0.0

The GUI is created using Guide.
The code is rather outdated. However, I am still publishing this for future reference and developments. I accomplished this in 2017-2018, and there have been many improvements and optimizations since then. The new approach is updated in the 2021 folder.


Capture-pink

## Issues
These functions are slow and time-consuming; any alternative would be greatly appreciated.

### Issue [#1]( https://github.com/sahq-azhar/MATLAB-Image_Processing/issues/1)
#### Slider Callback Function for saving in [jumma.m](https://github.com/sahq-azhar/MATLAB-Image_Processing/blob/0d2d4a87f790af99a2afabff9eb14113adf14b26/2017/1_Getting%20HSV%20values%20from%20slider-GUI/jumma.m#L84-L88)

The following code retrieves values from the GUI Slider and passes them to the corresponding HSV values in the link.m file.

save function saves the value of the slider in a .txt file that can be called in the other .m file

```matlab
h1=get(handles.slider1,'value');
set(handles.edit1,'string',h1);
%h1 = get(hObject,'Value')
% print h1
save ('h1.txt','h1','-ascii')
```

#### Load in [link.m](https://github.com/sahq-azhar/MATLAB-Image_Processing/blob/210f26366a2d4df259afa53062949875da368dc5/2017/1_Getting%20HSV%20values%20from%20slider-GUI/link.m#L11-L12)
This takes the value from the.txt file into the appropriate variable.
```matlab
u1=load('h1.txt')
hueThresholdLow=u1;
```

## v.2021.1.0.0

This is an improvement over the previous version, that used guide to generate the gui and the remaining processing functions were executed in a separate .m file.
It took a long time and was out of date.
This method makes use of app designer to create a matlab app, and there is no need for another .m file to process and display the image.


1

----------------------------------------------

**⭐ The repo**

### Eat, Sleep, CODE, Repeat!