<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by R. Atabey Demir on Medium]]></title>
        <description><![CDATA[Stories by R. Atabey Demir on Medium]]></description>
        <link>https://medium.com/@r.atabey.demir?source=rss-5619138d72f0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bwUoZGknZdtCxVKhnMkWkA.jpeg</url>
            <title>Stories by R. Atabey Demir on Medium</title>
            <link>https://medium.com/@r.atabey.demir?source=rss-5619138d72f0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 00:50:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@r.atabey.demir/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Breast Cancer Diagnosis: Medical Image Preprocessing Intro (Part 1)]]></title>
            <link>https://medium.com/@r.atabey.demir/empowering-breast-cancer-diagnosis-introduction-into-medical-image-preprocessing-part-1-dbb2aa9d1c7f?source=rss-5619138d72f0------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbb2aa9d1c7f</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[breast-cancer]]></category>
            <category><![CDATA[teknofest]]></category>
            <dc:creator><![CDATA[R. Atabey Demir]]></dc:creator>
            <pubDate>Wed, 13 Sep 2023 10:36:54 GMT</pubDate>
            <atom:updated>2023-09-13T19:05:53.546Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mf6B_XZtlpx8_V6g.jpeg" /><figcaption>AI holds transformative potential in breast cancer diagnosis. Image: [1]</figcaption></figure><h3>Empowering Breast Cancer Diagnosis: Introduction into Medical Image Preprocessing (Part 1)</h3><h4>Unveiling the Potential of Data Preprocessing and Augmentation for BI-RADS Classification in Mammography Images: TEKNOFEST AI in Health Competition (2023)</h4><h3>1. Introduction 👋</h3><p>Breast cancer stands as one of the most prevalent malignancies on a global scale, predominantly affecting the female population. Statistically, it is noteworthy to mention that this particular carcinoma occupies a paramount position in terms of cancer-induced mortality among women. However, on a more optimistic note, contemporary research underscores that early diagnosis can lead to a survival rate as high as 90 percent [2].</p><p>Welcome to this comprehensive blog post where we examine the data preprocessing and development methods used in our project designed for participation in the <em>2023 TEKNOFEST AI in Health</em> competition. Our objective is to elucidate the integral role of the BI-RADS (Breast Imaging-Reporting and Data System) in diagnostic procedures with an emphasis on breast cancer, a disease of paramount significance. BI-RADS is a six-category classification developed in order to evaluate the data obtained as a result of radiological examinations of the breast in a qualified and accurate manner and to standardize the reports.</p><p>We will explore the critical importance of data preprocessing in the field of deep learning and its potential impact on breast cancer detection. By combining these aspects, our project aims to contribute to the advancement of medical technology, promote early diagnosis and save lives by supporting doctors and patients to defeat this formidable enemy.</p><p>Dive with us into a deep exploration of breast cancer’s complexities, where the precision of the BI-RADS system meets the transformative capabilities of Artificial Intelligence. As we unravel our findings from the TEKNOFEST competition, we emphasize the importance of data preprocessing in enhancing early detection and treatment methods.</p><p>This is not just a recount of a scientific endeavor, but a chronicle of hope and determination in our collective quest for a brighter, healthier future. Welcome aboard! 🚀</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PbzUUjJRKMxpf_2rBsu1Ng.png" /><figcaption>Figure 1: The mind map depicting image and data preprocessing procedures.</figcaption></figure><h3>2.Methods 🛠️</h3><h4><strong>2.1. Data Partitioning</strong> 📂</h4><p>In this section, we will outline the data partitioning process, which is a fundamental step in our project. The dataset used for our breast cancer detection project was meticulously divided into training and validation sets using the K-Fold cross-validation (CV) technique. By dividing the data into multiple layers, we ensured that each layer serves as both a training and validation set, resulting in a robust and reliable evaluation of our model.<br>K-fold cross validation was performed with a certain number of layers and a seed value to ensure reproducibility.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*g-W3HnkivQrn2Wu2fi1jmA.png" /><figcaption>Figure 2: Diagram of K-Fold Cross-Validation (K=5)</figcaption></figure><p>During each folding cycle, we started an experimental session using the Weights &amp; Biases (WandB) library. In our deep learning endeavors, we employ metrics such as AUROC, F1 score, accuracy, precision, and recall. These metrics facilitate a rigorous and systematic evaluation of our model’s performance.</p><p>As delineated in Figure 3, which showcases the validation results of our K-Fold cross-validation experiment, all five-fold metrics exhibit consistent behavior, suggesting the absence of overfitting concerns.</p><figure><img alt="Graph showing validation results of K-Fold cross-validation experiment" src="https://cdn-images-1.medium.com/max/1024/1*6LZmsZGixKcCHzNAkD-w2Q.png" /><figcaption>Figure 3: Graph showing validation results of K-Fold cross-validation experiment</figcaption></figure><h4><strong>2.2. Image-Based Data Modeling </strong>🎞️</h4><p>There are four images and one BI-RADS label for each patient. These image views are LCC (left-craniocaudal view), LMLO (left-mediolateral oblique view) for the left breast and RCC (right-craniocaudal view), RMLO (right-mediolateral oblique view) for the right breast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dVF6prtD7l8jIt69.png" /><figcaption>Figure 4: Mammography Images (in order): Right MLO, Left MLO, Right CC, Left CC Views. Image: [3]</figcaption></figure><p>Convolutional Neural Network (CNN) architectures, in a general context, are predominantly configured to handle singular input-output dynamics. Engaging with multiple inputs, particularly when dealing with high-resolution images, can escalate computational demands considerably. Thus, opting for the traditional uni-modal CNN models can be a strategic decision, effectively reducing data processing overheads and ensuring a more streamlined computational approach.[4]</p><p>In the specific context of our research, a single image is introduced to the CNN for analysis. We utilized the SEResNeXt and EfficientNet models, both tailored to process a lone image to deduce the corresponding BI-RADS classification. It’s noteworthy that each patient’s dataset encompasses a distinct BI-RADS categorization. Among the classifications, BI-RADS 4–5 signals the gravest concern, BI-RADS 0 presents an unresolved result calling for supplementary examination, and BI-RADS 1–2 denotes benign findings. When ranked based on their clinical risk implications, the sequence is: BI-RADS1–2 &lt; BI-RADS0 &lt; BI-RADS4–5.</p><p>For each patient, the BI-RADS label of utmost clinical significance is reported under the right and left breast quadrant information. This ensures the possibility to deduce specifically which images are impacted by this high-risk BI-RADS label. Utilizing the breast quadrant data, an image-centric modeling methodology was adopted and subsequently integrated into the dataset. A thorough elucidation of this protocol can be found in Figure 5, which delineates the systematic approach to breast quadrant data inspection presented in a structured flowchart format.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*MVdfPAVX6nBITe7NPFoPIw.png" /><figcaption>Figure 5: Flowchart diagram shows the steps of image-based data modeling.</figcaption></figure><h4><strong>2.3. Feature Selection </strong>✂️</h4><p>In the realm of mammography-based breast tissue detection, meticulous feature selection techniques are paramount to enhance model accuracy and diagnostic reliability. We employed advanced thresholding coupled with contour detection algorithms to precisely delineate and isolate the breast region within the mammography images.</p><p>Following this, extraneous annotations, textual elements, and other non-diagnostic marks were systematically excluded, ensuring that only the most relevant breast tissue features were retained for subsequent analyses. This rigorous refinement process ensures a robust foundation for subsequent modeling endeavors.</p><h4><strong>2.4. Data Augmentation </strong>🎨</h4><p>In the realm of deep learning, the availability of an extensive and diverse dataset is often considered pivotal for training robust models. However, in scenarios characterized by limited data, data augmentation emerges as a vital technique. In this section, we delve into the data augmentation strategies employed to augment our image dataset for the purpose of breast cancer detection.[5]</p><p>The data augmentation processes were meticulously executed using the Albumentations library, which facilitated a diverse range of image transformations. These transformations gave rise to augmented versions of the images, thereby enhancing the model’s capacity to generalize across various representations and identify critical features indicative of breast cancer.</p><p>These augmentations encompassed a spectrum of techniques:</p><ul><li><strong>Resize:</strong> Resizing images with securing aspect ratio.</li><li><strong>RandomRotate90:</strong> Randomly rotating images by 90 degrees.</li><li><strong>HorizontalFlip:</strong> Horizontally flipping images.</li><li><strong>VerticalFlip:</strong> Vertically flipping images.</li><li><strong>Blur:</strong> Applying random blur to the images.</li><li><strong>RandomBrightnessContrast:</strong> Randomly adjusting brightness and contrast of the images.</li><li><strong>ChannelShuffle: </strong>Randomly mixing the color channels of the images.</li><li><strong>Sharpen:</strong> Applying sharpen enhancement to the images.</li></ul><h3>3. Results 📊</h3><p>In this study, we have undertaken a rigorous exploration of data preprocessing and development methods to enhance the performance of our BI-RADS Class Estimation models. Through a meticulous approach to feature selection and data augmentation, we have bolstered the model’s accuracy, enabling more precise predictions of BI-RADS classes for breast cancer diagnosis.</p><p>For detailed results pertaining to the data preprocessing steps and their impact on the validation set, please refer to Table 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJ0FFbAhwArmuX-GEndCdA.png" /><figcaption>Table 1: Comparison of data preprocessing steps and their metric scores in validation set (single fold).</figcaption></figure><h3>4. Conclusion 🌟</h3><p>In summation, our research has highlighted the paramount importance of data preprocessing in fine-tuning the performance of AI models for breast cancer diagnosis. By employing various techniques such as feature selection, data augmentation, and post-processing, we have successfully developed a robust model capable of accurate BI-RADS Class Estimation. These findings contribute to the ongoing efforts to combat breast cancer, bringing us closer to early detection and precise classification, ultimately saving lives and improving the quality of healthcare for patients.</p><p>With these remarkable achievements, we are excited to announce the next part of our blog post, delving deeper into the methodologies and results that have shaped our breast cancer detection project. Stay tuned for Part 2, where we unveil further insights into our journey toward better healthcare through cutting-edge technology. 🎉🍀</p><h3><strong>References </strong>📚</h3><p>[1] Horton, M. (2022, January 19). New AI Breast Cancer Model is the First to Show Diagnostic Process. NVIDIA Developer Blog. <a href="https://developer.nvidia.com/blog/new-ai-breast-cancer-model-is-the-first-to-show-diagnostic-process/">https://developer.nvidia.com/blog/new-ai-breast-cancer-model-is-the-first-to-show-diagnostic-process/</a></p><p>[2] Cancer Stat Facts: Female Breast Cancer(2020).National Cancer Institute. Accessed from the URL <a href="https://seer.cancer.gov/statfacts/html/breast.html">https://seer.cancer.gov/statfacts/html/breast.html</a> on 10.09.2023</p><p>[3] Geras, K. J., Wolfson, S. S., Shen, Y., Wu, N., Kim, S. G., Kim, E., Heacock, L., Parikh, U., Moy, L., &amp; Cho, K. (2017). High-Resolution Breast Cancer Screening with Multi-View Deep Convolutional Neural Networks. arXiv (Cornell University). <a href="https://doi.org/10.48550/arxiv.1703.07047">https://doi.org/10.48550/arxiv.1703.07047</a></p><p>[4] Sechopoulos et al ., (2021).Artificial intelligence for breast cancer detection in mammography and digital breast tomosynthesis: State of the art. Seminars in Cancer Biology, 72, 214–225.<br><a href="https://www.sciencedirect.com/science/article/pii/S1044579X20301358#bib0235">https://www.sciencedirect.com/science/article/pii/S1044579X20301358#bib0235</a></p><p>[5] Prodan et al.,(2023).Applying Deep Learning Methods for Mammography Analysis and Breast Cancer Detection. Applied Sciences. 13(7), 4272. <a href="https://www.mdpi.com/2076-3417/13/7/4272">https://www.mdpi.com/2076-3417/13/7/4272</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbb2aa9d1c7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>