Structs§
- __
fsid_ t - dirp_
api_ version_ t - @brief API version structure definition.
- dirp_
color_ bar_ t - @brief Color bar parameters structure definition
- dirp_
enhancement_ params_ t - @brief Image enhancement parameteres structure definition.
- dirp_
isotherm_ t - @brief Isotherm parameters structure definition
- dirp_
isp_ pseudo_ color_ lut_ t - @brief Pseudo color LUT array structure definition.
- dirp_
measurement_ params_ range_ t - @brief Range of temperature measurement parameteres structure definition.
- dirp_
measurement_ params_ range_ t__ bindgen_ ty_ 1 - dirp_
measurement_ params_ range_ t__ bindgen_ ty_ 2 - dirp_
measurement_ params_ range_ t__ bindgen_ ty_ 3 - dirp_
measurement_ params_ range_ t__ bindgen_ ty_ 4 - dirp_
measurement_ params_ t - @brief Customize temperature measurement parameteres structure definition.
- dirp_
resolution_ t - @brief The image size structure definition @details The image size is descripted with a rectangle.
- dirp_
rjpeg_ version_ t - @brief R-JPEG version structure definition
Constants§
- DIRP_
PSEUDO_ COLOR_ LUT_ DEPTH - INT8_
MAX - INT8_
MIN - INT16_
MAX - INT16_
MIN - INT32_
MAX - INT32_
MIN - INTPTR_
MAX - INTPTR_
MIN - INT_
FAST8_ MAX - INT_
FAST8_ MIN - INT_
FAST16_ MAX - INT_
FAST16_ MIN - INT_
FAST32_ MAX - INT_
FAST32_ MIN - INT_
LEAS T8_ MAX - INT_
LEAS T8_ MIN - INT_
LEAS T16_ MAX - INT_
LEAS T16_ MIN - INT_
LEAS T32_ MAX - INT_
LEAS T32_ MIN - PTRDIFF_
MAX - PTRDIFF_
MIN - SIG_
ATOMIC_ MAX - SIG_
ATOMIC_ MIN - SIZE_
MAX - UINT8_
MAX - UINT16_
MAX - UINT32_
MAX - UINTPTR_
MAX - UINT_
FAST8_ MAX - UINT_
FAST16_ MAX - UINT_
FAST32_ MAX - UINT_
LEAS T8_ MAX - UINT_
LEAS T16_ MAX - UINT_
LEAS T32_ MAX - WINT_
MAX - WINT_
MIN - _ATFILE_
SOURCE - _BITS_
STDINT_ INTN_ H - _BITS_
STDINT_ UINTN_ H - _BITS_
TIME64_ H - _BITS_
TYPESIZES_ H - _BITS_
TYPES_ H - _BITS_
WCHAR_ H - _DEFAULT_
SOURCE - _FEATURES_
H - _POSIX_
C_ SOURCE - _POSIX_
SOURCE - _STDC_
PREDEF_ H - _STDINT_
H - _SYS_
CDEFS_ H - __
FD_ SETSIZE - __
GLIBC_ MINOR__ - __
GLIBC_ USE_ DEPRECATED_ GETS - __
GLIBC_ USE_ DEPRECATED_ SCANF - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT - __
GLIBC_ USE_ IEC_ 60559_ BFP_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT - __
GLIBC_ USE_ IEC_ 60559_ FUNCS_ EXT_ C2X - __
GLIBC_ USE_ IEC_ 60559_ TYPES_ EXT - __
GLIBC_ USE_ ISOC2X - __
GLIBC_ USE_ LIB_ EXT2 - __
GLIBC__ - __
GNU_ LIBRARY__ - __
HAVE_ GENERIC_ SELECTION - __
INO_ T_ MATCHES_ INO64_ T - __
LONG_ DOUBLE_ USES_ FLOA T128 - __
OFF_ T_ MATCHES_ OFF64_ T - __
RLIM_ T_ MATCHES_ RLIM64_ T - __
STATFS_ MATCHES_ STATF S64 - __
STDC_ IEC_ 559_ COMPLEX__ - __
STDC_ IEC_ 559__ - __
STDC_ ISO_ 10646__ - __
SYSCALL_ WORDSIZE - __
TIMESIZE - __
USE_ ATFILE - __
USE_ FORTIFY_ LEVEL - __
USE_ ISOC11 - __
USE_ ISOC95 - __
USE_ ISOC99 - __
USE_ MISC - __
USE_ POSIX - __
USE_ POSI X2 - __
USE_ POSI X199309 - __
USE_ POSI X199506 - __
USE_ POSIX_ IMPLICITLY - __
USE_ XOPE N2K - __
USE_ XOPE N2K8 - __
WORDSIZE - __
WORDSIZE_ TIME64_ COMPA T32 - __
bool_ true_ false_ are_ defined - __
glibc_ c99_ flexarr_ available - dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ ARCTIC - < 5: Arctic
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ BLACKHOT - < 9: Black Hot
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ FULGURITE - < 1: Fulgurite
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ HOTIRON - < 3: Hot Iron
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ IRONRED - < 2: Iron Red
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ MEDICAL - < 4: Medical
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ NUM - < 10: Total number
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ RAINBO W1 - < 6: Rainbow 1
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ RAINBO W2 - < 7: Rainbow 2
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ TINT - < 8: Tint
- dirp_
pseudo_ color_ e_ DIRP_ PSEUDO_ COLOR_ WHITEHOT - < 0: White Hot
- dirp_
ret_ code_ e_ DIRP_ ERROR_ ACTIVATION - < -14: SDK activate failed
- dirp_
ret_ code_ e_ DIRP_ ERROR_ ADVANCED - < -32: Advanced error codes which may be smaller than this value
- dirp_
ret_ code_ e_ DIRP_ ERROR_ FORMAT_ INPUT - < -10: Wrong input image format
- dirp_
ret_ code_ e_ DIRP_ ERROR_ FORMAT_ OUTPUT - < -11: Wrong output image format
- dirp_
ret_ code_ e_ DIRP_ ERROR_ INVALID_ CURVE - < -6: Invalid curve LUT in R-JPEG
- dirp_
ret_ code_ e_ DIRP_ ERROR_ INVALID_ HANDLE - < -9: Invalid handle input
- dirp_
ret_ code_ e_ DIRP_ ERROR_ INVALID_ HEADER - < -5: Invalid header in R-JPEG
- dirp_
ret_ code_ e_ DIRP_ ERROR_ INVALID_ INI - < -15: Invalid ini file
- dirp_
ret_ code_ e_ DIRP_ ERROR_ INVALID_ PARAMS - < -3: Invalid parameters input
- dirp_
ret_ code_ e_ DIRP_ ERROR_ INVALID_ RAW - < -4: Invalid RAW in R-JPEG
- dirp_
ret_ code_ e_ DIRP_ ERROR_ INVALID_ SUB_ DLL - < -16: Invalid sub DLL
- dirp_
ret_ code_ e_ DIRP_ ERROR_ MALLOC - < -1: Malloc error
- dirp_
ret_ code_ e_ DIRP_ ERROR_ NOT_ READY - < -13: Some preliminary conditions not meet
- dirp_
ret_ code_ e_ DIRP_ ERROR_ POINTER_ NULL - < -2: NULL pointer input
- dirp_
ret_ code_ e_ DIRP_ ERROR_ RJPEG_ PARSE - < -7: Parse error for R-JPEG data
- dirp_
ret_ code_ e_ DIRP_ ERROR_ SIZE - < -8: Wrong size input
- dirp_
ret_ code_ e_ DIRP_ ERROR_ UNSUPPORTED_ FUNC - < -12: Unsupported function called
- dirp_
ret_ code_ e_ DIRP_ SUCCESS - < 0: Success (no error)
- dirp_
verbose_ level_ e_ DIRP_ VERBOSE_ LEVEL_ DEBUG - < 1: Print debug log
- dirp_
verbose_ level_ e_ DIRP_ VERBOSE_ LEVEL_ DETAIL - < 2: Print all log
- dirp_
verbose_ level_ e_ DIRP_ VERBOSE_ LEVEL_ NONE - < 0: Print none
- dirp_
verbose_ level_ e_ DIRP_ VERBOSE_ LEVEL_ NUM - < 3: Total number
- false_
- true_
Functions§
- dirp_
create_ ⚠from_ rjpeg - @brief Create a new DIRP handle with specified R-JPEG binary data @details The R-JPEG binary data buffer must remain valid until the handle is destroyed. The DIRP API library will create some alloc buffers for inner usage. So the application should reserve enough stack size for the library.
- dirp_
destroy ⚠ - @brief Destroy the DIRP handle
- dirp_
get_ ⚠api_ version - @brief Get API version
- dirp_
get_ ⚠color_ bar - @brief Get orignial/custom ISP color bar parameters
- dirp_
get_ ⚠color_ bar_ adaptive_ params - @brief Get adaptive ISP color bar parameters in automatic mode @details In color bar automatic mode : manual_enable in @ref dirp_color_bar_t is set as false. The inner ISP algorithm will calculate the best range values for color bar. Before calling this API you should call @ref dirp_process once at least. And if any processing or measurement parameters had been changed, you should also call @ref dirp_process again for getting new color bar adaptive parameters. In the above calling @ref dirp_process, manual_enable in @ref dirp_color_bar_t must be set as false.
- dirp_
get_ ⚠enhancement_ params - @brief Get orignial/custom ISP enhancement parameters
- dirp_
get_ ⚠isotherm - @brief Get orignial/custom ISP isotherm parameters
- dirp_
get_ ⚠measurement_ params - @brief Get orignial/custom temperature measurement parameters
- dirp_
get_ ⚠measurement_ params_ range - @brief Get range of temperature measurement parameters that user can set
- dirp_
get_ ⚠original_ raw - @brief Get original RAW binary data from R-JPEG
- dirp_
get_ ⚠pseudo_ color - @brief Get orignial/custom ISP pseudo color type
- dirp_
get_ ⚠pseudo_ color_ lut - @brief Get ISP pseudo color LUT
- dirp_
get_ ⚠rjpeg_ resolution - @brief Get R-JPEG image resolution information
- dirp_
get_ ⚠rjpeg_ version - @brief Get R-JPEG version
- dirp_
measure ⚠ - @brief Measure temperature of whole thermal image with RAW data in R-JPEG @details Each INT16 pixel value represents ten times the temperature value in Celsius. In other words, each LSB represents 0.1 degrees Celsius. The custom measurement parameters can be modifed by this API: - @ref dirp_set_measurement_params
- dirp_
measure_ ⚠ex - @brief Measure temperature of whole thermal image with RAW data in R-JPEG @details Each FLOAT32 pixel value represents the real temperature in Celsius. The custom measurement parameters can be modifed by this API: - @ref dirp_set_measurement_params
- dirp_
process ⚠ - @brief Run ISP algorithm with RAW data in R-JPEG and output RGB pseudo color image @details The ISP configurable parameters can be modifed by these APIs: - @ref dirp_set_enhancement_params - @ref dirp_set_isotherm - @ref dirp_set_color_bar - @ref dirp_set_pseudo_color
- dirp_
process_ ⚠strech - @brief Run ISP strech algorithm with RAW data in R-JPEG and output FLOAT32 streching image @details The ISP strech configurable parameters can be modifed by these APIs: - @ref dirp_set_enhancement_params - @ref dirp_set_isotherm - @ref dirp_set_color_bar
- dirp_
set_ ⚠color_ bar - @brief Set custom ISP color bar parameters
- dirp_
set_ ⚠enhancement_ params - @brief Set custom ISP enhancement parameters
- dirp_
set_ ⚠isotherm - @brief Set custom ISP isotherm parameters
- dirp_
set_ ⚠logger_ file - @brief Set external logger file
- dirp_
set_ ⚠measurement_ params - @brief Set custom temperature measurement parameters
- dirp_
set_ ⚠pseudo_ color - @brief Set custom ISP pseudo color type
- dirp_
set_ ⚠verbose_ level - @brief Set log print level
Type Aliases§
- DIRP_
HANDLE - @brief Structure representing a handle on a DIRP instance @details It is usually originating from @ref dirp_create_from_rjpeg function. A DIRP handle is used to perform image processing and temperature measurement operations. When finished a DIRP processing, you should call @ref dirp_destroy function.
- __
blkcnt64_ t - __
blkcnt_ t - __
blksize_ t - __
caddr_ t - __
clock_ t - __
clockid_ t - __
daddr_ t - __dev_t
- __
fsblkcnt64_ t - __
fsblkcnt_ t - __
fsfilcnt64_ t - __
fsfilcnt_ t - __
fsword_ t - __gid_t
- __id_t
- __
ino64_ t - __ino_t
- __
int8_ t - __
int16_ t - __
int32_ t - __
int64_ t - __
int_ least8_ t - __
int_ least16_ t - __
int_ least32_ t - __
int_ least64_ t - __
intmax_ t - __
intptr_ t - __key_t
- __
loff_ t - __
mode_ t - __
nlink_ t - __
off64_ t - __off_t
- __pid_t
- __
quad_ t - __
rlim64_ t - __
rlim_ t - __
sig_ atomic_ t - __
socklen_ t - __
ssize_ t - __
suseconds_ t - __
syscall_ slong_ t - __
syscall_ ulong_ t - __
time_ t - __
timer_ t - __
u_ char - __u_int
- __
u_ long - __
u_ quad_ t - __
u_ short - __uid_t
- __
uint8_ t - __
uint16_ t - __
uint32_ t - __
uint64_ t - __
uint_ least8_ t - __
uint_ least16_ t - __
uint_ least32_ t - __
uint_ least64_ t - __
uintmax_ t - __
useconds_ t - dirp_
pseudo_ color_ e - @brief Palette types @details There are variety of palette options. Distinct colors are used to show temperature differences in the thermal image, which are related to grayscale intensity.
- dirp_
ret_ code_ e - @brief Error codes @details Most DIRP functions return 0 on success or one of negative value on failure.
- dirp_
verbose_ level_ e - int_
fast8_ t - int_
fast16_ t - int_
fast32_ t - int_
fast64_ t - int_
least8_ t - int_
least16_ t - int_
least32_ t - int_
least64_ t - intmax_
t - uint_
fast8_ t - uint_
fast16_ t - uint_
fast32_ t - uint_
fast64_ t - uint_
least8_ t - uint_
least16_ t - uint_
least32_ t - uint_
least64_ t - uintmax_
t