dispcell

Syntax:

dispcell(cellList,images,frame,cell)

dispcell(cellList,images,frame,cell,radius)

dispcell(cellList,images,frame,cell,radius,border)

dispcell(cellList,images,frame,cell,[],border)

dispcell(...,fieldname)

dispcell(...,'disk')

dispcell(...,'circle')

This function displays an image of the selected cell with the cell outline and spots in this cell.

  • <cellList> - an array that contains meshes. You can drag and drop the file with the data into MATLAB workspace or open it using MATLAB's Import Tool. The default name of the variable is cellList, but it can be renamed.

  • <images> - a 3D array of images. It can be obtained using loadimageseries and loadimagestack commands, e.g.: images=loadimageseries('c:\users\test\imagefiles',1);

  • <frame> - the frame number of the cell to display.

  • <cell> - the cell number of the cell to display.

  • <radius> - radius of the marker disk in image pixels.

  • <border> - width of the empty area displayed outside of the cell.

  • <fieldname> - name of the field containing spots, must start with 'spots', e.g. 'spots', 'spots1', 'spots2', etc. Default: 'spots'. Several fields can be listed. Default: 'spots'. To not display spots, put a non-existent field name, e.g. 'spotsx'.

  • 'disk' - display spots as filled disks rather than dots. The radius in this case is measured in image pixels, not screen points.

  • 'circle' - display spots as circles rather than dots. The radius in this case is measured in image pixels, not screen points.