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.mlapp
used to manually adjust contrast raw tif images and embed necessary metadata. - Script
ProcessImages.m
used to perform the batch processing on a folder containing the output of component 1. - Folder
functions
containing necessary subroutines. - Folder
Demo
containing a demo script to demonstrate the algorothm. - Folder
DemoImages
containing raw microscope images (oir), raw tif images and adjusted images, - Document
SpheroidsImageProcessing.pdf
containing further details. RunDemo/Demo.m
to reproduce Figure 1.
- Raw
oir
files are batch converted totif
using FIJI. - The FIJI macro
ExportInfoMacro.ijm
is run on the output folder from step 2 to produce atxt
file for each image containing the metadata to be extracted by MATLAB. - The
AdjustRawImages.mlapp
is run (right click and select run) on the folder containing the rawtif
andtxt
files. This will create two subfolders:Adjusted
andOriginal
. To demo, selectDemoImages/Original
in the prompt after running the app. - The
ProcessImages.m
script is run on theAdjusted
folder from step 3. To demo, selectDemoImages/Adjusted
in 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
y
thenEnter
(or justEnter
). To reject, hitn
thenEnter
. - Type a filename to save the data or press
n
. PressEnter
. - Press
y
to 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.csv
file in the directory above theAdjusted
folder selected.
Alexander P Browning and Ryan J Murphy
School of Mathematical Sciences
Queensland University of Technology
Brisbane, Australia