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_8_t Struct Reference

CMUcam4 8-bin histogram structure. More...

#include <CMUcam4.h>

List of all members.

Public Attributes

uint8_t bins [CMUCAM4_HD_8_T_LENGTH]
 8-bin histogram array.

Detailed Description

CMUcam4 8-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 8-bin histogram represents 32 pixel values.

For example:
{ bin0[0 - 31], bin1[32 - 63], ..., bin7[224 - 255] }
See also:
CMUcam4::getHistogram(int channel, int bins)
CMUcam4::getTypeHDataPacket(CMUcam4_histogram_data_8_t * pointer)

Definition at line 894 of file CMUcam4.h.

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