This study presents a level set method for accurately segmenting both anterior and posterior teeth from cone beam computed tomography (CBCT) images, which is crucial for dental treatments. The method utilizes five energy functions during segmentation, leading to high accuracy and efficiency in visualizing the dental structure. The results indicate that this approach significantly improves the accuracy of tooth shape reconstruction compared to existing methods, suggesting its potential for enhancing dental diagnosis and treatment planning.