Thread: Image Analyzing
View Single Post
  #2   Spotlight this post!  
Unread 05-02-2012, 00:20
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Image Analyzing

It would certainly be possible; however, it may not be plausible or practical. Java, for example, lacks a lot of the features you'd use for image processing (primarily pointers and non-reference structures). In C++ it would much more simpler to do, but it may be more practical in most cases to use NIVision's rather comprehensive IMAQ functions. I can't claim to know everything about how the images are presented in C++ (I am using Java), but I would assume that a pointer to the image data, the format of the image data (color format and channel resolution), and the size of the image are all accessible. If this is true, then processing the pixel data yourself is perfectly plausible, if not entirely practical.