My Project
 All Classes Files Functions Variables
Public Attributes | List of all members
Picture Struct Reference

Struct for a picture object. More...

#include <MyroC.h>

Public Attributes

int height
int width
Pixel pix_array [192][256]

Detailed Description

Struct for a picture object.

Note
the picture size is always 256 in width and 192 in height
Following standard mathematical convention for a 2D matrix,
all references to a pixel are given within an array as [row][col]

Member Data Documentation

int Picture::height

The height of the image – set to 192 for robot camera

Pixel Picture::pix_array[192][256]

The array of pixels comprising the image

int Picture::width

The width of the image – set to 256 for robot camera


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