??? Maximum recursion limit of 500 reached & decodeCompression

10 views
Skip to first unread message

kris

unread,
Sep 6, 2010, 3:54:00 AM9/6/10
to MATLAB Pool
Hi,
I am a new user of Matlab and have a problem,
The message I have received is:

??? Maximum recursion limit of 500 reached. Use
set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack
space can
crash MATLAB and/or your computer.

Error in ==> imagesci\private\imbmpinfo>decodeCompression at 245
[info.CompressionType, msg] =
decodeCompression(info.CompressionType, ...

My program file is:

function [right_x,right_y,left_x,left_y]=irisfinder(imagename)
F=imread('001_1_1.bmp');
%find pupil center and radius
[cx,cy,rx,ry]=pupilfinder('001_1_1.bmp');
% Apply linear contrast filter
D=double(F);
G=uint8(D*1.4-20);
%obtain the horizontal line that passes through the iris center
l=G(cy,:);
margin = 10;
% Right side of the pupil
R=l(cx+rx+margin:size(l,2));
[right_x,avgs]=findirisedge(R);
right_x=cx+rx+margin+right_x;
right_y=cy;
% Left side of the pupil
L=l(1:cx-rx-margin);
L=fliplr(L);
[left_x,avgs]=findirisedge(L);
left_x=cx-rx-margin-left_x;
left_y=cy;

Please Help Me & Thanks to your help,

kris

unread,
Sep 6, 2010, 3:57:05 AM9/6/10
to MATLAB Pool

kris edho

unread,
Sep 8, 2010, 3:02:45 AM9/8/10
to matla...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages