Class MeasurementParameters
java.lang.Object
com.flir.thermalsdk.image.measurements.MeasurementParameters
Defines a common set of measurement parameters. THese parameters overwrite the parameters defined
by the image. It allows more detailed adjustments and can provide more accurate results.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks, if local parameters should be used for the givenMeasurementShape.voidenableCustomObjectParameters(boolean enable) Sets, if local parameters should be used for the givenMeasurementShape.doubleGets the distance to the object for theMeasurementShape.doubleGets object's emissivity for theMeasurementShape.doubleGets the object's reflected temperature for theMeasurementShape.voidsetDistance(double distance) Sets the distance to the object for theMeasurementShape.voidsetEmissivity(double emissivity) Sets the object's emissivity for theMeasurementShape.voidsetReflectedTemperature(double reflectedTemperature) Sets the object's reflected temperature for theMeasurementShape.
-
Method Details
-
getDistance
public double getDistance()Gets the distance to the object for theMeasurementShape.- Returns:
- the distance to the object.
-
setDistance
public void setDistance(double distance) Sets the distance to the object for theMeasurementShape.- Parameters:
distance- the distance for the object.
-
getEmissivity
public double getEmissivity()Gets object's emissivity for theMeasurementShape.- Returns:
- the object's emissivity.
-
setEmissivity
public void setEmissivity(double emissivity) Sets the object's emissivity for theMeasurementShape.- Parameters:
emissivity- the emissivity to set.
-
getReflectedTemperature
public double getReflectedTemperature()Gets the object's reflected temperature for theMeasurementShape.- Returns:
- the object's reflected temperature.
-
setReflectedTemperature
public void setReflectedTemperature(double reflectedTemperature) Sets the object's reflected temperature for theMeasurementShape.- Parameters:
reflectedTemperature- the reflected temperature to set.
-
areCustomObjectParametersEnabled
public boolean areCustomObjectParametersEnabled()Checks, if local parameters should be used for the givenMeasurementShape. If local parameters are used, they replace the same values associated with the image. This allows better measurement of the object's temperature.- Returns:
true, if local parameters should be used,falseif the image parameters should be used.
-
enableCustomObjectParameters
public void enableCustomObjectParameters(boolean enable) Sets, if local parameters should be used for the givenMeasurementShape. If local parameters are used, they replace the same values associated with the image. This allows better measurement of the object's temperature.- Parameters:
enable-true, if local parameters should be used,falseif the image parameters should be used.
-