-
Notifications
You must be signed in to change notification settings - Fork 20
Frame files
Stella edited this page Jun 28, 2016
·
8 revisions
A seg file is created for each time frame and in each xy position, during the first pass of segmentation. It contains the following information :
- mask_bg: image of background mask, where cell clumps are white (1) and background is black (0)
- mask_cell: image where the cells appear white and the background is black
- phase: original phase image
- crop_box: alignment information for the specific image
- segs: structure explained below
- phaseMagic: phase image with magicContrast applied to increase subcellular contrast
- segs_good: image with the segments determined as correct
- segs_bad: image with the segments determined as incorrect
- segs_3n: image with the segments determined as should never be switched off
- segs_label: image of bwlabel of good and bad segs.
- score: array of scores for each segment
- scoreRaw: array of raw score for each segment
- props: array of properties for each segment
- info: array of segment parameters that are used to generate the raw score, look below
- the minimum phase intensity on the seg
- the mean phase intensity on the seg
- area of the segment
- the mean second d of the phase normal to the seg
- second derivative of the phase normal to the seg at the min pixel
- second derivative of the phase parallel to the seg at the min pixel
- min area of neighboring regions
- max area of neighboring regions
- min lengths of the minor axis of the neighboring regions
- max lengths of the minor axis of the neighboring regions
- min lengths of the major axis of the neighboring regions
- max lengths of the major axis of the neighboring regions
- length of minor axis of the segment
- length of major axis of the segment
- square of length of major axis
- max length of region projected onto the major axis segment
- min length of region projected onto the major axis segment
- max length of region projected onto the minor axis segment
- min length of region projected onto the minor axis segment
There is also an err file for each time frame and in each xy position. The err file is created after the linking and error resolution phase of segmentation. They contain the same information as the _seg.mat files above with one extra structure called regs :
- regs: [1x1 struct]
- regs_label: an image with pixels of 0 where the background is, and pixels of the id of the region located there.
- props:structure of properties generated by regionprops
- num_regs: number of regions found
- dA: area change for the linking in the map from r
- eccentricity: array of long axis of region / short axis of region
- L1: array of long axis length of each region
- L2: array of short axis length of each region
- contact: array, 1 if region is in contact with another region (<5 pixels)
- neighbors: cell array of IDs of neighbors of each region
- contactHist: array, 1 if cell has been in contact with other cells
- scoreRaw: region’s raw score
- death: array with frame of region death/division
- deathF: array with 1 if region died, divided in this frame
- birth: array with frame of cell birth
- birthF: array, true if region was born in this frame
- age: array for region’s age in frames
- divide: array, 1 if division was observed
- ehist: array with sum of errors up to this frame in cell history
- stat0: array with cell status, 0 - error or birth not observed, 1 - cell was the result of a good birth, 2 - cell was result of good birth and divided successfully (set by trackOptiCellMarker)
- sisterID: array with Cell ID of sister cells/regions
- motherID: array with Cell ID of mother cell/region
- daughterID: cell array with Cell ID of daughter cells
- ID: ID of each cell
- map: map structure
- error: error structure with the following fields
- .f: error found from current -> forward frame
- .r: error found from current -> reverse frame
- .label: String containing a description of the error
- info: the fields used for scoring the regions. The fields can vary according to the scoring function used in CONST.regionScoreFun.fun. The names of the fields should be at CONST.regionScoreFun.names.
For cellprops3 the fields in info are the following :
- long axis of the region
- mean of the short axis of the region
- neck width
- maximum of the short axis of the region
- variance of the short axis of the region
- mean of width sin pi s/S
- mean of width sin pi 2s/S
- mean of width sin pi 3s/S
- RoundIndOver
- RoundIndUnder
- Area
- max dtheta^2
- mean of theta sin pi s/2S
- mean of theta sin pi s/S
- mean of theta sin pi 3s/2S
- mean of theta sin pi 2s/S
- 1/long axis
- 1/mean short axis
- Min End Width
- round end min
- round end max