The invention discloses a panoramic image
suture line searching method and device based on
visual saliency guidance, and the method comprises the steps: eliminating
distortion through preprocessing, separating a dynamic foreground, generating a
saliency map through a lightweight model, and constructing a multi-component energy function fusing
chromatic aberration, gradient and saliency. And searching an
energy minimum path based on a
graph cut algorithm, optimizing smoothness through a Bezier curve, and finally realizing natural splicing through multi-band fusion. The
modular architecture comprises a preprocessing unit, a significance detection unit, an energy construction unit and the like, is realized by mixing C + + /
CUDA (Compute Unified Device Architecture) and Python, is compiled into a lightweight dynamic
library, and supports multi-platform deployment of a PC (
Personal Computer), embedded equipment and the like. According to the scheme, the problems that the
suture line passes through the salient region, the energy model is single and the like are solved, the visual comfort and the
algorithm robustness are improved, and the method is suitable for industrial detection, mobile shooting and other scenes.