Skip to content
STAGING SERVER
DEVELOPMENT SERVER

vTools#

vTools are the building blocks for creating image processing designs using the Workbench.

Each vTool can perform a specific task, e.g., camera calibration, image format conversion, or barcode reading, to name but a few. In the Workbench, add the required vTools, connect them in the order you want, and then save the design as a recipe file (.precipe). Finally, you can add the recipe to your application.

When configuring the vTools, you can quickly test any changes you make by loading an image and running the recipe. In a section of the Workbench called the pin data view, you can see the results at runtime. Adjust the settings and repeat this process until you're satisfied.

Integrating vTools Into Your Application#

To integrate the image processing design into your own application, use the pylon C++ Data Processing API, which offers a variety of simple functions for loading and executing recipes as well as for evaluating the results in your program code.

Changes made to the recipe settings in the pylon Viewer become effective when you load the recipe into your application again. You don't have to change or recompile the application code.

The pylon C++ Data Processing API provides a set of samples that demonstrate certain common use cases. Incorporated in the sample code are a number of demo vTools.

For more information, see the pylon C++ Data Processing Programmer's Guide available in the Help menu of the pylon Viewer or in the pylon installation directory (usually C:\Program Files\Basler\pylon\Development\Documentation\PylonCppDataProcessingSDK.chm).

Data-Generating vs. Data-Processing vTools#

vTools fall into one of two categories: those that generate data and those that process data. It's important to know the difference because this characteristic affects the vTools' behavior when added to a recipe.

As the name suggests, data-generating vTools generate data with a new update, either by themselves, i.e., they don't have an input pin, or by turning data that they have received via their input pins into new data. For more information about the concept of updates, see the pylon C++ Data Processing Programmer's Guide available in the Help menu of the pylon Viewer or in the pylon installation directory (usually C:\Program Files\Basler\pylon\Development\Documentation\PylonCppDataProcessingSDK.chm).
The following vTools generate data:

  • Camera vTool
  • Data Synchronizer vTool
  • Image Loading vTool
  • Multiplexer vTool
  • Test Image Generator vTool

All other vTools just process data. The output pins of data-generating vTools are triangular to help you distinguish them visually from processing vTools.

Examples of a Data-Generating and Data-Processing vTool Pins

Available vTools#

Some vTools are free and included in the pylon Viewer setup. For others you need a license. For more information about how to obtain and activate licenses, see vTool Licensing.

Apart from licenses for individual vTools, you can buy combinations of vTools that have been bundled together in one license, e.g., vTools required for a specific use case.

Free vTools#

Licensable vTools#

Demo vTools#

For documentation of demo vTools, see the vTool Documentation pane included in the pylon Viewer.

  • Test Image Generator vTool
  • Stamp vTool

Licenses and Bundles#

Some vTools can be bought individually, others are available as part of a bundle, e.g., for a specific use case like Color Blob Analysis. Below is an overview of the available licenses and license bundles.

Blob Analysis Basic#

The Blob Analysis license includes pylon vTools for typical thresholding-based blob analysis tasks, such as identifying regions by their grey value range.

In combination with the region vTools, you can use the thresholding vTools to identify and analyze regions, objects, and structures with outstanding robustness, accuracy, and performance.

The license includes the following vTools:

To buy a license, visit the Basler website.

Color Blob Analysis Basic#

The Color Blob Analysis license includes pylon vTools for blob analysis tasks that can't be solved with common grayscale thresholding techniques, e.g., identifying objects by color.

You just have to load an image (either a live image or an image from disk) and mark the pixels belonging to the object you're interested in to teach a model that you can then apply to new images. In combination with the region vTools, you can use the model to identify and analyze regions, objects, and structures with outstanding robustness, accuracy, and performance.

The license includes the following vTools:

To buy a license, visit the Basler website.

Measurements Pro#

The Measurements Pro license provides vTools for measuring distances between edges along a single line as well as measuring geometric shapes such as rectangles and circles.

You can use the measurements vTools in combination with the Calibration vTool. By connecting the vTools, all distances measured are then returned in the calibrated unit.

The license includes the following vTools:

To buy a license, visit the Basler website.

Preprocessing Basic#

The Preprocessing Basic license provides vTools for arithmetic operations as well as smoothing and morphology operations on images.

With these high-performance algorithms, you can enhance, mask, or weaken image features in order to improve and optimize images for further processing steps.

The license includes the following vTools:

To buy a license, visit the Basler website.

Code Reader Bundle#

The Code Reader Bundle license includes all code reading vTools in Basic and Pro versions.

To buy a license, visit the Basler website.

General vTools Pro Bundle#

The General vTools Pro Bundle license gives you access to a wide range of Basler vTools. The following bundles and individual vTools are included:

To buy a license, visit the Basler website.

Input and Output Pins#

Every vTool has input and output pins for feeding data into vTools and passing data on to the next step in the design. To connect vTools, click an output pin and drag a connection to an input pin of the same type of another vTool, i.e., Image output pin of the Camera vTool to Image input pin of the Barcode Reader vTool.

The input and output terminals can be viewed as the input/output pins of the recipe. You can use the input terminal to push data into the input pin of a vTool, and you can use the output terminal to receive data from the output pins of a vTool.

The following screenshot illustrates how to connect vTools and terminals:

Conneccting vTools

Mini Map#

If your recipe contains a lot of vTools, not all may be visible depending on the size of the Workbench pane. In such situations, you can check the mini map which shows you any vTools outside of the visible area.

Configuring vTools#

Depending on the vTool, you can configure it via a settings dialog or via the vTool parameters in the Features - All pane or a mixture of both. For more details, see the topic of the vTool you want to configure.