--- pretty_name: Brain MRI Dataset with Tumor Masks and Coarse Captions language: - en task_categories: - image-segmentation - image-to-text tags: - medical-imaging - brain-mri - tumor-segmentation - segmentation-masks - image-captioning - radiology size_categories: - 10K` | | `BraTS16_MMNeuroOnco` | Matched to `glioma/16_t1_t2_t1ce_flair_mask//` | | `MMNeuroOnco_tumor_14_t1ce_mask` | Matched to `tumor/14_t1ce_mask/.png` | | `Figshare_from_mat_all` | Matched to the same numbered entries as `tumor/14_t1ce_mask/.png` | | `MMNeuroOnco_tumor_19_mask` | Matched to `tumor/19_mask/images/` | | `Brain_Tumor_Classification_2D_masked` | Matched to source-10 MM-NeuroOnco metadata by tumor class and filename | A generation report is included here: ```text brain_mri_positive_caption_pairs_report.txt ``` It records the final row count and confirms that the number of missing caption mappings is zero. ## Intended Uses This dataset is intended for research experiments such as: - tumor segmentation from brain MRI images, - vision-language alignment using image-mask-caption triples, - DPO or preference-learning experiments with medical image-text pairs, - weakly supervised or prompt-guided segmentation, - evaluation of whether visual encoders preserve lesion-relevant information. ## Example Usage ```python import pandas as pd from pathlib import Path repo_root = Path('/path/to/project') csv_path = repo_root / 'Brain MRI DATASET' / 'brain_mri_positive_caption_pairs.csv' df = pd.read_csv(csv_path) row = df.iloc[0] image_path = repo_root / row['image_path'] mask_path = repo_root / row['mask_path'] caption = row['caption'] print(image_path) print(mask_path) print(caption) ``` ## Notes and Limitations - The captions are coarse descriptions and should not be interpreted as full radiology reports. - The captions are positive tumor descriptions derived from metadata, not free-form clinical diagnoses. - Some subsets may share the same underlying image content or metadata source, especially the Figshare-derived and MM-NeuroOnco `14_t1ce_mask` subsets. - The masks come from the available source annotations or converted source files; mask conventions may differ across subsets. - This dataset is intended for research use only and must not be used for clinical decision-making. ## Ethical and Safety Considerations This dataset contains medical imaging data. Models trained on it may produce incorrect, incomplete, or misleading outputs. Any model or analysis built using this dataset should be validated carefully and should not be deployed in clinical settings without appropriate regulatory review, expert validation, and institutional approval. ## Provenance This collection aggregates image-mask pairs prepared from several public or locally reconstructed brain MRI segmentation sources and aligns them with coarse captions from MM-NeuroOnco metadata. Users should review the licensing and usage terms of the original data sources before redistributing or using the dataset in downstream projects.