Quantitative Big Imaging

Kevin Mader, Maria Büchner
17 April 2014

ETHZ: 227-0966-00L

Dynamics

Exercises

Tools for the Exercise

  • Basic Exercises
    • FIJI (ImageJ with all the plugins already installed): Visualization, Preprocessing, Segmentation, Morphometrics [http://www.fiji.sc]
    • RStudio (Statistics and Plots)

Objectives

  1. Make Reports in R
  2. Analyze a time series of images
  3. Track the objects using the center of mass positions
  4. Track the voxels using DIC

Setting up the Computers

Once you have logged in

  1. Install FIJI (if it is not already installed)
    • FIJI can be downloaded from this link
  2. Start FIJI
  3. Start RStudio by typing rstudio at command line

Voxel-Based Tracking

The code for Voxel-based tracking will be run directly in R and is not particularly efficient. It provides nonetheless an idea for how such results might look.


img.files<-Sys.glob(file.path("thirdflow","*.png"))
# get the parameters from the file name (parm.loc means 4th spot by _ in the name)
parm.from.filename<-function(in.name,parm.loc=4) {
  last.name<-sub("^([^.]*).*", "\\1", basename(in.name))
  as.numeric(strsplit(last.name,"_")[[1]][parm.loc])
}
all.images<-ldply(img.files,
                  function(file.name) {data.frame(file.name=file.name,
                                                  time=parm.from.filename(file.name,1),
                                                  im.to.df(readPNG(file.name)))
                                       })

all.images$phase<-all.images$val>0

First Correlation

We can now examine the overall correlation between the first and second images

plot of chunk unnamed-chunk-11

plot of chunk unnamed-chunk-13

Advanced

FIJI offers a number of plugins to perform tracking. One of the most flexible is called TrackMate (Plugins \rightarrow Tracking \rightarrow TrackMate), http://fiji.sc/TrackMate

It can also be well integrated into Matlab-based workflows (http://fiji.sc/Using_TrackMate_with_MATLAB)

Tutorial Movie with Second Flow: http://people.ee.ethz.ch/~maderk/videos/TrackMate.ogv