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.

37 lines
1.0 KiB
C++

#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