
05-02-2012, 01:01
|
|
Registered User
 FRC #1257
|
|
Join Date: Jan 2012
Location: Brooklyn
Posts: 29
|
|
|
Re: Image Analyzing
Quote:
Originally Posted by Ginto8
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?
|