A Fast Automatic Reconstruction Method for Panoramic Images Based on Cone Beam Computed Tomography