Giter VIP home page Giter VIP logo

algorithm-detects-liver-pathology's Introduction

Texture Analysis of Medical Ultrasound images

This is a my Bachelor Diploma work at Igor Sikorsky Kyiv Polytechnic Institute.

I have trained models on XGBoost for each disease images.

Available diseases images:

Disease Image Count
Dyscholia 5
Hepatitis B 9
Hepatitis C 11
Wilson's Disease 6
Autoimmune Hepatitis 8
Norma 68

As you see, amount of disease images are pretty low, to build some models, but I tried anyway. If you have some Ultrasound Images to share with, please contact me.

When you input some image, pre-trained models predicts output with GLRLM features and show percentage output for each

Feature Extracting Techniques

  • GLCM
  • GLRLM

GLCM Accuracy:

Dataset Predictor Accuracy
GLCM_0 XGBoost 50-60%

GLRLM Accuracy on Binary Classification:

Dataset Predictor Accuracy
GLRLM_0 XGBoost 88-96%
GLRLM_0 LogisticReg 85-95%
GLRLM_0 SVM 86-93%
GLRLM_0 KNN 86-93%

Usage

python3 main.py image.png

Examples

These are examples of Gradient Boosting model probability prediction

Norma

python3 main.py data/images/png/norm/norma0.png
Norma: 98%
Autoimmune Hepatitis: 0%
Dyscholia: 0%
Hepatitis B: 0%
Hepatitis C: 0%
Wilson's Disease: 0%

Dyscholia

python3 main.py data/images/png/dsh/4.png
Norma: 2%
Autoimmune Hepatitis: 3%
Dyscholia: 85%
Hepatitis B: 2%
Hepatitis C: 2%
Wilson's Disease: 2%

Autoimmune Hepatitis

python3 main.py data/images/png/auh/6.png
Norma: 1%
Autoimmune Hepatitis: 92%
Dyscholia: 1%
Hepatitis B: 0%
Hepatitis C: 1%
Wilson's Disease: 1%

Hepatitis B

python3 main.py data/images/png/hpb/1.png
Norma: 15%
Autoimmune Hepatitis: 0%
Dyscholia: 0%
Hepatitis B: 83%
Hepatitis C: 0%
Wilson's Disease: 0%

Hepatitis C

python3 main.py data/images/png/hpc/1.png
Norma: 0%
Autoimmune Hepatitis: 2%
Dyscholia: 0%
Hepatitis B: 0%
Hepatitis C: 94%
Wilson's Disease: 3%

Wilson's Disease

python3 main.py data/images/png/wls/8.png
Norma: 5%
Autoimmune Hepatitis: 1%
Dyscholia: 0%
Hepatitis B: 0%
Hepatitis C: 1%
Wilson's Disease: 90%

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.