This project is the application of image processing techniques in hydraulic field.
The aim is to measure the height of moving slugs in a video by applying segmentation techniques. We have applied Otsu thresholding method to segment the video frames.
- We keep only the region of interest (the tube where the slugs move):
- We segment the image using Otsu thesholding:
- We apply opening operation to remove some noise belonging to the tube region
The final result is the following spatiotemporal image which shows how the height of each slug, in the video, is changing during its passage through the tube: