CMUcam4 Arduino Interface Library  For Firmware Versions 1.00 - 1.03
Application Programmable Interface Online Documentation
 All Classes Files Functions Variables Macros Pages
Public Attributes
CMUcam4_histogram_data_16_t Struct Reference

CMUcam4 16-bin histogram structure. More...

#include <CMUcam4.h>

List of all members.

Public Attributes

uint8_t bins [CMUCAM4_HD_16_T_LENGTH]
 16-bin histogram array.

Detailed Description

CMUcam4 16-bin histogram structure.

The sum of all the bins is less than or equal to 255. Each bin contains the percentage (0 to 255) of pixels in the image that fell within that bin. E.g. Each bin in a 16-bin histogram represents 16 pixel values.

For example:
{ bin0[0 - 15], bin1[16 - 31], ..., bin15[240 - 255] }
See also:
CMUcam4::getHistogram(int channel, int bins)
CMUcam4::getTypeHDataPacket(CMUcam4_histogram_data_16_t * pointer)

Definition at line 910 of file CMUcam4.h.

The documentation for this struct was generated from the following file: