ilabs-flir 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/app.plugin.js +1 -1
  2. package/ios/Flir/SDKLoader/FlirSDKLoader.swift +9 -9
  3. package/ios/Flir/src/FlirModule.m +12 -1
  4. package/package.json +1 -1
  5. package/ios/Flir/Framework/ThermalSDK/FLIRBattery.h +0 -76
  6. package/ios/Flir/Framework/ThermalSDK/FLIRCalibration.h +0 -108
  7. package/ios/Flir/Framework/ThermalSDK/FLIRCamera.h +0 -156
  8. package/ios/Flir/Framework/ThermalSDK/FLIRCameraDeviceInfo.h +0 -53
  9. package/ios/Flir/Framework/ThermalSDK/FLIRCameraEvent.h +0 -132
  10. package/ios/Flir/Framework/ThermalSDK/FLIRCameraImport.h +0 -204
  11. package/ios/Flir/Framework/ThermalSDK/FLIRColorDistributionSettings.h +0 -204
  12. package/ios/Flir/Framework/ThermalSDK/FLIRColorizer.h +0 -82
  13. package/ios/Flir/Framework/ThermalSDK/FLIRDiscoveredCamera.h +0 -44
  14. package/ios/Flir/Framework/ThermalSDK/FLIRDiscovery.h +0 -132
  15. package/ios/Flir/Framework/ThermalSDK/FLIRDisplaySettings.h +0 -29
  16. package/ios/Flir/Framework/ThermalSDK/FLIRFocus.h +0 -70
  17. package/ios/Flir/Framework/ThermalSDK/FLIRFusion.h +0 -192
  18. package/ios/Flir/Framework/ThermalSDK/FLIRFusionController.h +0 -136
  19. package/ios/Flir/Framework/ThermalSDK/FLIRFusionTransformation.h +0 -35
  20. package/ios/Flir/Framework/ThermalSDK/FLIRIdentity.h +0 -264
  21. package/ios/Flir/Framework/ThermalSDK/FLIRImageBase.h +0 -196
  22. package/ios/Flir/Framework/ThermalSDK/FLIRImageColorizer.h +0 -26
  23. package/ios/Flir/Framework/ThermalSDK/FLIRImageStatistics.h +0 -61
  24. package/ios/Flir/Framework/ThermalSDK/FLIRIsotherms.h +0 -208
  25. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementArea.h +0 -38
  26. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementCollection.h +0 -147
  27. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDelta.h +0 -62
  28. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementDimensions.h +0 -33
  29. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementEllipse.h +0 -49
  30. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementLine.h +0 -66
  31. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementMarker.h +0 -69
  32. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementParameters.h +0 -41
  33. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementRectangle.h +0 -36
  34. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementReference.h +0 -27
  35. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementShape.h +0 -46
  36. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementSpot.h +0 -33
  37. package/ios/Flir/Framework/ThermalSDK/FLIRMeasurementsController.h +0 -160
  38. package/ios/Flir/Framework/ThermalSDK/FLIRMeterLinkSensorPoll.h +0 -247
  39. package/ios/Flir/Framework/ThermalSDK/FLIROverlayController.h +0 -27
  40. package/ios/Flir/Framework/ThermalSDK/FLIRPalette.h +0 -60
  41. package/ios/Flir/Framework/ThermalSDK/FLIRPaletteController.h +0 -36
  42. package/ios/Flir/Framework/ThermalSDK/FLIRPaletteManager.h +0 -97
  43. package/ios/Flir/Framework/ThermalSDK/FLIRQuantification.h +0 -55
  44. package/ios/Flir/Framework/ThermalSDK/FLIRRemoteControl.h +0 -393
  45. package/ios/Flir/Framework/ThermalSDK/FLIRRenderer.h +0 -35
  46. package/ios/Flir/Framework/ThermalSDK/FLIRRendererImpl.h +0 -17
  47. package/ios/Flir/Framework/ThermalSDK/FLIRScale.h +0 -99
  48. package/ios/Flir/Framework/ThermalSDK/FLIRScaleController.h +0 -44
  49. package/ios/Flir/Framework/ThermalSDK/FLIRStream.h +0 -109
  50. package/ios/Flir/Framework/ThermalSDK/FLIRStreamer.h +0 -124
  51. package/ios/Flir/Framework/ThermalSDK/FLIRSystem.h +0 -40
  52. package/ios/Flir/Framework/ThermalSDK/FLIRTemperatureRange.h +0 -43
  53. package/ios/Flir/Framework/ThermalSDK/FLIRThermalDelta.h +0 -77
  54. package/ios/Flir/Framework/ThermalSDK/FLIRThermalImage.h +0 -331
  55. package/ios/Flir/Framework/ThermalSDK/FLIRThermalImageFile.h +0 -56
  56. package/ios/Flir/Framework/ThermalSDK/FLIRThermalParameters.h +0 -31
  57. package/ios/Flir/Framework/ThermalSDK/FLIRThermalValue.h +0 -92
  58. package/ios/Flir/Framework/ThermalSDK/FLIRWirelessCameraDetails.h +0 -88
  59. package/ios/Flir/Framework/ThermalSDK/ThermalSDK.h +0 -73
