Operation property – Epson 5 User Manual

Page 107

Advertising
background image

Operation Property

Operation Property

Applies To

Vision Objects: ImageOp

Description

Sets which image operation to perform.

Usage

VGet Sequence.Object.Operation, var

VSet Sequence.Object.Operation, 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

1 - Open

Performs an opening-type morphological operation. This is an erosion followed by a
dilation. The number of iterations is determined by the Iterations property.

2 - Close

Performs a closing-type morphological operation. This is a dilation followed by an
erosion. The number of iterations is determined by the Iterations property.

3 - Erode

Performs an erosion-type morphological operation. The number of iterations is
determined by the Iterations property.

4 - Dilate

Performs a dilation-type morphological operation. The number of iterations is
determined by the Iterations property.

5 - Smooth

Performs a smoothing type convolution operation. The number of iterations is
determined by the Iterations property.

6 - Sharpen1

Performs a sharpen type convolution operation. The number of iterations is
determined by the Iterations property.

7 - Sharpen2

Performs a sharpen type convolution operation. The number of iterations is
determined by the Iterations property.

8 - HorizEdge

Highlights horizontal edges.

9 - VertEdge

Highlights vertical edges.

10 - EdgeDetect1

Highlights edges.

11 - EdgeDetect2

Highlights edges.

12 - LaPlaceEdge1 Highlights edges.

13 - LaPlaceEdge2 Highlights edges.

14 - Thin

Thins blobs in the image.

15- Thicken

Thickens blobs in the image.

16 - Binarize

Binarizes the image according to the ThresholdLow and ThresholdHigh settings.

17 - Rotate

Rotates the image according to the AngleObject or RotationAngle settings. If
AngleObject is Screen, then the rotation angle is determined by the RotationAngle

Vision Guide 5.0 Reference (Ver.5.3) Rev.1

93

Advertising