GithubHelp home page GithubHelp logo

yiangahead / segmentation-information-with-attention-integration-for-classification-of-breast-tumor-in-ultrasound Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jax-luo/segmentation-information-with-attention-integration-for-classification-of-breast-tumor-in-ultrasound

0.0 0.0 0.0 47.16 MB

A novel segmentation-to-classification scheme for breast ultrasound image classification

Python 100.00%

segmentation-information-with-attention-integration-for-classification-of-breast-tumor-in-ultrasound's Introduction

A novel segmentation-to-classification scheme by adding the segmentation-based attention (SBA) information to the deep convolution network (DCNN) for breast tumors classification.

This work is being submitted to the journal pattern recognition which is a very good journal to learn AI.

this is a very userful implementation of breast tumors classification based on tensorflow and keras, the model is very clear.

Requirements

Basically, this code supports and python3.6.4, the following package should installed:

  • tensorflow 1.9.0
  • keras 2.1.4
  • scipy
  • cv2

Dataset

TCIs are resized into a unified 224 × 224 and are one-channel gray images, and the format is JPG. Breast tumor ultrasound classification data have 1702 images. We provide sample images and can download on here:https://pan.baidu.com/s/1y0CPkTqD2wXxOrDEDzFAcw password:wf7f.

Usage

Firstly train the segmentation network and get the segmentation results.

python unet.py
python postprocess.py

Secondly generate 'npy' data file.

python data_cv.py
python data_cv_03.py

Thirdly fine-tune the feature networks.

python model_feature_network.py

Finally train the feature aggregation network.

python attention_aggregation.py

For testing

TCIs are used as the input of the model to predict the benign and malignant tumors.

python test_model.py

Result

Accuracy (90.78%), Sensitivity (91.18%), Specificity (90.44%), F1-score (91.46%), and AUC (0.9549) for breast tumor classification.

That's all, help you enjoy!

segmentation-information-with-attention-integration-for-classification-of-breast-tumor-in-ultrasound's People

Contributors

gislfzhao avatar jax-luo avatar waitouho avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.