These scripts are designed to assist with performing unbiased stereology using the Fiji distribution of ImageJ.
These scripts were written or modified, as noted, by Theresa Swayne, Ph.D., Columbia University, New York, NY, USA. This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License. If you use the material, please read the license and give credit appropriately.
The original Multipurpose Grid macro was written by Aleksandr Mironov.
Use the Fiji distribution of ImageJ. Plain ImageJ does not support Jython.
To run the script from anywhere on your computer, open Fiji, File > Open
, select the script, and click Run
.
To install so that the command appears in the ImageJ menu, follow instructions here.
Use Fiji or plain ImageJ.
To run the macro from anywhere on your computer, open Fiji, File > Open
, select the script, and click Run
.
To install so that the command appears in the ImageJ menu, follow instructions here.
Use Fiji or plain ImageJ.
Note that batch apply grid.txt
requires the macro Multipurpose_gridMod.ijm
to be installed in the plugins folder!
- Open the Batch Macro command (
Process > Macro...
). - Set the
Input
folder to the folder containing the images you want to process. All files in the folder will be processed. - Set the
Output
folder to a different folder where you would like the results to be saved. - Click
Open
and select the .txt file. - Click
Process
.
Here is one way to use these scripts.
- Open a slide scanner image using VSI Reader, and create a grid of ROIs.
- Use
random_ROI.py
to select a subset of the tissue for analysis. - Use
batch apply grid.txt
to overlay a non-destructive counting grid on the set of images. - During counting, if you have a large area containing many points, use
cross_count.ijm
to count black crosses within the area.
- To change the number of fields or grid characteristics you need to edit the scripts.
- Cross counting works only with black crosses, and assumes there is no black in the image.
I have tested these at the time of uploading. If you find a bug, please contact me.
Theresa Swayne, Ph.D., Confocal and Specialized Microscopy Shared Resource, Columbia University