Static platform data about the Dummy platform and its pretend image sensor. More...
#include <Platform.h>
Public Member Functions | |
virtual void | rawToRGBColorMatrix (int kelvin, float *matrix) const |
Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance. | |
virtual const std::string & | manufacturer () const |
The camera's manufacturer. | |
virtual const std::string & | model () const |
The camera's model. | |
virtual unsigned short | minRawValue () const |
The Dummy produces raw values greater than or equal to zero. | |
virtual unsigned short | maxRawValue () const |
The Dummy produces raw values up to a maximum of 1023. | |
virtual BayerPattern | bayerPattern () const |
The Dummy's bayer pattern (the top 2x2 block of pixels) is GRBG. | |
virtual void | rawToRGBColorMatrix (int kelvin, float *matrix) const |
Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance. | |
virtual const std::string & | manufacturer () const |
The camera's manufacturer. | |
virtual const std::string & | model () const |
The camera's model. | |
virtual unsigned short | minRawValue () const |
The Dummy produces raw values greater than or equal to zero. | |
virtual unsigned short | maxRawValue () const |
The Dummy produces raw values up to a maximum of 1023. | |
virtual BayerPattern | bayerPattern () const |
The Dummy's bayer pattern (the top 2x2 block of pixels) is GRBG. | |
Static Public Member Functions | |
static const Platform & | instance () |
Access to the singleton instance of this class. | |
static const Platform & | instance () |
Access to the singleton instance of this class. |
Static platform data about the Dummy platform and its pretend image sensor.
Definition at line 15 of file Platform.h.
void FCam::Dummy::Platform::rawToRGBColorMatrix | ( | int | kelvin, | |
float * | matrix | |||
) | const [virtual] |
Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.
Given in row-major order.
Implements FCam::Platform.
Definition at line 8 of file Platform.cpp.
virtual const std::string& FCam::Dummy::Platform::manufacturer | ( | ) | const [inline, virtual] |
The camera's manufacturer.
(e.g. Canon).
Implements FCam::Platform.
Definition at line 18 of file Platform.h.
virtual const std::string& FCam::Dummy::Platform::model | ( | ) | const [inline, virtual] |
The camera's model.
Should also include manufacturer (e.g. Canon 400D).
Implements FCam::Platform.
Definition at line 19 of file Platform.h.
const Platform & FCam::Dummy::Platform::instance | ( | ) | [static] |
Access to the singleton instance of this class.
Normally you access the platform data via Frame::platform or Sensor::platform.
Definition at line 31 of file Platform.cpp.
virtual void FCam::Dummy::Platform::rawToRGBColorMatrix | ( | int | kelvin, | |
float * | matrix | |||
) | const [virtual] |
Produce a 3x4 affine matrix that maps from sensor RGB to linear-luminance sRGB at the given white balance.
Given in row-major order.
Implements FCam::Platform.
virtual const std::string& FCam::Dummy::Platform::manufacturer | ( | ) | const [inline, virtual] |
The camera's manufacturer.
(e.g. Canon).
Implements FCam::Platform.
Definition at line 18 of file Platform.h.
virtual const std::string& FCam::Dummy::Platform::model | ( | ) | const [inline, virtual] |
The camera's model.
Should also include manufacturer (e.g. Canon 400D).
Implements FCam::Platform.
Definition at line 19 of file Platform.h.
static const Platform& FCam::Dummy::Platform::instance | ( | ) | [static] |
Access to the singleton instance of this class.
Normally you access the platform data via Frame::platform or Sensor::platform.