指纹识别C++

上传者: lrf008 | 上传时间: 2019-12-21 20:13:20 | 文件大小: 42KB | 文件类型: rar
花了10块钱买的,希望对大家有帮助。/*############################################################################# * 文件名:file.c * 功能: 实现了指纹相关文件的操作 * modified by PRTsinghua@hotmail.com #############################################################################*/ #include #include #include #include "file.h" /* 对象的这些接口实现是私有的,不必为用户所知 */ typedef struct iFvsFile_t { FILE *pf; /* 文件指针 */ } iFvsFile_t; /****************************************************************************** * 功能:创建一个新的文件对象,只有在创建之后,文件对象才能为其它函数所用。 * 参数:无 * 返回:若创建失败,返回NULL;否则返回新的对象句柄。 ******************************************************************************/ FvsFile_t FileCreate() { iFvsFile_t* p = NULL; p = (iFvsFile_t*)malloc(sizeof(iFvsFile_t)); if (p!=NULL) p->pf = NULL; return (FvsFile_t)p; } /****************************************************************************** * 功能:破坏一个已经存在的文件对象,在毁坏之后,文件对象不能再为其它函数所用。 * 参数:file 即将删除的文件对象指针 * 返回:无返回值 ******************************************************************************/ void FileDestroy(FvsFile_t file) { iFvsFile_t* p = NULL; if (file==NULL) return; /* 关闭文件,如果它还打开着 */ (void)FileClose(file); p = file; free(p); } /****************************************************************************** * 功能:打开一个新的文件。一个文件可以读打开,写打开,或者被创建。 * 参数:file 文件对象 * name 待打开文件的名字 * flags 打开标志 * 返回:错误编号 ******************************************************************************/ FvsError_t FileOpen(FvsFile_t file, const FvsString_t name, const FvsFileOptions_t flags) { iFvsFile_t* p = (iFvsFile_t*)file; char strFlags[10]; int nflags = (int)flags; /* 关闭文件,如果已经打开 */ (void)FileClose(p); strcpy(strFlags, ""); if ( (nflags & FvsFileRead)!=0 && (nflags & FvsFileWrite)!=0 ) strcat(strFlags, "rw"); else { if ((nflags & FvsFileRead)!=0) strcat(strFlags, "r"); if ((nflags & FvsFileWrite)!=0) strcat(strFlags, "w"); } strcat(strFlags, "b"); if ((nfl

文件下载

资源详情

[{"title":"( 33 个子文件 42KB ) 指纹识别C++","children":[{"title":"zwsb","children":[{"title":"demo","children":[{"title":"fvs_mask.c <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"fvs_createtestimages.c <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"fvs_enhancer.c <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"fvs_minutia.c <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"fvs_direction.c <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"fvs_thinner.c <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"fvs_binarize.c <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"includes","children":[{"title":"matching.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"file.h <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false},{"title":"floatfield.h <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"minutia.h <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"import.h <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"img_base.h <span style='color:#111;'> 4.51KB </span>","children":null,"spread":false},{"title":"histogram.h <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"fvs.h <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"fvstypes.h <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"image.h <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"imagemanip.h <span style='color:#111;'> 5.03KB </span>","children":null,"spread":false},{"title":"export.h <span style='color:#111;'> 817B </span>","children":null,"spread":false}],"spread":false},{"title":"source","children":[{"title":"version.c <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"minutia.c <span style='color:#111;'> 10.16KB </span>","children":null,"spread":false},{"title":"imagemanip.c <span style='color:#111;'> 25.21KB </span>","children":null,"spread":false},{"title":"export.c <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"img_morphology.c <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"img_enhance.c <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"image.c <span style='color:#111;'> 8.70KB </span>","children":null,"spread":false},{"title":"matching.c <span style='color:#111;'> 9.74KB </span>","children":null,"spread":false},{"title":"floatfield.c <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false},{"title":"img_base.c <span style='color:#111;'> 10.89KB </span>","children":null,"spread":false},{"title":"img_thin.c <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"histogram.c <span style='color:#111;'> 4.61KB </span>","children":null,"spread":false},{"title":"file.c <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"import.c <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 黄金右月却 :
    什么鬼文件都上传
    2019-08-05

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明