init
This commit is contained in:
24
include/colorspace/SampleUtils.hpp
Normal file
24
include/colorspace/SampleUtils.hpp
Normal file
@ -0,0 +1,24 @@
|
||||
#ifndef SAMPLEUTILS_H
|
||||
#define SAMPLEUTILS_H
|
||||
|
||||
class SampleUtils{
|
||||
|
||||
private:
|
||||
|
||||
SampleUtils();
|
||||
|
||||
public:
|
||||
|
||||
static unsigned char convert1BitTo8Bit(unsigned char color);
|
||||
|
||||
static unsigned char convert2BitTo8Bit(unsigned char color);
|
||||
|
||||
static unsigned char convert4BitTo8Bit(unsigned char color);
|
||||
|
||||
static unsigned char convert16BitTo8Bit(unsigned short color);
|
||||
|
||||
static unsigned int convertRGBtoBrightness(unsigned int color);
|
||||
|
||||
};
|
||||
|
||||
#endif // SAMPLEUTILS_H
|
Reference in New Issue
Block a user