Click here to Skip to main content
15,889,795 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all

Any one hav idea how to locate core point(center )of finger print image.


I have applied pioncare index method to find the core point but the output is not correct.
it does no locate rite location of core point.


Please Help
Posted
Updated 23-Oct-13 3:50am
v2
Comments
joshrduncan2012 23-Oct-13 10:16am    
Help you with what? You haven't shown us any effort on your part as far as what you have tried so far. Please improve question and add what you have attempted.
Member 10348471 24-Oct-13 2:33am    
ok i m uploding my part of code it debug prfectly no error but output is not corect means it dose not locate rit location of core point.


for(int x = 0; x+pBl_Sz <=(&pioncare)->height ; x=x+pBl_Sz)
{
for(int y = 0; y+pBl_Sz <=(&pioncare)->width; y=y+pBl_Sz)
{
//fprintf(fb,"\n\nFor Block %d\n\n",++count);
cvSetImageROI(&pioncare,cvRect(y,x,pBl_Sz,pBl_Sz));
cv::Mat L(&pioncare);

for(int j=1; j<l.rows-1;j>(j,i-1))-(L.at<float>(j-1,i-1)));
{
if (abs(s0)<90)
d0=s0;
else if (s0<-90)
d0=s0+180;
else if (s0>90)
d0=180-s0;
}
float s1 = ((L.at<float>(j+1,i-1))-(L.at<float>(j,i-1)));
{
if (abs(s1)<90)
d1=s1;
else if (s1<-90)
d1=s1+180;
else if (s1>90)
d1=180-s1;
}
float s2 = ((L.at<float>(j+1,i))-(L.at<float>(j+1,i-1)));
{
if (abs(s2)<90)
d2=s2;
else if (s2<-90)
d2=s2+180;
else if (s2>90)
d2=180-s2;
}
float s3 = ((L.at<float>(j+1,i+1))-((L.at<float>(j+1,i))));
{
if (abs(s3)<90)
d3=s3;
else if (s3<-90)
d3=s3+180;
else if (s3>90)
d3=180-s3;
}
float s4 = ((L.at<float>(j,i+1))-(L.at<float>(j+1,i+1)));
{
if (abs(s4)<90)
d4=s4;
else if (s4<-90)
d4=s4+180;
else if (s4>90)
d4=180-s4;
}
float s5 = ((L.at<float>(j-1,i+1))-(L.at<float>(j,i+1)));
{
if (abs(s5)<90)
d5=s5;
else if (s5<-90)
d5=s5+180;
else if (s5>90)
d5=180-s5;
}
float s6 = ((L.at<float>(j-1,i))-((L.at<float>(j-1,i+1))));
{
if (abs(s6)<90)
d6=s6;
else if (s6<-90)
d6=s6+180;
else if (s6>90)
d6=180-s6;
}
float s7 = ((L.at<float>(j-1,i-1))-((L.at<float>(j-1,i))));
{
if (abs(s7)<90)
d7=s7;
else if (s7<-90)
d7=s7+180;
else if (s7>90)
d7=180-s7;
}
p=((d0+d1+d2+d3+d4+d5+d6+d7)/360);

}
}

if (p<0.45||p>0.51)
{
}
else
{
s.val[0]= 255;
cvSet2D(coreImage,(x+1),(y+1),s);
fprintf(fb,"\n %d %d \n",x+1,y+1);

}
cvResetImageROI(&pioncare);
}
fprintf(fb,"\n");
}
thatraja 25-Oct-13 9:17am    
Include those details in your question. And format the code using code-block
Member 10348471 26-Oct-13 0:37am    
but why will u plz tel my error???
and which details....
plz help me sir its my MS Thesis project.... :-(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900