View Single Post
  #14   Spotlight this post!  
Unread 21-01-2010, 11:34
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Problem using the camera.

from 2010ImageDemo:
Quote:
Originally Posted by Target.cpp
// These parameters set ellipse finding in the NI imaq (Image Aquisition) library.
// Refer to the CVI Function Reference PDF document installed with LabVIEW for
// additional information.
static EllipseDescriptor ellipseDescriptor = {
3, // minMajorRadius
200, // maxMajorRadius
3, // minMinorRadius
100 // maxMinorRadius
};

static CurveOptions curveOptions = { IMAQ_NORMAL_IMAGE, // extractionMode
40, // threshold
IMAQ_NORMAL, // filterSize
25, // minLength
15, // rowStepSize
15, // columnStepSize
10, // maxEndPointGap
1, // onlyClosed
0 // subpixelAccuracy
};
static ShapeDetectionOptions shapeOptions = {
IMAQ_GEOMETRIC_MATCH_SHIFT_INVARIANT, // mode
NULL, // angle ranges
0, // num angle ranges
0, // scale range
500 // minMatchScore
};
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib