VideoSAM: A Large Vision Foundation Model for High-Speed Video Segmentation
Chika Maduabuchi, Ericmoore Jossou, Matteo Bucci
TL;DR
High-speed video segmentation of boiling phenomena faces generalization issues with traditional CNNs. This work introduces VideoSAM, a fine-tuned SAM variant trained on a diverse HSV frame-mask dataset for phase detection, and provides an open HSV segmentation dataset. VideoSAM outperforms SAM and U-Net on complex fluids (e.g., FC-72, Nitrogen, Argon) across multiple experiments, though simpler scenes like Water remain challenging. A two-stage architecture (CNN-based initial masks followed by transformer refinement) and a patch-based inference pipeline enable cross-modality generalization, offering a robust tool for HSV analysis with potential impact on boiling research and other high-speed imaging tasks.
Abstract
High-speed video (HSV) segmentation is essential for analyzing dynamic physical processes in scientific and industrial applications, such as boiling heat transfer. Existing models like U-Net struggle with generalization and accurately segmenting complex bubble formations. We present VideoSAM, a specialized adaptation of the Segment Anything Model (SAM), fine-tuned on a diverse HSV dataset for phase detection. Through diverse experiments, VideoSAM demonstrates superior performance across four fluid environments -- Water, FC-72, Nitrogen, and Argon -- significantly outperforming U-Net in complex segmentation tasks. In addition to introducing VideoSAM, we contribute an open-source HSV segmentation dataset designed for phase detection, enabling future research in this domain. Our findings underscore VideoSAM's potential to set new standards in robust and accurate HSV segmentation. The code and dataset used in this study are available online at https://github.com/chikap421/videosam.
