Go to Post So we can bring 6x more to the Lunar Regional than all other regionals? no fair to those not going! - BBray_T1296 [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-03-2008, 18:46
activemx's Avatar
activemx activemx is offline
A M X
AKA: Akshay Dodeja
no team
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Portland, Oregon
Posts: 312
activemx is a glorious beacon of lightactivemx is a glorious beacon of lightactivemx is a glorious beacon of lightactivemx is a glorious beacon of lightactivemx is a glorious beacon of light
Send a message via AIM to activemx Send a message via Yahoo to activemx
Re: [not-FIRST] Camera Image Processing

Quote:
Originally Posted by JimWright949 View Post
Greg,

The Library that I use for my projects is the Intel OpenCV library. It's an open sourceish type of library. You can find it here:
http://www.intel.com/technology/comp...encv/index.htm

Unfortuantly, all my good sample code is at home and I'm going to be leaving for the Portland regional after work. When I get home on Sunday I will try to post a few samples of what you can do with this library.

-Jim
This is what I would do.
__________________
2005 - Present - FIRST Volunteer(Inspector, Ref, Judge)
2000-2004 MVRT 115
  #2   Spotlight this post!  
Unread 11-03-2008, 20:57
David55 David55 is offline
Registered User
AKA: David Hillman
FRC #1577 (Steampunk) & FRC #125 (NUTRONS)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Raanana, Israel / Boston, MA
Posts: 279
David55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to beholdDavid55 is a splendid one to behold
Re: [not-FIRST] Camera Image Processing

I would also recommend OpenCV. However, if you looked at it and it does not fit your needs (they are for PC's as you said), you can write your own functions for doing it.

Please correct me if I'm wrong (I have never dealt with color tracking), but I would take this approach:
Find the YUV values (or range of values) that correspond to your target color.
Locate the pixels that are in that range (assuming your array indices correspond to image pixels), cancel out all the pixels and small blobs that are alone (representing false positives) and you are left with your blob.
  #3   Spotlight this post!  
Unread 11-03-2008, 21:10
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
Re: [not-FIRST] Camera Image Processing

Often rectangle-fitting is adequate; start the rectangle on a pixel that you know to be part of the object (due to color), and expand the rectangle in all directions until the colors are outside the threshold.
Closed Thread


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
Image Processing on mouth ROI tommy_chai Programming 0 20-11-2007 08:32
thoughts about image processing 3dude_2231 Technical Discussion 5 12-11-2007 13:26
Critique my image processing program... Salik Syed Programming 13 29-06-2006 16:57
Camera not working st1nkm4n Programming 7 02-02-2006 08:22
Camera not found! SpeakerSilenced Programming 0 21-02-2005 12:54


All times are GMT -5. The time now is 22:39.

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