Package com.flir.thermalsdk.image
Class DisplaySettings
java.lang.Object
com.flir.thermalsdk.image.DisplaySettings
The DisplaySettings exposes a range of visual attributes which specify how the image is displayed. They also specify how image was displayed when it was initially taken by a camera.
DisplaySettings allows user to specify a "subsection" of interest, while still keeping the entire image available for context.
In example: taking an image of a car engine, but "zoom-in" to a faulty spark-plug, while keeping the entire image of the photographed engine for a context.
The DisplaySettings effects both the IR and visual image.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal FlipType
Defines if the image is flipped horizontally/vertically or both.final float
Defines the image zoom factor, where value 1.0 means no zoom.final int
Defines the image zoom pan/offset in X axis, where value 0 means centered.final int
Defines the image zoom pan/offset in Y axis, where value 0 means centered. -
Constructor Summary
ConstructorsConstructorDescriptionBasic constructor which uses default initial settings.DisplaySettings
(float zoomFactor, int zoomPanX, int zoomPanY, FlipType flipType) Parametrized constructor allowing to setup desired initial settings. -
Method Summary
-
Field Details
-
zoomFactor
public final float zoomFactorDefines the image zoom factor, where value 1.0 means no zoom. -
zoomPanX
public final int zoomPanXDefines the image zoom pan/offset in X axis, where value 0 means centered. -
zoomPanY
public final int zoomPanYDefines the image zoom pan/offset in Y axis, where value 0 means centered. -
flipType
Defines if the image is flipped horizontally/vertically or both.
-
-
Constructor Details
-
DisplaySettings
public DisplaySettings()Basic constructor which uses default initial settings. -
DisplaySettings
Parametrized constructor allowing to setup desired initial settings.- Parameters:
zoomFactor
- defines the image zoom factor, where value 1.0 means no zoom.zoomPanX
- defines the image zoom pan/offset in X axis, where value 0 means centered.zoomPanY
- defines the image zoom pan/offset in Y axis, where value 0 means centered.flipType
- defines if the image is flipped horizontally/vertically or both.
-
-
Method Details