Instrument Neutral Distributed Interface INDI 2.2.5
GammaLut16 Class Reference

#include <gammalut16.h>

Public Member Functions

 GammaLut16 (double gamma=2.4, double a=12.92, double b=0.055, double Ii=0.00304)
void apply (const uint16_t *source, size_t count, uint8_t *destination) const
void apply (const uint16_t *first, const uint16_t *last, uint8_t *destination) const

Protected Attributes

std::vector< uint8_t > mLookUpTable

Detailed Description

Definition at line 29 of file gammalut16.h.

Constructor & Destructor Documentation

◆ GammaLut16()

GammaLut16::GammaLut16 ( double gamma = 2.4,
double a = 12.92,
double b = 0.055,
double Ii = 0.00304 )

Definition at line 26 of file gammalut16.cpp.

Member Function Documentation

◆ apply() [1/2]

void GammaLut16::apply ( const uint16_t * first,
const uint16_t * last,
uint8_t * destination ) const

Definition at line 49 of file gammalut16.cpp.

◆ apply() [2/2]

void GammaLut16::apply ( const uint16_t * source,
size_t count,
uint8_t * destination ) const

Definition at line 43 of file gammalut16.cpp.

Member Data Documentation

◆ mLookUpTable

std::vector<uint8_t> GammaLut16::mLookUpTable
protected

Definition at line 39 of file gammalut16.h.


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