15 lines
396 B
C++
15 lines
396 B
C++
#ifndef IMAGE_APPLY_THRESHOLD_H
|
|
#define IMAGE_APPLY_THRESHOLD_H
|
|
#include "ImageApply.h"
|
|
|
|
class CImageApplyThreshold :public CImageApply {
|
|
public:
|
|
CImageApplyThreshold(float thre=128.0);
|
|
virtual ~CImageApplyThreshold();
|
|
virtual void apply(std::vector<cv::Mat>& mats, bool isTwoSide);
|
|
virtual void apply(cv::Mat& pDib, int side);
|
|
private:
|
|
float m_thresh;
|
|
};
|
|
#endif // !IMAGE_APPLY_THRESHOLD_H
|