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.

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.

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.