Quote:
Originally Posted by Maxwell777
What about syntax? What are the common uses of pointer & handles in emgucv? What are the biggest things I'd need to know about while working with emguCV in c# (like pointers and how they work with some structs and junk)?
Thanks for the advice so far. Work has been going really slowly since we started running into pointers in emgu.
|
While it's possible to use unsafe pointers directly in C# using a similar syntax to that of C, this is generally advised against. Usually pointers are stored as IntPtr-typed values in C# - you can see an example of this here:
http://www.emgu.com/wiki/index.php/T...gu.CV.CvInvoke Note that this is a rather low-level interface in emguCV, though, and like I said earlier, you should probably be using the managed classes instead:
http://www.emgu.com/wiki/index.php/Working_with_Images
What makes you think you think you need to use pointers with emguCV?
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor