Go to Post ...trapping Chuck Norris is worth infinity, Dave, Dean, and Woodie are 500 apiece, and trapping Andy Baker is worth double infinity - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2012, 11:46
That Canadian That Canadian is offline
Registered User
FRC #0346 (RoboHawks)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Chesterfield
Posts: 13
That Canadian is an unknown quantity at this point
Display processed images on dashboard.

I'm currently able to process images and mask them etc. but I can't seem to figure out how to display the processed image on the dashboard (or possible on a separate frame). When I try to use the JFrame or Frame classes I can't get the imports (help on this would be appreciated) nor can I figure out how to display custom images on the driver station dashboard. I just need a way to display a custom image, thank you.
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 11:53
Secretspy97 Secretspy97 is offline
Registered User
FRC #1126
Team Role: Programmer
 
Join Date: Oct 2011
Rookie Year: 2009
Location: New York
Posts: 25
Secretspy97 is an unknown quantity at this point
Re: Display processed images on dashboard.

I have the same problem. I think that the camera is tracking the squares but when i point the camera away from them, I still gives a reading. I want to print the images the robot sees after it has done its edge detection.
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2012, 21:46
2869Robotics 2869Robotics is offline
Registered User
FRC #2869
 
Join Date: Jan 2012
Location: Bethpage
Posts: 18
2869Robotics is an unknown quantity at this point
Re: Display processed images on dashboard.

You can save your images onto your cRIO and the FTP into the cRIO to retrieve them. use the write method in BinaryImage and it will write the image to the root directory.

BinaryImage image;
image.write("test.jpg");

I believe that's the correct syntax

To FTP into the cRIO type ftp://10.te.am.2 into your browser and then you can retrieve the pictures.
Reply With Quote
Reply


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 12:47.

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