View Single Post
  #1   Spotlight this post!  
Unread 16-01-2012, 09:10
pavie pavie is offline
Registered User
AKA: Paul Bieganski
FRC #3630 (Stampede)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Minneapolis
Posts: 11
pavie is an unknown quantity at this point
Distributed vision processing in C++

Hello,
The 2012 preview documents mention support for distributed vision processing (sending image data to the DS, processing it there in NI VA or openCV, sending data back). Is C++ currently supported?

Two questions:

1. What context can C++ code (call it VCP for Vision Co-Processor) on the DS be executed in (separate process, C++ extension to DS, C++ extension to SD)? Are there any examples? Our preference would be to run VCP as a clean, separate Windows C++ application. It appears that the Java version is using the SD extension route.

2. If #1 is not fully supported, is there a simple way (without hacking IMAQ structures) to send images processed (NOT raw camera images) by the cRIO (in C++ running on the cRIO) to the smart dashboard video window? Looks like customizing PCVideoServer.cpp might do it, but it appears that DS support displaying jpeg only and appear to be only functions supporting writing of jpeg files flash, not in-memory creation. Something akin to a "PCVideoServer::sendImage(const Image*)" would do.

Thanks!

Last edited by pavie : 16-01-2012 at 09:21.
Reply With Quote