Skip to main content

Crate dji_thermal_sys

Crate dji_thermal_sys 

Source

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_LEAST8_MAX
INT_LEAST8_MIN
INT_LEAST16_MAX
INT_LEAST16_MIN
INT_LEAST32_MAX
INT_LEAST32_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_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_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_FLOAT128
__OFF_T_MATCHES_OFF64_T
__RLIM_T_MATCHES_RLIM64_T
__STATFS_MATCHES_STATFS64
__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_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__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_RAINBOW1
< 6: Rainbow 1
dirp_pseudo_color_e_DIRP_PSEUDO_COLOR_RAINBOW2
< 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