Git Product home page Git Product logo

binary-semantic-segmentation-using-u-net's Introduction

Binary semantic segmentation using U-Net

Binary semantic segmentation using U-Net in TensorFlow 2 / Keras.

Directory Structure

All the code files and folders follow the following structure in ipynb file.

├── training.tif
├── testing.tif
├── training_groundtruth.tif
├── testing_groundtruth.tif
├── patches
│   ├── images
│   └── masks
└── model.hdf5

Introduction

The line of research is motivated by the need to accurately segment mitochondria from images. To solve this problem, we will use binary semantic segmentation using U-Net in TensorFlow 2 / Keras.

It is used U-Net model, which is trained on this Electron Microscopy Dataset. Mitochondria is annotated in two sub-volumes. Each sub-volume consists of 165 slices of 1024x768.

U-Net is a semantic segmentation technique originally proposed for medical imaging segmentation. U-Net was introduced in the paper, U-Net: Convolutional Networks for Biomedical Image Segmentation. The model architecture is fairly simple: an encoder (for downsampling) and a decoder (for upsampling) with skip connections.

unet

The gray arrows indicate the skip connections that concatenate the encoder feature map with the decoder, which helps the backward flow of gradients for improved training.

Instructions

Please, follow the instruction in the provided notebook.

Results

With just 1000 images of 256x256 and 25 epochs of training, it achieves a Mean Intersection over Union (IoU) of 0.96 in the unseen test partition.

Predicted segmentation examples

descarga descarga (1) descarga (2)

binary-semantic-segmentation-using-u-net's People

Contributors

javier-marti-isasi avatar

Watchers

 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.