Algae Detection Algorithms

Version 1.0.0 (3.98 KB) by Malachi
Part of EagleX 2022. Isolates and Quantifies Algae growth in 2 separate regions then graphs the growth over time.
9 Downloads
Updated 20 Apr 2023

View License

This program parses through individual folders containing images of 2 different hydroponic troughs with algae growth and quantifies the total algae in each image to produce a graph of growth over time.
In order to ensure proper parsing, images taken at the same time should all be within the same folder, and images belonging to different sections should be put in their own folders. (If you have 2 hydroponic troughs, there should be a folder for the first batch of photos, and within that folder, a folder for trough 1, and a folder for trough 2 and so on for each batch of photos, all within 1 large file containing every image and subfolder)
Future updates will allow for greater customization of the chart's final product and, hopefully, even more accurate image processing.
The main file is AlgaeAlgorithms.m, upon running it will open file explorer, which you then use to select the file you want to parse. algisolate.m can be repurposed to calculate algae density within a single image at a time if so desired, the commented out code outputs a series of images showing the steps performed during isolation.
Included in the zipped folder is a folder of properly organized images which can be used to test the program.
Much thanks to ImageAnalyst for uploading his demo on how to loop through a folder at https://www.mathworks.com/matlabcentral/answers/121033-how-to-loop-through-a-folder
It was very useful during this project's development.

Cite As

Malachi (2025). Algae Detection Algorithms (https://in.mathworks.com/matlabcentral/fileexchange/128078-algae-detection-algorithms), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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.0