ROI Statistics File Format

This page details the file format when ROI statistics are written to disk by the ROI Toolkit of Jim.

A stats file is a plain text file, consisting of a header line, followed by list of ROI statistics, one line for each ROI. The header and statistics present depend on which of the check boxes are selected for writing in the ROI Toolkit frame.

If all statistics are selected for writing, then the header line consists of the comment character (#) followed by eight headings as below:

# Annotation Slice Area Mean StdDev Min Max Length
    
If extended statistics are shown, then another four headings may also be shown:
 Median Perimeter MinFeret MaxFeret 
There then follows n rows of data, where n is the number of ROIs for the image, with one column for each of the headings in the header line. Columns are delimited by a single space (" ") character.

The annotation string is written without quotation, and all white space in the annotation entered by the user is converted to an underscore ("_") character. Numerical values are written either in integer format or in floating point format. Only line ROIs have a defined length; the characters "N/A" (not applicable) will appear in the length column for all other ROI types.

Jim Home