30 lines
696 B
C++
30 lines
696 B
C++
/*
|
||
* ====================================================
|
||
|
||
* 功能:多流除红
|
||
* 作者:刘丁维
|
||
* 生成时间:2023/12/02
|
||
* 最近修改时间:v1.0 2023/12/02
|
||
* 版本号:v1.0
|
||
|
||
* ====================================================
|
||
*/
|
||
|
||
#ifndef IMAGE_MULTI_OUTPUT_RED_H
|
||
#define IMAGE_MULTI_OUTPUT_RED_H
|
||
#include "IMulti.h"
|
||
|
||
class GIMGPROC_LIBRARY_API ImageMultiOutputRed
|
||
:public IMulti
|
||
{
|
||
public:
|
||
ImageMultiOutputRed(short channelIndex);
|
||
virtual ~ImageMultiOutputRed(void);
|
||
virtual std::vector<cv::Mat> apply(cv::Mat& pDib) override;
|
||
private:
|
||
void filterColor(cv::Mat& image, short channel);
|
||
private:
|
||
short m_channelIndex;
|
||
};
|
||
#endif //!IMAGE_MULTI_OUTPUT_RED_H
|