Skip to main content
QUICK REVIEW

[Paper Review] Tracing liquid level and material boundaries in transparent vessels using the graph cut computer vision approach

Sagi Eppel|arXiv (Cornell University)|Jan 31, 2016
Industrial Vision Systems and Defect DetectionEngineering50 references16 citations
TL;DR

This paper proposes a graph-cut-based computer vision method to accurately trace liquid levels and material boundaries in transparent vessels using image segmentation. By modeling the vessel image as a graph with intensity-based edge weights and setting the bottom and top 10% of pixels as source (material) and sink (air), the algorithm computes a minimal cut via max-flow/min-cut to identify the boundary with high precision across diverse materials and container types.

ABSTRACT

Detection of boundaries of materials stored in transparent vessels is essential for identifying properties such as liquid level and phase boundaries, which are vital for controlling numerous processes in the industry and chemistry laboratory. This work presents a computer vision method for identifying the boundary of materials in transparent vessels using the graph-cut algorithm. The method receives an image of a transparent vessel containing a material and the contour of the vessel in the image. The boundary of the material in the vessel is found by the graph cut method. In general the method uses the vessel region of the image to create a graph, where pixels are vertices, and the cost of an edge between two pixels is inversely correlated with their intensity difference. The bottom 10% of the vessel region in the image is assumed to correspond to the material phase and defined as the graph and source. The top 10% of the pixels in the vessels are assumed to correspond to the air phase and defined as the graph sink. The minimal cut that splits the resulting graph between the source and sink (hence, material and air) is traced using the max-flow/min-cut approach. This cut corresponds to the boundary of the material in the image. The method gave high accuracy in boundary recognition for a wide range of liquid, solid, granular and powder materials in various glass vessels from everyday life and the chemistry laboratory, such as bottles, jars, Glasses, Chromotography colums and separatory funnels.

Motivation & Objective

  • To develop a robust computer vision method for detecting material boundaries in transparent containers, crucial for industrial and laboratory process control.
  • To address the challenge of identifying phase boundaries in transparent vessels where visual cues are ambiguous due to transparency and refraction.
  • To enable accurate liquid level and material boundary detection across diverse materials, including liquids, powders, and granular substances.
  • To leverage graph-cut optimization for segmentation in complex visual environments with minimal user input.
  • To validate the method on real-world transparent vessels such as bottles, jars, beakers, and separatory funnels.

Proposed method

  • The method constructs a graph where each pixel in the vessel region is a vertex, and edge weights are inversely proportional to the intensity difference between adjacent pixels.
  • The bottom 10% of the vessel's pixel region is defined as the source node, representing the material phase.
  • The top 10% of the vessel's pixel region is defined as the sink node, representing the air phase.
  • A minimal cut is computed using the max-flow/min-cut algorithm to separate source and sink, corresponding to the material boundary.
  • The segmentation result is derived from the minimal cut, which effectively traces the interface between material and air.
  • The approach requires only the vessel contour and image input, with no need for prior knowledge of material type or shape.

Experimental results

Research questions

  • RQ1Can graph-cut segmentation accurately identify liquid levels in transparent glassware under varying lighting and material conditions?
  • RQ2How well does the method perform in detecting boundaries between different material phases (e.g., liquid, solid, powder) in transparent containers?
  • RQ3To what extent does the method generalize across diverse vessel shapes and materials found in laboratories and everyday use?
  • RQ4Does the use of intensity-based edge weights and source/sink placement in the top and bottom 10% of the vessel yield robust segmentation results?
  • RQ5Can the method achieve high accuracy with minimal user input, such as just the vessel contour?

Key findings

  • The method achieved high accuracy in detecting material boundaries across a wide range of materials, including liquids, powders, granular substances, and solids.
  • The approach successfully identified boundaries in various transparent vessels such as bottles, jars, beakers, chromatography columns, and separatory funnels.
  • The use of the bottom 10% as source and top 10% as sink enabled robust segmentation even in the presence of refraction and complex lighting.
  • The graph-cut approach with intensity-based edge weights produced consistent and precise boundary traces without requiring material-specific calibration.
  • The method demonstrated strong generalization across diverse real-world containers and material types, indicating practical applicability in lab and industrial settings.
  • The minimal cut computed via max-flow/min-cut effectively separated material and air phases, yielding accurate contour detection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.