Skip to content

Autocrop

Tristan Dubos edited this page Oct 11, 2020 · 12 revisions

Table of content

[[TOC]]

Description

To extract large numbers of nuclei from a wide-field image, we have designed a process called autocrop here performed in 3D although this can also be achieved for 2D images. The basic principles of the autocrop process rely on a simple Otsu threshold method applied to the wide-field image. bounding box surrounding the 3D nuclei are defined to crop the nuclei from the wide-field image. To avoid to select to many objects which are not nuclei, a simple and scalable size filter was introduced. A second scalable filter allow to limit the number of multiple boxes for a given nucleus especially for large nuclei. Autocrop parameters are set by default but can can be modified prior to the analysis through a configuration file (config file).

Running autocrop

First select Autocrop NucleusJ 2 in the plugin menu :

[NUCLEUSJ2-PLUGIN-MENU_CUT](uploads/e1362ab2773fd2e13cae0aaaf6f1a5fa/NUCLEUSJ2-PLUGIN-MENU_CUT.png)
! ## List of available parameters
Parameter name Default value Value type Corresponding number in user interface Description
xCropBoxSize 40 Int 1 Number of voxels added to xmin and xmax of the connected component defining the final box size in x
yCropBoxSize 40 Int 2 Number of voxels added to ymin and ymax of the connected component defining the final box size in y
zCropBoxSize 20 Int 3 Number of voxels added to zmin and zmax of the connected component defining the final box size in z
minVolumeNucleus 1 Int 4 Minimum volume of detected object
maxVolumeNucleus 2147483647 Int 5 Maximum volume of detected object
thresholdOSTUcomputing 20 Int 6 Minimal default OTSU threshold
channelToComputeThreshold 0 Int 7 Channel number used to compute OTSU threshold (Channel 1 is 0 etc)
slicesOTSUcomputing 0 Int 8 Slice start used to compute OTSU threshold
boxesPercentSurfaceToFilter 50 Int 9 Surface percent of boxes to groups them
boxesRegroupement 10 boolean 10 Activation of boxes regroupement
xcal 1 Double 11 X calibration value
ycal 1 Double 12 Y calibration value
zcal 1 Double 13 Z calibration value

AUTOCROP-PARAMETERS-WINDOW

Examples

Back home

Clone this wiki locally