A quantum moving target segmentation algorithm for grayscale video based on background difference method

Lu Wang, Yuxiang Liu, Fan‐Xu Meng, Wenjie Liu, Zaichen Zhang, Xutao Yu · EPJ Quantum Technology · 2024

Abstract The classical moving target segmentation (MTS) algorithm in a video can segment the moving targets out by calculating frame by frame, but the algorithm encounters a real-time problem as the data increases. Recently, the benefits of quantum computing in video processing have been demonstrated, but it is still scarce for MTS. In this paper, a quantum moving target segmentation algorithm for grayscale video based on background difference method is proposed, which can simultaneously model the background of all frames and perform background difference to segment the moving targets. In addition, a feasible quantum subtractor is designed to perform the background difference operation. Then, several quantum units, including quantum cyclic shift transformation, quantum background modeling, quantum background difference, and quantum binarization, are designed in detail to establish the complete quantum circuit. For a video containing $2^{m}$ 2 m frames (every frame is a $2^{n} \times 2^{n}$ 2 n × 2 n image with q grayscale levels), the complexity of our algorithm is O $(n+q)$ ( n + q ) . This is an exponential speedup over the classical algorithm and also outperforms the existing quantum algorithms. Finally, the experiment on IBM Q demonstrates the feasibility of our algorithm in this noisy intermediate-scale quantum (NISQ) era.

Read the paper · More papers on PaperTik