IntegerDecodeType.H File Reference

#include <string>
Include dependency graph for IntegerDecodeType.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  IntegerDecodeType { INTG_DECODE_RGB, INTG_DECODE_VIDEO }
 

Strategies for decomposing input frames into integer-math components.

More...

Functions

std::string convertToString (const IntegerDecodeType val)
 IntegerDecodeType overload.
void convertFromString (const std::string &str, IntegerDecodeType &val)
 IntegerDecodeType overload.

Detailed Description

Strategies for decomposing input frames into integer-math components

Definition in file IntegerDecodeType.H.


Enumeration Type Documentation

Strategies for decomposing input frames into integer-math components.

Enumerator:
INTG_DECODE_RGB 

compute luminance as (r+g+b)/3, chrominance as (r-g) and (b-y)

INTG_DECODE_VIDEO 

compute luminance as the yuv 'y' component, chrominance as u and v

Definition at line 44 of file IntegerDecodeType.H.


Function Documentation

void convertFromString ( const std::string str,
IntegerDecodeType val 
)

IntegerDecodeType overload.

Definition at line 60 of file IntegerDecodeType.C.

References INTG_DECODE_RGB, INTG_DECODE_VIDEO, and toLowerCase().

std::string convertToString ( const IntegerDecodeType  val  ) 

IntegerDecodeType overload.

Definition at line 47 of file IntegerDecodeType.C.

References INTG_DECODE_RGB, and INTG_DECODE_VIDEO.

Generated on Sun May 8 08:42:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3