摘要 |
The present technique relates to an image processing device, an image processing method, and a program for obtaining a high-quality panoramic image when a 360-degree panoramic image is generated. A projected image generation unit generates projected images by mapping, on a cylindrical surface, captured images taken by a camera being rotated 360 degrees. A cumulative difference value calculation unit calculates a cumulative difference value in each position between the adjacent projected images. Based on the projected images and the cumulative difference values, a diagraph generation unit generates a diagraph reflecting the cumulative difference values in the energies of edges. Based on the diagraph, the path search unit searches for such projected image joining positions as to minimize defects when a panoramic image is generated by joining the respective projected images. A panoramic image generation unit joins the projected images based on a result of the search, and generates a panoramic image. The present technique can be applied to image processing devices. |