Quote:
Originally Posted by bronxbomber92
EllipseDescriptor
minMajorRadius - 3.0
maxMajorRadius - 160.0
minMinorRadius - 3.0
maxMajorRadius - 160.0
CurveOptions
extractionMode - IMAQ_NORMAL_IMAGE
threshold - 50
filterSize - IMAQ_NORMAL
minLength - 20
rowStepSize - 20
columnStepSize - 20
maxEndPointGap - 10
onlyClosed - false
subPixelAccuracy - false
ShapeDetectionOptions
mode - IMAQ_GEOMETRIC_MATCH_SHIFT_INVARIANT
anglesRanges - null
numAngleRanges - 0
scaleRange - 0
minMatchScore - 800
|
These parameters seem to be set by the following Java statements:
Code:
static EllipseDescriptor ellipseDescriptor = new EllipseDescriptor(3, 200, 3, 100);
static CurveOptions curveOptions = new CurveOptions(0, 40, 1, 25, 15, 15, 10, 1, 0);
static ShapeDetectionOptions shapeOptions = new ShapeDetectionOptions(ShapeDetectionOptions.IMAQ_GEOMETRIC_MATCH_SHIFT_INVARIANT, 0, 0, 75, 125, 500);
But these classes aren't in the FRC javadocs, so I can see which value is which. Is there a javadoc or reference for these somewhere?