AUTHOR=Joshi Shubham , Pant Millie , Malhotra Arnav , Deep Kusum , Snasel Vaclav TITLE=A nnU-Net-based automatic segmentation of FCD type II lesions in 3D FLAIR MRI images JOURNAL=Frontiers in Artificial Intelligence VOLUME=Volume 8 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2025.1601815 DOI=10.3389/frai.2025.1601815 ISSN=2624-8212 ABSTRACT=Focal cortical dysplasia (FCD) type II is a common cause of epilepsy and is challenging to detect due to its similarities with other brain conditions. Finding these lesions accurately is essential for successful surgery and seizure control. Manual detection is slow and challenging because the MRI features are subtle. Deep learning, especially convolutional neural networks, has shown great potential in automating image classification and segmentation by learning and extracting features. The nnU-Net framework is known for its ability to adapt its settings, including preprocessing, network design, training, and post-processing, to any new medical imaging task. This study employs an automated slice selection approach that ranks axial FLAIR slices by their peak voxel intensity and retains the five highest-ranked slices per scan, thereby focusing the network on lesion-rich slices and uses nnU-Net to automate the segmentation of FCD type II lesions on 3D FLAIR MRI images. The study was conducted on 85 FCD type II subjects and results are evaluated through 5-fold cross-validation. Using nnU-Net’s flexible and robust design, this study aims to improve the accuracy and speed of lesion detection, helping with better presurgical evaluations and outcomes for epilepsy patients.