Thread: Image Analyzing
View Single Post
  #3   Spotlight this post!  
Unread 05-02-2012, 01:01
SoyStuff SoyStuff is offline
Registered User
FRC #1257
 
Join Date: Jan 2012
Location: Brooklyn
Posts: 29
SoyStuff is a jewel in the roughSoyStuff is a jewel in the roughSoyStuff is a jewel in the rough
Re: Image Analyzing

Quote:
Originally Posted by Ginto8 View Post
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.
But how exactly do I get access to the raw data in the lowest level possible?