Adept AdeptSight User Guide User Manual

Page 425

Advertising
background image

Clipping Modes

Two clipping modes are available for arithmetic operations: normal and absolute.

Normal Clipping Mode

Normal Clipping mode forces the value of a destination pixel to a value from 0 to
255 for unsigned 8-bit images, to a value from -327678 to 32767 for signed
16-bit images, or to a value from -2,147,483,648 to 2,147,483,647 for signed
32-bit images. 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.

Absolute Clipping Mode

The absolute clipping mode takes the absolute value of the result and clips it
using the same algorithm as for Normal Clipping mode.

Arithmetic Operation Modes

There are two Arithmetic operation modes. In the first, the operation is applied to every pixel
of an input image and the corresponding pixel in the Operand image. The result is written in
the output image.

In the second mode, the operand is a constant, and it is used on every pixel of the input
image and the result is written in the output image.

The Image Processing Tool supports the following arithmetic operations: Addition, Sub-
traction, Multiplication, Division, Lightest and Darkest.

Addition

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

Subtraction

The operand value (constant or Operand image pixel) is subtracted from the corresponding
pixel in the input image. The result is scaled and clipped, and finally written to the output
image.

Division

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

Arithmetic Operations

AdeptSight User's Guide, Version 3.2.x, Updated: 8/23/2012

Page 425

Advertising