Bashar Kokash' Blog

.Net Framework, windows and web development.

This site

Resources

Friends

Sponsors

  • MaximumASP
  • Packet Sniffer
    Custom Essay
  • compare conference call companies

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:
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.