LOST  0.0.1
LOST: Open-source Star Tracker
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. More...
 
int width
 
int height
 

Detailed Description

An 8-bit grayscale 2d image.

Definition at line 63 of file io.hpp.

Member Data Documentation

◆ height

int lost::Image::height

Definition at line 72 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 69 of file io.hpp.

◆ width

int lost::Image::width

Definition at line 71 of file io.hpp.


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