C API

_VlPgmImage Struct Reference

#include <pgm.h>


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.

Definition at line 35 of file pgm.h.


Data Fields

int width
int height
int max_value
vl_bool is_raw

Field Documentation

image width.

Definition at line 37 of file pgm.h.

Referenced by vl_pgm_get_npixels(), vl_pgm_insert(), and vl_pgm_write().

image height.

Definition at line 38 of file pgm.h.

Referenced by vl_pgm_get_npixels(), vl_pgm_insert(), and vl_pgm_write().

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

Definition at line 39 of file pgm.h.

Referenced by vl_pgm_get_bpp(), vl_pgm_insert(), vl_pgm_read_new_f(), and vl_pgm_write().

is RAW format?

Definition at line 40 of file pgm.h.

Referenced by vl_pgm_extract_data(), and vl_pgm_write().


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