Operation – Adept AdeptSight Reference Guide User Manual

Page 364

Advertising
background image

Operation

VPARAMETER

5355

Operation applied by the Image Processing tool.

Syntax

MicroV+

VPARAMETER (sequence_id, tool_id, 5355, index_id, object_id) = value

value = VPARAMETER (sequence_id, tool_id, 5355, index_id, object_id)

V+

VPARAMETER (sequence_id, tool_id, 5355, index_id, object_id) $ip = value

value = VPARAMETER ($ip, sequence_id, tool_id, 5355, index_id, object_id)

Type

Long

Range

Value

Name

Description

0

hsArithmeticAddition

Operand value (constant or Operand Image pixel) is added to
the corresponding pixel in the input image.

1

hsArithmeticSubtraction

Operand value (constant or Operand Image pixel) is subtracted
from the corresponding pixel in the input image.

2

hsArithmeticMultiplication

The input image pixel value is multiplied by the Operand value
(constant or corresponding Operand Image pixel).

3

hsArithmeticDivision

The input image pixel value is divided by the Operand value
(constant or corresponding Operand image pixel). The result is
scaled and clipped, and finally written to the output image.

4

hsArithmeticLightest

The Operand value (constant or Operand Image pixel) and cor-
responding pixel in the input image are compared to find the
maximal value.

5

hsArithmeticDarkest

The Operand value (constant or Operand Image pixel) and cor-
responding pixel in the input image are compared to find the

Operation

AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012

Page 364

Advertising