摘要 |
A method for panoramic image completion is disclosed. The method includes: acquiring a panoramic image; obtaining a projected image by mapping pixels of the panoramic image onto a polar coordinate system, wherein a long side component of the pixel coordinate of the pixels is corresponding to the polar angle of the polar coordinate system and a short side component of the pixel coordinate of the pixels is corresponding to a radial coordinate of the polar coordinate system; acquiring an incomplete region of the projected image, and obtaining a completed image by completing the incomplete region; and obtaining a completed panoramic image by inverse mapping the pixels of the completed image according to the polar coordinate system. Furthermore, a device for panoramic image completion is also disclosed. The above method and device for panoramic image completion take account of the perspective curvature of the panoramic image, to improve the degree of restoration. |