VivoQuant
Public Slots | Public Member Functions | List of all members
AutoradCalibration Class Reference

Tool for calibrating an autorad image. More...

Public Slots

void run ()
 Run the tool.
 
void fillConcentrations (Array< string > stdConcs, Array< string > recalcConcs)
 Fill the table of concentrations. More...
 
void readValuesFromData ()
 Fill the table using currently loaded fiducials.
 
void backgroundChanged (int newval)
 Update which fiducial is used as the background. More...
 
void apply (bool quiet=false)
 Apply the calibration. More...
 

Public Member Functions

string getStandardsCentersString ()
 Get the centers of the standards.
 
string getStandardRadiusString ()
 Get the radii of the standards.
 
string getStandardsColorString ()
 Get the colors of the standards.
 
string getProcedureString ()
 Get the weights.
 
string getSequenceString ()
 Get the sequence from the table.
 
string getStandardsEquationString ()
 Get the equation with slope and intercept.
 
void setProfilePlotDimensions (int width, int height)
 Set the dimensions of the profile plot. More...
 
float getSlope ()
 Gets the calibration slope value. More...
 
float getIntercept ()
 Gets the calibration intercept value. More...
 
float getBackgroundMean ()
 Gets the calibration background mean value. More...
 
float getFitR2 ()
 Gets the calibration r-squared fit value. More...
 

Detailed Description

Tool for calibrating an autorad image.

This tool uses fiducials placed using either the Distance/Annotation Operator or the ROI operator to calibrate the image.

See also .getCalibrationWidget() from either the Distance/Annotation or ROI operator to obtain this object.

Member Function Documentation

◆ apply

void apply ( bool  quiet = false)
slot

Apply the calibration.

Parameters
quiet(optional, default false) If false a popup message will display with the calibration parameters (slope and intercept)

◆ backgroundChanged

void backgroundChanged ( int  newval)
slot

Update which fiducial is used as the background.

Parameters
newvalthe id of the new background

◆ fillConcentrations

void fillConcentrations ( Array< string >  stdConcs,
Array< string >  recalcConcs 
)
slot

Fill the table of concentrations.

Parameters
stdConcsa list of the standard concentrations
recalcConcsa list of the the recalculated concentrations

◆ getBackgroundMean()

float getBackgroundMean ( )
inline

Gets the calibration background mean value.

Returns
The background mean value

◆ getFitR2()

float getFitR2 ( )
inline

Gets the calibration r-squared fit value.

Returns
The r-squared value

◆ getIntercept()

float getIntercept ( )
inline

Gets the calibration intercept value.

Returns
The intercept value

◆ getSlope()

float getSlope ( )
inline

Gets the calibration slope value.

Returns
The slope value

◆ setProfilePlotDimensions()

void setProfilePlotDimensions ( int  width,
int  height 
)

Set the dimensions of the profile plot.

Parameters
widthThe width of the profile plot window
heightThe height of the profile plot window