LOST 0.0.1
LOST: Open-source Star Tracker
Loading...
Searching...
No Matches
lost::Image Class Reference

An 8-bit grayscale 2d image. More...

#include <io.hpp>

Public Attributes

unsigned char * image
 The raw pixel data in the image.
int width
int height

Detailed Description

An 8-bit grayscale 2d image.

Definition at line 59 of file io.hpp.

Member Data Documentation

◆ height

int lost::Image::height

Definition at line 68 of file io.hpp.

◆ image

unsigned char* lost::Image::image

The raw pixel data in the image.

This is an array of pixels, of length width*height. Each pixel is a single byte. A zero byte is pure black, and a 255 byte is pure white. Support for pixel resolution greater than 8 bits may be added in the future.

Definition at line 65 of file io.hpp.

◆ width

int lost::Image::width

Definition at line 67 of file io.hpp.


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