Epson Net 5 사용자 설명서

다운로드
페이지 216
 
ContrastTarget Property 
 
ContrastTarget Property 
 
Applies To 
Vision Objects: Edge 
 
Description 
Sets the desired contrast for the edge search. 
 
Usage 
VGet  Sequence.Object.ContrastTarget, var 
VSet  Sequence.Object.ContrastTarget, value 
Sequence  Name of a sequence or string variable containing a sequence name. 
Object 
Name of an object or string variable containing an object name.  The object must exist in the 
specified sequence. 
var 
Integer variable that will contain the value of the property. 
value 
Integer expression for the new value of the property. 
 
Values 
0 - 255 
Default: 0 (any contrast) 
 
Remarks 
ContrastTarget is the desired difference in grayscale values between an edge and its background.  Use 
ContrastTarget to find weaker edges or edges at an angle.  First, find the edge you want to search for and 
record the Contrast result value.  You may have to temoparily change the Edge object position to find it.  
Next, set the ContrastTarget property to this value.  Then set the ScoreWeightContrast to a higher value 
then ScoreWeightStrength.  This tells the Edge object to look for an edge with the desired contrast and base 
the score on it.  
 
See Also 
Contrast Result, ContrastVariation Property, Edge Object 
Vision Guide 5.0 Reference (Ver.5.3) Rev.1 
39