Loading...
Searching...
No Matches
lwir_frame.h
Go to the documentation of this file.
140bool lwir_measurement_valid(unsigned width, unsigned height, const struct lwir_measurement *measurement);
153bool lwir_measure_temperature(const uint8_t *frame, size_t bytes, unsigned width, unsigned height,
165bool lwir_temperature_statistics(const uint8_t *frame, size_t bytes, unsigned width, unsigned height,
186bool lwir_frame_is_neutral_fill(const uint8_t *frame, size_t bytes, unsigned width, unsigned height);
187/** @brief Qualify live combined data, rejecting neutral fill and an entirely invalid thermal plane.
196bool lwir_frame_capture_valid(const uint8_t *frame, size_t bytes, unsigned width, unsigned height);
210 * @param previous_image Previous image half (width * height * 2 bytes), kept by the acquisition owner.
bool lwir_frame_is_neutral_fill(const uint8_t *frame, size_t bytes, unsigned width, unsigned height)
Recognize the all-black YUYV/0x8000 thermal fill observed during camera transitions.
Definition lwir_frame.c:432
lwir_measurement_kind
Ordinary camera measurements, independent of optional hotspot analysis.
Definition lwir_frame.h:69
bool lwir_measurement_valid(unsigned width, unsigned height, const struct lwir_measurement *measurement)
Validate ROI/point/line geometry before any sample is accessed.
Definition lwir_frame.c:84
bool lwir_measure_temperature(const uint8_t *frame, size_t bytes, unsigned width, unsigned height, const struct lwir_measurement *measurement, const struct lwir_thresholds *thresholds, struct lwir_temperature_stats *statistics)
Measure apparent device temperatures, keeping diagnostic coverage separate.
Definition lwir_frame.c:326
bool lwir_frame_valid(const uint8_t *frame, size_t bytes, unsigned width, unsigned height)
Check pointer, geometry and exact combined layout, not physical accuracy.
Definition lwir_frame.c:420
bool lwir_frame_capture_valid(const uint8_t *frame, size_t bytes, unsigned width, unsigned height)
Qualify live combined data, rejecting neutral fill and an entirely invalid thermal plane.
Definition lwir_frame.c:446
bool lwir_frame_plausible(const uint8_t *frame, size_t bytes, unsigned width, unsigned height)
Optional conservative scene check; unusual valid scenes may be rejected.
Definition lwir_frame.c:465
bool lwir_roi_valid(unsigned width, unsigned height, const struct lwir_roi *roi)
Validate a native rectangle without clipping an operator's request.
Definition lwir_frame.c:70
lwir_frame_layout
Buffer content kinds: full image+thermal frame, or the YUYV image plane alone.
Definition lwir_frame.h:54
bool lwir_temperature_statistics(const uint8_t *frame, size_t bytes, unsigned width, unsigned height, const struct lwir_roi *roi, struct lwir_temperature_stats *statistics)
Rectangle convenience interface to lwir_measure_temperature.
Definition lwir_frame.c:394
size_t lwir_frame_bytes(unsigned width, unsigned height)
Bounded combined-frame size, or zero for unsupported native geometry.
Definition lwir_frame.c:56
bool lwir_frame_settled(const uint8_t *frame, const uint8_t *previous_image, unsigned width, unsigned height)
Optional image-stability heuristic, never exposure or shutter certification.
Definition lwir_frame.c:498
Native rectangle; a zero width/height pair selects the full image.
Definition lwir_frame.h:61
Raw-unit measurement results; derive mean/variance from the sums and pixels.
Definition lwir_frame.h:98
Optional coverage band counted alongside measurement statistics.
Definition lwir_frame.h:89