Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcDemosaicCore Class Reference

#include <DemosaicCore.h>

Collaboration diagram for tcDemosaicCore:

Public Types

enum  teDemosaicMode { eeGBRG = 0, eeGRBG = 1, eeBGGR = 2, eeRGGB = 3 }
 

Public Member Functions

 tcDemosaicCore (int anAddress)
 
bool initialized ()
 
void enable (bool abEnable)
 
void capHeaderArm ()
 
void setDemosaicMode (teDemosaicMode value)
 
void setWhiteBalance (float anRed, float anGreen, float anBlue)
 
void setRed (float anRed)
 set the red component of white balancing More...
 
void setGreen (float anGreen)
 set the green component of white balancing More...
 
void setBlue (float anGreen)
 set the blue component of white balancing More...
 

Member Enumeration Documentation

◆ teDemosaicMode

Todo:
this coding parameter, determined empirically from Jeff does not match the FPGA IP specification. There appears to be some pixel shuffling going on in the FPGA, likely in the pipeline. See redmine (internal) 19887. According to the spec, eeGRBG = 0, eeGBRG = 1, eeRGGB = 2, eeBGGR = 3. This workaround only works because we are using Bilinear or Nearest Neighbor approach.

eeWXYZ = W, X Y, Z

Enumerator
eeGBRG 
eeGRBG 
eeBGGR 
eeRGGB 

Constructor & Destructor Documentation

◆ tcDemosaicCore()

tcDemosaicCore::tcDemosaicCore ( int  anAddress)

Member Function Documentation

◆ capHeaderArm()

void tcDemosaicCore::capHeaderArm ( )

◆ enable()

void tcDemosaicCore::enable ( bool  abEnable)

◆ initialized()

bool tcDemosaicCore::initialized ( )

◆ setBlue()

void tcDemosaicCore::setBlue ( float  anBlue)

set the blue component of white balancing

Parameters
anBlue[in]the component value

◆ setDemosaicMode()

void tcDemosaicCore::setDemosaicMode ( teDemosaicMode  value)

◆ setGreen()

void tcDemosaicCore::setGreen ( float  anGreen)

set the green component of white balancing

Parameters
anGreen[in]the component value

◆ setRed()

void tcDemosaicCore::setRed ( float  anRed)

set the red component of white balancing

Parameters
anRed[in]the component value

◆ setWhiteBalance()

void tcDemosaicCore::setWhiteBalance ( float  anRed,
float  anGreen,
float  anBlue 
)

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