Since I’m working on my graduation project ( Iris recognition system ) using C#, I got involved in building the basic methods of image processing, such as image enhancement, convert to gray, convolutions, edge detectors using Unsafe code in C#
I have to reach every single pixel of the Bitmap image. Still, when dealing with .NET Framework embedded methods, getPixel(), setPixel(), it takes about 4 seconds only to convert an image to gray. This is unacceptable because many steps of convolutions, filters should be applied before I can get the needed information. I found a new way: fast and efficient.
It’s the unsafe code that deals directly with the memory. Still, at the same time it is under the control of the CLR, for more information visit:
- Unsafe code programing in C# (Code Project)