pylon vTools: Measurements
Measure distances along lines and geometric shapes
For more precision
For accurate, real-world measurements and correction of radial and perspective distortion effects from your camera system, setup the pylon vTool Calibration and Rectification in advance.
To the Tutorial: pylon vTool Calibration & RectificationRecipe to measure pin widths and pin distances
Access the Workbench from the top menu.
A Recipe is automatically created.
Create a simple recipe featuring a Camera vTool, a Calibration vTool, and a Measurements vTool, either using the vTools pane on the left or by right-clicking on the Workbench pane.
Connect Image outputand input pins as well as the Transformation input and output pins.
After connecting the vTools, additional outputpins become accessible for the Measurements vTool: The pins Positions_m and Distances_m provide the measurement results in metric units.
Select the Camera vTool and Run the Recipe.
Settings
Open the Settings dialog of the vTool Measurements by double clicking on it.
Rectangle settings
Capture a single image and zoom in to obtain a clearer view of the measurement Rectangle. The measurement Rectangle is also called the Image Profile. Customize it according to your requirements.
The Measurements vTool detects edges along its profile line passing through the center.
Increasing the width of the Image Profile helps reduce the effects of noise.
Tip: To achieve optimal results, ensure that the profile line is perpendicular to the edges you want to measure.
Edge Detection settings
You can also configure edge Detection to meet your needs.
Specify which edge Transition to detect: "Dark to light", "Light to dark", or "All", and which edges to select. In this example, we want to determine the width and distance between pins. Therefore, we need to detect more than one edge and select"All" for both Transition and for Select.
The Smoothing setting adjusts the strength of the edge detection filter.
Use a small smoothing value when measuring tiny objects with small edge distances.
For large edge distances or noisy images, increase the smoothing value.
Use the Threshold option to detect only edges of a certain strength.
Click Ok.
Display the results with the Pin Data View
In the Pin Data View, select the pins whose results you want to display.
Selecting the Measurements Basic Regions pin displays the edges found in the image within the live image.
Other results, such as positions and distances in meters, are displayed to the right of the live image.
If your camera is in single shot mode, Stop and Start the Recipe again to get an updated live image.
Integrated: Basler Product Documentation
We have integrated documentation into the Basler pylon Software Suite:
The vTool Documentation pane on the right side of the pylon Viewer provides a brief overview of the currently selected vTool.
For more detailed information, scroll down and click Get help. The link will take you to the Basler Product Documentation.
Tip: The Basler Product Documentation can be accessed from the pylon Viewer at any time, even if you are not connected to the Internet.
Les pylon vTools ont suscité votre intérêt et vous souhaitez les essayer ?
Demandez dès maintenant une licence d'essai gratuite, testez tous les vTools avec l'ensemble des fonctionnalités et découvrez quels vTools permettent de résoudre vos problèmes de vision.
Demander une licence d'essai gratuiteMore tutorials on pylon vTools
pylon vTools
Fonctionnalités complémentaires et flexibles au logiciel pour le traitement d’images industrielles
Avec le modulaire pylon vTools, vous'Il n’est pas nécessaire d’acheter une bibliothèque de vision complète, mais vous ne sélectionnez que les fonctions de traitement d’image requises, à l’aide d’algorithmes basés sur l’IA ou d’algorithmes classiques. Choisissez la licence appropriée (Starter, Basic ou Pro) pour accéder à la gamme de fonctionnalités qui répond le mieux à vos besoins.