huago-corrcet_tools/HuaGoCorrect/imageprocess.h

16 lines
354 B
C++

#ifndef IMAGEPROCESS_H
#define IMAGEPROCESS_H
#include <vector>
using namespace std;
typedef unsigned char uchar;
typedef unsigned int uint;
vector<uchar> histogram_bit8(uchar* data, int rows, int cols = 3456);
void histogram_bit32(uchar* data, int rows, int cols, vector<uchar>& r, vector<uchar>& g, vector<uchar>& b);
#endif // IMAGEPROCESS_H