ImageJ macro developed to analyse chromocenters in plant nucleus1
This macros rely on ActionBar, ImageScience and SCF MPI CBG plugins.
To run iCRAQ place the iCRAQ folder containing the iCRAQ_main.txt file inside the macros folder of ImageJ, launch ImageJ then go into Plugins>>Macros>>Run... and choose the iCRAQ_main.txt file:
- drag and drop one (or more)
.tif(or.lif) files of microscopy z-stack on the iCRAQ buttons menu, the macro will open the first file (or the first serie of the first.liffile) - Tune the options via the Option button if needed (see the
options.txtfor more details) - Proceed with the nucleus detection by clicking on Detect Nucleus:
- Missed nuclei can be added (one at a time) by clicking on the Manualy Add Nucleus button and then using the freehand tool (or any other ROI drawing tools)
- Unwanted nuclei ROIs can also be removed (one at a time) with the Remove Nucleus button and then choosing the ROI of the unwanted nucleus in the Roi manager
- Fuse Nucleus button is mainly used to fuse elongated nuclei that have been cut by the nucleus detection process or to group nuclei to be removed:
- Proceed with the chromocenter detection hitting the Detect Chromocenter button
- Each detected nuclei will be analysed separatedly
- A first dialog panel allows to skip the chromocenter detection of the current nucleus by answering Yes:
- Otherwise you will be asked to adjust the sliders in the H-watershed plugin to get a good segmentation of the chromocenters:23
- Then export the chromocenters mask via the H-watershed plugin menu and click Ok on the pop-up window to proceed to the next nucleus4
- As for nuclei, missed chromocenter can be added manualy with the Manualy add Chromocenter button and first selecting the nucleus ROI from which the missed chromocenter belong to and then drawing it manualy
- Chromocenters can also be removed with the Remove Chromocenter button and clicking the ROI of the unwanted chromocenter.
- Quality of the segmentation can be shown on the 2D projection via the Show On Projection button before performing the quantification (close the projection before running the quantification):
- The segmentation can then be saved using Save annotations which will first ask the name of the annotation image, then the destination folder and will save a
.tifimage with 2 or 3 gray levels:5
- Finaly, the Analyse Selections (2D) will ask for a result file name, perform the quantification of different ROI parameters and save the informations in 2 separate
.txtfiles one with nuclei informations and another one with each chromocenter informations6
- Note that the data from different images corresponding to the same serie can be appended in one unique file by providing the same result file name and not checking the
Delete if exitoption
- The Next Serie button will close the current image and open the next one in the queue
- The Reset button remove all ROI and reset the number of nuclei detected to 0
Footnotes
-
This macro was developed during an internship in IBENS under the supervision of Fredy Barneche and Clara Bourbousse. ↩
-
Tips: change the display style to
Contour overlay, uncheck theAllow Splittingbox, tune theSeed dynamicsto have one watershed region per chromocenter, adjust theIntensity thresholdto fit to the chromocenter and finaly decrease thepeak floodingif needed ↩ -
The
View imagein the H-watershed plugin menu allow to choose between the chromocenter features image (corresponding to the projection of the first eigenvalue of the structure tensor) or the projection of the original stack ↩ -
Note that the H-watershed plugin run in a java window that cannot be closed easily via ImageJ macro language, and the plugin windows will accumulate. In addition on each nucleus crop the ROI of the previous nuclei get overlaid, this is a known display issue but doesn't impair the quantification. ↩
-
The gray levels will be:
0for background,128for nuclei and255for chromocenter if chromocenter are present in the image, or0for the background and255for the nuclei if no chromocenter are prensent. ↩ -
The measured ROI parameters includes: the
x,yposition in the image, theareaoccupied, themeanandstandard deviationof gray level, the raw and normalizedsum intensityand shapes descriptor (roundness,circularity,aspect ratioandsolidity). For the nuclei the number of chromocenter (#CCs), the Relative Heterochromatin Fraction (RHF, the fraction of the nuclei signal intensity inside the chomocenter), the Relative Area Fraction (RAF, the area of the nucleus occupied by all chromocenter) and the chromocenter total intensity and area (CCintdenandCCarearespectively) are also measured. ↩








