Bashar Kokash' Blog

.Net Framework, windows and web development.

This site

Resources

Friends

Sponsors

  • MaximumASP
  • Breaking News
  • Find a Job
  • Social Bookmarking
    Tidebuy Reviews
    Online Shopping
    asp.net hosting
    UK online local dating

November 2007 - Posts

Microsoft releases the final version of Visual Studio 2008

We have waited enough, let's Get started creating projects with VS2008.

Download it now

Improving performance while dealing with Bitmaps using Unsafe code

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 etc... , so I have to reach every single pixel of the Bitmap image, but 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) so after a while I found a new way: fast and efficient, it's the unsafe code which deals directly with the memory but at the same time it is under the control of the CLR ,for more information visit:

Unsafe code programing in C# (Code Project)

Painless yet unsafe grayscale conversion in C# (Code Project)

 

I'll post more implementations for image processing in C# soon.

Posted: Nov 19 2007, 02:54 AM by BasharKokash | with 2 comment(s)
Filed under: