Go to Post If there is water in the 2006 game, I will blame it on Gary. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 29-01-2011, 19:29
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,754
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Dashboard Camera Image

While it is possible to do what you ask, it will be far more CPU intensive and/or network intensive that other approaches. Here is why.

The WPILib block for sending images to the dashboard sends the original untouched and still encoded and compressed image to the dashboard. This is a simple copy of the buffer and sending over TCP.

By comparison, you are discussing taking that image, decoding the JPEG into a big image, then processing it a bit, and then either transmitting a large image, or compressing the image into a JPEG all over again.

The last few years, the default code has instead send the original image to the dashboard and independently sent data to the dashboard about the target. This target info is then used to do the annotations on the image on the dashboard. A similar approach would be to redo the image processing on the laptop to produce the same modified image that the cRIO computed.

Greg McKaskle
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi