Void detection algorithms occupy a pivotal role in the characterization of materials. These algorithms utilize diverse image processing techniques to identify voids, which manifest porosity within a material's structure. The accuracy of void detection influences our understanding of material properties such as strength, durability, and permeabilit