You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4 KiB
C++

/******************************************************************************
Copyright(C):2015~2018 hzleaper
FileName:iImgProc.h
Author:zhikun wu
Email:zk.wu@hzleaper.com
Tools:vs2010 pc on company
Created:2015/03/26
History:26:3:2015 17:58
*******************************************************************************/
#ifndef __I_IMG_PROC_H_20150326
#define __I_IMG_PROC_H_20150326
#include "baseDefine.h"
#include "baseStruct.h"
typedef struct tagIMGPROC_IN_PARAM{
TP_GLOBAL_DATA* pGlobalData;
}IMGPROC_IN_PARAM;
class IImgProc
{
public:
IImgProc() {}
virtual ~IImgProc() {}
virtual int IImageProcess(class IImageObject* pImgObj, class IDetectorEngine* pDE = NULL) = 0;
virtual class IAlgorithmOption* IGetAlgorithmOption(int nAlgorithm) = 0;
};
// class IImageObject
// {
// public:
// IImageObject() { }
// virtual ~IImageObject() { }
//
// virtual emTpColorFormat IColorFormat() = 0;
// //@nOutBytesPerLine: 0 means there is no valid value
// virtual BYTE* IImageData(int& nOutW, int& nOutH, int& nOutBitsPerPixel, int& nOutBytesPerLine) = 0;
// virtual int IGetId() = 0;
// virtual int IGetAlgorithm() = 0;
// virtual int IGetFrameNum() = 0;
// virtual int IGetTriggerCount() = 0;
// //////////////////////////////////////////////////////////
// virtual void IAddOverlay() { }
// };
#endif