资源简介

本程序是基于matlab的指纹识别程序。

资源截图

代码片段和文件信息

/*#############################################################################
 * 文件名:fvs_binarize.c
 * 功能:  指纹图像二值化
 * modified by  PRTsinghua@hotmail.com
#############################################################################*/


#include “fvs.h“


int main(int argc char *argv[])
{
    FvsImage_t image;
    FvsImage_t mask;
    FvsFloatField_t direction;
    FvsFloatField_t frequency;

    if (argc!=3)
    {
        printf(“Usage: fvs input.bmp output.bmp\n“);
        return -1;
    }

    mask      = ImageCreate();
    image     = ImageCreate();
    direction = FloatFieldCreate();
    frequency = FloatFieldCreate();

    if (mask!=NULL && image!=NULL && direction!=NULL && frequency!=NULL)
    {
        (void)FvsImageImport(image argv[1]);
(void)ImageSoftenMean(image 3);

        fprintf(stdout “1/5 Determining the ridge direction\n“);
        (void)FingerprintGetDirection(image direction 5 8);

        fprintf(stdout “2/5 Determining the ridge frequency\n“);
        (void)FingerprintGetFrequency(image direction frequency);

        fprintf(stdout “3/5 Creating the mask\n“);
        (void)FingerprintGetMask(image direction frequency mask);

        fprintf(stdout “4/5 Enhancing the fingerprint image\n“);
        (void)ImageEnhanceGabor(image direction frequency mask 4.0);

        fprintf(stdout “5/5 Binarize\n“);
        (void)ImageBinarize(image (FvsByte_t)0x80);

        (void)FvsImageExport(image argv[2]);
    }
    fprintf(stdout “Cleaning up and exiting...\n“);
    ImageDestroy(image);
    ImageDestroy(mask);
    FloatFieldDestroy(direction);
    FloatFieldDestroy(frequency);

    return 0;
}



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1675  2004-03-05 03:32  指纹识别\指纹识别\FVS - Fingerprint Verification System\demos\fvs_binarize.c

     文件       2640  2004-03-08 01:53  指纹识别\指纹识别\FVS - Fingerprint Verification System\demos\fvs_createtestimages.c

     文件       2198  2004-03-08 01:54  指纹识别\指纹识别\FVS - Fingerprint Verification System\demos\fvs_direction.c

     文件       1787  2004-03-08 01:52  指纹识别\指纹识别\FVS - Fingerprint Verification System\demos\fvs_enhancer.c

     文件       1434  2004-03-08 01:52  指纹识别\指纹识别\FVS - Fingerprint Verification System\demos\fvs_mask.c

     文件       2136  2004-03-08 01:53  指纹识别\指纹识别\FVS - Fingerprint Verification System\demos\fvs_minutia.c

     文件       1753  2004-03-08 01:53  指纹识别\指纹识别\FVS - Fingerprint Verification System\demos\fvs_thinner.c

     文件        817  2004-03-04 03:12  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\export.h

     文件       5709  2004-03-05 00:07  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\file.h

     文件       4754  2004-03-07 23:25  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\floatfield.h

     文件       1216  2004-03-04 14:31  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\fvs.h

     文件       2133  2004-03-04 17:16  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\fvstypes.h

     文件       2446  2004-03-07 23:28  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\histogram.h

     文件       6010  2004-03-07 23:32  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\image.h

     文件       5149  2004-03-05 00:59  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\imagemanip.h

     文件       4614  2004-03-05 02:14  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\img_base.h

     文件        753  2004-03-07 04:29  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\import.h

     文件       1421  2004-03-04 20:19  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\matching.h

     文件       4665  2004-03-05 03:25  指纹识别\指纹识别\FVS - Fingerprint Verification System\include\minutia.h

     文件       1486  2004-07-07 08:50  指纹识别\指纹识别\FVS - Fingerprint Verification System\readme.txt

     文件       3363  2004-03-05 00:05  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\export.c

     文件       7705  2004-03-05 00:21  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\file.c

     文件       7181  2004-03-05 00:31  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\floatfield.c

     文件       4716  2004-03-08 01:16  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\histogram.c

     文件       8908  2004-03-08 01:16  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\image.c

     文件      25818  2004-03-05 02:09  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\imagemanip.c

     文件      11155  2004-03-05 02:18  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\img_base.c

     文件       5443  2004-03-08 01:27  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\img_enhance.c

     文件       2141  2004-03-05 02:43  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\img_morphology.c

     文件       6092  2004-03-08 01:36  指纹识别\指纹识别\FVS - Fingerprint Verification System\src\img_thin.c

............此处省略30个文件信息

评论

共有 条评论