The abstract base class for static platform data. More...
#include <Platform.h>
Public Member Functions | |
virtual BayerPattern | bayerPattern () const =0 |
Get the bayer pattern of this sensor when in raw mode. | |
virtual void | rawToRGBColorMatrix (int kelvin, float *matrix) const =0 |
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 =0 |
The camera's manufacturer. | |
virtual const std::string & | model () const =0 |
The camera's model. | |
virtual unsigned short | minRawValue () const =0 |
The smallest value to expect when in raw mode. | |
virtual unsigned short | maxRawValue () const =0 |
The largest value to expect when in raw mode. | |
virtual BayerPattern | bayerPattern () const =0 |
Get the bayer pattern of this sensor when in raw mode. | |
virtual void | rawToRGBColorMatrix (int kelvin, float *matrix) const =0 |
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 =0 |
The camera's manufacturer. | |
virtual const std::string & | model () const =0 |
The camera's model. | |
virtual unsigned short | minRawValue () const =0 |
The smallest value to expect when in raw mode. | |
virtual unsigned short | maxRawValue () const =0 |
The largest value to expect when in raw mode. |
The abstract base class for static platform data.
Definition at line 14 of file Platform.h.
virtual BayerPattern FCam::Platform::bayerPattern | ( | ) | const [pure virtual] |
Get the bayer pattern of this sensor when in raw mode.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual void FCam::Platform::rawToRGBColorMatrix | ( | int | kelvin, | |
float * | matrix | |||
) | const [pure 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.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual const std::string& FCam::Platform::manufacturer | ( | ) | const [pure virtual] |
The camera's manufacturer.
(e.g. Canon).
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual const std::string& FCam::Platform::model | ( | ) | const [pure virtual] |
The camera's model.
Should also include manufacturer (e.g. Canon 400D).
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual unsigned short FCam::Platform::minRawValue | ( | ) | const [pure virtual] |
The smallest value to expect when in raw mode.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual unsigned short FCam::Platform::maxRawValue | ( | ) | const [pure virtual] |
The largest value to expect when in raw mode.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual BayerPattern FCam::Platform::bayerPattern | ( | ) | const [pure virtual] |
Get the bayer pattern of this sensor when in raw mode.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual void FCam::Platform::rawToRGBColorMatrix | ( | int | kelvin, | |
float * | matrix | |||
) | const [pure 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.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual const std::string& FCam::Platform::manufacturer | ( | ) | const [pure virtual] |
The camera's manufacturer.
(e.g. Canon).
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual const std::string& FCam::Platform::model | ( | ) | const [pure virtual] |
The camera's model.
Should also include manufacturer (e.g. Canon 400D).
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual unsigned short FCam::Platform::minRawValue | ( | ) | const [pure virtual] |
The smallest value to expect when in raw mode.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.
virtual unsigned short FCam::Platform::maxRawValue | ( | ) | const [pure virtual] |
The largest value to expect when in raw mode.
Implemented in FCam::Dummy::Platform, FCam::N900::Platform, FCam::_DNGFrame, FCam::Dummy::Platform, FCam::F2::Platform, FCam::N900::Platform, and FCam::_DNGFrame.