VG3 Software Manual
Software Update Log
Software Introduction
VisionGroup3 Vision Software Platform
Menu Bar
Quick Options Preview
Flow Tree and Global Flow Tree
Function Tree
Software Version Description
Function Addition Tree
Function Information
Image Display Area
AI Model Tree
Global Variable Tree
Camera
Coordinate System Tree
Hardware Communication Configuration
Usage and Troubleshooting of Various Communication Simulation Software
Hardware Management Device Connection Test
String Monitor Operation
Digital IO Monitor Operation
Register Monitor Operation
Image Processing
Image Acquisition and Display
Camera Image Acquisition
Camera Label Image Acquisition
Display Image
Window Clear
Read Camera Image
Video Processing
Video Reading
Video Download
Video Acquisition
Video Generation
Color Detection
Color Image Cropping
Color Selection
KNN Color Selection
Color Conversion
Block Sequence Detection
Color Blob Detection
Category Color
Image Preprocessing
Image Cropping
Image Merge
Image Ring Unfold
Image Filtering
Image Transformation
Camera Distortion Calibration
Perspective Distortion Calibration
Image Correction
Region Processing
Geometry to Region
Region Transformation
Region Screening
Region Operation
Blob Region
Region Creation
Region Generation
Simple Detection
Blob Detection
Blob Multi-Region Detection
Image Contrast
Image Brightness
Line Burr Detection
Circular Burr Detection
Pixel Difference Detection
Positioning and Measurement
Matching
Feature Matching
Optimized Feature Matching
Single Target Template Matching
Multi-Template Feature Matching
Geometric Extraction
Extract Line
Extract Circle
Extract Arc
Extract Ellipse
Edge Extraction
Extract Parallel Lines
Line Intersection
Extract Quadrilateral
Point-Line Caliper
Line-Line Caliper
Edge Distance Counting
Measurement Calibration
Farthest Nearest Point Extraction
Geometric Calculation
Custom Point
Custom Line
Custom Circle
Custom Pose
Custom Rotated Rectangle
Custom Coordinate System
Custom Rectangle Array
Line-Line Intersection
Line-Line Angle
Angle Bisector
Line-Line Distance
Point-Point Distance
Point-Line Distance
Point-Circle Distance
Point-Circle Tangent
Line-Circle Distance
Line-Circle Intersection
Circle-Circle Intersection
Position Correction
Point + Angle Correction
Two-Point Position Correction
Two-Line Position Correction
Positioning Guide
Camera Calibration
Long Radius Calibration (Auto)
Long Radius Calibration (Manual)
Camera Simple Calibration
N-Point Calibration
Calibration Transfer
Calibration Verification
Calibration Reference
Calibration Calculation
Calibration Conversion
Camera Calibration Conversion
Mapping
Mapping Reference
Mapping Conversion
Mechanical Transfer
UVW Calculation
Learn Reference Target
Single Camera Pick
Single Camera Pick (Eye-in-Hand)
Single Camera Pick and Place
Single Camera Correction
Multi-Camera Correction
Dual Camera Alignment
Mechanical Point Alignment
Multi-Camera Alignment
Mechanical Point Alignment (Weight)
Multi-Region Alignment
Identification Tools
Code Reading Tool
1D Barcode Quick Recognition
2D Barcode Quick Recognition
All Type Code Reading
Barcode Grading (AI)
Character Recognition
Matching Character Recognition
Deep Learning
Detection
Object Detection (AI)
Rotated Object Detection (AI)
Human Keypoint Detection[AI]
Segmentation
Image Segmentation AI
Classification
Image Classification[AI]
Recognition
Character Recognition[AI]
Auxiliary Tools
AI-Assisted Annotation
Auxiliary Tools
Control Statements
Flow Unit
Conditional Detection
Complex Condition Detection
Loop Detection
Break
Continue
Combo Box
Flow Delay
Jump Module
Flow Reset
Stop Software
Start Detection
Pause Software
Process Trigger
Async Flow Trigger
Recipe switching
Loop Position Filtering
System Tool
DEBUG INFO
System Time
System Info
Sequence Tools
Data Sequence
Data Sequence Calculation
Continuous state change
Continuous status confirmation
Spatial Displacement Change
Sequence Action
Mathematics and Data
Logical relationship
Arithmetic Operations
Relational Judgment
Absolute Value
Relative Value
Trigonometric Functions
Integer Bitwise Operation
Data Processing
Data Summary
Label Filters
Rotated Label Filtering
Multi-ROI Rotated Label Filtering
Data Calculation
Lua Script Tool
Variable Processing
Linear Variable Creation
Linear Variable Writing
Linear Variable Array Insertion
Linear Variable Array Deletion
Linear Variable Array Value Setting
Global Variable Reading
Global Variable Writing
Global Variable Invalidation
Global Variable Array Insertion
Global Variable Array Deletion
Global Variable Array Value Setting
Global Image Array Preview
Data Binding
Data Unbinding
Array and String
Array Insert
Array Slice
Array Remove
Array Get Value
Array and Data Concatenation
String Split/Conversion
Data to String
String to Data
String Split
String Find
String Substring
Result Analysis
Display Data
Display Array Data
Save Image
Statistical Counting
Display Result on Image
Display Results on Window
Detection Screenshot
Hardware Control
String Communication Read
String Command Control
String Communication Write
Register Communication Read
Register Communication Write
Register Command Control
Siemens DB Block Read
Siemens DB Block Write
Light Controller Control
Digital Input Read
Digital Output Read
Wait for Digital Input
Wait for Digital Output
Digital Output Write
Voice Broadcast
Motion Control
Axis Motion
Stop Axis
Wait for Axis Stop
Set Axis Parameters
Axis Enable
Multi Axis Motion
AI Trainer
AI Trainer Operation Guide
Deep Learning Labeling Principles and Details
Run Interface Edit
Enter Design Interface
Understanding Interface Composition
Object List
Main Menu
Others Design Window Property List Event Script
Widget List
Image Widget
Run Control Widget
Button Widget
Status Monitor Widget
Label Widget
Condition Label Widget
BOOL Setting Widget
Integer Setting Widget
Float Setting Widget
String Setting Widget
Dropdown Setting Control Widget
Integer Slider Widget
Float Slider Widget
Container Widget
Combo Box Widget
Tab Widget
Vertical Layout Widget
Horizontal Layout Widget
Vertical Spacer Widget
Horizontal Spacer Widget
Login Widget
Image Box Widget
Log Widget
Pie Chart Widget
Bar Line Chart Widget
Static Table Widget
Dynamic Table Widget
Circular Progress Widget
Preview Mode
Script Mode
Run Mode
Custom Logo
Software FAQ
How to Solve Global Camera Fly Shooting Smear Problem
Maximize Graphics Card Performance Settings
Method to Enable Virtual Memory
Vision Software Freeze Troubleshooting Steps
Secondary Development
VisionGroup3 CSharp Secondary Development Manual
VG3 SDK Development Guide V1.0 Cpp
VG3 Module Plugin Development
本站点使用 MrDoc 构建
-
+
首页
Camera Calibration
## Camera Calibration Calculates the correspondence between the image coordinate system and the mechanical coordinate system, and generates a calibration file. ## Module Principle By selecting the movement coordinates of the robot arm and inputting the image coordinates corresponding to the robot arm movement, the calibration relationship between the image pixel coordinates and the real-world coordinates is established and saved in the global variables.  The Camera Calibration module generates mechanical point data through the selected mechanical model, and the image point data is acquired externally (usually by acquiring feature points through Optimized Feature Matching). The mechanical center pose is the center coordinate of the machine during calibration (the fifth point or the second point). The calibrated mechanical point is calculated and output through this center coordinate and the mechanical type. Therefore, after modifying the mechanical type, you need to click [Mechanical Parameters] to regenerate the mechanical point data once. Calibration is divided into types with angle R and without angle. For calibration types without angle (XY, X, Y), the relative relationship is calculated, and only the conversion between the input image point and the mechanical point is calculated; for calibration types with angle (XYR, XR, YR), through the final rotation movement of the calibration, the **Rotation Center** of the robot arm is calculated, thereby calculating the absolute conversion relationship between the rotation center on the image and the mechanical coordinates. Since the rotation center is calculated from the feature points captured by the camera, slight errors will be generated due to shooting shake, inaccurate input image points, etc. When the **Rotation Angle** is too small and the **Rotation Radius** is too long, the error will be amplified. Therefore, when calculating calibration with angle, try to move a large angle (more than 30°) and reduce the rotation radius when selecting feature points.  Verification is to calculate multiple mechanical point movements again after the calibration is successfully generated to determine whether the calculated rotation center is accurate. Further reduce the error of the calibration **Rotation Center**.  The photographing method refers to the relationship between the robot arm and the camera during calibration. <Eye-in-Hand> The camera moves with the robot arm, and the movement direction of the acquired image points will be opposite to the actual robot arm running direction. <Eye-to-Hand> The camera is fixed and the robot arm moves, and the movement direction of the acquired image points will be the same as the actual robot arm running direction. ## Usage Scenarios Performed before picking or alignment calculation. Visual calibration is the process of determining parameters such as camera intrinsics, extrinsics, and lens distortion through image data collected by the camera. The purpose is to establish a precise mapping relationship between image pixel coordinates and actual physical coordinates. ### Pre/Post-Sequence Modules Camera image acquisition, Optimized Feature Matching to acquire image point data, run multiple times to generate calibration. The output of Camera Calibration is the mechanical point that needs to be reached next time.  ## Parameter Configuration Description 【Mechanical Parameters】 Set the coordinates of mechanical movement, and obtain image coordinates through input images. Note: In calibration mode, the first picture taken is not included in the calculation; in simulation mode, the first photo will be used as the first point of the image points. 【Calibration Group】 Select the corresponding coordinate system group, and the calibration data will be recorded in the calibration file under this coordinate system group. The coordinate system group must be set in the Coordinate System Calibration in Global Data Management. 【Calibration File】 Select the calibration file under the corresponding coordinate system group, and the calibration data will be recorded in this file. (The calibration file must be set in the Coordinate System Calibration in Global Data Management. First add a coordinate system group, then drag the camera and robot to the window under the corresponding coordinate system group, select the connection line to connect the two icons, and the calibration file can be generated) Running Mode: 【Simulation Model】 Generally used when calibrating with a group of pictures. In this mode, the first photo will be used as the first point of the image points. Also, images will not be saved in simulation mode. 【Calibration Mode】 Calibrate according to actual conditions. (Taking 12-point calibration as an example, when the reference image selects a simulation image, 13 images need to be provided, and the first image is not actually calculated. Simulation mode does not need to provide an extra image) 【Save Image】 Save the reference image. Mechanical Model: 【XYR】 Mechanical structure XY axes can translate and rotate. 【XY】 Mechanical structure XY axes can translate, but cannot rotate or do not need to rotate. 【XR (Y Separated)】 Mechanical structure only has X-axis translation and can rotate, Y-axis structure is separated. 【YR (X Separated)】 Mechanical structure only has Y-axis translation and can rotate, X-axis structure is separated. 【X (Y Separated)】 Mechanical structure only has X-axis translation, Y-axis structure is separated. 【Y (X Separated)】 Mechanical structure only has Y-axis translation, X-axis structure is separated. Photographing Method: 【Eye-to-Hand】 The camera is installed in a fixed position and does not shift or rotate with the machine. 【Eye-in-Hand】 The camera is fixedly installed on the mechanical rotation axis and shifts and rotates with the machine. ### Mechanical Parameters Mechanical Movement Settings: 【Translation Row (Column) Count】 Set the number of rows/columns for calibration mechanical movement. 【Rotation Count】 Set the number of rotations for calibration mechanical movement. 【Coordinate System Type】 Determine the coordinate system type of the robot arm. 【Pose Step】 The distance of single movement or rotation during mechanical calibration. 【Center Pose】 The mechanical pose of the center point during translation and rotation in calibration. When subscribe is selected, the value can be referenced in the port as the center pose. Calibration Judgment: 【Max Displacement Error】 The maximum error threshold between calibration data and calculation data on the mechanical axis. 【Max Angle Error】 The maximum error threshold between calibration data and calculation data angle. 【Center X/Y Compensation】 Offset compensation of the center pose, generally default to 0. Whether to Enable Verification: After enabling verification, the calibration will take a few more steps after completion to verify the calibration rotation center. And regenerate the calibration save after verification. 【Verification Max Error】 If verification is enabled, the maximum deviation allowed for the rotation center calculation. If the calculation deviation exceeds the verification maximum error, the rotation center calculation deviation is compensated, and the calibration data is regenerated. 【Detection Angle】 The rotation angle step of the mechanical axis during the verification process. 【Detection Count】 The number of times to perform verification. 【Center Compensation】 Offset compensation of the center pose, adding the center deviation calculated by verification as a compensation value to the center pose. 【Movement Data】 The mechanical movement data corresponding to the mechanical calibration. 【Confirm】 Save the mechanical parameters. Be sure to click Confirm to save after setting the mechanical parameters, otherwise the set values will be restored to default values! ## Output Description  The total run result outputs true after the calibration is successful, otherwise false. The single run result outputs the run result of each photographing movement. When calibration generation fails, both the total run result and the single output are false. ## Precautions 1. When using a bottom camera, X-axis mirroring is required. 2. For calibration with angle R, the rotation angle is best to be above 30° to improve the calculation accuracy of the rotation center. 3. Too long rotation radius will affect alignment accuracy. 4. The height of the plane for calibration needs to be the same as the height during use, otherwise there will be errors. 5. After modifying the mechanical model of a single camera, you need to click Mechanical Parameters to regenerate the calibration data. 6. In normal mode (calibration mode), the first image of camera calibration is not included in the calculation, and the camera needs to take one more photo to complete the calibration. ## Problem Solving Build the following flow to test the accuracy of the calibration in xy directions. Move the matching object 1-10mm, observe whether the calibration conversion result changes correspondingly to test the accuracy.  During alignment or picking, when the offset angle increases, causing the xy error to increase correspondingly, it is a calculation error of the calibration rotation center. You can solve the problem by increasing the calibration angle movement (more than 30 degrees). Or by checking calibration verification, using long radius calibration, etc. [【Attachment】Camera Calibration Example Project.rar](/media/attachment/2026/03/%E7%9B%B8%E6%9C%BA%E6%A0%87%E5%AE%9A%E7%A4%BA%E4%BE%8B%E5%B7%A5%E7%A8%8B.rar) --- Click here to jump to the corresponding Chinese manual page: [Camera Calibration](/doc/125)
唐红
2026年3月13日 09:25
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
PDF文档(打印)
分享
链接
类型
密码
更新密码