@@ -1,124 +0,0 @@
1
- //
2
- // FLIRStreamer.h
3
- // ThermalSDK
4
- //
5
- // Created by FLIR on 2021-10-12.
6
- // Copyright © 2021 Teledyne FLIR. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- #import "FLIRRendererImpl.h"
12
- #import "FLIRColorizer.h"
13
- #import "FLIRCamera.h"
14
-
15
- @class FLIRStream;
16
- @class FLIRThermalImage;
17
-
18
- NS_ASSUME_NONNULL_BEGIN
19
-
20
- @class FLIRVividIRParameters;
21
-
22
- /**
23
- * Vivid IR upscale methods
24
- * chaning this will give faster response, but lower quality
25
- */
26
- typedef NS_ENUM(NSInteger, FLIRVividIRUpscale) {
27
- /// Use superResolution for scaling (only available on FLIR One Pro models)
28
- /// this is the default setting for FLIR One Pro
29
- FLIRSuperResolution,
30
- /// use trilateral scaling
31
- /// this is default setting for FLIR One
32
- FLIRTrilateral
33
- };
34
-
35
- /**
36
- * Vivid IR latency mode
37
- * chaning this will give faster response, but lower quality
38
- */
39
- typedef NS_ENUM(NSInteger, FLIRVividIRLatency) {
40
- /// Use a latency of 2 frames for denoise
41
- /// this is the default setting for FLIR One
42
- FLIRLatencyHigh,
43
- /// Use a latency of 0 frames for denoise (fastest)
44
- FLIRLatencyLow
45
- };
46
-
47
- /**
48
- * Streamer class
49
- */
50
- @interface FLIRStreamer : FLIRRendererImpl
51
-
52
- /**
53
- * Get parameters for the VividIR filter
54
- * Returns nil if this streamer doesn't use VividIR
55
- */
56
- @property (nonatomic, nullable, readonly) FLIRVividIRParameters* vividIRParameters;
57
-
58
- @end
59
-
60
- /**
61
- * Streamer class for thermal data
62
- */
63
- @interface FLIRThermalStreamer : FLIRStreamer<FLIRColorizer>
64
-
65
- /**
66
- * Create a thermal streamer on a stream
67
- *
68
- * @param stream the stream to be streamed
69
- *
70
- * The stream should contain thermal data. This will also contain a colorizer to provide a visual image
71
- * from the thermal stream.
72
- */
73
- - (instancetype)initWithStream:(FLIRStream *)stream;
74
-
75
- /**
76
- * Create a thermal streamer on a stream
77
- *
78
- * @param stream the stream to be streamed
79
- * @param streamingOptions options for streaming, currently the only option is STREAMING_NO_OPENGL
80
- * which creates a pipeline using only CPU filters, avoiding openGL rendering
81
- *
82
- * The stream should contain thermal data. This will also contain a colorizer to provide a visual image
83
- * from the thermal stream.
84
- */
85
- - (instancetype)initWithStream:(FLIRStream *)stream options: (StreamingOptions)streamingOptions;
86
-
87
- /**
88
- * call a function with a @ref FLIRThermalImage from the stream
89
- *
90
- * @param imageBlock a block with an image parameter
91
- */
92
- - (void)withThermalImage:(void (^)(FLIRThermalImage *))imageBlock;
93
-
94
-
95
- @end
96
-
97
- @interface FLIRVividIRParameters : NSObject
98
-
99
-
100
- /// Upscale method used, superresolution is only available on FLIR One Pro models
101
- @property (nonatomic, assign) FLIRVividIRUpscale upscale;
102
- /// Latency for denoise
103
- @property (nonatomic, assign) FLIRVividIRLatency latency;
104
- /// Denoise filters enabled
105
- @property (nonatomic, assign) BOOL useDenoise;
106
-
107
- @end
108
-
109
- /**
110
- * Streamer class for visual data
111
- */
112
- @interface FLIRVisualStreamer : FLIRStreamer
113
- /**
114
- * Create a visual streamer on a stream
115
- *
116
- * @param stream the stream to be streamed
117
- *
118
- * The stream should contain visual data.
119
- */
120
- - (instancetype)initWithStream:(FLIRStream *)stream;
121
-
122
- @end
123
-
124
- NS_ASSUME_NONNULL_END
@@ -1,40 +0,0 @@
1
- //
2
- // FLIRSystem.h
3
- // ThermalSDK
4
- //
5
- // Created by FLIR on 2020-07-02.
6
- // Copyright © 2020 Teledyne FLIR. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- /** system parameters for the camera */
12
- @interface FLIRSystem : NSObject
13
-
14
- /** get the a flag indicating the system is running */
15
- - (BOOL) getSystemUp;
16
- /** get the date and time for the camera */
17
- - (NSDateComponents* _Nullable)getTime;
18
- /** get the time zone name for the camera */
19
- - (NSString* _Nullable)getTimeZoneName;
20
- /// Set the date and time for the camera.
21
- /// - Parameter dateComponents: Required components: year, month, day, hour, minute, second and calendar.
22
- ///
23
- /// The given components are used to set the camera's date and time.
24
- /// > Note: Timezone is ignored; it's set by ``setTimeZoneName:error:``. Some cameras set seconds to 0.
25
- - (BOOL)setTime:(NSDateComponents* _Nonnull)dateComponents error:(out NSError * _Nullable *_Nullable)error;
26
- /// Set the time zone name for the camera.
27
- /// > Note: not all cameras support this.
28
- - (BOOL)setTimeZoneName:(NSString* _Nonnull)timeZoneName error:(out NSError * _Nullable *_Nullable)error;
29
- /// Get a list of available time zones
30
- - (NSArray<NSString *>* _Nullable)getAvailableTimeZones:(out NSError * _Nullable *_Nullable)error;
31
-
32
- - (BOOL)setWiFiSSID:(NSString * _Nonnull)ssid;
33
-
34
- @property (nonatomic, readonly) NSUInteger capacityKBytes;
35
- @property (nonatomic, readonly) NSUInteger freeKBytes;
36
- @property (nonatomic) BOOL isTorchOn;
37
-
38
- - (void) reboot;
39
-
40
- @end
@@ -1,43 +0,0 @@
1
- //
2
- // FLIRTemperatureRange.h
3
- // ThermalSDK
4
- //
5
- // Created by FLIR on 2020-07-02.
6
- // Copyright © 2020 Teledyne FLIR. All rights reserved.
7
- //
8
-
9
- @class FLIRThermalValue;
10
-
11
- /** a temperature range for a camera */
12
- @interface FLIRRange : NSObject
13
-
14
- /** lowest thermal value */
15
- @property (nonatomic, retain) FLIRThermalValue* _Nonnull min;
16
- /** highest thermal value */
17
- @property (nonatomic, retain) FLIRThermalValue* _Nonnull max;
18
-
19
- @end
20
-
21
-
22
- @interface FLIRTemperatureRange : NSObject
23
-
24
- /** get all available ranges */
25
- - (NSArray<FLIRRange*>* _Nullable) getRanges;
26
- /** get the range used */
27
- - (int)getSelectedIndex;
28
- /**
29
- * Set the range used.
30
- * When 'selectedIndex' is being set on the network camera, the camera responds with a success, but it asynchronously sets itself up.
31
- * In consequence, the success response doesn't necessarily mean the camera is done with changing the setting.
32
- * This means that reading the 'selectedIndex' will return the old value for a short while, until the camera sets everything up internally.
33
- * It is up to the developer to subscribe if it is required.
34
- * When 'selectedIndex' is being set on the FLIR ONE camera, in order to properly reflect new value in 'image.CameraInformation'
35
- * the streaming must be started prior to setting the value and also 'FLIRThermalImage.getImage()' needs to be called.
36
- */
37
- - (BOOL)setSelectedIndex: (int)selectedIndex error: (out NSError * _Nullable *_Nullable)error;
38
- /** Subscribes for selected temperature range notifications. */
39
- - (BOOL)subscribeSelectedIndex: (out NSError * _Nullable *_Nullable) error;
40
- /** Revokes subscription for selected temperature range. */
41
- - (void)unsubscribeSelectedIndex;
42
-
43
- @end
@@ -1,77 +0,0 @@
1
- //
2
- // FLIRThermalDelta.h
3
- // FLIR Thermal SDK
4
- //
5
- // Copyright © 2020 Teledyne FLIR. All rights reserved.
6
- //
7
-
8
- #pragma once
9
- #import <Foundation/Foundation.h>
10
- #import "FLIRThermalValue.h"
11
-
12
- // should match atlas::image::measurements::DeltaMemberValueType
13
-
14
- /**
15
- * Defines delta member value type.
16
- */
17
- typedef NS_ENUM(NSUInteger, DeltaMemberValueType) {
18
- /** Min marker value for the specified member type.
19
- * Valid for member types: rectangle, ellipse, line.
20
- */
21
- typeMin,
22
- /** Max marker value for the specified member type.
23
- * Valid for member types: rectangle, ellipse, line.
24
- */
25
- typeMax,
26
- /** Average value for the specified member type.
27
- * Valid for member types: rectangle, ellipse, line.
28
- */
29
- typeAvg,
30
- /** Arbitrary value.
31
- * Valid for member types: spot, reference temperature.
32
- */
33
- typeValue
34
- };
35
-
36
- /**
37
- * Represents an Thermal delta with additional state information. It is used to obtain Thermal data
38
- * from a ThermalImage or any MeasurementShape added to the image.
39
- */
40
- @interface FLIRThermalDelta : NSObject
41
-
42
- /**
43
- * Initialize a thermal delta value with specified temperature difference and unit (useful for tests)
44
- *
45
- * @param value Temperature difference.
46
- * @param unit Temperature unit.
47
- */
48
- - (instancetype)initWithValue:(double) value andUnit:(TemperatureUnit) unit;
49
-
50
- /**
51
- * Gets the difference/delta value.
52
- */
53
- @property (readonly, nonatomic) double value;
54
-
55
- /**
56
- * Gets the temperature unit.
57
- */
58
- @property (readonly, nonatomic) TemperatureUnit unit;
59
-
60
- /**
61
- * Gets the state of the value.
62
- */
63
- @property (readonly, nonatomic) ThermalValueState state;
64
-
65
- /**
66
- * Gets a formatted string representing the value.
67
- */
68
- - (NSString *)description;
69
-
70
- /**
71
- * Convenience function to test if two FLIRThermalDelta have the same temperature difference with imprecise floating-point comparison.
72
- * @param other The second (right hand side) value to compare.
73
- * @param absError The margin of error in degrees Kelvin.
74
- */
75
- - (BOOL)areNear:(id)other absError: (double)absError;
76
-
77
- @end
@@ -1,331 +0,0 @@
1
- //
2
- // FLIRThermalImage.h
3
- //
4
- // Copyright © 2019 Teledyne FLIR. All rights reserved.
5
- //
6
-
7
- #pragma once
8
-
9
- #import "FLIRImageBase.h"
10
- #import "FLIRMeasurementCollection.h"
11
- #import "FLIRPaletteManager.h"
12
- #import "FLIRThermalParameters.h"
13
- #import "FLIRImageStatistics.h"
14
- #import "FLIRFusion.h"
15
- #import "FLIRScale.h"
16
- #import "FLIRThermalValue.h"
17
- #import "FLIRDisplaySettings.h"
18
- #import "FLIRMeterLinkSensorPoll.h"
19
- #import "FLIRIsotherms.h"
20
- #import "FLIRColorDistributionSettings.h"
21
- #import "FLIRIdentity.h"
22
- #import "FLIRQuantification.h"
23
-
24
- /**
25
- * Specifies the color distribution of the thermal image.
26
- */
27
- typedef enum ColorDistribution_type
28
- {
29
- /**
30
- * This is an image-displaying method that distributes the colors according to temperature.
31
- */
32
- TemperatureLinear,
33
- /**
34
- * This is an image-displaying method that evenly distributes the color information over
35
- * the existing temperatures of the image. This method to distribute the information can be particularly
36
- * successful when the image contains few peaks of very high temperature values.
37
- */
38
- HistogramEqualization
39
-
40
- } /** Specifies the color distribution of the thermal image. */ ColorDistribution;
41
-
42
- /**
43
- * Holds information about the camera used to create the Thermal image.
44
- * Provides an information about a camera device, like serial number, model, lens type/name.
45
- * All information given is as written by the camera. For extra information, refer to the user manual of the camera.
46
- */
47
- @interface CameraInfo : NSObject
48
- /** The camera filter information. */
49
- @property (nonatomic, readonly, nonnull) NSString *filter;
50
-
51
- /** The camera lens information. */
52
- @property (nonatomic, readonly, nonnull) NSString *lens;
53
-
54
- /** The camera model information. */
55
- @property (nonatomic, readonly, nonnull) NSString *modelName;
56
-
57
- /** The camera serial number information. */
58
- @property (nonatomic, readonly, nonnull) NSString *serialNumber;
59
-
60
- /// The program version
61
- @property (nonatomic, readonly, nonnull) NSString* progVer;
62
-
63
- /// The camera article number
64
- @property (nonatomic, readonly, nonnull) NSString* articleNumber;
65
-
66
- /// flir one type (only valid for flir one cameras)
67
- @property (nonatomic, readonly) FLIROneType flirOneType;
68
-
69
- /**
70
- * The lower limit of the camera's measurement range.
71
- * Note that there are some preconditions/limits related to camera's measurement range, when using remote API 'TemperatureRange.selectedIndex()'.
72
- */
73
- @property (nonatomic, readonly, nonnull) FLIRThermalValue *rangeMin;
74
-
75
- /**
76
- * The upper limit of the camera's measurement range.
77
- * Note that there are some preconditions/limits related to camera's measurement range, when using remote API 'TemperatureRange.selectedIndex()'.
78
- */
79
- @property (nonatomic, readonly, nonnull) FLIRThermalValue *rangeMax;
80
-
81
- /// Calibration information
82
- @property (nonatomic, readonly, nonnull) NSString* calibrationTitle;
83
- @property (nonatomic, readonly, nonnull) NSString* lensSerialNumber;
84
- @property (nonatomic, readonly, nonnull) NSString* arcVersion;
85
- @property (nonatomic, readonly, nonnull) NSString* arcDate;
86
- @property (nonatomic, readonly, nonnull) NSString* arcSignature;
87
- @property (nonatomic, readonly, nonnull) NSString* countryCode;
88
- @property (nonatomic, readonly) NSInteger horizontalFoV;
89
- @property (nonatomic, readonly) float focalLength;
90
-
91
- @end
92
-
93
-
94
-
95
- /** Specifies the supported distance units. */
96
- typedef NS_ENUM(NSUInteger, DistanceUnit)
97
- {
98
- /** The metre or meter is the fundamental unit of length in the International System of Units. */
99
- METER,
100
- /** International foot (equal to 0.3048 meters). */
101
- FEET
102
- };
103
-
104
- /**
105
- * Defines text annotations that can be stored with the Thermal image
106
- */
107
- @interface FLIRTextAnnotation : NSObject
108
- @property (nonatomic, nonnull) NSString* first DEPRECATED_MSG_ATTRIBUTE("Use label instead, this property will be removed.");
109
- @property (nonatomic, nonnull) NSString* second DEPRECATED_MSG_ATTRIBUTE("Use value instead, this property will be removed.");
110
-
111
- @property (nonatomic, nonnull) NSString* label;
112
- @property (nonatomic, nonnull) NSString* value;
113
-
114
- - (instancetype _Nonnull)initWithLabel:(NSString * _Nonnull)label value:(NSString * _Nonnull)value;
115
-
116
- @end
117
-
118
- /**
119
- * Defines features of a Thermal image created from file or stream with temperature (radiometric) data.
120
- * The object of this class can be obtained from Thermal cameras supporting such streaming mode.
121
- * There is also a specialized subclass for handling Thermal data stored in files. The ThermalImageFile should be used for them.
122
- */
123
- @interface FLIRThermalImage : FLIRImageBase
124
-
125
- /** The measurements collection. */
126
- @property (nonatomic, readonly, nullable) FLIRMeasurementCollection *Measurements;
127
-
128
- /** The palette manager. */
129
- @property (nonatomic, readonly, nullable) FLIRPaletteManager *PaletteManager;
130
-
131
- /** Gets a Palette object set for this image. */
132
- @property (nonatomic, readwrite, nullable) FLIRPalette *Palette;
133
-
134
- /**
135
- * Gets an ThermalParameters object for this instance.
136
- */
137
- - (FLIRThermalParameters * _Nullable)getThermalParameters;
138
-
139
- /**
140
- * A list of external sensor poll values
141
- *
142
- * @return arrayf of @ref FLIRMeterLinkSensorPoll FLIRMeterLinkSensorPoll
143
- */
144
- - (NSArray<FLIRMeterLinkSensorPoll *> * _Nonnull)getExternalSensorPolls;
145
-
146
- /**
147
- * Gets a UIImage object, which represents an image's colorized pixels data depending on selected FusionMode.
148
- * Rendered/colorized image, which size, appearance etc. heavily depends on the FusionMode.
149
- * Note: raw IR and DC pixels are used to generate this image (depending on fusion mode), and DC image will be aligned even in FusionMode#VISUAL_MODE mode.
150
- *
151
- * @return An UIImage representing the thermal image.
152
- */
153
- - (UIImage * _Nullable)getImage DEPRECATED_MSG_ATTRIBUTE("This call will be removed, use FLIRImageColorizer (still images) or FLIRThermalStreamer (live streams) instead");
154
-
155
- /**
156
- * Gets an ImageStatistics object providing the statistics for Thermal data.
157
- *
158
- * @return The image statistics in a FLIRImageStatistics object
159
- */
160
- - (FLIRImageStatistics * _Nullable)getImageStatistics;
161
-
162
- /**
163
- * Gets the scale object.
164
- *
165
- * @return The image scale as FLIRScale object
166
- */
167
- - (FLIRScale * _Nullable)getScale;
168
-
169
- /**
170
- * Gets a Fusion object set for this image.
171
- *
172
- * @return The image fusion as a FLIRFusion object
173
- */
174
- -(FLIRFusion * _Nullable)getFusion;
175
-
176
- /**
177
- * Gets the thermal image color distribution.
178
- *
179
- * @return The color distribution.
180
- */
181
- - (ColorDistribution)getColorDistribution DEPRECATED_MSG_ATTRIBUTE("This call will be removed, use getColorDistributionSettings instead");
182
-
183
- /**
184
- * Sets the thermal image color distribution.
185
- *
186
- * @param value The color distribution.
187
- */
188
- - (void)setColorDistribution:(ColorDistribution)value;
189
-
190
- /**
191
- * Gets a {@link FLIRColorDistributionSettings} for the image.
192
- */
193
- - (FLIRColorDistributionSettings * _Nonnull)getColorDistributionSettings;
194
-
195
- /**
196
- * Sets the {@link FLIRColorDistributionSettings} for the image.
197
- */
198
- - (void)setColorDistributionSettings: (FLIRColorDistributionSettings * _Nonnull)settings;
199
-
200
- /**
201
- * Gets the CameraInformation describing the device the image was taken with.
202
- *
203
- * @return CameraInformation_t
204
- */
205
- -(CameraInfo * _Nullable)getCameraInformation;
206
-
207
- /**
208
- * Return display settings, with information on pan and zoom
209
- */
210
- - (FLIRDisplaySettings * _Nullable)getDisplaySettings;
211
-
212
- /**
213
- * Set display settings, with information on pan and zoom
214
- */
215
- - (BOOL)setDisplaySettings:(FLIRDisplaySettings * _Nonnull)displaySettings error:(out NSError * _Nullable * _Nullable)error;
216
-
217
- /**
218
- * Gets a DistanceUnit used to define any distance parameter related with image.
219
- *
220
- * @return DistanceUnit
221
- */
222
- -(DistanceUnit) getDistanceUnit;
223
-
224
-
225
- /**
226
- * Gets a visual image (photo), which is not fusion aligned, as a UIImage extracted from the file.
227
- * Raw visual pixels/"photo"/"DC", usually in YCbCr format.
228
- * These are only available if the thermal image was created with fusion data and visual pixel data.
229
- * These pixels are not aligned to the IR pixels.
230
- */
231
- - (UIImage * _Nullable)getPhoto;
232
-
233
-
234
- /**
235
- * Gets a TemperatureUnit the ThermalValues are in.
236
- */
237
- -(TemperatureUnit) getTemperatureUnit;
238
-
239
-
240
- /**
241
- * Gets a text annotations associated with the file.
242
-
243
- @return array with annotations
244
- */
245
- - (NSArray<FLIRTextAnnotation *> * _Nullable)getTextAnnotations:(out NSError * _Nullable * _Nullable)error;
246
-
247
- /**
248
- * Sets a text annotations associated with the file.
249
-
250
- @param annotations array with annotations
251
- */
252
- - (BOOL)setTextAnnotations:(NSArray<FLIRTextAnnotation *> * _Nonnull)annotations error:(out NSError * _Nullable * _Nullable)error;
253
-
254
- /**
255
- * Gets a temperature value from a point(x,y) in the Thermal Image.
256
-
257
- * Due to Lepton thermal camera core specifics, reading a value from a single point may be inaccurate.
258
- * Thus this is recommended to use a measurement spot instead, where value calculation is internally compensated based on a several adjacent points and calibration data.
259
- *
260
- * @param point the pixel coordinate
261
- * @return temperature value
262
- */
263
- -(FLIRThermalValue * _Nullable) getValueAt:(CGPoint) point error:(out NSError * _Nullable * _Nullable)error;
264
-
265
- /**
266
- * Gets temperature values from a list of points(x,y) in the Thermal Image.
267
- *
268
- * @param points array with pixel coordinates, given as NSValue wrapping CGPoint
269
- *
270
- * @return array with temperature values, given as NSNumber wrapping double with Kelvin value
271
- */
272
- -(NSArray<NSNumber *> * _Nullable)getValues:(NSArray<NSValue *> * _Nonnull)points error:(out NSError * _Nullable * _Nullable)error;
273
-
274
- /**
275
- * Gets temperature values from a list of points(x,y) in the Thermal Image.
276
- *
277
- * @param rectangle a rectangular area within the thermal image
278
- *
279
- * @return array with temperature values, given as NSNumber wrapping double with Kelvin value
280
- */
281
- -(NSArray<NSNumber *> * _Nullable)getValuesFromRectangle:(CGRect)rectangle error:(out NSError * _Nullable * _Nullable)error;
282
-
283
- /**
284
- * Sets a DistanceUnit used to define any distance parameter related with image.
285
- *
286
- */
287
- -(void) setDistanceUnit:(DistanceUnit) value;
288
-
289
-
290
- /**
291
- * Sets a TemperatureUnit the ThermalValues are in.
292
- */
293
- -(void) setTemperatureUnit:(TemperatureUnit) value;
294
-
295
- /**
296
- * Saves a thermal image to file.
297
- *
298
- * @param fileName Path to file.
299
- * @param overlay The UIImageView with ovelay and the thermal image.
300
- */
301
- - (BOOL)saveAs:(NSString * _Nonnull)fileName imageViewWithOverlay:(UIImageView * _Nonnull)overlay error:(out NSError * _Nullable * _Nullable)error;
302
-
303
- /**
304
- * Saves a thermal image to file.
305
- *
306
- * @param fileName Path to file.
307
- * @param imageWithOverlay The UIImage with ovelay and the thermal image.
308
- */
309
- - (BOOL)saveAs:(NSString * _Nonnull)fileName imageWithOverlay:(UIImage * _Nonnull)imageWithOverlay error:(out NSError * _Nullable * _Nullable)error;
310
-
311
- /**
312
- * Saves a thermal image to file.
313
- *
314
- * @param fileName Path to file.
315
- */
316
- - (BOOL)saveAs:(NSString * _Nonnull)fileName error:(out NSError * _Nullable * _Nullable)error;
317
-
318
- /**
319
- * Gets a date when the image was taken.
320
- */
321
- - (NSDate * _Nullable)getDateTaken;
322
-
323
- /** @brief Gets the isotherms collection. */
324
- - (FLIRIsotherms * _Nonnull)getIsotherms;
325
-
326
- /// gas quantification input, nil if image does not contain gas quantification input data
327
- @property (nonatomic, nullable, readonly) FLIRGasQuantificationInput* gasQuantificationInput;
328
- /// gas quantification result
329
- @property (nonatomic, nullable, readonly) FLIRGasQuantificationResult* gasQuantificationResult;
330
-
331
- @end
@@ -1,56 +0,0 @@
1
- //
2
- // FLIRThermalImageFile.h
3
- //
4
- // Copyright © 2019 Teledyne FLIR. All rights reserved.
5
- //
6
-
7
- #ifndef FLIRThermalImageFile_h
8
- #define FLIRThermalImageFile_h
9
- #endif
10
-
11
- #import "FLIRThermalImage.h"
12
-
13
- /**
14
- * Describes a file on the physical file system, which contains a ThermalImage.
15
- * Moreover it contains additional data, which helps to analyze and interpret the image.
16
- */
17
- @interface FLIRThermalImageFile : FLIRThermalImage
18
-
19
- /**
20
- * Opens an thermal image from the specified file.
21
- *
22
- * @param fileName Path to file.
23
- * @return 0 if image was opened -1 if failed
24
- */
25
- - (int)open:(NSString * _Nonnull)fileName;
26
-
27
- /**
28
- * Check if the file contains thermal data.
29
- *
30
- * @param fileName Path to file.
31
- */
32
- -(BOOL)isThermalImage:(NSString * _Nonnull)fileName;
33
-
34
-
35
- /**
36
- * Gets an absolute path to the file this image was loaded from.
37
- */
38
- -(NSString * _Nonnull) getAbsolutePath;
39
-
40
-
41
- /**
42
- * Gets an opened file's name.
43
- */
44
- - (NSString * _Nonnull)getFileName;
45
-
46
-
47
- /**
48
- * Saves current object to file.
49
- */
50
- - (BOOL)save:(out NSError * _Nullable * _Nullable)error;
51
-
52
- @end
53
-
54
-
55
-
56
-
@@ -1,31 +0,0 @@
1
- //
2
- // FLIRThermalParameters.h
3
- // FLIR Thermal SDK
4
- //
5
- // Copyright © 2019 Teledyne FLIR. All rights reserved.
6
- //
7
-
8
- #import <Foundation/Foundation.h>
9
- #import "FLIRThermalValue.h"
10
-
11
- /** FLIRThermalParameters */
12
- @interface FLIRThermalParameters : NSObject
13
-
14
- /** Gets or sets the default emissivity for the IR Image. */
15
- @property (nonatomic, readwrite) float objectEmissivity;
16
- /** Gets or sets the distance from camera to focused object. */
17
- @property (nonatomic, readwrite) float objectDistance;
18
- /** Gets or sets the reflected temperature. */
19
- @property (nonatomic, readwrite, nonnull) FLIRThermalValue* objectReflectedTemperature;
20
- /** Gets or sets the atmospheric temperature. */
21
- @property (nonatomic, readwrite, nonnull) FLIRThermalValue* atmosphericTemperature;
22
- /** Gets or sets the external optics temperature. */
23
- @property (nonatomic, readwrite, nonnull) FLIRThermalValue* externalOpticsTemperature;
24
- /** Gets or sets the external optics transmission. */
25
- @property (nonatomic, readwrite) float externalOpticsTransmission;
26
- /** Gets or sets the atmospheric transmission. */
27
- @property (nonatomic, readwrite) float atmosphericTransmission;
28
- /** Gets or sets the relative humidity (0.0 - 100.0). */
29
- @property (nonatomic, readwrite) float relativeHumidity;
30
-
31
- @end