⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iplwrap.c

📁 微软的基于HMM的人脸识别原代码, 非常经典的说
💻 C
📖 第 1 页 / 共 4 页
字号:
}

static void * EiC_Cfunc_21 = NULL;
static void  __stdcall MiddleOne_21(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_21, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_21, int ,x1);
    setArg(2, EiC_Cfunc_21, int ,x2);
    setArg(3, EiC_Cfunc_21, int ,x3);

    EiC_callBack(EiC_Cfunc_21);
}

static void * EiC_Cfunc_22 = NULL;
static void  __stdcall MiddleOne_22(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_22, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_22, int ,x1);
    setArg(2, EiC_Cfunc_22, int ,x2);
    setArg(3, EiC_Cfunc_22, int ,x3);

    EiC_callBack(EiC_Cfunc_22);
}

static void * EiC_Cfunc_23 = NULL;
static void  __stdcall MiddleOne_23(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_23, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_23, int ,x1);
    setArg(2, EiC_Cfunc_23, int ,x2);
    setArg(3, EiC_Cfunc_23, int ,x3);

    EiC_callBack(EiC_Cfunc_23);
}

static void * EiC_Cfunc_24 = NULL;
static void  __stdcall MiddleOne_24(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_24, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_24, int ,x1);
    setArg(2, EiC_Cfunc_24, int ,x2);
    setArg(3, EiC_Cfunc_24, int ,x3);

    EiC_callBack(EiC_Cfunc_24);
}

static void * EiC_Cfunc_25 = NULL;
static void  __stdcall MiddleOne_25(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_25, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_25, int ,x1);
    setArg(2, EiC_Cfunc_25, int ,x2);
    setArg(3, EiC_Cfunc_25, int ,x3);

    EiC_callBack(EiC_Cfunc_25);
}

static void * EiC_Cfunc_26 = NULL;
static void  __stdcall MiddleOne_26(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_26, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_26, int ,x1);
    setArg(2, EiC_Cfunc_26, int ,x2);
    setArg(3, EiC_Cfunc_26, int ,x3);

    EiC_callBack(EiC_Cfunc_26);
}

static void * EiC_Cfunc_27 = NULL;
static void  __stdcall MiddleOne_27(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_27, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_27, int ,x1);
    setArg(2, EiC_Cfunc_27, int ,x2);
    setArg(3, EiC_Cfunc_27, int ,x3);

    EiC_callBack(EiC_Cfunc_27);
}

static void * EiC_Cfunc_28 = NULL;
static void  __stdcall MiddleOne_28(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_28, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_28, int ,x1);
    setArg(2, EiC_Cfunc_28, int ,x2);
    setArg(3, EiC_Cfunc_28, int ,x3);

    EiC_callBack(EiC_Cfunc_28);
}

static void * EiC_Cfunc_29 = NULL;
static void  __stdcall MiddleOne_29(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_29, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_29, int ,x1);
    setArg(2, EiC_Cfunc_29, int ,x2);
    setArg(3, EiC_Cfunc_29, int ,x3);

    EiC_callBack(EiC_Cfunc_29);
}

static void * EiC_Cfunc_30 = NULL;
static void  __stdcall MiddleOne_30(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_30, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_30, int ,x1);
    setArg(2, EiC_Cfunc_30, int ,x2);
    setArg(3, EiC_Cfunc_30, int ,x3);

    EiC_callBack(EiC_Cfunc_30);
}

static void * EiC_Cfunc_31 = NULL;
static void  __stdcall MiddleOne_31(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_31, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_31, int ,x1);
    setArg(2, EiC_Cfunc_31, int ,x2);
    setArg(3, EiC_Cfunc_31, int ,x3);

    EiC_callBack(EiC_Cfunc_31);
}

