Documentation - C API
VlPgmImage Struct Reference

PGM image meta data. More...

#include <pgm.h>

Data Fields

vl_size width
vl_size height
vl_size max_value
vl_bool is_raw

Detailed Description

A PGM image is a 2-D array of pixels of width width and height height. Each pixel is an integer one or two bytes wide, depending whether max_value is smaller than 256.


Field Documentation

image height.

is RAW format?

pixel maximum value (<= 2^16-1).

image width.


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