A method and a system for generating a panoramic x-ray image by obtaining volumetric x-ray image data having a first plurality of slices, segmenting the x-ray image data into a first portion above a vertical threshold and a second portion below the vertical threshold, and separating the second portion into a second plurality of slices. Further, the method and the system include generating a plurality of curves for each slice in the second plurality of slices, generating a master arch for the second plurality of slices, and generating a panoramic image based on the master arch.