The open imaging DSP library
Loading...
Searching...
No Matches
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
27void mpix_stats_from_buf(struct mpix_stats *stats, const uint8_t *buf, struct mpix_format *fmt);
28
37uint8_t mpix_stats_get_y_mean(struct mpix_stats *stats);
38
39#endif
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.
uint8_t mpix_stats_get_y_mean(struct mpix_stats *stats)
Get the mean value from a histogram.
Image format description.
Definition types.h:72
Definition types.h:168