Work

Breast mri tumor segmentation using U-net and sam integration with morphological tracking methods

Year: 2025
Type: dissertation
Abstract: Cancer, characterized by abnormal cell division and the potential to invade surrounding tissues, is one of the leading causes of death worldwide. According to estimates from the World Health Organization (WHO) in 2019, cancer ranked as the first or second leading cause of death in individuals under the age of 70 in 112 out of 183 countries, and third or fourth in the remaining 23 countries. This finding highlights not only the global prevalence of cancer but also its deadly threat to the younger population, necessitating the development of comprehensive strategies in the fight against cancer. Among the most frequently diagnosed cancers in women, breast cancer ranked first with 2.26 million new cases and caused the deaths of approximately 685,000 women. To control the spread of breast cancer and reduce mortality rates, early diagnosis and timely treatment have emerged as effective strategies. The WHO's Global Breast Cancer Initiative aims to reduce breast cancer-related mortality by 2.5% annually through early diagnosis and comprehensive management. In this context, the role of advanced imaging technologies has once again proven critical in the global effort against cancer. In breast cancer cases, contrast-enhanced MR imaging (DCE-MRI) provides detailed insights into tumor vascularity and morphological structure. However, interpreting these high-resolution multi-slice images is time-consuming and subject to interobserver variability. At this point, segmentation approaches based on deep learning have begun to play a role in clinical decision support systems by enabling automatic, rapid, and consistent identification of tumor regions. In particular, convolutional neural networks (CNNs) and encoder-decoder architectures like U-Net are widely used in MR-based segmentation tasks due to their ability to extract effective features even with limited data. Medical imaging techniques used in modern medicine provide crucial data both for diagnosis and treatment planning. Among the most widely used methods are radiography (X-ray), ultrasonography (USG), computed tomography (CT), magnetic resonance imaging (MRI), microwave imaging (MWI), and positron emission tomography (PET). Each technique has the capacity to address specific clinical questions by reflecting different tissue characteristics. For instance, mammography is effective for detecting microcalcifications in breast tissue, while ultrasonography serves as a non-invasive method that aids in distinguishing masses within dense breast tissue. CT and PET are commonly used to detect metastatic spread, whereas MRI stands out as an essential diagnostic tool due to its superior soft tissue contrast, enabling both detailed characterization of primary lesions and monitoring of treatment response. The main objective of this thesis is to develop a deep learning-based system capable of accurately segmenting tumor regions in T1-weighted breast MR images, with interactive user input and a tracking mechanism. The primary goals are to reduce the manual workload on radiologists during the segmentation process and to provide precise and repeatable results. In line with this objective, the widely used and proven U-Net architecture was utilized for the initial segmentation phase. The U-Net model was trained on various publicly available breast MR datasets, using only tumorpositive examples to ensure that the model focused directly on the tumor regions. All images were normalized to a size of 256×256 before being fed into the model, and corresponding reference masks were provided in binary format consisting of 0s and 1s. Once trained, the trained U-Net model automatically segments the tumor region within the bounding box defined by the user and the results of this segmentation are presented to the user visually. The second phase of segmentation was performed interactively using the Segment Anything Model (SAM). If the output of the U-Net model was deemed unsatisfactory, the user provided point-based feedback in the form of positive (inside tumor) and negative (outside tumor) clicks. These points were then fed into the SAM model along with the U-Net mask as prior information. SAM utilized this combined input to produce a refined segmentation result, which was again presented to the user. This approach proved especially beneficial in cases where U-Net failed to capture tumor boundaries or when dealing with morphologically complex tumors. The third and critical phase of the segmentation process involves propagating the accurate segmentation mask obtained on a reference slice to other slices. For this purpose, a tracking mechanism based directly on image content and structural features was used to ensure consistent tumor tracking across slices. The segmentation mask generated by the user or model in the reference slice served as the initial mask for subsequent slices. This mask was iteratively updated in each new slice according to local image features using the Morphological Active Contours without Edges (MorphACWE) algorithm. MorphACWE is a region-based approach that operates without relying on edge information, evolving the segmentation contour based on an energy function driven by intensity differences inside and outside the target region. In each slice, the initial mask was updated iteratively by the algorithm, adapting to changes in the tumor's shape, position, and intensity profile. This process generated a tracking mask for each slice, guiding the segmentation based on the image content. The final segmentation mask for each slice was visually presented to the user, and the Dice similarity coefficient was computed to quantitatively evaluate the model's performance. Through this structure, a single reference segmentation informed by user interaction could be consistently and structurally propagated across consecutive slices, allowing for the reliable delineation of the tumor region in two dimensions. In conclusion, the developed integrated system successfully combines automated segmentation, interactive user feedback, and a morphological tracking algorithm to enable reliable and consistent propagation of a single reference segmentation across all image slices. This comprehensive framework enables precise identification of tumor regions indicated by a bounding box in two-dimensional breast MRI sequences, even in cases with complex morphology or unclear boundaries. By integrating deep learning-based predictions with user-guided corrections and adaptive tracking mechanisms, the system reduces manual workload while enhancing segmentation accuracy and consistency. The implementations and results presented in this thesis demonstrate that the proposed approach offers a robust, flexible, and scalable solution suitable for both research environments and real-world clinical applications, where efficiency, accuracy, and reproducibility are paramount.
Author: Ayyıldız, Alptuğ Şeref
Language: Turkish
Open Access status: green
OpenAlex ID: W7113113261
Cites: 62
Cited by:
Related to: 10