Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An image segmentation Model that uses the U-Net Architecture to segment tumours from ultrasound images of the breast.

Notifications You must be signed in to change notification settings

logic-OT/Breast-Cancer-Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

Breast-Cancer-Segmentation

An image segmentation procedure that uses a 4-layered U-Net Architecture to segment tumours from Ultrasound images of the breast.

tumourbw maskbw

Note: The BREAST TUMOUR SEGMENTATION notebook above contains an idepth explanation of the proposed procedure. This the a dumped down version of the contents in the notebook

Data

  • The data used in this project contains 210 images of malignant tumours, 437 images of benign tumours and 133 images of normal Ultrasounds creating a total of 780 images
  • Each image in the dataset contains varying image sizes ranging from 200x150 to 300x300.
  • A Ultrasound can have more than one mask depending on the number of tumours present in the image
  • each Ultrasound image is saved as a jpg file instead of the usual dicom format
  • The dataset is available here

Preprocessing

  • The images are first resized to a dimension 224x224
  • Each image is then coverted to grayscale for simplicity
  • The masks are binarized. That is, each pixel is changed to either be 0 or 1
  • The Ultrasounds are the normalised between 0 and 1

Model Training

A 4-layered generic U-Net Architecture is trained to effectively segment the tumours. The various levels have fiilter sizes of 32, 64, 128, 256 respectively

Results

  • The Model achieved a training dice score of 92%
  • The Model achieved a testing dice score of 74%

Example output

tumour mask segmented

Key Insights

  • The model is really good as identifying isolated/exposed tumours
  • The model is good at getting the shape of the the tumour but lacks the fine outlines on the prediction
  • The model fails to identify tumours partially hidden by tissue. This is evident in plot_test(11)
  • The model also mistakens writings or drawings as an indication of a tumour. This is evident in plot_test (29)
  • The model to generally overfits to the training images

About

An image segmentation Model that uses the U-Net Architecture to segment tumours from ultrasound images of the breast.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /