Minutiae Extraction

General information about Neurotechnology and its software

Minutiae Extraction

Postby laxmimenaria » Jan 11, 2018 09:53

Hello,
I"m currently using VeriFinger Standard SDK trial version.
how to use verifinger sdk component for feature extraction in matlab directly?
Last edited by laxmimenaria on Jan 12, 2018 09:02, edited 1 time in total.
laxmimenaria
 
Posts: 3
Joined: Jan 11, 2018 07:00

Re: Minutiae Exxtraction

Postby MartynasV » Jan 11, 2018 15:07

Hello laxmimenaria,

You can load and use C/C++ libraries in Matlab, read their documentation on how to do that: https://se.mathworks.com/help/matlab/re ... n_loc_drop.
How to extract fingerprint template from image in C you can check our tutorial: "SDK\Tutorials\Biometrics\C\EnrollFingerFromImage" .
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Minutiae Exxtraction

Postby laxmimenaria » Jan 12, 2018 09:01

MartynasV wrote:Hello laxmimenaria,

You can load and use C/C++ libraries in Matlab, read their documentation on how to do that: https://se.mathworks.com/help/matlab/re ... n_loc_drop.
How to extract fingerprint template from image in C you can check our tutorial: "SDK\Tutorials\Biometrics\C\EnrollFingerFromImage" .

Thank you,

I tried the sample application for feature extraction, but it is not showing the minutiae feature (x,y coordinates and orientation).Is it possible to add the code for displaying x,y coordinates and angle on the console?
laxmimenaria
 
Posts: 3
Joined: Jan 11, 2018 07:00

Re: Minutiae Exxtraction

Postby MartynasV » Jan 12, 2018 10:19

laxmimenaria wrote:
MartynasV wrote:Hello laxmimenaria,

You can load and use C/C++ libraries in Matlab, read their documentation on how to do that: https://se.mathworks.com/help/matlab/re ... n_loc_drop.
How to extract fingerprint template from image in C you can check our tutorial: "SDK\Tutorials\Biometrics\C\EnrollFingerFromImage" .

Thank you,

I tried the sample application for feature extraction, but it is not showing the minutiae feature (x,y coordinates and orientation).Is it possible to add the code for displaying x,y coordinates and angle on the console?

Hello laxmimenaria,

