This repository contains codes used to batch-process confocal images of spheroids encoded with FUCCI.
- MATLAB R2021a or later with the image processing toolbox
- FIJI.
- MATLAB app
AdjustRawImages.mlappused to manually adjust contrast raw tif images and embed necessary metadata. - Script
ProcessImages.mused to perform the batch processing on a folder containing the output of component 1. - Folder
functionscontaining necessary subroutines. - Folder
Democontaining a demo script to demonstrate the algorothm. - Folder
DemoImagescontaining raw microscope images (oir), raw tif images and adjusted images, - Document
SpheroidsImageProcessing.pdfcontaining further details. RunDemo/Demo.mto reproduce Figure 1.
- Raw
oirfiles are batch converted totifusing FIJI. - The FIJI macro
ExportInfoMacro.ijmis run on the output folder from step 2 to produce atxtfile for each image containing the metadata to be extracted by MATLAB. - The
AdjustRawImages.mlappis run (right click and select run) on the folder containing the rawtifandtxtfiles. This will create two subfolders:AdjustedandOriginal. To demo, selectDemoImages/Originalin the prompt after running the app. - The
ProcessImages.mscript is run on theAdjustedfolder from step 3. To demo, selectDemoImages/Adjustedin the prompt after running the scipt. - After processing is complete, the images will display one-by-one along with an input prompt.
- To keep the processed image, hit
ythenEnter(or justEnter). To reject, hitnthenEnter. - Type a filename to save the data or press
n. PressEnter. - Press
yto filter the data (i.e., remove rejected images), else pressn. PressEnter. - Type a folder name to save the processed images or press
n. PressEnter. - The script will always save the processed data (including rejected images) to a
Processed-date-time.csvfile in the directory above theAdjustedfolder selected.
Alexander P Browning and Ryan J Murphy
School of Mathematical Sciences
Queensland University of Technology
Brisbane, Australia