Go to Post a robot that is broken shows that it has survived more than a robot that doesn't even have a scratch. - robot180 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 01-18-2009, 06:25 PM
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Speed of axis camera

try setting the res to 160 by 120, and do processing at 15fps.

You can also do a bit of code modifying to only threshold one color, which would significantly increase speed.

what i would think about doing is thresholding one color, then doing the particle analysis, and then doing a linear search through all the returned particles;

if the color patch is big enough, search for the color from the original image that you would expect to be below the color patch (red on green, or green/red) using a 3 point match or more if necessary.

im pretty sure that would at least double the speed.


since thresholding seems to be the slowest operation, perhaps modifying the thresholding algorithm to optimize it for the cRIO's processor might yield some benefit (though it probably already is... and that would be sad)
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY

Last edited by Uberbots : 01-18-2009 at 06:29 PM. Reason: ASM
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Axis Camera Sauce Programming 8 01-18-2009 08:08 PM
Model of Axis Camera Bochek CAD 2 01-18-2009 05:50 PM
AXIS Camera nickmagus Programming 1 01-03-2009 08:06 PM
Program Axis Camera in c++ excel2474 Programming 5 12-22-2008 05:14 PM
axis camera - problem s0crates FRC Control System 11 12-16-2008 09:34 AM


All times are GMT -5. The time now is 10:14 AM.

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