cellmovie

Syntax:

cellmovie(cellList,images,cell)

cellmovie(cellList,images,cell,firstfilename,...)

cellmovie(cellList,images,cell,fieldname,...)

cellmovie(cellList,images,cell,'circle',...)

cellmovie(cellList,images,cell,'disk',...)

cellmovie(cellList,images,cell,...,parametername,parametervalue,...)

This function displays or saves a movie or a series of images of one cell through a range of frames in a timelapse series of images.

The rest of the parameters must be submitted in the format <parametername>,<parametervalue>, where <parametername> must be in quotes and <parametervalue> must be the value of this parameter. For example: cellmovie(cellList,images,cell,'resolution',300). Here are the possible parameters:

Examples

Simplest mode: display a movie of cell 5 through all frames not saving anything:

   cellmovie(cellList, images, 5)

Display the same cell on frames from 1 to 30:

   cellmovie(cellList, images, 5, 'frange', 1:30)

Display the same cell changing the default border to zero:

   cellmovie(cellList, images, 5, 'border', 0)

Save the movie of this cell as a series of jpeg files out1.jpg, out2.jpg, out3.jpg, etc.:

   cellmovie(cellList, images, 5, 'out.jpg')

Display the same cell with a timestamp (assuming the frame rate 1 unit s/frame) and a scalebar (1 um long assuming 1 pixel=0.0642 um):

   cellmovie(cellList, images, 5, 'barlength', 1/0.0642, 'timestamp', true)

Combination of many parameters: save a series of jpeg images for frames 1-30 displaying a scalebar and a timestamp in yellow color, changing the position of the timestamp and not displaying spots:

   cellmovie(cellList, images, 5, 'frange', 1:30, 'border', 0, 'out.jpg', 'barlength', 1/0.0642, 'timestamp',true,'timestamppos',[16 -0.1],'infocolor',[1 1 0],'circle','spotsx')


Top pages: MicrobeTracker Tools, MicrobeTracker Suite.