Giter VIP home page Giter VIP logo

iwatershedseg's Introduction

iWatershedSeg

This repository contains a Fiji/ImageJ macro toolset, that provides an interactive marker controlled watershed segmentation. This toolset uses icons comming from GIMP software, therefore icons are provided with the GIMP license (see /icons/iWatershedSeg/LICENSE).

Install

  1. install MorphoLibJ in Fiji/Imagej
  2. copy iWatershedSeg.ijm and icons folder in Fiji.app/macros/toolset directory
  3. copy the content of luts into Fiji.app/luts directory

Usage

Toolbar description

toolbar

  1. start/load a segmentation project
  2. brush tool to mark the inside of an object to be segmented
  3. brush tool to mark the outside of an object to be segmented
  4. eraser: reset a mark to background
  5. launch the marker controlled watershed algorithm
  6. record the result of watershed
  7. move to one frame backward if your input data is a time serie
  8. move to one frame forward if your input data is a time serie
  9. extra tools like saving a project

Start a project

Click on the tool 1 and choose start a new project. If your data is a volume or a time series, you must verify that your data have the appropriate dimension in Z (.e. slices) or time (i.e. nFrames). The easiest way to do that, is to use Image > Hypertstack > Hyperstack to stack tool. And if needed use Image > Hypertstack > Re-order Hyperstack .... screenshot 1

Select a contour map, typically the magnitude of the gradient (see Plugins > FeatureJ > FeatureJ Derivatives). In this example, the image is obtained from phase-contrast microscopy, which directly render the cells borders. Threrefore, we use the input image as contour map. screenshot 2

Creation of markers

With the red brush tool (tool 2) mark the inside of your object, with the green brush tool (tool 3) mark the outside. screenshot 3

Run the watershed algorithm

Run the segmntation process with tool 5. screenshot 4

Record the labelling

If you are happy with the result, you can register your object, otherwise you can adjust markers with the brushes and the eraser, and re-run the watershed algorithm. screenshot 5

Save the current segmentation process

In the extral tools menu (tool 9) choose Save current project. screenshot 6

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.