static void * EiC_Cfunc_32 = NULL;
static void  __stdcall MiddleOne_32(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_32, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_32, int ,x1);
    setArg(2, EiC_Cfunc_32, int ,x2);
    setArg(3, EiC_Cfunc_32, int ,x3);

    EiC_callBack(EiC_Cfunc_32);
}

static void * EiC_Cfunc_33 = NULL;
static void  __stdcall MiddleOne_33(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_33, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_33, int ,x1);
    setArg(2, EiC_Cfunc_33, int ,x2);
    setArg(3, EiC_Cfunc_33, int ,x3);

    EiC_callBack(EiC_Cfunc_33);
}

static void * EiC_Cfunc_34 = NULL;
static void __stdcall __stdcall MiddleOne_34(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_34, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_34, int ,x1);
    setArg(2, EiC_Cfunc_34, int ,x2);
    setArg(3, EiC_Cfunc_34, int ,x3);

    EiC_callBack(EiC_Cfunc_34);
}

static void * EiC_Cfunc_35 = NULL;
static void  __stdcall MiddleOne_35(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_35, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_35, int ,x1);
    setArg(2, EiC_Cfunc_35, int ,x2);
    setArg(3, EiC_Cfunc_35, int ,x3);

    EiC_callBack(EiC_Cfunc_35);
}

static void * EiC_Cfunc_36 = NULL;
static void  __stdcall MiddleOne_36(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_36, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_36, int ,x1);
    setArg(2, EiC_Cfunc_36, int ,x2);
    setArg(3, EiC_Cfunc_36, int ,x3);

    EiC_callBack(EiC_Cfunc_36);
}

static void * EiC_Cfunc_37 = NULL;
static void  __stdcall MiddleOne_37(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_37, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_37, int ,x1);
    setArg(2, EiC_Cfunc_37, int ,x2);
    setArg(3, EiC_Cfunc_37, int ,x3);

    EiC_callBack(EiC_Cfunc_37);
}

static void * EiC_Cfunc_38 = NULL;
static void  __stdcall MiddleOne_38(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_38, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_38, int ,x1);
    setArg(2, EiC_Cfunc_38, int ,x2);
    setArg(3, EiC_Cfunc_38, int ,x3);

    EiC_callBack(EiC_Cfunc_38);
}

static void * EiC_Cfunc_39 = NULL;
static void  __stdcall MiddleOne_39(const IplImage *x0,  int x1, int x2, int x3 )
{
    setArg(0, EiC_Cfunc_39, const IplImage * ,x0);
    setArg(1, EiC_Cfunc_39, int ,x1);
    setArg(2, EiC_Cfunc_39, int ,x2);
    setArg(3, EiC_Cfunc_39, int ,x3);

    EiC_callBack(EiC_Cfunc_39);
}

static val_t eic_iplSetTileInfo(void)
{
	val_t v;
	static int nb = 0;

	switch(nb)
	{
	case 0 :
	EiC_Cfunc_20 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_20,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 1 :
	EiC_Cfunc_21 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_21,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 2 :
	EiC_Cfunc_22 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_22,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 3 :
	EiC_Cfunc_23 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_23,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 4 :
	EiC_Cfunc_24 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_24,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 5 :
	EiC_Cfunc_25 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_25,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 6 :
	EiC_Cfunc_26 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_26,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 7 :
	EiC_Cfunc_27 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_27,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 8 :
	EiC_Cfunc_28 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_28,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 9 :
	EiC_Cfunc_29 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_29,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 10 :
	EiC_Cfunc_30 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_30,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 11 :
	EiC_Cfunc_31 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_31,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 12 :
	EiC_Cfunc_32 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_32,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 13 :
	EiC_Cfunc_33 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_33,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 14 :
	EiC_Cfunc_34 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_34,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 15 :
	EiC_Cfunc_35 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_35,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 16 :
	EiC_Cfunc_36 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_36,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 17 :
	EiC_Cfunc_37 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_37,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 18 :
	EiC_Cfunc_38 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_38,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	case 19 :
	EiC_Cfunc_39 = arg(1,getargs(),ptr_t).p;
	iplSetTileInfo(arg(0,getargs(),ptr_t).p,
		MiddleOne_39,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));
	break;
	}
	++nb;
	nb %= 20;

	return v;
}

