DaleMoulding / Fiji-Macros

Published Macros for image analysis & utilities for scalebars (ICH microscopes) & automating standard tasks. All are covered under an MIT License, so can be freely used and distributed.
MIT License
3 stars 0 forks source link

Fiji-Macros

Macros for image analysis, scalebars (ICH microscopes), automating standard tasks. All are covered under an MIT License, so can be freely used and distributed.

Published Macros

Cilia Lengths & spots:

Cilia_Lengths_2D.ijm & Cilia_Spots_2D.ijm were published in:


Indentify Upper Surface:

IdentifyUpperSurfacev2.ijm as used in:

New version - High Speed (GPU based), tunable interactive surface placement, peel any distance and thickness above or below the identified surface in seconds. follow this link...

Image of murine e9.5 Neural tube closure point (Gabe Galea UCL). Surface extracted with this macro. Macro can be adapted to take any number of pixels from the upper surface, or below the upper surface.

SurfExt


Sphericity Roundess & Convexivity:

SphericityRoundnessConvexity.ijm published in:

Macro developed with Bruno Vindrola-Padrós to segment objects (archaeological potsherds here) and provide morphometric measures, including standard Fiji functions & smallest enclosing circle, Maximum Inscribed circle, and convexity (Perimeter / Convex Hull). Requires the Maximum_Inscribed_Cirlce.jar plugin developed by Olivier Burri and Romain Guiet at BIOP https://biop.epfl.ch/Fiji-Update/plugins/BIOP/

Image adapted from the paper above:

SpherConv


Podocyte F-actin / synaptopodin:

Mason et al manuscript submitted.

GlomActinSynaptov004vEV-6-UPDATESINGLEFILEFINAL.ijm & GlomActinSynaptov005vEV-UPDATEFOLDERFINAL.ijm process individual files (for initial threshold adjustments) or a folder of images (using predetermined thresholds). Thresholds for two channels (Synaptopodin and F-actin) and measures parameters describing the area of each stain, proprortions of overlaps between stains, intensity of staining in all regions (overlap / non-overlap) as absolute amount and percentages. Outputs results as a .csv table, saves all ROIs and an output image showing regions measured for each file.

MasonetalGlomsImage.jpg


Mitochondria and MitoSox measurements

Wilkinson et al Role of CD14+ monocyte-derived oxidised mitochondrial DNA in the inflammatory interferon type 1 signature in juvenile dermatomyositis.

Radziszewska et al Type I interferon and mitochondrial dysfunction are associated with dysregulated cytotoxic CD8+ T cell responses in juvenile systemic lupus erythematosus. (in preparation)

Individual cells were cropped by manually drawing an ellipse around the cell in the centre of the stack, this was then processed to a 3D spheroid mask using SpherefromCirclev002.ijm and the individual cell extracted. Measurements of Mitotracker & MitoSox volumes, surface areas and intensities were calculated by thresholding deconvolved images using MitoSoxWithTablev016.ijm. Outputs a results table summarizing all measurements, per cell and per mitochondrial structure.

Adapted macro for Radziszewska et al CD8 T-cell mitochondrial measurements: MitoSoxWithTableAniav003.ijm.

Outputs results images showing masks over the original input image:

Mitotr&MitoSox.jpg


ICH Light Microscopy Facility Macro tools

Scalebars Macros:

ICH_Scalebars_Mag_anywhere_in_Filename_v5.ijm and ICH_scalebars_Mag_from_folder_v06.ijm

These set the scale and optionally add scalebars to files with the magnification written anywhere_in_Filename (i.e 5x, 10x, 2.5x, recognizes any format x10, 10x, 10X, X10, as long as there no spaces between number and x).

Alternatively, run the Mag_from_folder version for files grouped into folder by magnification used.

Calibrated for ICH Imaging facility microscopes only.

Colour image Zeiss CZI Macros:

CZItoRGB.ijm and CZItoRGBFolder.ijm

These macros correct the gamma display in Zeiss CZI files taken with a colour camera. The first macro corrects a single open file (you can save the output as a tif), the second macro will run through a folder of CZI files.

Combine 2, 3 or 4 separate colour images (or stacks) into colour composite image:

4ChCompfromFilenamev006.ijm

3ChCompfromFilenamev006.ijm

2ChCompfromFilenamev006.ijm

This macro works on a folder of images, where you have taken 3 individually saved images, and combines them into a single 3 channel composite image. For example, a folder with the following files:

ControlDapi-a1.tif, Control488-a1.tif, Control594-a1.tif,

DrugDapi-b1.tif, Drug488-b1.tif, Drug594-b1.tif

Will be processed to give 2 new files in a new folder:

Control-a1-3ch.tif, Drug-b1-3ch.tif

By filling in the pop up box:

3chPopUp

The save filename is generated from Ch1 filename, with the unique identifier removed, and '-3ch' or any text you specify appended. Enhance contrast will just make the images look brighter, but they can be reset in Fiji using the Adjust Color Balance window.