Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[fingerprint] a problem using hong_enhancement_7_31_2005

Status
Not open for further replies.

t43

Newbie level 4
Newbie level 4
Joined
Feb 26, 2007
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,319
compute_coherence(d)

Hi,

I'm using "hong_enhancement_7_31_2005", which implements Hong et al.'s enhancement scheme based on Gabor Filtering by sharat.

However, each time i call the hong_enhancement function, there displays many warnings.

>> hong_enhancement (img);
Warning: Divide by zero.
> In otsu_threshold at 30
In segment_print at 28
In hong_enhancement at 27
Error in ==> inline.feval at 8
INLINE_OBJ_ = varargin{1};

Error in ==> blkproc at 100
firstBlock = feval(fun,x,params{:});

Error in ==> hong_enhancement>blk_orientation_image at 93
gblk = blkproc(g.^2,[N N],inline('sum(sum(x))'));

Error in ==> hong_enhancement at 38
oimg = blk_orientation_image(img,N);

Can anybody kindly help me to solve the problem?

Thanks & Regards,

Tony
 

fft_enhance_cubs.m

for someone to help you you needd to provide more info:
The matlab source code;
The image you're calling with the m file;
The general algoritham (not needed for debuging);
Your Matlab version;
;)

Added after 54 seconds:

by matlab source code I mean the content of the m file hong_enhancement
 

blk_orientation_image

III said:
for someone to help you you needd to provide more info:
The matlab source code;
The image you're calling with the m file;
The general algoritham (not needed for debuging);
Your Matlab version;
;)

Added after 54 seconds:

by matlab source code I mean the content of the m file hong_enhancement

Thanks,III.

I'm using MATLAB 7.01 SP1.

The general alorithm should be to implmenti "Fingerprint Image Enhancement: Algorithm and Performance Evaluation" (Lin Hong, 1998).

The source code can downloaded from vijaytanjore's post a few threads below.

the list of source files:
Code:
2005-06-30  00:41           166,272 1_1.tif
2005-06-30  00:41           166,272 1_2.tif
2005-07-09  15:26            98,488 angular_filters_pi_2.mat
2005-07-09  15:26            98,488 angular_filters_pi_4.mat
2005-06-30  00:41             2,774 angular_filter_bank.m
2005-07-15  22:23               414 complex_gradient.m
2005-07-17  20:19             1,115 compute_coherence.m
2005-07-31  00:53             1,019 compute_region_mask.m
2005-07-17  20:21             1,070 compute_region_mask.m.bak
2005-07-31  00:53            11,678 fft_enhance_cubs.m
2005-07-17  20:28            11,175 fft_enhance_cubs.m.bak
2005-07-16  16:27               574 gabor_kernel.m
2007-02-27  14:19            10,826 hong_enhancement.asv
2007-02-27  14:36            10,838 hong_enhancement.m
2005-07-17  20:29            10,509 hong_enhancement.m.bak
2005-07-17  20:29               278 imscale.m
2007-02-28  13:13                 0 list.txt
2007-02-27  02:12             2,429 normalise.m
2005-06-30  00:41             2,394 orientation_image_rao.m
2005-06-30  00:41             1,026 otsu_threshold.m
2005-07-09  17:48               841 pad_image.m
2005-07-17  20:30             2,625 pseudo_matched_filter.m
2005-01-31  12:45           131,256 radial_filters.mat
2005-07-17  20:31             2,143 radial_filter_bank.m
2007-02-27  14:19             2,524 segment_print.asv
2005-07-31  00:54             2,523 segment_print.m
2005-07-17  20:33             2,522 segment_print.m.bak
2005-07-17  20:33             2,954 smoothen_frequency_image.m
2005-07-17  20:33             1,097 smoothen_orientation_image.m
2005-07-17  20:34               844 view_orientation_image.m

The image I'm calling is right the sample image including n the source package. This package should work well, however I can't manage to execute it. I'm a newbie to fingerprint recognition. Anybody kindly help me to configure it?

thanks.
 
segment_print.m

Well I know matlab and noting about fingerprint recognition :(
but from your previous post I'd recommended you look at this m file:
blk_orientation_image.m

Added after 9 minutes:

and see what kind of input parameters it takes.
check your images do they contain a color map? What kind of format are they in: logical, double, uint8 etc.
I believe that the bug is in the images
 

    t43

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top