This study introduces a level set method for the segmentation of anterior and posterior teeth from cone beam computed tomography (CBCT) images, enhancing the visualization of tooth shapes for dental procedures. It utilizes five energy functions to address challenges such as leakage and shrinkage during segmentation, resulting in high accuracy and efficiency in 3D reconstruction. The method is validated through experiments on multiple patients, indicating potential for improved dental treatment outcomes.