Skip to content

toyo97/bcmeasure

Repository files navigation

Brain Cell Measure

ImageJ script to measure radius of brain cells in 3D images

DISCLAIMER: This repository is not updated. The updated version of the tool is in the bcmeasurej repository, which is the same tool but written in pure Java

Description

The script is written in Python and interpreted using Jython which translates it in Java code along with the ImageJ library.

Algorithm

The algorithm to compute the radius is the following

  • Every cell in every image is opened in ImageJ in a stack of fixed dimensions (e.g. a cube of 70 pix contains easily every cell in the dataset)
  • The stack is eventually filtered using gaussian blur 3D or other filters (median, mean)
  • A new, more accurate, center of the cell is set at the local maximum around the starting seed
  • A threshold value is computed weighting the sum of the mean of the voxel values around the center and the mean of the voxel outside the cell (given internal radius, external radius and weight of the spot mean as parameters - it is empirically found that 15, 50, 0.6 values respectively work well)
  • The 3D radial distribution is computed in a given radius around the center (e.g. 40)
  • Finally the radius is extracted cutting the radial distribution gaussian at the threshold value found before

Sources

About

ImageJ plugin to measure radius of brain cells

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages