FVS Fingerprint Verification System API Documentation

image.h

Go to the documentation of this file.
00001 /*########################################################################
00002 
00003   The contents of this file are subject to the Mozilla Public License
00004   Version 1.0(the "License");   You  may  NOT  use this file except in
00005   compliance with the License. You may obtain a copy of the License at
00006                 http:// www.mozilla.org/MPL/
00007   Software distributed under the License is distributed on an "AS IS"
00008   basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00009   the License for the specific language governing rights and limitations
00010   under the License.
00011 
00012   The Initial Developer of the Original Code is Shivang Patel.
00013 
00014   Copyright(C) 2002-2003. All Rights Reserved.
00015 
00016   Authors: Shivang Patel
00017            Jaap de Haan(jdh)
00018   
00019 ########################################################################*/
00020 
00021 #if !defined FVS__IMAGE_HEADER__INCLUDED__
00022 #define FVS__IMAGE_HEADER__INCLUDED__
00023 
00024 /* basic type definitions */
00025 #include "fvstypes.h"
00026 
00027 
00033 typedef /*@mutable@*/ FvsHandle_t FvsImage_t;
00034 
00035 
00044 typedef enum
00045 {
00046     FvsImageGray      = 0, 
00047     FvsImageBinarized = 1, 
00048     FvsImageThinned   = 2, 
00049 } FvsImageFlag_t;
00050 
00051 
00056 /*@only@*/ /*@null@*/ FvsImage_t ImageCreate(void);
00057 
00058 
00064 void ImageDestroy(/*@only@*/ /*@out@*/ /*@null@*/ FvsImage_t image);
00065 
00066 
00076 FvsError_t ImageSetSize(FvsImage_t image, const FvsInt_t width, const FvsInt_t height);
00077 
00078 
00085 FvsError_t ImageSetFlag(FvsImage_t image, const FvsImageFlag_t flag);
00086 
00087 
00093 FvsImageFlag_t ImageGetFlag(const FvsImage_t image);
00094 
00095 
00103 FvsError_t ImageCopy(FvsImage_t destination, const FvsImage_t source);
00104 
00105 
00112 FvsError_t ImageClear(FvsImage_t image);
00113 
00114 
00121 FvsError_t ImageFlood(FvsImage_t image, const FvsByte_t value);
00122 
00123 
00132 void ImageSetPixel(FvsImage_t image, const FvsInt_t x, const FvsInt_t y, const FvsByte_t val);
00133 
00134 
00142 FvsByte_t ImageGetPixel(const FvsImage_t image, const FvsInt_t x, const FvsInt_t y);
00143 
00144 
00150 /*@exposed@*/ /*@null@*/ FvsByte_t* ImageGetBuffer(FvsImage_t image);
00151 
00152 
00158 FvsInt_t ImageGetWidth(const FvsImage_t image);
00159 
00160 
00166 FvsInt_t ImageGetHeight(const FvsImage_t image);
00167 
00168 
00176 FvsInt_t ImageGetPitch(const FvsImage_t image);
00177 
00178 
00184 FvsInt_t ImageGetSize(const FvsImage_t image);
00185 
00192 FvsBool_t ImageCompareSize(const FvsImage_t image1, const FvsImage_t image2);
00193 
00194 
00195 #endif /* FVS__IMAGE_HEADER__INCLUDED__ */
00196 

Generated on Sat May 31 20:07:30 2003 for FVS Fingerprint Verification System by doxygen 1.3-rc3 Jaap de Haan (BinaryMan)