public class IdentityAxis extends VariableAxis
CalibratedAxis
whose raw and calibrated values are
the same.Constructor and Description |
---|
IdentityAxis()
Constructs a default IdentityAxis of unknown axis type.
|
IdentityAxis(AxisType type)
Constructs an IdentityAxis of the specified axis type.
|
IdentityAxis(AxisType type,
String unit)
Constructs an IdentityAxis of the specified axis type and unit.
|
Modifier and Type | Method and Description |
---|---|
double |
calibratedValue(double rawValue)
Returns a calibrated value given a raw position along the axis.
|
IdentityAxis |
copy()
Creates an exact duplicate of this axis.
|
String |
generalEquation()
Gets the general equation representing values along this axis; for
instance:
y = m*x + b . |
double |
rawValue(double calibratedValue)
Returns a raw value given a calibrated position along the axis.
|
get, numVars, particularEquation, set, vars
averageScale, equals, hashCode, setUnit, unit
setType, type
public IdentityAxis()
public IdentityAxis(AxisType type)
public double calibratedValue(double rawValue)
CalibratedAxis
public double rawValue(double calibratedValue)
CalibratedAxis
public String generalEquation()
CalibratedAxis
y = m*x + b
.public IdentityAxis copy()
CalibratedAxis
Copyright © 2014–2022 ImageJ. All rights reserved.