FlowEngine 9.000
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
FlowEngine::Image Struct Reference

#include <CommonDef.h>

Public Member Functions

Color32operator() (int x, int y)
 
const Color32operator() (int x, int y) const
 

Public Attributes

Buffer< Color32data
 
int height = 0
 
int width = 0
 

Detailed Description

a 2D image Holds information about a raw image Data is not owned

Member Function Documentation

◆ operator()() [1/2]

Color32 & FlowEngine::Image::operator() ( int  x,
int  y 
)
inline
Returns
the pixel at the given coordinates

◆ operator()() [2/2]

const Color32 & FlowEngine::Image::operator() ( int  x,
int  y 
) const
inline
Returns
the pixel at the given coordinates

Member Data Documentation

◆ data

Buffer< Color32 > FlowEngine::Image::data

the image color data stored as 3 floating-point values

◆ height

int FlowEngine::Image::height = 0

the image height in pixels

◆ width

int FlowEngine::Image::width = 0

the image width in pixels