View Single Post
  #2   Spotlight this post!  
Unread 19-02-2012, 22:07
MotorHead's Avatar
MotorHead MotorHead is offline
Programming Mentor
AKA: Jeff Beltramo
FRC #1922 (OZ-Ram)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Concord, NH
Posts: 68
MotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to behold
Re: cRIO Vision Targeting - Please Help!

The rectangular target vision processing vi is a sample code to demonstrate pre-built vision processing techniques. You can work with this code directly if you incorporate into your program. It includes 3 different algorithms you can experiment with to locate the rectangle. The output of the vision processing is written to a global variable that you can access anywhere in your code. The output includes the x, y coord of the center of the rectangle with respect to the center of the camera's field of view along with a calc. distance to target.

The vision assistant is a utility provided by National Instruments that allows you to build your own algorithm. When it is done, it includes a vi code generator. Search NI website for the vision assistant tutorial if you are interested in going this route.
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire

Reply With Quote