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 构建
-
+
首页
Multi-Region Alignment
## Multi-Region Alignment Alignment is performed within the physical coordinate system of the robot, using points in mechanical coordinates. The input for this module is an array of points extracted from multiple cameras. Additionally, a weighting function has been added, allowing users to set the calculation proportion of each point during alignment. Points with higher weights have a greater influence on the result. ## Usage Scenarios Machine vision alignment refers to the process of using a machine vision system (cameras, lenses, lighting, image processing software) to precisely identify and measure the position and angle (pose) of a target object (workpiece), and then guide, adjust, or align it to a preset desired position and angle. The core goal is to eliminate positional and angular deviations, achieving high-precision positioning and assembly. Simply put, the vision system tells the control system: The target is currently here (coordinates X, Y, angle θ). It needs to be at the target position (coordinates X0, Y0, angle θ0). The difference is (ΔX, ΔY, Δθ). Please move by this amount to align. Alignment is generally used when aligning objects on two planes, commonly in film application and labeling. It is needed in situations where information captured by two cameras needs to be transformed relative to each other.  ## Module Principle In previous modules, whether correction or alignment modules, the inputs were image points, along with calibration and mapping data, finally outputting mechanical compensation. In the Mechanical Point Alignment module, both inputs and outputs are mechanical points. It performs alignment calculations directly without calibration conversion. This allows it to handle more complex mechanical models and requires users to handle the conversion between image points and mechanical points within their workflow, facilitating error tracing. Multi-module alignment is similar to mechanical point alignment, meaning it performs alignment directly on the input data without calibration conversion. This requires that the input data be in the same coordinate system.  Mechanical models are divided into types that include angles (XYR, XR, YR) and types that do not include angles (XY). The calculation methods for these two types of alignment are different, and the results will also differ. Clockwise Coordinate System:  Counterclockwise Coordinate System:  The mechanical coordinate system type corresponds to the current robot's coordinate type. When the type includes angle R, it affects the calculation results and the direction of the angle. There are three alignment methods: Point-to-Point, Point + Angle, and Point + Line. The Point-to-Point method uses the SVD decomposition algorithm. The Point + Angle and Point + Line methods use the same algorithm. For the Point + Line method, the angle of the input line is extracted and used in the Point + Angle algorithm to calculate the result. ### Compensation Amount For mechanical models that include angle R, compensating R will affect the XY values. (i.e., if only R is compensated, the XY position where the robot grasps the workpiece will not change, but the actual mechanical coordinates XY will change slightly to accommodate the rotation.) The compensation amount is added to the result after the final alignment. If the alignment is not yet complete and needs to continue, the result output will not include the compensation. The compensation amount does not affect the judgment of alignment completion accuracy. Since inputs are all mechanical points and do not require image data, the alignment can only be completed in one step. ### Advanced Parameters Departure Pose: The mechanical coordinate position corresponding to the starting point, i.e., the position of the rotation center. This is typically the拍照 position of the bottom camera. When the mechanical type includes angle R, the拍照 pose significantly impacts the results. Alignment Accuracy refers to the mechanical precision. When the alignment output is less than the Alignment Accuracy, the alignment is successful. Otherwise, if the number of alignments performed is less than the set number of correction attempts, error code 1 is output, and alignment continues. Mechanical Range defines the robot's permissible motion range. It only validates the actual pose and does not restrict the offset pose. If the output actual coordinates fall outside this range, error code 5 is output.  ### Weight Parameters  Records the weight for each point. The default value is 1. Any input value greater than 0 is acceptable; the calculation will automatically normalize the weights. ## Usage Method ### Pre and Post Modules Image capture from camera, line extraction, etc., are used to obtain point arrays for alignment. When the input is a group of image points, the input photography pose requires image pixel points, and the output will also be pixel values. When the input is a group of mechanical points, the extracted image point data must all be converted to mechanical point data. In this case, the output will be the actual physical offset. ## Parameter Configuration Description 【Mechanical Type】Select the corresponding mechanical model based on the coordinate system type of the actual robot. 【Calibration Group】Select the coordinate system group for the current equipment. The coordinate system group must be set in the Coordinate System Calibration under Global Data Management. 【Device Selection】Select the mechanical device used for mechanical alignment within the chosen coordinate system group. (Used to obtain the rotation direction and coordinate system of the robot.) 【Number of Point Pairs】The number of input regions; changing this value will affect the number of regions that need to be input. 【Compensation Amount】Mechanical coordinates for compensation within the mechanical coordinate system. When subscribing, the compensation amount can be introduced via a port. 【Reference Image】The image used as a reference during processing. #### Advanced Parameters 【Teaching Pose for Photography】The mechanical end coordinates when the camera can capture the material during the teaching process. 【Alignment Accuracy】Mechanical coordinates defining the accuracy range that the alignment needs to achieve. 【Number of Corrections】The maximum number of alignment attempts allowed. If the alignment result does not meet the Alignment Accuracy but is still within the Mechanical Range, alignment continues until the number of corrections is reached. 【Mechanical Range】The permissible motion range of the robot. ## Output Description  When all inputs are mechanical points, the output is the mechanical offset. When all inputs are image points, the output is in pixel values. The output includes two sets: Grasp Pose and Offset Pose. The Grasp Pose is the actual pose for the robot to grasp, and it is also the range checked against the 【Mechanical Range】. The Offset Pose is the offset of the robot relative to the taught position and is not checked against the mechanical range. | Feature | Grasp Pose | Offset Pose | |------|------------|-------------------| | Coordinate Type | Absolute Coordinates (GPS-like) | Relative Coordinates (Reference-based) | | Safety Check | Full check against mechanical range | Range not checked | | Primary Function | Final execution position | Position fine-tuning | | Analogy | Detailed delivery address | "To your front left" | | Dependency | Absolute Coordinates | Includes taught position + offset based only on taught position | ## Notes The type of **Mechanical Coordinate System** corresponds to the current robot's coordinate type. When the type includes angle R, it affects the calculation results and the direction of the angle. ## Troubleshooting 1. When alignment is inaccurate, check if the feature matching module is accurately acquiring the image. 2. If stable correction still cannot be achieved, test the accuracy of the calibration and mapping. (Method for testing calibration and mapping issues: Change the pick-up拍照 position by 2mm and observe if the result output changes by 2mm. If the result is incorrect in this case, it indicates a calibration error. Change the placement拍照 position by 2mm and observe if the result output changes by 2mm. If the result is incorrect in this case, it indicates a mapping error.) 3. If the offset angle increases, leading to XY inaccuracies, it may be due to an incorrect calculation of the rotation center during calibration. Try re-calibrating, modifying the calibration method, or improving the rotation center calculation (add calibration verification or use the Long Radius Calibration module). 4. If correction is accurate at the center of the field of view but shows XY deviations at the edges, consider image distortion (use the Image Distortion Correction module) or an incorrect scale calculation in the calibration (use the Calibration Check module). --- Click here to jump to the corresponding Chinese manual page: [Multi-Region Alignment](/doc/303)
唐红
2026年3月13日 12:00
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
PDF文档(打印)
分享
链接
类型
密码
更新密码