Click here to Skip to main content
12,749,596 members (31,308 online)

iris recognition project in c#

Member 8475480 asked:

Open original thread
i need a quick help.
i'm writing iris identity project in c# and i faced 2 problems.

the first is that i want to remove the pupil from the image put dont know how to do it? i draw an ellipse above it but if i can remove it that will be better.

the second is i want to unwrapped the image (the donat shape) and save it in a 512 , 64 image. i tried so hard but fail to find solution.

would anybody help me please?
int int_Width =512;
                       int int_Height =64 ;
                       //Create the buffered image with the correct size    
                       Bitmap bImage = new Bitmap(int_Width, int_Height, b.PixelFormat);

                       //Get the graphics of the buffered image    
                       Graphics g = Graphics.FromImage(bImage);

                       MemoryStream ms = new MemoryStream();
                       finalImage.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp);
                       byte[] ary = ms.ToArray();

this is my last try, i dont know how to continue.
Tags: C#


When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the The Code Project Open License (CPOL).

Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 26 Mar 2009
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100