#### Vision Field Definitions

The Edit window command line for a sample vision circle reads:

feature_name=FEAT/VISION/TOG1,TOG2,TOG3,TOG4
THEO/ <x_cord,y_cord,z_cord>,<i_vec,j_vec,k_vec>,diam
ACTL/ <x_cord,y_cord,z_cord>,<i_vec,j_vec,k_vec>,diam
TARG/ <x_cord,y_cord,z_cord>,<i_vec,j_vec,k_vec>
SHOW FEATURE PARAMETERS=TOG5

SURFACE=TOG6,n,EDGE/TOG6,n
MEASURE MODE=TOG7
RMEAS=CIR1,CIR1,CIR1
GRAPHICAL ANALYSIS=TOG8,n1,n2,n3
DIAGNOSTICS=TOG9
FEATURE LOCATOR=TOG10,n1,TOG11,n2,n3

SHOW VISION PARAMETERS=TOG12

TYPE=TOG13
COVERAGE=TOG14
MAGNIFICATION=0.843
HIT TARGET COLOR=TOG15,NOMINAL COLOR=TOG15
HIT TARGET/EA1,0.202,TOG16
FILTER=TOG17,n1,TOG18,n2,n3
EDGE=TOG19,n1,n2,n3,n4
FOCUS/TOG20,n1,n2,TOG21,TOG22

THEO, ACTL, and TARG values will vary depending on the feature type.

- THEO: Defines the theoretical values for measuring the Vision Auto Feature.

- ACTL: Defines the actual measured values of the measured Vision Auto Feature.

- TARG: Defines the target position for the measurement. Use these values when the THEO positions don't match the part. You should leave the THEO values to match the CAD positions, and results will be dimensioned to these values, but change the TARG values so that the feature will actually be measured in a slightly different place.

Toggle Values

TOG1 = FEATURE TYPE
SURFACE POINT / EDGE POINT / LINE / CIRCLE / ELLIPSE / SQUARE SLOT / ROUND SLOT / NOTCH SLOT / POLYGON / PROFILE 2D are the currently available PC-DMIS Vision feature types.

TOG2 = CARTESIAN or POLAR for POINT, CIRCLE, EDGEPOINT and LINE; OPEN or CLOSED for PROFILE 2D;

TOG3 = IN or OUT for CIRCLE; POLR or RECT for PROFILE 2D and SLOT (not used for POINT, LINE

TOG4 = ALGORITHM
LEAST_SQR, MIN_SEP, MAX_INSC, MIN_CIRSC (Only used for CIRCLE)

TOG5 = SHOW FEATURE PARAMETERS
YES / NO - This toggle field determines whether or not feature parameters are displayed below. These values included TOG6 - TOG11.

TOG6 = THICKNESS
This is a toggle field to determine if Actual Thickness (ACTL_THICKNESS), Theoretical Thickness (THEO_THICKNESS) or thickness is off (THICKNESS_OFF). Edge thickness can be specified for lines and edge points. n = thickness value in current units.

TOG7 = MEASURE MODE
NOMINALS / VECTOR / FIND NOMS / MASTER

TOG8 = GRAPHICAL ANALYSIS
YES / NO - This toggle field determines if graphical analysis is applied. When this value is set to YES, then the next three values or Point Size, Plus and Minus Tolerances are applied for graphical analysis. n1 = point size, n2 = plus tolerance, n3 = minus tolerance

TOG9 = DIAGNOSTICS
YES / NO - This toggle field determines whether diagnostic information will be collected for diagnosing problems where edge detection has failed. Diagnostics simply collects bitmap images and current feature parameters that can be exported from PC-DMIS to be sent to support personnel.

TOG10 = FEATURE LOCATOR (Bitmap)
The feature locator option is used for specifying a bitmap image file that you want to appear in the Feature Locator tab of the Probe Toolbox when this feature is executed. This option can help you locate the feature. If this option isn’t needed, switch it to NO. n1 = path and name of the bitmap.

TOG11 = FEATURE LOCATOR (Audio File)
The feature locator option is used for specifying a wav file that will play when this feature is executed. If this option isn’t needed, switch it to NO. n2 = path and name of the wav file. n3 = Caption string for Feature Locator tab.

TOG12 = SHOW VISION PARAMETERS
YES / NO - This toggle field determines whether or not vision parameters for the feature are displayed below. These values included TOG13 - 22.

TOG13 = TYPE
AUTOMATIC HIT TARGET / MANUAL HIT TARGET / GAGE HIT TARGET / OPTICAL COMPARATOR HIT TARGET - This toggle field determines the type of Hit Target.

- GAGE HIT TARGET is only available for LINE, CIRCLE, and ELLIPSE.

- OPTICAL COMPARATOR HIT TARGET is only available for LINE, CIRCLE, ELLIPSE, SQUARE SLOT, ROUND SLOT, and NOTCH SLOT.

- Only the AUTOMATIC HIT TARGET is available for Polygon features.

- Only the OPTICAL COMPARATOR HIT TARGET is available for Polygon features.

TOG14 = COVERAGE
This option allows you to change the coverage for a feature. New targets will be created or removed based on the selected percentage of coverage.

TOG15 = COLOR
Select from 16 basic colors used to denote the HIT TARGET COLOR and the NOMINAL COLOR.

TOG16 = DENSITY
This option toggles between LOW | HIGH | NORMAL | NONE. It indicates the density of points that will be returned for this target. See "Probe Toolbox: Define Targets tab" for more information.

TOG17 = CLEAN FILTER
YES / NO - This toggle field will apply the clean filter which removes dust and small noise particles from the image prior to edge detection. This value is not used for a SURFACE POINT. n1 = Strength - Specifies the size (in pixels) of an object, below which is considered to be dirt or noise.

TOG18 = OUTLIER FILTER
YES / NO - This toggle field determines whether the outlier filter is applied for this target. This value is not used for a SURFACE POINT. n2 = Distance Threshold - This specifies the distance in pixels that a point can be away from nominal before discarding it. n3 = The standard deviation of a point needs to be away from the other points to make it considered to be an outlier.

TOG19 = EDGE TYPE
This toggle field switches between the available types of edge detections. They are: DOMINANT EDGE, SPECIFIED EDGE, NEAREST NOMINAL, or MATCHING EDGE. See "Probe Toolbox: Hit Targets tab" for more information. This value is not used for a SURFACE POINT. n1 = Edge strength threshold to be used during the teach process. All edges that are assigned a ‘strength’ that is below this threshold are ignored when looking for an edge. Values should fall between the range of 0 and 255. n2 = Hit target direction (--> or <--). n3 = Specified Edge - This parameter defines the Nth edge to be used for the specified edge detection method. Currently allows a number between 1-10 to be entered. n4 = This value determines if the edge that is being viewed and found goes from black to white "[|] ->[ ]", white to black "[ ] ->[|]", or either "[?] ->[?].

TOG20 = FOCUS
YES / NO - This determines whether or not the target requires a pre-edge detection focus. n1 = This value displays the range from the camera to the part. It specifies the distance (in the current units) over which to perform the focus. n2 = This value provides the number of seconds to spend searching for the best focal position.

TOG21 = Find Surface
YES / NO - This toggle field determines whether or not the machine should perform a second, slightly slower, pass-to attempt to improve the accuracy of the focal position.

TOG22 = SensiLight
This YES/NO This toggle field determines whether or not the machine should perform an auto-light adjust prior to focus, in an attempt to achieve optimal focus result. If set to NO, PC-DMIS will set lighting according to the learned percentage and the brightness will not be adjusted automatically.