static val_t eic_iplOr(void)
{
	val_t v;

	iplOr(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplConvolveSep2D(void)
{
	val_t v;

	iplConvolveSep2D(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplWarpPerspective(void)
{
	val_t v;

	iplWarpPerspective(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),int),
		arg(4,getargs(),int));

	return v;
}

static val_t eic_iplConvertToDIB(void)
{
	val_t v;

	iplConvertToDIB(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),int),
		arg(3,getargs(),int));

	return v;
}

static val_t eic_iplXYZ2RGB(void)
{
	val_t v;

	iplXYZ2RGB(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplCreateImageJaehne(void)
{
	val_t v;

	v.p.ep = v.p.sp = v.p.p = iplCreateImageJaehne(arg(0,getargs(),int),
		arg(1,getargs(),int),
		arg(2,getargs(),int));

	return v;
}

static val_t eic_iplYCC2RGB(void)
{
	val_t v;

	iplYCC2RGB(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplSetROI(void)
{
	val_t v;

	iplSetROI(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),int),
		arg(2,getargs(),int),
		arg(3,getargs(),int),
		arg(4,getargs(),int),
		arg(5,getargs(),int));

	return v;
}

static val_t eic_iplGreater(void)
{
	val_t v;

	v.ival = iplGreater(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplCreateConvKernel(void)
{
	val_t v;

	v.p.ep = v.p.sp = v.p.p = iplCreateConvKernel(arg(0,getargs(),int),
		arg(1,getargs(),int),
		arg(2,getargs(),int),
		arg(3,getargs(),int),
		arg(4,getargs(),ptr_t).p,
		arg(5,getargs(),int));

	return v;
}

static val_t eic_iplEqualSFP(void)
{
	val_t v;

	v.ival = iplEqualSFP(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),float),
		arg(2,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplLess(void)
{
	val_t v;

	v.ival = iplLess(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplColorToGray(void)
{
	val_t v;

	iplColorToGray(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplCcsFft2D(void)
{
	val_t v;

	iplCcsFft2D(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),int));

	return v;
}

static val_t eic_iplXorS(void)
{
	val_t v;

	iplXorS(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),unsigned));

	return v;
}

static val_t eic_iplCentralMoment(void)
{
	val_t v;

	v.dval = iplCentralMoment(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),int),
		arg(2,getargs(),int));

	return v;
}

static val_t eic_iplRemap(void)
{
	val_t v;

	iplRemap(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),ptr_t).p,
		arg(4,getargs(),int));

	return v;
}

static val_t eic_iplErode(void)
{
	val_t v;

	iplErode(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),int));

	return v;
}

static val_t eic_iplEqualSFPEps(void)
{
	val_t v;

	v.ival = iplEqualSFPEps(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),float),
		arg(2,getargs(),ptr_t).p,
		arg(3,getargs(),float));

	return v;
}

static val_t eic_iplGetPixel(void)
{
	val_t v;

	iplGetPixel(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),int),
		arg(2,getargs(),int),
		arg(3,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplGetBilinearTransform(void)
{
	val_t v;

	iplGetBilinearTransform(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplSetColorTwist(void)
{
	val_t v;

	iplSetColorTwist(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p,
		arg(2,getargs(),int));

	return v;
}

static val_t eic_iplTranslateDIB(void)
{
	val_t v;

	v.p.ep = v.p.sp = v.p.p = iplTranslateDIB(arg(0,getargs(),ptr_t).p,
		arg(1,getargs(),ptr_t).p);

	return v;
}

static val_t eic_iplDeleteTileInfo(void)
{
	val_t v;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -