Light field (LF) image depth estimation is a critical technique for LF-related applications such as 3D reconstruction, target detection, and tracking. The refocusing property of LF images provide rich information for depth estimations; however, it is still challenging in cases of occlusion regions, edge regions, noise interference, etc. The epipolar plane image (EPI) of LF can effectively deal with the depth estimation because of its characteristics of multidirectionality and pixel consistency—in which the LF depth estimations are converted to calculate the EPI slope. This paper proposed an EPI LF depth estimation algorithm based on a directional relationship model and attention mechanism. Unlike the subaperture LF depth estimation method, the proposed method takes EPIs as input images. Specifically, a directional relationship model was used to extract direction features of the horizontal and vertical EPIs, respectively. Then, a multiviewpoint attention mechanism combining channel attention and spatial attention is used to give more weight to the EPI slope information. Subsequently, multiple residual modules are used to eliminate the redundant features that interfere with the EPI slope information—in which a small stride convolution operation is used to avoid losing key EPI slope information. The experimental results revealed that the proposed algorithm outperformed the compared algorithms in terms of accuracy.
Security inspection is extremely important for the safety of public places. In this research, we are trying to propose a novel algorithm and investigated theoretically in the X-ray dataset, which can optimize the relative low detection accuracy and the latent omission detection of smaller objects when using You Only Look Once version 5 (YOLOv5). For one side, the transform detection network is selected to be added at the bottom layer of backbone structure to avoid the loss of useful information during sequential calculation. On another side, we attempt to adjust the existing PANet structural elements of the model, including their connections and other related parameters to improve the detection performance. We integrate an efficient BiFPN with the CA mechanism, which can enhance feature extraction, and named it attention-BiFPN. Experimental consequences demonstrate that the detection accuracy of the proposed model, which we name “TB-YOLOv5,” has obvious advantages in check performance compared with the mainstream one-stage object detection models. Meanwhile, compared with YOLOv5, the data results display an improvement of up to 14.9%, and the average precision at 0.5 IOU even reached 23.4% higher in the region of small object detection. Our purpose was to explore the potential of changing a popular detection algorithm such as YOLO to address specific tasks and provide insights on how specialized adjustments can influence the detection of small objects. Our work can supply an effective method of enhancing the performance of X-ray security inspection and show promising potential for deep learning in related fields.
5 May 2023 in Chinese Journal of Liquid Crystals and Displays