Yes, just add following code for printing out single minutia information:
Code: Select all
   if (biometricStatus == nbsOk)
   {
      printf(N_T("%s template extracted\n"), standard == bsIso ? N_T("ISO") : standard == bsAnsi ? N_T("ANSI") : N_T("Proprietary"));

      {
         HNTemplate hNTemplate = NULL;
         HNFTemplate hNFTemplate = NULL;
         HNFRecord hNFRecord = NULL;
         NFMinutia nFMinutia = {NULL};

         result = NSubjectGetTemplate(hSubject, &hNTemplate);
         result = NTemplateGetFingersEx(hNTemplate, &hNFTemplate);
         result = NFTemplateGetRecordEx(hNFTemplate, 0, &hNFRecord);
         result = NFRecordGetMinutia(hNFRecord, 0, &nFMinutia);
         printf(N_T("X: %u Y: %u Angle: %d"), nFMinutia.X, nFMinutia.Y, nFMinutia.Angle);
      }
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Minutiae Extraction

Postby laxmimenaria » Jan 12, 2018 14:32

I tried the feature extraction using c language but it give reference errors. Can you please provide the whole code for feature extraction and displaying the information about the minutiae points (including all required header files)?
laxmimenaria
 
Posts: 3
Joined: Jan 11, 2018 07:00

Re: Minutiae Extraction

Postby MartynasV » Jan 15, 2018 14:04

laxmimenaria wrote:I tried the feature extraction using c language but it give reference errors. Can you please provide the whole code for feature extraction and displaying the information about the minutiae points (including all required header files)?

Hello laxmimenaria,

Use "SDK\Tutorials\Biometrics\C\EnrollFingerFromImage" and add that snippet code after following lines(you should have no errors):
Code: Select all
   if (biometricStatus == nbsOk)
   {
      printf(N_T("%s template extracted\n"), standard == bsIso ? N_T("ISO") : standard == bsAnsi ? N_T("ANSI") : N_T("Proprietary"));
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Minutiae Extraction and matching for FVC datasets

Postby ram288 » Jan 23, 2018 09:11

Hello,


I want to use verifinger for fingerprint verification (minutiae extraction and matching) as per FVC protocol in matlab.
Can you please tell me how to do that in matlab ?
ram288
 
Posts: 2
Joined: Jan 23, 2018 09:02

Re: Minutiae Extraction and matching for FVC datasets

Postby MartynasV » Jan 23, 2018 14:18

ram288 wrote:Hello,


I want to use verifinger for fingerprint verification (minutiae extraction and matching) as per FVC protocol in matlab.
Can you please tell me how to do that in matlab ?

Hello ram288,

How to extract fingerprint template from image in C you can check our tutorial: "SDK\Tutorials\Biometrics\C\EnrollFingerFromImage" .
For verification(1:1 matching) use following tutorials: "SDK\Tutorials\Biometrics\C\Verify"(verify templates), "SDK\Tutorials\Biometrics\C\VerifyFinger"(extract templates from fingerprint images and then performs matching).
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

How to get minucia of finger?

Postby jjarrieta » Jun 07, 2018 15:44

How to get minucia of finger? Neurotec_Biometric_10_0_SDK_2018-05-30
jjarrieta
 
Posts: 1
Joined: Jun 05, 2018 20:51

Re: Minutiae Extraction

Postby Ei Ei Mon » Jun 08, 2018 05:40

Hello,
I am currently using VeriFinger Standard SDK trial version.
Can you please provide the whole code for feature extraction(including all required header files) to display information about the minutiae points (x,y coordinates,orientation, type)?
How to save the fingerprint template as text file(, y, orientation,type)?
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby MartynasV » Jun 11, 2018 09:01

Ei Ei Mon wrote:Hello,
I am currently using VeriFinger Standard SDK trial version.
Can you please provide the whole code for feature extraction(including all required header files) to display information about the minutiae points (x,y coordinates,orientation, type)?
How to save the fingerprint template as text file(, y, orientation,type)?

Hello Ei Ei Mon,

See "SDK\Tutorials\Biometrics\C\EnrollFingerFromImage" tutorial, then make changes mentioned in this thread.
There is no method to save template as text file, so you will have to write it yourself(how to get various data from template is already shown in this thread).
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Minutiae Extraction

Postby Ei Ei Mon » Aug 15, 2018 03:37

Dear Sir/Madam,

I run the EnrollFingerFromImage.c (Tutoials/Biometrics/C/EnrollFingerFromImage.c) on Dev C++.
However I got an error : [Error] TutorialUtils.h:No such file for directory compilation terminated.
I put the TurotialUtils.h (Tutorials/Common/C/TutoralUtils.h) under the project.
Please kindly give me any solution(suggestions) how I will do.
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby Martynas » Aug 17, 2018 09:51

Hello,

we do not use Dev C++ as development environment in our company. So it is hard for us to say out of the box, what could be wrong in your case. Please write a detailed description of the issue (including full error messages; screenshots) to support@neurotechnology.com and we will check what could be wrong.
Best regards,

Martynas
Software Consultant
Neurotechnology
Martynas
Neurotechnology
 
Posts: 2253
Joined: Sep 19, 2008 10:02
Location: Vilnius, Lithuania

Re: Minutiae Extraction

Postby Ei Ei Mon » Aug 06, 2019 08:26

How to save the fingerprint image with minutiae information?
I would like to save the fingerprint image which include only ridge ending and bifurcation point.
I have check DrawMinutiaeonImage.vb in tutorial.
I found that it saved as bitmap image.
But I would like to save the image into a specific file(directory).
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby MartynasV » Aug 06, 2019 14:14

Ei Ei Mon wrote:How to save the fingerprint image with minutiae information?
I would like to save the fingerprint image which include only ridge ending and bifurcation point.
I have check DrawMinutiaeonImage.vb in tutorial.
I found that it saved as bitmap image.
But I would like to save the image into a specific file(directory).

Hello,

I would like to save the fingerprint image which include only ridge ending and bifurcation point.

Remove other data from template and only then do drawing part.

But I would like to save the image into a specific file(directory)

tempBitmap.Save(args[1]); // And you provide the path to where save it.
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Minutiae Extraction

Postby Ei Ei Mon » Aug 11, 2019 07:27

"Remove other data from template and only then do drawing part."

How to remove the other data?


I would like save the skeleton image with minutiae information.
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby MartynasV » Aug 13, 2019 12:21

Ei Ei Mon wrote:"Remove other data from template and only then do drawing part."

How to remove the other data?


I would like save the skeleton image with minutiae information.

Hello,

E.g. template.Fingers.Records[0].Cores.RemoveAt(index);
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Minutiae Extraction

Postby Ei Ei Mon » Aug 28, 2019 07:50

Can I extract the singular point information?
How to extract it?
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby MartynasV » Aug 29, 2019 10:35

Ei Ei Mon wrote:Can I extract the singular point information?
How to extract it?

Hello Ei Ei Mon,

Since 11.0 SDK version you don’t get Cores and similar features with extraction anymore. To retreive them you need to use NFingerExaminer class (call method FindSingularPoints()):
E.g.
Code: Select all
                                                                                var examiner = new NFingerExaminer();
                                                                                examiner.InitializeFromOriginalImage(biometricClient, NImage.FromFile(@"finger.png"));
                                                                                var template = new NTemplate(File.ReadAllBytes(@"finger.dat"));
                                                                                examiner.FindSingularPoints(template.Fingers.Records[0]);
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: Minutiae Extraction

Postby Ei Ei Mon » Sep 04, 2019 06:08

I use VeriFinger SDK 10.0 . So, how can I get the singular point information and view the image by using this version.
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby Ei Ei Mon » Sep 04, 2019 08:54

To get the information of core and delta,
I write the following script into the EnrollFingerFromImageVB.

For Each record As NFRecord In records


Console.WriteLine(String.Format("{0,5} {1,5} {2,10} {3,15}", "X", "Y", "Angle", "Type"))

Dim minutiae() As NFMinutia = record.Minutiae.ToArray()

For Each minutia As NFMinutia In minutiae

Console.WriteLine(String.Format("{0,5} {1,5} {2,10} {3,15}", minutia.X, minutia.Y, minutia.Angle, minutia.Type))

myFileWriter.WriteLine(String.Format("{0,5} {1,5} {2,10} {3,15}", minutia.X, minutia.Y, minutia.Angle, minutia.Type))

Next minutia

Dim cores As NFCore
Console.WriteLine("Cores", cores)
Console.WriteLine(String.Format("{0,5}", cores))

Dim deltas As NFDelta
Console.WriteLine("Deltas", deltas)
Console.WriteLine(String.Format("{0,5}", deltas))

myFileWriter.WriteLine(CStr(record.Minutiae.Count))

Next record

But I got their information as

Core
<x=0,Y=0,Angle=o>
Deltas
<x=0,y=0,Angle1=0,Angle2=0,Angle3=0>
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby Ei Ei Mon » Sep 04, 2019 08:56

To get the image with minutiae information,
I write the script in the DrawMinutiaeOnImageVB



If status = NBiometricStatus.Ok Then
Console.WriteLine("Template creation succeeded")

fingerView.Width = CInt(Fix(image.Width))
fingerView.Height = CInt(Fix(image.Height))

' settings finger with template to finger view
fingerView.Finger = subject.Fingers(0)

' creating new bitmap with not indexed pixel format
Using tempBitmap As New Bitmap(fingerView.Width, fingerView.Height, PixelFormat.Format32bppArgb)
Dim rect As New Rectangle(0, 0, fingerView.Width, fingerView.Height)

' draw minutiae on bitmap
fingerView.DrawToBitmap(tempBitmap, rect)

'define the directory of the folder to store the image

Dim path As String = "C:\VBTest\"

% save bitmap

tempBitmap.Save(path+"1.bmp")



End Using
But I didn't get the required skeleton image with minutiae information and core point
Ei Ei Mon
 
Posts: 9
Joined: Jun 08, 2018 03:17

Re: Minutiae Extraction

Postby MartynasV » Sep 18, 2019 12:49

Hello,

Sometimes cores won't be detected(in 10.0 version they are detected on extraction), please send example image for review to support@neurotechnology.com .

How to save skeleton image with minutiaes drawn, you just need to add 3 lines(in DrawMinutiaeOnImageCS):
Enable skeleton image creation:
Code: Select all
client.FingersReturnRidgeSkeletonImage = true;

Show skeleton image:
Code: Select all
                  fingerView.Finger = subject.Fingers[0];
                  fingerView.ShownImage = ShownImage.None; // Don't show any image (added line)
                  fingerView.BackgroundImage = finger.RidgeSkeletonImage.ToBitmap(); // Add skeleton image (added line)

                  // creating new bitmap with not indexed pixel format
                  using (Bitmap tempBitmap = new Bitmap(fingerView.Width, fingerView.Height, PixelFormat.Format32bppArgb))
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 515
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: No registered users and 4 guests

cron