Common Vision Blox Foundation Package Tool
C-Style | C++ | .Net API (C#, VB, F#) | Python |
Arithmetic | Cvb::Foundation::Arithmetic | cvb.foundation |
Common Vision Blox Arithmetic is a function library used to apply arithmetic and logical operators to images.
A number of functions are available for this purpose, all of which are fully compatible with the Common Vision Blox image format.
Arithmetic or logical operators are applied to images for the purpose of image calibration and image masking.
Differences in images can also be made visible by means of image subtraction.
It is thus clear that there is a wide range of applications for this, both in industry and medicine (e.g. subtraction angiography).
The functions operate with an 8-bit or 16-bit channel of input images, providing new output images, which can also have an image depth of 8-16 bits.
As well as addition, subtraction, multiplication, division, AND, OR and XOR operations on two images, the images can also be combined by means of a user-defined 256*256 LUT (look-up table). Functions which can be used to reduce or extend the bit depth of an input image or transform an input image via LUT are also available.<
Various methods of image access are supported to ensure the greatest possible degree of flexibility.
Both rapid linear image access and flexible VPAT access are implemented.
You can find details on VPAT in the documentation for the Common Vision Blox Image Manager.
Arithmetic is classified as a Common Vision Blox tool because its functions are provided in a DLL, thus providing optimum flexibility when integrating the functions in other applications.
Its classification as a tool does not imply any restrictions in terms of quality or functions, but is merely intended as a guide as to the type of programming required.
Image Processing Tool to apply arithmetic and logical operators to images
A brief example is provided below in form of an excerpt from the Visual Basic tutorial program VCAriDemo > cvbTutorials
.
AriLog8to8
function.