Struct Pixels

Struct Documentation

struct Pixels

A batch of two-dimensional index into a GDAL tile (i.e.

the pixel index), where y is the line and x is the element within the line.

Public Functions

inline Pixels(size_t N)

Allocate memory for a batch of pixels.

Parameters

N – number of pixels in batch

Public Members

std::vector<size_t> x

Horizontal positions within an individual line.

std::vector<size_t> y

Vertical (line) indices.