Go to Post We all need to remember to be careful at these competitions. Danger lies in the most unexpected (and comical) places. - Alexander McGee [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #1   Spotlight this post!  
Unread 27-07-2013, 23:21
Chadfrom308's Avatar
Chadfrom308 Chadfrom308 is offline
Slave to the bot
AKA: Chad Krause
FRC #0308 (The Monsters)
Team Role: Driver
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Novi
Posts: 272
Chadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to behold
Vision processing problem (black, jittery images)

I have been working on an image processing system for recognizing 2012 basket balls. I have it working really well except for the very end, where it gives me a black image that switches between black and color really quickly for some reason. I compressed it and lowered the framerate to where my computer can handle it. the Vision tool says I can do it at around 25fps and i have it set to 15.

It seems to be the image processing itself that is creating the stuttering images. I have it working on a standard, default driverstation and even then it doesnt work with the processing. Without the processing, it is fine and clear as day. Can anyone help me?

Here is my code:
http://puu.sh/3NtmX.png

Here is what I see most of the time:
http://puu.sh/3NtpZ.png

The Code (a little walk-through):

I start with the standard read image, and put it though some processing.
The math at the top right simply puts the circle detection data onto the output image. I want the image to display a color image with a green circle around the ball, and for the most part, it does. For some reason it is getting black frames in it.
 


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 22:53.

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