Dataset Viewer
Auto-converted to Parquet
Search is not available for this dataset
image
imagewidth (px)
190
1.05k
End of preview. Expand in Data Studio

πŸŽ—οΈ 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:

Downloads last month
67

Models trained or fine-tuned on veyselozdemir/nnUNet-Breast-Cancer-Ultrasound