Giter Club home page Giter Club logo

ramification_index's Introduction

microglia_cell_measurements.ijm

This works for a multichannel z-stack containing fluorescently stained microglia cells. Only one channel is processed and can be chosen via a pop up dialog. The processing steps are as follows:

  1. Open full dataset, raw input file (use virtual stack if too big for RAM)

  2. Pre-processing

    • Maximum intensity projection
    • duplicate
    • apply Grays LUT
    • enhance contrast: CLAHE (https://imagej.net/plugins/clahe)
    • Threshold using Li
    • save mask in input file directory {originalFileName-mask.tif}
  3. Area Fraction measurement

    • duplicate mask
    • Analyze particles: size 2-Inf µm^2; summarize, add to manager [the size filter should exclude objcts caused by background/noise but still include cell segments; adjustable via initial user dialog]
    • save summary table (containing %Area = area fraction based on whole FOV) and ROI set in input file directory: {originalFileName-Summary_results.csv} & {originalFileName-area-fraction-intensity-ROISet.zip}
  4. Intensity measurements

    • for original image, substract background: rolling ball = 5, process whole stack
    • Sum Slices projection
    • activate all intensity-based parameters: area mean standard modal min integrated median display
    • Measure all ROIs
    • save results in input file directory {originalFileName-Measurement_results.csv}
    • clear ROI manager
  5. Ramification index measurements

    • select original mask
    • Analyze particles: size 35-Inf µm^2; summarize, exclude from edges, add to manager [the size filter should include only objects that are large enough to be whole cells; adjustable via initial user dialog]
    • save ROI set in input file directory: {originalFileName-cell-ROIs.zip}
    • set measurement parameters to area only
    • loop through all ROIs:
      • measure area
      • create convex hull
      • measure area of convex hull
      • calculare ramification index: area / convex hull area
    • collate all results in a results table and save table in input file directory {originalFileName-Ramification_results.csv}
  6. Clean up

    • close results file
    • reset ROI manager
    • close all image windows

ramification_index.ijm

The starting point is a generated segmentation mask. Once the binary mask has been generated/opened, select it and hit [Run] at the bottom of the script editor.

ramification_index's People

Contributors

makaefer avatar marien-kaefer 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.