Arithmeticclippingmode – Adept AdeptSight Reference Guide User Manual

Page 52

Advertising
background image

ArithmeticClippingMode

VPARAMETER

5360

Clipping mode applied by an arithmetic operation.

Syntax

Micro V+

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

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

V+

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

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

Remarks

hsClippingNormal

mode forces the destination pixel value to a value from 0 to 255 for unsigned 8-bit

images, to a value from -327678 to 32767 for signed 16 bits images and so on. Values that are less

than the specified minimum value are set to the minimum value. Values greater than the specified

maximum value are set to the maximum value.

hsClippingAbsolute

mode takes the absolute value of the result and clips it using the same algorithm

as for the hsClippingNormal mode.

Type

Long

Range

Value

Image Processing Clipping Mode

Description

0

hsClippingNormal

Normal clipping method is used.

1

hsClippingAbsolute

Absolute clipping method is used.

Parameters

ArithmeticClippingMode

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

Page 52

Advertising