57 / 109Issued: 11.10.2013 Version: KST VisionTech 2.1 V1
10 Configuration
The following outputs can optionally be preconfigured:
Procedure 1. In the main menu, select VisionTech > Task configuration.
2. Select the desired 2D task.
3. Press the Settings icon and select the number of components to be found.
4. Press Import tool block.
5. Select the directory in which the tool block file is located.
6. Select the tool block file and confirm with OK. The file is imported into Vi-
sionTech and can then be used for all tasks.
7. In the line for the camera in the Toolblocks column, select the imported
tool block file.
8. Press the camera icon. A window for setting the exposure time is dis-
played and the selection of calibration planes is displayed.
Input Type Description
InputImage ICogImage Input image on which the image
processing task is carried out
NumberOf-
Parts
INT Number of components to be
detected by means of the image
processing
Output Type Description
PartResults List<CogTransform
2DLinear>
Positions of the found components
in image coordinates
Scores List<Double> Accuracy with which the compo-
nents were detected
Graphic CogGraphicCollec-
tion
Graphic showing the results of the
image processing task
Output Type Description
Error Exception Exceptions or errors that occur dur-
ing execution of the image process-
ing task
UserData Object User-specific data forwarded to
KRL by VisionTech. Any type can
be used that is derived from Object
and overwrites the ToString()
method.
Note: Do not make strings with a
semicolon since this is used as an
internal separator.
If the tool block is created with WorkVisual, the required inputs and
outputs already exist.
The directory INTERNAT\KRCSETUP\KRC\TP\VisionTech\Tem-
plate on the VisionTech CD contains sample tool blocks which meet
the following requirements:
Tool block for 2D tasks with a stationary camera
Tool block for 2D tasks with a moving camera
Tool block for 3D tasks
If the selected is too low, this may lead to inconsistencies, e.g. if each
camera detects different objects. It is advisable to enter the number
of components that one expects to find.