Lepton Software IDD Rev303 PDF
Lepton Software IDD Rev303 PDF
Lepton Software IDD Rev303 PDF
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.4 SDK Module: AGC 0x100 .......................................................................................................... 31
4.4.1 AGC Enable and Disable ...................................................................................................... 32
4.4.2 AGC Policy Select................................................................................................................. 34
4.4.3 AGC ROI Select .................................................................................................................... 35
4.4.4 AGC Histogram Statistics..................................................................................................... 37
4.4.5 AGC HEQ Dampening Factor ............................................................................................... 39
4.4.6 AGC HEQ Clip Limit High ..................................................................................................... 40
4.4.7 AGC HEQ Clip Limit Low ...................................................................................................... 42
4.4.8 AGC HEQ Empty Counts ...................................................................................................... 43
4.4.9 AGC HEQ Output Scale Factor ............................................................................................. 44
4.4.10 AGC Calculation Enable State.............................................................................................. 46
4.4.11 AGC HEQ Linear Percent ..................................................................................................... 47
4.5 SDK Module: SYS 0x200 ............................................................................................................ 49
4.5.1 SYS Ping Camera.................................................................................................................. 50
4.5.2 SYS Status ............................................................................................................................ 51
4.5.3 SYS FLIR Serial Number ....................................................................................................... 52
4.5.4 SYS Camera Uptime............................................................................................................. 53
4.5.5 SYS AUX Temperature Kelvin .............................................................................................. 54
4.5.6 SYS FPA Temperature Kelvin ............................................................................................... 55
4.5.7 SYS Telemetry Enable State ................................................................................................ 56
4.5.8 SYS Telemetry Location ....................................................................................................... 57
4.5.9 SYS Frame Average.............................................................................................................. 58
4.5.10 SYS Number of Frames to Average ..................................................................................... 59
4.5.11 SYS Camera Customer Serial Number ................................................................................. 61
4.5.12 SYS Camera Video Scene Statistics ..................................................................................... 62
4.5.13 SYS Scene ROI Select ........................................................................................................... 64
4.5.14 SYS Thermal Shutdown Count............................................................................................. 66
4.5.15 SYS Shutter Position Control ............................................................................................... 67
4.5.16 SYS FFC Mode Control ......................................................................................................... 68
4.5.17 SYS Run FFC Normalization ................................................................................................. 71
4.5.18 SYS FFC Status ..................................................................................................................... 72
4.5.19 SYS Gain Mode .................................................................................................................... 73
4.5.20 SYS FFC States ..................................................................................................................... 75
4.5.21 SYS Gain Mode Object......................................................................................................... 76
4.5.22 SYS Average Frames – Aggregate Command ...................................................................... 79
4.5.23 SYS AUX Temperature Celsius – helper function................................................................. 80
4.5.24 SYS FPA Temperature Celsius – helper function ................................................................. 81
4.6 SDK Module: VID 0x300............................................................................................................ 82
4.6.1 VID Pseudo-Color Look-Up Table Select ............................................................................. 83
4.6.2 VID User Pseudo-Color Look-Up Table Upload/Download ................................................. 85
4.6.3 VID Focus Calculation Enable State..................................................................................... 87
4.6.4 VID Focus ROI Select ........................................................................................................... 89
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.6.5 VID Focus Metric Threshold ................................................................................................ 91
4.6.6 VID Focus Metric ................................................................................................................. 93
4.6.7 VID Video Freeze Enable State ............................................................................................ 94
4.6.8 VID Video Output Format ................................................................................................... 95
4.6.9 VID Low Gain Pseudo-Color Look-Up Table Select ............................................................. 97
4.7 SDK Module: OEM 0x800 ......................................................................................................... 99
4.7.1 Setting the OEM Protection Bit ........................................................................................... 99
4.7.2 OEM Power On.................................................................................................................. 100
4.7.3 OEM Power Down ............................................................................................................. 101
4.7.4 OEM FLIR Systems Part Number ....................................................................................... 102
4.7.5 OEM Camera Software Revision ....................................................................................... 103
4.7.6 OEM Video Output Enable ................................................................................................ 104
4.7.7 OEM Video Output Format Select .................................................................................... 106
4.7.8 OEM Video Output Source Select ..................................................................................... 108
4.7.9 OEM Customer Part Number ............................................................................................ 110
4.7.10 OEM Video Output Source Constant Value ...................................................................... 111
4.7.11 OEM Run Camera Re-Boot ................................................................................................ 113
4.7.12 OEM FFC Normalization Target ......................................................................................... 114
4.7.13 OEM Status........................................................................................................................ 116
4.7.14 OEM Frame Mean Intensity .............................................................................................. 117
4.7.15 OEM GPIO Mode Select .................................................................................................... 118
4.7.16 OEM GPIO VSync Phase Delay .......................................................................................... 120
4.7.17 OEM User Defaults ............................................................................................................ 122
4.7.18 OEM Restore User Defaults .............................................................................................. 124
4.7.19 OEM Shutter Profile .......................................................................................................... 125
4.7.20 OEM Thermal Shutdown Enable ....................................................................................... 127
4.7.21 OEM Bad Pixel Replacement Control ................................................................................ 129
4.7.22 OEM Temporal Filter Control ............................................................................................ 131
4.7.23 OEM Column Noise Filter (SCNR) Control ......................................................................... 133
4.7.24 OEM Pixel Noise Filter (SPNR) Control .............................................................................. 135
OEM Run FFC Normalization Frames – Aggregate Command.......................................................... 136
4.8 SDK Module: RAD 0xE00 ......................................................................................................... 137
4.8.1 Setting the OEM Protection Bit ......................................................................................... 137
4.8.2 RAD RBFO External Parameters ........................................................................................ 138
4.8.3 RAD Radiometry Control Enable ....................................................................................... 140
4.8.4 RAD TShutter Mode .......................................................................................................... 142
4.8.5 RAD TShutter Temperature............................................................................................... 144
4.8.6 RAD FFC Normalization ..................................................................................................... 145
4.8.7 RAD Run Status ................................................................................................................. 146
4.8.8 RAD Flux Linear Parameters .............................................................................................. 147
4.8.9 RAD T-Linear Enable State ................................................................................................ 149
4.8.10 RAD T-Linear Resolution ................................................................................................... 151
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.8.11 RAD T-Linear Auto Resolution ........................................................................................... 153
4.8.12 RAD Spotmeter Region of Interest (ROI) .......................................................................... 155
4.8.13 RAD Spotmeter Value ....................................................................................................... 157
4.8.14 RAD Low Gain RBFO External Parameters ........................................................................ 159
List of Tables
Table 1 CCI/TWI Device Parameters ........................................................................................................... 17
Table 2 Lepton SDK Modules ...................................................................................................................... 28
Table 3 Command Types ............................................................................................................................. 28
List of Figures
Figure 1 Lepton CCI/TWI Registers ............................................................................................................. 11
Figure 2 Lepton CCI/TWI Get or Read Attribute Sequence......................................................................... 14
Figure 3 Lepton CCI/TWI Set or Write Sequence ........................................................................................ 15
Figure 4 Lepton CCI/TWI Run Command Sequence.................................................................................... 16
Figure 5 CCI/TWI Single READ from random location reads 16-bit DATA .................................................. 17
Figure 6 CCI/TWI Setting the camera's CCI/TWI current address ............................................................... 17
Figure 7 CCI/TWI Reading sequentially from the camera's CCI/TWI current address ................................ 18
Figure 8 CCI/TWI Single WRITE to random location writes 16-bit DATA ................................................... 18
Figure 9 CCI/TWI Writing sequentially ........................................................................................................ 18
Figure 10 Lepton Command Word Format ................................................................................................. 20
Figure 11 CCI/TWI Status Register Definition ............................................................................................ 22
Figure 12 Lepton SDK Response Error Codes ............................................................................................. 25
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
1 Document Description
1.1 Revision History
Rev. # Date Comments
100 December 8, 2016 Official release for Lepton and Lepton with Radiometry configurations
200 April 4, 2017 Updates to include Lepton 3 (160x120) Release
300 Updates to include Lepton 3 with Radiometry Release
Other minor updates including:
• Removal of the Lepton configuration compatibility with TAux in Kelvin
command
301 July 2, 2018 Updated reference to Lepton Engineering Datasheet.
Updated Lepton nomenclature to 1.5, 1.6, 2.0, 2.5, 3.0 and 3.5.
Updated table under “4.4.27 SYS FFC Mode Control”.
LEP_GetOemVideoOutputSource()/LEP_SetOemVideoOutputSource() not
supported.
LEP_GetOemTemporalFilterControl()/LEP_SetOemTemporalFilterControl() not
supported in Lepton 2.5.
LEP_GetOemShutterProfileObj()/LEP_SetOemShutterProfileObj() not supported in
Lepton 2.5.
LEP_GetOemThermalShutdownEnable()/LEP_SetOemThermalShutdownEnable()
not supported in Lepton 2.5.
LEP_GetOemBadPixelReplaceControl()/LEP_SetOemBadPixelReplaceControl() not
supported in Lepton 2.5.
LEP_GetOemPixelNoiseSettings()/LEP_SetOemPixelNoiseSettings() not supported
in Lepton 2.5.
302 July 12, 2018 Updated table of contents
303 August 27, 2018 Updated EAR statement
Changed support for TAux to Lepton 2.5 and 3.5
Clarified use of the camera’s DATA Length Register
1.2 Scope
This interface description document (IDD) defines software interface requirements and software
commands available to a Host for Lepton 1.5, 1.6, 2.0, 2.5, 3.0 and 3.5 configurations. The term “Lepton”
is often utilized in this document to refer to the entire product-line, but each configuration is explicitly
referenced in the “Compatbility” field of each command description for clarity. This version of the IDD
includes AGC, SYS, VID, OEM and RAD module commands.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
1.3 References
The following documents form a part of this specification to the extent specified herein.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
2 Communications Protocol
Lepton supports Host command and control over a Two-Wire Interface (CCI/TWI). The SDK provides
layering to isolate the operations and Lepton protocol from the Data link physical transport.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
16-bits
Sub-Address
0x0000 Power On/Off Register
Command STATUS read
here. BUSY Bit is 0
0x0002 STATUS Register
Command ID’s written here
1024 BYTES
0xF800
Range 0xF800 : 0xFBFF Block DATA Buffer 0
0xFC00
Range 0xFC00 : 0xFFFF Block DATA Buffer 1
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Figure 1 Lepton CCI/TWI Registers
Typical transmission requires the sequence of:
1. Polling the status register until camera is ready for a new command (BUSY bit clear).
2. Polling the SYS FFC Status command (see 4.5.18) to verify the system is ready to process a new
command (System Ready returned).
3. Writing data to send to the camera if required into the DATA Registers or block Data buffer.
4. Writing the number of data words written (16-bit data words) to the Data Length Register.
5. Writing the desired command ID to the Command Register.
6. Polling the Status Register to determine when the command is completed (busy bit cleared).
7. Read the success code from the status register.
8. Retrieve any responses as required from the Data registers or block Data buffer.
There are three basic operations capable of being commanded via the CCI. The first is a “get” or read of
data, the second is a “set” or write of data and the third is a “run” or execution of a routine. A typical
get sequence is illustrated in Figure 2, a typical set in Figure 3, and a typical run in Figure 4.
a. Wait 950 milliseconds minimum after power on, clocks applied, and RESET_L de-asserted
•
If the camera has an attached shutter, the minimum wait period should be
extended to 5 seconds to allow the camera’s automatic execution of a flat-field
correction (Auto FFC mode).
b. Read the STATUS register (register address 0x0002) bit 2
• If Bit 2 is 0, then the camera has not booted yet, extend the wait period.
• If Bit 2 is 1, then the camera has booted, I2C interface is available
c. Read the STATUS register (register address 0x0002) bit 0
• If Bit 0 is 1, then the interface is busy, poll until Bit 0 becomes 0
• If Bit 0 is 0, then the interface is ready for receiving commands.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
d. Poll the SYS FFC Status command (see 4.5.18), to verify the system is ready to process a
new command (System Ready returned).
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
HOST READ
ATTRIBUTE
Command
YES
BUSY
NO
Command
YES
BUSY
NO
Command
YES
Error
NO
DONE
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Figure 2 Lepton CCI/TWI Get or Read Attribute Sequence
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
HOST WRITE
ATTRIBUTE
Command
YES
BUSY
NO
Command
YES
BUSY
NO
DONE
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
HOST
RUN
COMMAND
Command
YES
BUSY
NO
Command
YES
BUSY
NO
DONE
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Figure 5 CCI/TWI Single READ from random location reads 16-bit DATA
PREVIOUS ADDRESS VALID NEW BASE ADDRESS VALID AS THE CURRENT ADDRESS
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Auto-Increment Address
Figure 7 CCI/TWI Reading sequentially from the camera's CCI/TWI current address
PREVIOUS ADDRESS VALID NEW BASE ADDRESS VALID BASE ADDRESS +1 BASE ADDRESS +2
Auto-Increment Address
PREVIOUS ADDRESS VALID NEW BASE ADDRESS VALID ADDRESS +1 ADDRESS +2 ADDRESS +[N-1]
Auto-Increment Address
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
2.1.3 CCI/TWI Command Register
The Lepton Command Register is a 16-bit register located at Register Address 0x0004. This register is
used to issue a command to the Lepton camera. Writing a value to this register initiates the camera’s
command processing. It is important to make sure the Command BUSY bit in the Lepton Status Register
(Register Address 0x0002) indicates that the camera is ready to accept a new command (BUSY bit
cleared) before initiating a new command; otherwise the camera communication may become
compromised, necessitating a restart or reboot of the camera.
The Command Register Word register bit definitions are illustrated in Figure 10. The Command Register
Word is composed of 4 fields, each described in more detail in the sections that follow:
1. Protection Bit –OEM.
2. A Module ID designating which camera subsystem to access (see Table 2)
3. A Command ID that specifies a unique element or command base, for that subsystem.
4. A command type designating the command is one of Get or Set data type or Run type (see Table
3).
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Lepton Command Word (I2C Register)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2.1.3.2 Module ID
The Lepton camera Module ID designates which camera module to address. The camera modules
encapsulate properties or attributes and methods of a camera sub-system. Currently, Lepton defines
five sub-systems and the SDK exposes their associated module as follows:
• AGC – Automatic Gain Control, affects image contrast and quality
• SYS – System information
• VID – Video processing control
• OEM – Camera configuration for OEM customers
• RAD – Radiometry
The Module IDs and their location in the Lepton command word are illustrated in Figure 10.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
2.1.3.3 Command ID
For each of the Lepton camera modules, a unique Lepton Command ID identifies an element of the
module, either an attribute or property, or an action. Each camera module exposes up to 64 Command
IDs assigned to attributes and/or methods of that module.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Lepton Status Word (I2C Register)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Boot Boot
Reserved BUSY
Response Error Code Status Mode
BITs Bit
Range: -128 to 0 Bit Bit
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
2.1.8.1 Multi-Word Transfers
When transmitting DATA that are larger than a single word (16-bits), the larger DATA is divided into
multiple 16-bit words; each word is then placed into multiple DATA registers with the least significant
word in the lower DATA register. Thus for a 32-bit transfer, a Host would place the lower 16-bits into
DATA 0 (Least Significant Word first) and the upper 16-bits into DATA 1.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
/*
* Represents the different result codes the camera can return.
*/
typedef enum Result
{
LEP_OK = 0, /* Camera ok */
LEP_COMM_OK = LEP_OK, /* Camera comm ok (same as LEP_OK) */
/* I2C Errors */
LEP_ERROR_I2C_BUS_NOT_READY = -20, /* I2C Bus Error - Bus Not Avaialble */
LEP_ERROR_I2C_BUFFER_OVERFLOW = -22, /* I2C Bus Error - Buffer Overflow */
LEP_ERROR_I2C_ARBITRATION_LOST = -23, /* I2C Bus Error - Bus Arbitration Lost */
LEP_ERROR_I2C_BUS_ERROR = -24, /* I2C Bus Error - General Bus Error */
LEP_ERROR_I2C_NACK_RECEIVED = -25, /* I2C Bus Error - NACK Received */
LEP_ERROR_I2C_FAIL = -26, /* I2C Bus Error - General Failure */
/* Processing Errors */
LEP_DIV_ZERO_ERROR = -80, /* Attempted div by zero */
/* Comm Errors */
LEP_COMM_PORT_NOT_OPEN = -101, /* Comm port not open */
LEP_COMM_INVALID_PORT_ERROR = -102, /* Comm port no such port error */
LEP_COMM_RANGE_ERROR = -103, /* Comm port range error */
LEP_ERROR_CREATING_COMM = -104, /* Error creating comm */
LEP_ERROR_STARTING_COMM = -105, /* Error starting comm */
LEP_ERROR_CLOSING_COMM = -106, /* Error closing comm */
LEP_COMM_CHECKSUM_ERROR = -107, /* Comm checksum error */
LEP_COMM_NO_DEV = -108, /* No comm device */
LEP_TIMEOUT_ERROR = -109, /* Comm timeout error */
LEP_COMM_ERROR_WRITING_COMM = -110, /* Error writing comm */
LEP_COMM_ERROR_READING_COMM = -111, /* Error reading comm */
LEP_COMM_COUNT_ERROR = -112, /* Comm byte count error */
/* Other Errors */
LEP_OPERATION_CANCELED = -126, /* Camera operation canceled */
LEP_UNDEFINED_ERROR_CODE = -127 /* Undefined error */
} LEP_RESULT;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. Figure 12 Lepton SDK Response Error Codes
NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_UINT16 portID;
LEP_CAMERA_PORT_E portType;
LEP_UINT16 portBaudRate;
}LEP_CAMERA_PORT_DESC_T, *LEP_CAMERA_PORT_DESC_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Modules
ID Name Description
0x100 AGC Automatic Gain Control for image Brightness and Contrast
0x200 SYS System Information
0x300 VID Video Control
0x800 OEM OEM System Configuration
0xE00 RAD Radiometry Module
Command Types
Get Set Run Invalid
Type Value to Add to the 0x0 0x1 0x2 0x3
Command ID Base
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
When issuing commands to the Lepton camera, the data transmitted uses 16-bit registers making the
data size granularity 16-bits. As such, when specifying the data size, it is always interpreted as the
number of 16-bit words to transmit.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.3.2 OEM and RAD Module Command ID Generation
OEM and Radiometry (RAD) modules require a protection bit to be set before the camera will
recognize it as a valid command. This ensures that these commands cannot be sent accidentally.
The OEM/RAD protection bit is Bit-14 or referenced as 0x4000. This must be added to the
Command ID generated as above. Thus, to power down the camera, the Command ID is
synthesized as follows: Module ID + Command ID Base + Type + Protection Bit value = Command
ID. For example the OEM module ID is 0x800, the Command Base ID for power down is 0x00, and
we want to do a run command so the command type is 0x2, and the Protection Bit is 0x4000. So
in this example, 0x0800 + 0x00 + 0x2 + 0x4000= 0x4802 and this is the LEP_RunOemPowerDown()
Command ID.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}LEP_AGC_ENABLE_E, *LEP_AGC_ENABLE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_AGC_POLICY_E, *LEP_AGC_POLICY_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}LEP_AGC_HISTOGRAM_STATISTICS_T, *LEP_AGC_HISTOGRAM_STATISTICS_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.4.5 AGC HEQ Dampening Factor
This parameter is the amount of temporal dampening applied to the HEQ transformation function. An IIR filter of
the form (N/256) * previous + ((256-N)/256) * current is applied , and the HEQ dampening factor represents the
value N in the equation, i.e., a value that applies to the amount of influence the previous HEQ transformation
function has on the current function. . The lower the value of N the higher the influence of the current video
frame whereas the higher the value of N the more influence the previous damped transfer function has.
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_SetAgcHeqClipLimitLow()
Sets Camera’s current HEQ level Low
Lepton 1.5, 1.6, 2.0, 2.5
value to agcHeqClipLimitLow
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.4.8 AGC HEQ Empty Counts
This parameter specifies the maximum number of pixels in a bin that will be interpreted as an empty bin.
Histogram bins with this number of pixels or less will be processed as an empty bin.
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_AGC_END_SCALE_TO
}LEP_AGC_HEQ_SCALE_FACTOR_E, *LEP_AGC_HEQ_SCALE_FACTOR_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an enum data type on a 32-bit machine
Set 2 size on an enum data type on a 32-bit machine
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_END_AGC_ENABLE
}LEP_AGC_ENABLE_E, *LEP_AGC_ENABLE_E_PTR;
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
typedef struct
{
LEP_SYSTEM_STATUS_STATES_E camStatus;
LEP_UINT16 commandCount;
LEP_UINT16 reserved;
}LEP_STATUS_T, *LEP_STATUS_T_PTR;
LEP_SYSTEM_END_STATES
}LEP_SYSTEM_STATUS_STATES_E, *LEP_SYSTEM_STATUS_STATES_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_GetSysAuxTemperatureKelvin()
Returns the Lepton Camera’s AUX
Lepton 2.5, 3.5
Temperature in Kelvin
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_ GetSysTelemetryEnableState()
Returns the Lepton Camera’s
All Lepton Configurations
Telemetry Enable State
LEP_ SetSysTelemetryEnableState()
Sets the Lepton Camera’s
All Lepton Configurations
Telemetry Enabled State
C SDK Interface:
}LEP_SYS_TELEMETRY_ENABLE_STATE_E, *LEP_SYS_TELEMETRY_ENABLE_STATE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_ GetSysTelemetryLocation()
Returns the location of Telemetry
All Lepton Configurations
data as an enum
Sets the location of Telemetry data
All Lepton Configurations LEP_ SetSysTelemetryLocation()
as an enum
C SDK Interface:
}LEP_SYS_TELEMETRY_LOCATION_E, *LEP_SYS_TELEMETRY_LOCATION_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_SYS_FA_DIV_128,
LEP_SYS_END_FA_DIV
}LEP_SYS_FRAME_AVERAGE_DIVISOR_E, *LEP_SYS_FRAME_AVERAGE_DIVISOR_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
This command requires the Host to allocate the memory buffer before calling this function. The address to this
memory block should be passed in as sysSerialNumberPtr
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
} LEP_SYS_SCENE_STATISTICS_T, *LEP_SYS_SCENE_STATISTICS_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
All Lepton Configurations LEP_ SetSysSceneRoi() Sets Camera’s current Scene ROI to
sceneRoi
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_SYS_VIDEO_ROI_T_PTR sceneRoiPtr)
} LEP_SYS_VIDEO_ROI_T, *LEP_SYS_VIDEO_ROI_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Dimension Minimum Value Maximum Value Default Value Units Scale factor
thermalCounts 0 65535 270 pixels 1
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_SYS_SHUTTER_POSITION_END
}LEP_SYS_SHUTTER_POSITION_E, *LEP_SYS_SHUTTER_POSITION_E_PTR;
* If the camera contains an internal shutter, then the default mode is LEP_SYS_FFC_SHUTTER_MODE_AUTO
Dimension Minimum Value Maximum Value Software Value Radiometric Units Scale
Releases
Factory
Default
elapsedTimeSinceLastFfc 0 4294967295 0 0 milliseconds 1
desiredFfcPeriod 0 4294967295 300000 180000 milliseconds 1
explicitCmdToOpen 0 (false) 1 (true) 0 (false) 0 (false) N/A 1
desiredFfcTempDelta 0 65535 300 150 Kelvin 100
imminentDelay 0 65535 52 52 frames 1
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_SYS_FFC_SHUTTER_MODE_OBJ_T, *LEP_SYS_FFC_SHUTTER_MODE_OBJ_T_PTR;
LEP_SYS_FFC_SHUTTER_MODE_END
}LEP_SYS_FFC_SHUTTER_MODE_E, *LEP_SYS_FFC_SHUTTER_MODE_E_PTR;
}LEP_SYS_SHUTTER_TEMP_LOCKOUT_STATE_E,*LEP_SYS_SHUTTER_TEMP_LOCKOUT_STATE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_END_SYS_ENABLE
}LEP_SYS_ENABLE_E, *LEP_SYS_ENABLE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
typedef enum
{
LEP_SYS_STATUS_WRITE_ERROR = -2, //
LEP_SYS_STATUS_ERROR = -1,
LEP_SYS_STATUS_READY = 0,
LEP_SYS_STATUS_BUSY,
LEP_SYS_FRAME_AVERAGE_COLLECTING_FRAMES,
LEP_SYS_STATUS_END
} LEP_SYS_STATUS_E, *LEP_SYS_STATUS_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
LEP_RESULT LEP_GetSysGainMode( LEP_CAMERA_PORT_DESC_T_PTR portDescPtr,
LEP_SYS_GAIN_MODE_E_PTR gainModePtr)
LEP_SYS_END_GAIN_MODE,
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
} LEP_SYS_GAIN_MODE_E, *LEP_SYS_GAIN_MODE_E_PTR;;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_GetSysFFCStates()
Returns the Lepton Camera’s
Lepton 2.5, 3.0, 3.5
current FFC state ffcStatePtr
C SDK Interface:
LEP_SYS_END_FFC_STATES
}LEP_SYS_FFC_STATES_E, *LEP_SYS_FFC_STATES_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
8765 Calibrated
sysGainModeFluxThresholdLow 0 16383 Counts 1
per camera
9876 Calibrated
sysGainModeFluxThresholdHigh 0 16383 Counts 1
per camera
C SDK Interface:
}LEP_SYS_GAIN_MODE_OBJ_T, *LEP_SYS_GAIN_MODE_OBJ_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
*/
typedef struct LEP_SYS_GAIN_MODE_ROI_T_TAG
{
LEP_UINT16 startCol;
LEP_UINT16 startRow;
LEP_UINT16 endCol;
LEP_UINT16 endRow;
}LEP_SYS_GAIN_MODE_ROI_T, *LEP_SYS_GAIN_MODE_ROI_T_PTR;
}LEP_SYS_GAIN_MODE_THRESHOLDS_T, *LEP_SYS_GAIN_MODE_THRESHOLDS_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_SYS_FRAME_AVERAGE_DIVISOR_E, *LEP_SYS_FRAME_AVERAGE_DIVISOR_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
This function allows selection of the video output pseudo-color LUT. This LUT applies to the video processed by
camera post AGC application before output. Color LUTs do not apply to raw video output of any format. Requires
using the video output format of 24-bit R, G, B (See 4.7.7), AGC enabled and scaled to 8-bit output (See 4.4.1).
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
Set 2 size on an Enum data type on a 32-bit machine
C SDK Interface:
LEP_RESULT LEP_GetVidPcolorLut(LEP_CAMERA_PORT_DESC_T_PTR portDescPtr,
LEP_PCOLOR_LUT_E_PTR vidPcolorLutPtr)
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_VID_COLOR_LUT,
LEP_VID_ICE_FIRE_LUT,
LEP_VID_RAIN_LUT,
LEP_VID_USER_LUT,
LEP_VID_END_PCOLOR_LUT
}LEP_PCOLOR_LUT_E, *LEP_PCOLOR_LUT_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
This function allows uploading (SET to the camera), and downloading (GET from the camera) a user-defined video
output pseudo-color LUT. This LUT applies to the video processed by camera post AGC application before output.
Does not apply to raw video output. The format of the pseudo-color LUT is 256 x 32-bits.
Scale
Parameter Minimum Value Maximum Value Default Setting Units factor
reserved 0 0 N/A N/A 1
red 0 255 N/A N/A 1
green 0 255 N/A N/A 1
blue 0 255 N/A N/A 1
C SDK Interface:
LEP_RESULT LEP_GetVidUserLut(LEP_CAMERA_PORT_DESC_T_PTR portDescPtr,
LEP_UINT8 *vidUserLutBufPtr, LEP_UINT16 vidUserLutBufLen)
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
{
LEP_UINT8 reserved;
LEP_UINT8 red;
LEP_UINT8 green;
LEP_UINT8 blue;
} LEP_VID_LUT_PIXEL_T, *LEP_VID_LUT_PIXEL_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
Set 2 size on an Enum data type on a 32-bit machine
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
/* Video Focus Metric Calculation Enable Enum
*/
typedef enum LEP_VID_ENABLE_TAG
{
LEP_VID_FOCUS_CALC_DISABLE=0,
LEP_VID_FOCUS_CALC_ENABLE,
LEP_VID_END_FOCUS_CALC_ENABLE
}LEP_VID_FOCUS_CALC_ENABLE_E, *LEP_VID_FOCUS_CALC_ENABLE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_SetVidFocusROI()
Sets Camera’s current video focus ROI
All Lepton Configurations
to vidFocusROI
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_VID_FOCUS_ROI_T_PTR vidFocusROIPtr)
{
LEP_USHORT startCol;
LEP_USHORT startRow;
LEP_USHORT endCol;
LEP_USHORT endRow;
}LEP_VID_FOCUS_ROI_T, *LEP_VID_FOCUS_ROI_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
typedef LEP_UINT32 LEP_VID_FOCUS_METRIC_THRESHOLD_T, *LEP_VID_FOCUS_METRIC_THRESHOLD_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
Set 2 size on an Enum data type on a 32-bit machine
C SDK Interface:
}LEP_VID_FREEZE_ENABLE_E, *LEP_VID_FREEZE_ENABLE_E_PTR ;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
Set 2 size on an Enum data type on a 32-bit machine
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_VID_VIDEO_OUTPUT_FORMAT_RAW12, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RGB888, // SUPPORTED in this release
LEP_VID_VIDEO_OUTPUT_FORMAT_RGB666, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RGB565, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_YUV422_8BIT, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RAW14, // SUPPORTED in this release
LEP_VID_VIDEO_OUTPUT_FORMAT_YUV422_10BIT, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_USER_DEFINED, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RAW8_2, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RAW8_3, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RAW8_4, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RAW8_5, // To be supported in later release
LEP_VID_VIDEO_OUTPUT_FORMAT_RAW8_6, // To be supported in later release
LEP_END_VID_VIDEO_OUTPUT_FORMAT
}LEP_VID_VIDEO_OUTPUT_FORMAT_E, *LEP_VID_VIDEO_OUTPUT_FORMAT_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
This function allows selection of the video output pseudo-color LUT to be used when the camera is in Low Gain
Mode. This LUT applies to the video processed by camera post AGC application before output. Color LUTs do not
apply to raw video output of any format. Requires using the video output format of 24-bit R, G, B (See 4.7.7), AGC
enabled and scaled to 8-bit output (See 4.4.1).
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
Set 2 size on an Enum data type on a 32-bit machine
LEP_SetLowGainVidPcolorLut()
Sets Camera’s current video pseudo-
Lepton 2.5, 3.5
color LUT selection to vidPcolorLut
C SDK Interface:
LEP_RESULT LEP_GetVidLowGainPcolorLut(LEP_CAMERA_PORT_DESC_T_PTR portDescPtr,
LEP_PCOLOR_LUT_E_PTR vidPcolorLutPtr)
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_VID_RAINBOW_LUT,
LEP_VID_GLOBOW_LUT,
LEP_VID_SEPIA_LUT,
LEP_VID_COLOR_LUT,
LEP_VID_ICE_FIRE_LUT,
LEP_VID_RAIN_LUT,
LEP_VID_USER_LUT,
LEP_VID_END_PCOLOR_LUT
}LEP_PCOLOR_LUT_E, *LEP_PCOLOR_LUT_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Note that this command is not fully supported. It works the first time, after that, a power cycle is required.
LEP_RunOemPowerOn()
Issues a Camera Power Down
All Lepton Configurations
command to the Camera
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
To turn the Camera back ON using software, the Host must perform the following sequence:
• Let the ASIC hold the DATA line (SDA) low
• Issue a single clock pulse. This Is required for the ASIC to de-assert the DATA line.
• Call LEP_RunOemPowerOn() (see 4.7.2). This function will write a ZERO (0x0000) to the Camera Device
ID to turn the Camera ON.
LEP_RunOemPowerDown()
Issues a Camera Power Down
All Lepton Configurations
command to the Camera
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
This command requires the Host to allocate the memory buffer before calling this function. The address to this
memory block should be passed in as oemPartNumberPtr
LEP_GetOemFlirPartNumber()
Updates oemPartNumberPtr with the
All Lepton Configurations
Camera’s FLIR Systems Part Number.
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_OEM_SW_VERSION_T, *LEP_OEM_SW_VERSION_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_OEM_VIDEO_OUTPUT_ENABLE_E, *LEP_OEM_VIDEO_OUTPUT_ENABLE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_VIDEO_OUTPUT_FORMAT_RAW14, // SUPPORTED in this release
LEP_VIDEO_OUTPUT_FORMAT_YUV422_10BIT, // To be supported in later release
LEP_VIDEO_OUTPUT_FORMAT_USER_DEFINED, // To be supported in later release
LEP_VIDEO_OUTPUT_FORMAT_RAW8_2, // To be supported in later release
LEP_VIDEO_OUTPUT_FORMAT_RAW8_3, // To be supported in later release
LEP_VIDEO_OUTPUT_FORMAT_RAW8_4, // To be supported in later release
LEP_VIDEO_OUTPUT_FORMAT_RAW8_5, // To be supported in later release
LEP_VIDEO_OUTPUT_FORMAT_RAW8_6, // To be supported in later release
LEP_END_VIDEO_OUTPUT_FORMAT
}LEP_OEM_VIDEO_OUTPUT_FORMAT_E, *LEP_OEM_VIDEO_OUTPUT_FORMAT_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.7.8 OEM Video Output Source Select
This function specifies or retrieves the video output source. The output source allows selecting between
processed video data, unprocessed video data, and a variety of ramp patterns.
C SDK Interface:
LEP_RESULT LEP_GetOemVideoOutputSource(LEP_CAMERA_PORT_DESC_T_PTR portDescPtr,
LEP_OEM_VIDEO_OUTPUT_SOURCE_E_PTR
oemVideoOutputSourcePtr)
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_VIDEO_OUTPUT_SOURCE_FRAME_CAPTURE, // Average, Capture frame
LEP_VIDEO_OUTPUT_SOURCE_FRAME_FREEZE, // Freeze-Frame Buffer
/* RESERVED BUFFERS
*/
LEP_VIDEO_OUTPUT_SOURCE_FRAME_0, // Reserved DATA Buffer
LEP_VIDEO_OUTPUT_SOURCE_FRAME_1, // Reserved DATA Buffer
LEP_VIDEO_OUTPUT_SOURCE_FRAME_2, // Reserved DATA Buffer
LEP_VIDEO_OUTPUT_SOURCE_FRAME_3, // Reserved DATA Buffer
LEP_VIDEO_OUTPUT_SOURCE_FRAME_4, // Reserved DATA Buffer
LEP_END_VIDEO_OUTPUT_SOURCE
}LEP_OEM_VIDEO_OUTPUT_SOURCE_E, *LEP_OEM_VIDEO_OUTPUT_SOURCE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
This command requires the Host to allocate the memory buffer before calling this function. The address to this
memory block should be passed in as oemPartNumberPtr
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
typedef LEP_UINT16 LEP_OEM_FFC_NORMALIZATION_TARGET_T, *LEP_OEM_FFC_NORMALIZATION_TARGET_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
LEP_GetOemCalStatus()
Gets the Current OEM operation
All Lepton Configurations
status.
C SDK Interface:
typedef enum
{
LEP_OEM_STATUS_OTP_WRITE_ERROR = -2,
LEP_OEM_STATUS_ERROR = -1,
LEP_OEM_STATUS_READY = 0,
LEP_OEM_STATUS_BUSY,
LEP_OEM_FRAME_AVERAGE_COLLECTING_FRAMES,
LEP_OEM_STATUS_END
} LEP_OEM_STATUS_E, *LEP_OEM_STATUS_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_GetOemFrameMean()
Gets the current frame mean
All Lepton Configurations
intensity value within the SYS ROI
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
LEP_OEM_END_GPIO_MODE,
}LEP_OEM_GPIO_MODE_E, *LEP_OEM_GPIO_MODE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_OEM_VSYNC_DELAY_MINUS_1 = -1,
LEP_OEM_VSYNC_DELAY_NONE = 0,
LEP_OEM_VSYNC_DELAY_PLUS_1 = 1,
LEP_OEM_VSYNC_DELAY_PLUS_2 = 2,
LEP_OEM_VSYNC_DELAY_PLUS_3 = 3,
LEP_END_OEM_VSYNC_DELAY
} LEP_OEM_VSYNC_DELAY_E, *LEP_OEM_VSYNC_DELAY_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
4.7.17 OEM User Defaults
The camera supports the ability allow an OEM to save certain camera runtime states to OTP for persistent storage
and automatic restore upon camera startup. The host can interrogate the camera to determine if the OEM default
values were written to OTP or not using the LEP_GetOemUserDefaultsState API. The Host can also command the
Camera to write the current camera values into OTP for automatic restore at camera startup using the
LEP_RunOemUserDefaultsCopyToOtp API. The VPROG voltage must be set in order to write the user defaults to
OTP successfully.
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
{
LEP_OEM_USER_PARAMS_STATE_NOT_WRITTEN = 0,
LEP_OEM_USER_PARAMS_STATE_WRITTEN,
LEP_OEM_END_USER_PARAMS_STATE,
}LEP_OEM_USER_PARAMS_STATE_E, *LEP_OEM_USER_PARAMS_STATE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}LEP_OEM_SHUTTER_PROFILE_OBJ_T, *LEP_OEM_SHUTTER_PROFILE_OBJ_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_OEM_STATE_E,*LEP_OEM_STATE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
/* Thermal Shutdown structure
*/
typedef struct LEP_OEM_THERMAL_SHUTDOWN_ENABLE_T_TAG
{
LEP_OEM_STATE_E oemThermalShutdownEnable;
}LEP_OEM_THERMAL_SHUTDOWN_ENABLE_T, *LEP_OEM_THERMAL_SHUTDOWN_ENABLE_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_OEM_STATE_E,*LEP_OEM_STATE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
/* Bad Pixel Replacement Control structure
*/
typedef struct LEP_OEM_BAD_PIXEL_REPLACE_CONTROL_T_TAG
{
LEP_OEM_STATE_E oemBadPixelReplaceEnable;
}LEP_OEM_BAD_PIXEL_REPLACE_CONTROL_T, *LEP_OEM_BAD_PIXEL_REPLACE_CONTROL_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_OEM_STATE_E,*LEP_OEM_STATE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}LEP_OEM_TEMPORAL_FILTER_CONTROL_T, *LEP_OEM_TEMPORAL_FILTER_CONTROL_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
}LEP_OEM_STATE_E,*LEP_OEM_STATE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
/* Column Noise Filter Control structure
*/
typedef struct LEP_OEM_COLUMN_NOISE_ESTIMATE_CONTROL_T_TAG
{
LEP_OEM_STATE_E oemColumnNoiseEstimateEnable;
}LEP_OEM_COLUMN_NOISE_ESTIMATE_CONTROL_T, *LEP_OEM_COLUMN_NOISE_ESTIMATE_CONTROL_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
LEP_RESULT LEP_GetOemPixelNoiseSettings( LEP_CAMERA_PORT_DESC_T_PTR portDescPtr,
LEP_OEM_PIXEL_NOISE_SETTINGS_T_PTR pixelNoiseSettingsPtr )
}LEP_OEM_STATE_E,*LEP_OEM_STATE_E_PTR;
}LEP_OEM_PIXEL_NOISE_SETTINGS_T, *LEP_OEM_PIXEL_NOISE_SETTINGS_T_PTR
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 8 size of a LEP_RBFO_T data type, 4 x 2 words each
Set 8 size of a LEP_RBFO_T data type, 4 x 2 words each
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_RBFO_T_PTR radRBFOPtr )
/* RBFO
*/
typedef struct LEP_RBFO_T_TAG
{
LEP_UINT32 RBFO_R; // value is not scaled
LEP_UINT32 RBFO_B; // value is scaled by X << n
LEP_UINT32 RBFO_F;
LEP_INT32 RBFO_O;
}LEP_RBFO_T, *LEP_RBFO_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
Set 2 size on an Enum data type on a 32-bit machine value
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}LEP_RAD_ENABLE_E, *LEP_RAD_ENABLE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
Set 2 size on an Enum data type on a 32-bit machine
LEP_GetRadTShutterMode()
Updates radTShutterModePtr with
All Lepton Configurations
current TShutter mode
Updates the Camera’s current
All Lepton Configurations LEP_SetRadTShutterMode() TShutter mode with the contents of
radTShutterMode.
C SDK Interface:
/* TShutter Modes
*/
typedef enum FLR_RAD_TS_MODE_E_TAG
{
FLR_RAD_TS_USER_MODE = 0,
FLR_RAD_TS_CAL_MODE,
FLR_RAD_TS_FIXED_MODE,
FLR_RAD_TS_END_TS_MODE
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}FLR_RAD_TS_MODE_E, *FLR_RAD_TS_MODE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_GetRadTShutter()
Updates radTShutterPtr with
All Lepton Configurations
current TShutter temperature
Updates the Camera’s current
All Lepton Configurations LEP_SetRadTShutter() TShutter temperature with the
contents of radTShutter.
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size on an Enum data type on a 32-bit machine
C SDK Interface:
LEP_RAD_STATUS_END
} LEP_RAD_STATUS_E, *LEP_RAD_STATUS_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
100
TBkgK 0 65535 30000 29515 Kelvin
(29515 = 295.15K)
8192/100
tauWindow 82 8192 8192 8192 Percent
(8192 = 100%)
100
TWindowK 0 65535 30000 29515 Kelvin
(29515 = 295.15K)
8192/100
tauAtm 82 8192 8192 8192 Percent
(8192 = 100%)
100
TAtmK 0 65535 30000 29515 Kelvin
(29515 = 295.15K)
8192– 8192/100
reflWindow 0 0 0 Percent
tauWindow (8192 = 100%)
100
TReflK 0 65535 30000 29515 Kelvin
(29515 = 295.15K)
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
Radiometry scene parameters with
the contents of fluxParams.
C SDK Interface:
}LEP_RAD_FLUX_LINEAR_PARAMS_T, *LEP_RAD_FLUX_LINEAR_PARAMS_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size of an Enum data type on a 32-bit machine
Set 2 size of an Enum data type on a 32-bit machine
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}LEP_RAD_ENABLE_E, *LEP_RAD_ENABLE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
10
LEP_RAD_RESOLUTION_0_1 0 65535 Kelvin
(65535 = 6553.5K)
100
LEP_RAD_RESOLUTION_0_01 0 65535 Kelvin
(65535 = 655.35K)
SDK Data Length: Get 2 size of an Enum data type on a 32-bit machine
Set 2 size of an Enum data type on a 32-bit machine
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_RAD_TLINEAR_RESOLUTION_E_PTR resolutionPtr)
}LEP_RAD_TLINEAR_RESOLUTION_E, *LEP_RAD_TLINEAR_RESOLUTION_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 2 size of an Enum data type on a 32-bit machine
Set 2 size of an Enum data type on a 32-bit machine
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
}LEP_RAD_ENABLE_E, *LEP_RAD_ENABLE_E_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
LEP_RESULT LEP_SetRadSpotmeterRoi (LEP_CAMERA_PORT_DESC_T_PTR portDescPtr,
LEP_RAD_ROI_T spotmeterRoi)
/* Radiometry ROI
*/
typedef struct LEP_RAD_ROI_T_TAG
{
LEP_UINT16 startRow;
LEP_UINT16 startCol;
LEP_UINT16 endRow;
LEP_UINT16 endCol;
}LEP_RAD_ROI_T, *LEP_RAD_ROI_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Command ID: Base 0xD0
With Get 0xD0
LEP_GetRadSpotmeterObjInKelvinX100()
Updates kelvinPtr with the
Lepton 2.5, 3.5
camera’s current spotmeter values.
C SDK Interface:
/* Radiometry ROI
*/
typedef LEP_UINT16 LEP_RAD_SPOTMETER_KELVIN_T, *LEP_RAD_SPOTMETER_KELVIN_T_PTR;
}LEP_RAD_SPOTMETER_OBJ_KELVIN_T, *LEP_RAD_SPOTMETER_OBJ_KELVIN_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
SDK Data Length: Get 8 size of a LEP_RBFO_T data type, 4 x 2 words each
Set 8 size of a LEP_RBFO_T data type, 4 x 2 words each
C SDK Interface:
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
/* RBFO
*/
typedef struct LEP_RBFO_T_TAG
{
LEP_UINT32 RBFO_R; // value is not scaled
LEP_UINT32 RBFO_B; // value is scaled by X << n
LEP_UINT32 RBFO_F;
LEP_INT32 RBFO_O;
}LEP_RBFO_T, *LEP_RBFO_T_PTR;
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303
FLIR LEPTON® Software IDD
© FLIR Commercial Systems, 2014. All rights reserved worldwide. No parts of this manual, in whole or in part,
may be copied, photocopied, translated, or transmitted to any electronic medium or machine readable form without the
prior written permission of FLIR Commercial Systems
Names and marks appearing on the products herein are either registered trademarks or trademarks of FLIR
Commercial Systems and/or its subsidiaries. All other trademarks, trade names or company names referenced herein
are used for identification only and a r e the property of their respective owners.
This product is protected by patents, design patents, patents pending, or design patents pending.
If you have questions that are not covered in this manual, or need service, contact FLIR Commercial Systems
Customer Support at 805.964.9797 for additional information prior to returning a camera.
This documentation and the requirements specified herein are subject to change without notice.
Contact your nearest FLIR Commercial Systems, Inc. representative for instructions on how to return the
product to FLIR for proper disposal.
FCC Notice. This device is a subassembly designed for incorporation into other products in order to provide an infrared camera
function. It is not an end-product fit fo1r consumer use. When incorporated into a host device, the end-product will generate, use, and
radiate radio frequency energy that may cause radio interference. As such, the end-product incorporating this subassembly must be
tested and approved under the rules of the Federal Communications Commission (FCC) before the end-product may be offered for
sale or lease, advertised, imported, sold, or leased in the United States. The FCC regulations are designed to provide reasonable
protection against interference to radio communications. See 47 C.F.R. §§ 2.803 and 15.1 et seq.
Industry Canada Notice. This device is a subassembly designed for incorporation into other products in order to provide an
infrared camera function. It is not an end-product fit for consumer use. When incorporated into a host device, the end-product will
generate, use, and radiate radio frequency energy that may cause radio interference. As such, the end-product incorporating this
subassembly must be tested for compliance with the Interference-Causing Equipment Standard, Digital Apparatus, ICES-003, of
Industry Canada before the product incorporating this device may be: manufactured or offered for sale or lease, imported, distributed,
sold, or leased in Canada.
Avis d’Industrie Canada. Cet appareil est un sous-ensemble conçu pour être intégré à un autre produit afin de fournir une
fonction de caméra infrarouge. Ce n’est pas un produit final destiné aux consommateurs. Une fois intégré à un dispositif hôte, le
produit final va générer, utiliser et émettre de l’énergie radiofréquence qui pourrait provoquer de l’interférence radio. En tant que tel,
le produit final intégrant ce sous-ensemble doit être testé pour en vérifier la conformité avec la Norme sur le matériel brouilleur pour
les appareils numériques (NMB-003) d’Industrie Canada avant que le produit intégrant ce dispositif puisse être fabriqué, mis en vente
ou en location, importé, distribué, vendu ou loué au Canada.
EU Notice. This device is a subassembly or component intended only for product evaluation, development or incorporation into
other products in order to provide an infrared camera function. It is not a finished end-product fit for general consumer use. Persons
handling this device must have appropriate electronics training and observe good engineering practice standards. As such, this
product does not fall within the scope of the European Union (EU) directives regarding electromagnetic compatibility (EMC). Any
end-product intended for general consumer use that incorporates this device must be tested in accordance and comply with all
applicable EU EMC and other relevant directives.
The information contained herein does not contain technology as defined by the EAR, 15 CFR 772, is publicly available,
and therefore, not subject to EAR. NSR (6/14/2018).
Information on this page is subject to change without notice.
110-0144-04, Lepton Software IDD, Rev: 303