Monthly Archives: March 2008

C# Image Processing Performance – Unsafe vs. Safe code, Part II

In Part I of this article, I outlined a method of performing pixel-level operations on an image that required neither unsafe code, nor the use of the GetPixel and SetPixel methods, which are notoriously slow. The one thing I neglected to include was an actual comparison of the IntPtr and pointer methods with the GetPixel\SetPixel [...]

C# Image Processing Performance – Unsafe vs. Safe code, Part I

It’s spring break at my school, and my travel plans fell through, so I’ve taken some time to get back into one of my favorite topics in C#, image processing. If you’re not familiar with doing this in C#, I’d highly encourage you to start reading the great series of articles on the subject by [...]