المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Video Processing - ColorMatrix



C# Programming
06-30-2009, 01:22 PM
Good day http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif

I am using unsafe code to do image processing from my webcam. A clever way of doing image manipulation is using a colormatrix (eg. greyscale conversion). Its performance is very good, but I am now moving on to the task of video recognition...

Is it a good idea to use the "colormatrix" to do recogntion, and if so, how do I access individual pixels and RGB content while keeping performance optimal?

Or should I stick with unsafe code without a colormatrix (ie. just access each pixel manually)?