Ahmed, Md. SabbirHasan, Md. JahidulOpy, Raduan AhmedShafi, Md Alif KhanJameel, Ahnaf AshrafAlvi, Md. Jobayer2026-09-082026-09-0820262026-06ID 22301146ID 21301604ID 21301341ID 21301234ID 21301310https://hdl.handle.net/10361/29831This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science and Engineering, 2026.Cataloged from PDF version of thesis.Includes bibliographical references (pages 88-90).Accurate segmentation of regions of interest from MRI to diagnose brain tumors is crucial. MRI is the standard technique used in imaging the brain, but manual segmentation of tumor regions is time-consuming, manual and prone to human error. Although deep learning has been able to significantly enhance segmentation performance, it requires big data sets of labeled images which is difficult in medical applications. In this study, we introduce a hybrid CNN-Transformer framework that integrates the Masked Image Modeling (MIM) based self-supervised pretraining and the HeMIS statistical abstraction mechanism. A hybrid model is pretrained on the BraTS 2021 dataset and finetuned for 4-class brain tumor segmentation for all 4 MRI modalities following the proposed framework. A major advantage is that the modalities are robust, meaning that there is no need to train a new model for each of the 15 possible combinations of modalities. When modalities are missing, the variance computed by the HeMIS abstraction layer captures feature disagreement across available inputs, providing useful information for identifying cases where pre- dictions may be less reliable. Though this variance has not been calibrated as a clinical confidence score. The model was tested on BraTS 2021 with all 15 modality combinations with excellent and clinically applicable results: Whole Tumor Dice of 90.2%, Tumor Core Dice of 85.9%, and Enhancing Tumor Dice of 79.1% for all four modalities.93 pagesen-USAttribution-NonCommercial-NoDerivatives 4.0 InternationalBRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission.http://creativecommons.org/licenses/by-nc-nd/4.0/Image modelingMagnetic resonance imagingHeMISCNN-Transformer hybridDeep learningMachine learningVision transformersBraTS 2021Multimodal MRIMedical image analysisHeMIS variance analysis3D segmentationBrain--Tumors--Diagnosis.Brain--Magnetic resonance imaging.Magnetic resonance imaging--Data processing.Image segmentation.MIM-HeMIS: Self-supervised masked image modeling with heterogeneous modality fusion for brain tumor segmentation under missing MRI modalitiesThesis