public class FrameStatistics extends Object
CellStatsEval
,
ChannelStat
Modifier and Type | Field and Description |
---|---|
double |
area
Area of outline.
|
ExtendedVector2d |
centroid
Centroid of outline.
|
ChannelStat[] |
channels
Fluorescence stats added by ANA module.
|
double |
circularity
Circularity of outline.
|
double |
dispersion
Deprecated.
Not used
|
double |
displacement
Displacement of outline.
|
double |
dist
Cumulated distance that cell moved from the first recorded frame.
|
double |
elongation
Elongation of outline.
|
double |
extension
Deprecated.
Not used
|
int |
frame
Frame number.
|
double |
perimiter
Perimeter of outline.
|
double |
persistance
Persistence of outline.
|
double |
persistanceToSource
Deprecated.
Not used
|
double |
speed
Speed at which the centroid moved between the current and previous frame.
|
Constructor and Description |
---|
FrameStatistics()
Default constructor, create empty container.
|
Modifier and Type | Method and Description |
---|---|
void |
addFluoToResultTable(ij.measure.ResultsTable rt,
int channelno)
Add channel statistic to given ResultsTable.
|
void |
addStatToResultTable(ij.measure.ResultsTable rt)
Add statistics for this frame to resutl table.
|
void |
clearFluo()
Clear channel statistics.
|
static FrameStatistics[] |
read(File infile)
Load statistics from old file format.
|
void |
toScale(double scale,
double frameInterval)
Rescale scalable parameters (area, perimeter,etc) to SI units.
|
static void |
write(FrameStatistics[] s,
File outfile,
double scale,
double frameInterval)
Write stat file in old format (stQP.csv).
|
public int frame
public double area
public ExtendedVector2d centroid
public double elongation
public double circularity
public double perimiter
public double displacement
public double dist
public double persistance
public double speed
public double persistanceToSource
public double dispersion
public double extension
public ChannelStat[] channels
public FrameStatistics()
public void toScale(double scale, double frameInterval)
scale
- scaleframeInterval
- frame intervalpublic void clearFluo()
ChannelStat
public static void write(FrameStatistics[] s, File outfile, double scale, double frameInterval) throws IOException
s
- statistics to writeoutfile
- file namescale
- image scaleframeInterval
- data frame intervalIOException
- on file errorpublic static FrameStatistics[] read(File infile) throws IOException
infile
- file to readIOException
- on file errorpublic void addFluoToResultTable(ij.measure.ResultsTable rt, int channelno)
rt
- IJ result tablechannelno
- channel number for fluoro statsaddStatToResultTable(ResultsTable)
public void addStatToResultTable(ij.measure.ResultsTable rt)
rt
- IJ result tableaddFluoToResultTable(ResultsTable, int)
Copyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.