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

مشاهدة النسخة كاملة : Need Help: Identifying an object within a grey scale '.jpg' image



C# Programming
03-29-2009, 06:22 AM
Hello,

I am fairly new to programming and was hoping someone might have a method for identifying an object within a grey scale '.jpg' image. The object is might lighter than the surrounding area. I am unsure how to locate the object and highlight it on the image.

I thought I could create an array of pixels that are adjacent to each other and share a similar grey scale. But this method seems clunky as i need to observe every individual pixel and i am unable to find a method of observing individual pixels that does not use 'unsafe'.

If anyone would be able to help me that would be fantastic.

Thank you very much for your time,
David