Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

otLepton3 Class Reference
[Lepton - The FLIR Lepton 3 is a radiometric long-wave infrared camera solution designed to integrate easily into native mobile-device interfaces and other consumer electronics as an IR sensor or thermal imager., Lepton - The FLIR Lepton 3 is a radiometric long-wave infrared camera solution designed to integrate easily into native mobile-device interfaces and other consumer electronics as an IR sensor or thermal imager.]

Class for FLIR Lepton 3 radiometric long-wave infrared camera.

#include <otLepton3.h>


Public Member Functions

 otLepton3 ()
LEP_RESULT openPort (U8 spiAdd, U16 i2cBaudRateInkHz, U8 vsyncBit, U8 timer)
void enableGrab (bool ena)
bool isGrabDone ()
void startGrab (U16 *imgMemory)
void imageSize (U16 &width, U16 &height)
void temperatureRange (F64 &tMin, F64 &tMax, F64 &tCentral)
U32 elapsedTime ()
LEP_RESULT setRadTLinearAutoResolution (LEP_RAD_ENABLE_E enableState)
LEP_RESULT getRadTLinearAutoResolution (LEP_RAD_ENABLE_E_PTR enableStatePtr)
LEP_RESULT setOemVideoOutputFormat (LEP_OEM_VIDEO_OUTPUT_FORMAT_E oemVideoOutputFormat)
LEP_RESULT getOemVideoOutputFormat (LEP_OEM_VIDEO_OUTPUT_FORMAT_E_PTR oemVideoOutputFormatPtr)
LEP_RESULT setOemGpioMode (LEP_OEM_GPIO_MODE_E gpioMode)
LEP_RESULT getOemGpioMode (LEP_OEM_GPIO_MODE_E_PTR gpioModePtr)
LEP_RESULT getSysFpaTemperatureKelvin (LEP_SYS_FPA_TEMPERATURE_KELVIN_T_PTR fpaTemperaturePtr)
LEP_RESULT getOemFlirPartNumber (LEP_OEM_PART_NUMBER_T_PTR oemPartNumberPtr)
void vsync ()


Constructor & Destructor Documentation

otLepton3.otLepton3 (   ) 
 

Create the class


Member Function Documentation

U32 otLepton3.elapsedTime (   ) 
 

Grab elapsed time as ms

Returns:
Elapsed time

void otLepton3.enableGrab (  bool  ena  ) 
 

Parameters:
ena True to enable camera grab

LEP_RESULT otLepton3.getOemFlirPartNumber (  LEP_OEM_PART_NUMBER_T_PTR  oemPartNumberPtr  ) 
 

LEP_RESULT otLepton3.getOemGpioMode (  LEP_OEM_GPIO_MODE_E_PTR  gpioModePtr  ) 
 

LEP_RESULT otLepton3.getOemVideoOutputFormat (  LEP_OEM_VIDEO_OUTPUT_FORMAT_E_PTR  oemVideoOutputFormatPtr  ) 
 

LEP_RESULT otLepton3.getRadTLinearAutoResolution (  LEP_RAD_ENABLE_E_PTR  enableStatePtr  ) 
 

LEP_RESULT otLepton3.getSysFpaTemperatureKelvin (  LEP_SYS_FPA_TEMPERATURE_KELVIN_T_PTR  fpaTemperaturePtr  ) 
 

void otLepton3.imageSize (  U16 &  width,
U16 &  height
) 
 

Read image dimension

Parameters:
width Image width
height Image height

bool otLepton3.isGrabDone (   ) 
 

Check if grab is completed

Returns:
True if grab is done

LEP_RESULT otLepton3.openPort (  U8  spiAdd,
U16  i2cBaudRateInkHz,
U8  vsyncBit,
U8  timer
) 
 

Init Lepton 3 module

Parameters:
spiAdd Address of used SPI channel
i2cBaudRateInkHz I2C bus frequency, up to 400 (KHz)
vsyncBit Sync bit, 12, 13, 14 or 15
timer Use one of available timer, TIMER0, ..., TIMER7
Returns:
See LEP_RESULT

LEP_RESULT otLepton3.setOemGpioMode (  LEP_OEM_GPIO_MODE_E  gpioMode  ) 
 

LEP_RESULT otLepton3.setOemVideoOutputFormat (  LEP_OEM_VIDEO_OUTPUT_FORMAT_E  oemVideoOutputFormat  ) 
 

LEP_RESULT otLepton3.setRadTLinearAutoResolution (  LEP_RAD_ENABLE_E  enableState  ) 
 

void otLepton3.startGrab (  U16 *  imgMemory  ) 
 

Start camera grab

Parameters:
imgMemory Where to store grabbed image

void otLepton3.temperatureRange (  F64 &  tMin,
F64 &  tMax,
F64 &  tCentral
) 
 

Get image temerature statistics

Parameters:
tMin Minimum value as K
tMax Maximum value as K
tCentral Temperature value as K at image center

void otLepton3.vsync (   ) 
 

Perform a camera sync


The documentation for this class was generated from the following file: footer
otStudio - Library Reference - (C) 2020-25 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0