The open imaging DSP library
Loading...
Searching...
No Matches
include
mpix
stats.h
1
7
#ifndef MPIX_STATS_H
8
#define MPIX_STATS_H
9
10
#include <stdint.h>
11
#include <stddef.h>
12
13
#include <mpix/types.h>
14
27
void
mpix_stats_from_buf
(
struct
mpix_stats
*stats,
const
uint8_t *buf,
struct
mpix_format
*fmt);
28
37
uint8_t
mpix_stats_get_y_mean
(
struct
mpix_stats
*stats);
38
39
#endif
mpix_stats_from_buf
void mpix_stats_from_buf(struct mpix_stats *stats, const uint8_t *buf, struct mpix_format *fmt)
Collect red, green, blue channel averages of all pixels in an RGB24 frame.
mpix_stats_get_y_mean
uint8_t mpix_stats_get_y_mean(struct mpix_stats *stats)
Get the mean value from a histogram.
mpix_format
Image format description.
Definition
types.h:72
mpix_stats
Definition
types.h:168