Public Member Functions | Static Public Member Functions

FCam::N900::Platform Class Reference

Static platform data about the N900 and its main image sensor. More...

#include <Platform.h>

Inheritance diagram for FCam::N900::Platform:
Inheritance graph
[legend]
Collaboration diagram for FCam::N900::Platform:
Collaboration graph
[legend]

List of all members.

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 N900 produces raw values greater than or equal to zero.
virtual unsigned short maxRawValue () const
 The N900 produces raw values up to a maximum of 959.
virtual BayerPattern bayerPattern () const
 The N900'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 N900 produces raw values greater than or equal to zero.
virtual unsigned short maxRawValue () const
 The N900 produces raw values up to a maximum of 959.
virtual BayerPattern bayerPattern () const
 The N900's bayer pattern (the top 2x2 block of pixels) is GRBG.

Static Public Member Functions

static const Platforminstance ()
 Access to the singleton instance of this class.
static const Platforminstance ()
 Access to the singleton instance of this class.

Detailed Description

Static platform data about the N900 and its main image sensor.

Definition at line 14 of file Platform.h.


Member Function Documentation

void FCam::N900::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 9 of file Platform.cpp.

virtual const std::string& FCam::N900::Platform::manufacturer (  )  const [inline, virtual]

The camera's manufacturer.

(e.g. Canon).

Implements FCam::Platform.

Definition at line 17 of file Platform.h.

virtual const std::string& FCam::N900::Platform::model (  )  const [inline, virtual]

The camera's model.

Should also include manufacturer (e.g. Canon 400D).

Implements FCam::Platform.

Definition at line 18 of file Platform.h.

const Platform & FCam::N900::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 34 of file Platform.cpp.

virtual void FCam::N900::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::N900::Platform::manufacturer (  )  const [inline, virtual]

The camera's manufacturer.

(e.g. Canon).

Implements FCam::Platform.

Definition at line 17 of file Platform.h.

virtual const std::string& FCam::N900::Platform::model (  )  const [inline, virtual]

The camera's model.

Should also include manufacturer (e.g. Canon 400D).

Implements FCam::Platform.

Definition at line 18 of file Platform.h.

static const Platform& FCam::N900::Platform::instance (  )  [static]

Access to the singleton instance of this class.

Normally you access the platform data via Frame::platform or Sensor::platform.


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