
Datasets:
image
imagewidth (px) 190
1.05k
|
---|
ποΈ Breast Ultrasound Dataset for nnU-Net v2
This repository contains the formatted dataset for breast ultrasound segmentation, prepared for use with nnU-Net v2. The dataset has been preprocessed and structured according to the nnUNet v2 dataset format for easy training and inference.
π Dataset Overview
- Original Dataset: Breast Ultrasound Images Dataset
- Task: Breast Ultrasound Segmentation
- Input Data: 2D ultrasound images of the breast
- Target Labels: Segmentation masks for lesion regions
- Dataset ID for nnU-Net: 101
- Dataset Name for nnU-Net: Breast
π Folder Overview
Original Dataset (combined multi-masked images)
βΉοΈ About
The dataset comprises breast ultrasound images obtained from women aged 25 to 75 years. The data collection took place in 2018 and includes records from 600 female patients. It contains a total of 780 images, with an average resolution of 500Γ500 pixels, all stored in PNG format. Each ultrasound image is accompanied by its corresponding ground truth segmentation. The images are classified into three categories: normal, benign, and malignant.
π Statistics
- πΈ Total Images: 780
- β Normal: 133
- πΏ Benign: 437
- β οΈ Malignant: 210
Breast_Ultrasound_Images/
βββ benign/
β βββ breast_001_0000.png
β βββ breast_002_0000.png
β βββ ...
β βββ breast_437_0000.png
βββ benign_masks/
β βββ breast_001.png
β βββ breast_002.png
β βββ ...
β βββ breast_437.png
βββ malignant/
β βββ breast_438_0000.png
β βββ breast_439_0000.png
β βββ ...
β βββ breast_647_0000.png
βββ malignant_masks/
β βββ breast_438.png
β βββ breast_439.png
β βββ ...
β βββ breast_647.png
βββ normal/
β βββ breast_648_0000.png
β βββ breast_649_0000.png
β βββ ...
β βββ breast_780_0000.png
βββ normal_masks/
βββ breast_648.png
βββ breast_649.png
βββ ...
βββ breast_780.png
Formatted Raw Dataset for nnU-Net v2
βΉοΈ About
This directory contains the original dataset modified according to the dataset format specified in nnU-Net's documentation. The nnUNet_raw
folder can be used as-is for further nnU-Net preprocess inference, as it meets the desired folder structure and filename convention format.
The label images might appear completely black, but donβt worryβtheyβre not. Each pixel in the label images can have one of three values: 0, 1, or 2. Here, 0 represents the background, 1 denotes benign, and 2 indicates malignant. If you want to view the labels in a human-readable black-and-white format, please refer to the original dataset.
The name of the dataset is Breast
, whereas the ID is 101
. This information will be required for the nnUNet preprocess inference.
nnUNet_raw/
βββ Dataset101_Breast/
βββ imagesTr/ # Training images
β βββ breast_001_0000.png
β βββ breast_002_0000.png
β βββ ...
βββ labelsTr/ # Training segmentation masks
β βββ breast_001.png
β βββ breast_002.png
β βββ ...
βββ dataset.json # Dataset metadata
Preprocessed Dataset
βΉοΈ About
This directory contains the preprocessed dataset, where the nnU-Net preprocessing inference is applied to the raw dataset (nnUNet_raw). The nnUNet_preprocessed
folder can be used as-is for further nnU-Net training inference on the 2d
configuration.
Note that the name of the dataset is Breast
, whereas the ID is 101
. This information will be required for the nnUNet train inference.
nnUNet_preprocessed/
βββ Dataset101_Breast/
βββ dataset.json # Metadata file used for training
βββ dataset_fingerprint.json # Dataset fingerprint
βββ nnUNetPlans.json # Training plans
βββ splits_final.json # Train/val/test split info
βββ gt_segmentations/ # Ground truth segmentations
β βββ breast_001.png
β βββ breast_002.png
β βββ ...
βββ nnUNetPlans_2d/ # Preprocessed data for training
βββ breast_001.b2nd
βββ breast_001.pkl
βββ breast_001_seg.b2nd
βββ breast_002.b2nd
βββ breast_002.pkl
βββ breast_002_seg.b2nd
βββ ...
π€ Citation
If you use this dataset, please cite the original dataset:
π Al-Dhabyani W, Gomaa M, Khaled H, Fahmy A. Dataset of breast ultrasound images. Data in Brief. 2020 Feb;28:104863. DOI: 10.1016/j.dib.2019.104863.
π₯ Contact
For questions or collaboration, reach out at:
- Email: ozdemirsoftware.dev@gmail.com
- GitHub: veysel-ozdemir
- Downloads last month
- 67
Models trained or fine-tuned on veyselozdemir/nnUNet-Breast-Cancer-Ultrasound
