Find the boundaries of materials in transparent vessels using computer vision (curvature adjustment)

Given image of material in transparent vessel find the material boundary (with curvature adjustment)
225 Downloads
Updated 30 May 2015

View License

Given an image of material inside a transparent vessel and the boundary of the vessel in the image, recognize and mark the boundary of materials inside a transparent container in images. This method similar to the one in:
http://www.mathworks.com/matlabcentral/fileexchange/49076-find-the-boundaries-of-materials-in-transparent-vessels-using-computer-vision
But improve it by using the vessel curvature to adjust for reflections from the vessel surface
Could be used to trace the boundary of both solids, liquid powders and granular materials.
Input: Image of some material in a transparent vessel and the boundaries of the vessel in the image (as binary contour image).
Output: Recognized and mark the boundary of the material inside the vessel.
Documentation and instruction are included in the Readme file in the code.

The code was made specifically for glass vessels in chemistry laboratory, but could be used for other cases of solids and fluids in transparent containers.

The source code is based on the method described in the paper: “Tracing the boundaries of materials in transparent vessels using computer vision” Freely available at Arxiv:
http://arxiv.org/ftp/arxiv/papers/1501/1501.04691.pdf

Cite As

sagi eppel (2024). Find the boundaries of materials in transparent vessels using computer vision (curvature adjustment) (https://www.mathworks.com/matlabcentral/fileexchange/51029-find-the-boundaries-of-materials-in-transparent-vessels-using-computer-vision-curvature-adjustment), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
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.0