In the field of optical devices, numerous specialized materials exist, and conventional detection techniques are inadequate for determining the residual capacity of these materials during daily device usage. This uncertainty poses significant challenges to device utilization. Ascertaining the remaining amount of special material in a container is unfeasible, necessitating refilling before each use; however, opening the container causes evaporation of the special material, resulting in wastage of valuable resources. Due to its chemical properties, transparent containers cannot be used for storage or estimating remaining capacity through visual inspection. Therefore, employing X-ray imaging and computer vision-based image processing offers an effective solution to determine residual capacity by capturing images of metal containers and subsequently analyzing them using edge detection and image restoration technologies proposed in this study. This method successfully extracts the contour boundary of the special material in the original image, and provides necessary support for the subsequent calculation.
|