Lastoperation – Adept AdeptSight Reference Guide User Manual
Page 309
LastOperation
VRESULT
2200
Operation applied by the Image Processing tool at the last iteration. Read Only.
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
minimal value.
6
hsAs-
signmentInitialization
All the pixels of the output image are set to a specific constant
value. The height and width of the output image must be spec-
ified.
7
hsAssignmentCopy
Each input image pixel is copied to the corresponding output
image pixel.
8
hsAssignmentInversion
The input image pixel value is inverted and the result is copied
to the corresponding output image pixel.
LastOperation
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 309