Quote:
Originally Posted by yoyodyne
Furthermore, the documentation states that frcCreateImage() returns 1 or 0 but that is clearly not the case from debugging the program.
I'm still looking for the definition of the Image structure.
What is interesting to me is how in FindColor the camera image is copied to histImage but histImage is never used?
...
|
Greg is correct that the Image is a proprietary structure and we don't have insight about its format. It's declared in nivision.h.
frcDispose() can be used to dispose of one or many Images, they have to be listed as input parameters.
The header for frcCreateImage states that it returns the Image structure (or NULL if error). The FRC Vision API spec also says this. What documentation are you referring to that says it returns 0 or 1?
The histImage is used in FindColor to create the colorReport.
Beth