mirror of http://192.168.1.51:8099/lmh188/twain3.0
27 lines
519 B
C++
27 lines
519 B
C++
#ifndef IMAGE_MULTI_H
|
|
#define IMAGE_MULTI_H
|
|
#include <vector>
|
|
#include <opencv2/opencv.hpp>
|
|
class IMageMulti
|
|
{
|
|
public:
|
|
enum MultiOutput
|
|
{
|
|
NONE=-1,
|
|
ALL,
|
|
COLORGRAY,
|
|
COLORBW,
|
|
GRAYBW
|
|
};
|
|
public:
|
|
IMageMulti(int multiType = 0,int thre = 128);
|
|
~IMageMulti();
|
|
std::vector<cv::Mat> apply(cv::Mat& pDib);
|
|
std::vector<cv::Mat> apply(cv::Mat& pDib, int multitype);
|
|
std::vector<cv::Mat> apply(std::vector<cv::Mat>& pDib, int multitype);
|
|
private:
|
|
int m_multiType;
|
|
int m_thre;
|
|
};
|
|
|
|
#endif // !IMAGE_MULTI_H
|