Ocean fronts are one of the main transportation means for material and energy in the ocean. The research on detecting ocean fronts has become a hot topic in the last few years. Although current research techniques can accurately detect ocean fronts from remote sensing images, the detection results encompass all ocean fronts present across the entire ocean region. Ocean fronts often exhibit complex and dynamic behavior, with multiple fronts overlapping and covering each other in space and time. As a result, it has become challenging to isolate and independently analyze specific ocean fronts of interest. To address this issue, this paper proposes an image segmentation algorithm to segment ocean fronts. This segmentation method contributes to the advancement of oceanographic studies and supports improved understanding of the intricate dynamics within marine ecosystems.