Package com.flir.thermalsdk.image
Class ThermalValue
java.lang.Object
com.flir.thermalsdk.image.ThermalValue
Represents an Thermal value with additional state information. It is used to obtain Thermal data
from
ThermalImage
or any MeasurementShape
added to the image.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ThermalValueState
The state of the image at the point where the temperature is measured.final TemperatureUnit
Temperature unit.final double
Measured temperature. -
Constructor Summary
ConstructorsConstructorDescriptionThermalValue
(double value, TemperatureUnit unit) Constructor needed byFusion.setThermalFusion(ThermalValue, ThermalValue)
. -
Method Summary
-
Field Details
-
value
public final double valueMeasured temperature. -
unit
Temperature unit. -
state
The state of the image at the point where the temperature is measured.
-
-
Constructor Details
-
ThermalValue
Constructor needed byFusion.setThermalFusion(ThermalValue, ThermalValue)
. UsesThermalValueState.OK
as default.- Parameters:
value
- value as doubleunit
- unit asTemperatureUnit
-
-
Method Details
-
asKelvin
Convert this thermal value to Kelvin and return it as a copy. -
asCelsius
Convert this thermal value to Celsius and return it as a copy. -
asFahrenheit
Convert this thermal value to Fahrenheit and return it as a copy. -
equals
-
hashCode
public int hashCode() -
toString
-