Giter Club home page Giter Club logo

mfcn's Introduction

This code is for the paper "A unified deep-learning network to accurately segment insulin granules of different animal models imaged under different electron microscopy methodologies "

STEP 1: Image histogram equalization.

The histogram equalization can be implemented with the Matlab built-in function, e.g.,:
J = histeq(img);

STEP 2: MFCN binary segmentation.

We provide a MFCN implement of the Caffe version. In this experiment, we train the model from scratch. In effect,
users can finetune their own model with our trained model , which can improve the training speed significantly.
Once we have trained the model, we can use the trained model to segment new images. This python script adopts a
patch-based testing method, in which the input image (i.e., size of 1792 × 2048) is sliced into smaller patches
(i.e., size of 640 × 640) to be run on GPU. However, the whole (i.e., size of 1792 × 2048) image can be segmented
on a CPU with MFCN model immediately, although this is relatively slow.

STEP 3: Watershed based instance segmentation.

After obtaining binary segmentation maps, to record information for each vesicle, e.g., area, radius, and gray-value,
we adopt a watershed-based instance segmentation and save each vesicle’s contour as .roi files, which can be read by
ImageJ software. We provide Matlab scripts , first running watershed_for_dbwts.m to record information for each vesicle,
and then running freeroisaveapply.m to save the .roi files. These .roi files can be read and analyzed by ImageJ software.

If you need the dataset or have any questions, please contact with [email protected]

mfcn's People

Contributors

644zhang avatar

Stargazers

 avatar Hao Tang 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.