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 构建
-
+
首页
Extract Quadrilateral
## Extract Quadrilateral Find edge points that meet the gradient response value, then use the RANSAC algorithm to fit four straight lines. ## Parameter Configuration Description ### Main Interface Parameters  **[Line Settings]** * **Line 1:** Select to configure parameters for Line 1. * **Line 2:** Select to configure parameters for Line 2. * **Line 3:** Select to configure parameters for Line 3. * **Line 4:** Select to configure parameters for Line 4. **[Gradient Threshold]** The grayscale gradient of the edge position along the scanning direction; points greater than this threshold are retained. * For clear images with obvious edges: Set a higher value (>40). * For blurry images or indistinct edges: Set a lower value (10-30).  **[Line Scanning Direction]** Scan from top to bottom or from bottom to top, indicated by the arrow on the ROI. **[Line Polarity]**: * **Black to White:** Along the rectangular arrow, pointing from a low grayscale area to a high grayscale area. * **White to Black:** Along the rectangular arrow, pointing from a high grayscale area to a low grayscale area. * **All:** Can detect both black-to-white and white-to-black transitions.  **[Fitting Point Selection]**: * **All Points:** Use all detected edge points. * **Strongest Point:** Use the edge point with the maximum gradient value encountered along the scanning direction. * **First Row Points:** Use the first edge point encountered along the scanning direction. * **Last Row Points:** Use the last edge point encountered along the scanning direction.  **[Line Filtering]**: * **Optimal Fit:** Comprehensively considers the best-fitted line. * **Most Fitting Points:** The line with the highest number of qualifying fitting points among all fitted lines. * **Strongest Fit:** The line with the strongest gradient values for its fitting points among all fitted lines. * **First Line:** The first line fitted along the scanning direction. * **Last Line:** The last line fitted along the scanning direction. * **Specified ID Line:** Filters out the line with the specified ID along the scanning direction. ### Advanced Parameters  **Filtering Parameters:** **[Synchronize Line Modifications]** When checked, modifying the parameters for any one line will automatically update the parameters for the other three lines. **[Gaussian Filter Threshold]** The σ in the Gaussian function, which can be understood as half the width of the transition region pixels. (A larger value reduces noise impact but blurs edges; a smaller value retains more detail but increases noise impact.)  **[Angle Range Relative to ROI]** The allowable deviation angle for the fitted line relative to the ROI. As shown in the figure below, if the "Angle Range Relative to ROI" is set to 16, and the difference between the Line Angle and ROI Angle is 9 (which is within 16), the line is considered valid.  **[Sampling Points Count]** The number of uniform divisions perpendicular to the ROI scanning line direction.  **[Sampling Point Width]** Based on the center points divided evenly by the sampling points count, take the sampling point width to form small rectangular regions. Calculate and judge along the scanning direction within these small rectangular regions to check for qualifying edge points.  **[Fitting Points Count]** The minimum number of fitting points required for line fitting. If the count is less than this value, the fitting is considered failed. As shown in the figure below, with the fitting points count set to 5, there are a total of 6 points marked by white circles.  **[Distance Threshold]** Edge points whose perpendicular distance to the fitted line is less than this value will be used for line fitting. As shown in the figure below, detected edge points with a distance to the line less than the distance threshold are displayed in blue, while those greater than the threshold are displayed in red.  **[Maximum Iterations]** The maximum number of iterations required. If a line meeting the conditions is fitted early, the fitting process can stop prematurely. **[Iterations Without Improvement]** Stop iteration if the line fitting effect does not continue to improve during the fitting process. **[Score Threshold]** The final score used to judge the line. If the score is less than this threshold, the fitting is considered failed. The range is 0-1. The score is calculated by summing the perpendicular distances from all edge points to the fitted line; the smaller the sum, the higher the score. When all fitting points lie exactly on the fitted line, the score is 1. **Other Parameters:** **[Size Conversion]** * **Disable:** No size conversion is performed. * **Scale:** Manually enter a value to convert image coordinates to real-world coordinates. * **Calibration:** Connect to calibration data to convert image coordinates to real-world coordinates. ### ROI Settings  **[ROI Type]** The default ROI type for the detection area is a Skewed Rectangle. **[ROI Source]** * **Manual ROI:** Allows manual dragging of the ROI position and size in the window. * **Referenced ROI:** Allows connecting to an external ROI via a port. **[Position Correction]** Selecting pose correction allows connection to a coordinate system, enabling the ROI area to move with the coordinate system. **[Position Adjustment]** Adjust the position and size of the ROI. ### Mask Settings  **[Mask Enable]** * **Disable:** The mask will not take effect. * **Enable:** The mask takes effect. **[Mask Type]** * **Exclude Mask:** Do not detect areas within the mask. * **Include Mask:** Only detect areas within the mask. **[Mask Source]** * **Manual Mask:** Allows editing the mask using brushes, shapes, etc., to draw the mask area. * **Referenced Mask:** Allows connecting to existing ports to import port data and automatically draw the mask area. ## Output Description * **Run Result:** Outputs `True` if successful; outputs `False` if failed. * **Center Point:** The center point of the quadrilateral formed by the four detected lines. * **Vertex 1-2:** The intersection point of Line 1 and Line 2. * **Vertex 2-3:** The intersection point of Line 2 and Line 3. * **Vertex 3-4:** The intersection point of Line 3 and Line 4. * **Vertex 4-1:** The intersection point of Line 4 and Line 1. * **Angle 1-2:** The included angle between Line 1 and Line 2. * **Angle 2-3:** The included angle between Line 2 and Line 3. * **Angle 3-4:** The included angle between Line 3 and Line 4. * **Angle 4-1:** The included angle between Line 4 and Line 1. * **Line 1 Angle:** The angle of the detected Line 1. * **Line 2 Angle:** The angle of the detected Line 2. * **Line 3 Angle:** The angle of the detected Line 3. * **Line 4 Angle:** The angle of the detected Line 4. * **Line 1:** The detected Line 1. * **Line 2:** The detected Line 2. * **Line 3:** The detected Line 3. * **Line 4:** The detected Line 4. * **Skewed Rectangle ROI 1:** The ROI used for detecting Line 1. * **Skewed Rectangle ROI 2:** The ROI used for detecting Line 2. * **Skewed Rectangle ROI 3:** The ROI used for detecting Line 3. * **Skewed Rectangle ROI 4:** The ROI used for detecting Line 4. * **Mask Area 1:** Output Mask 1. * **Mask Area 2:** Output Mask 2. * **Mask Area 3:** Output Mask 3. * **Mask Area 4:** Output Mask 4.  --- Click here to jump to the corresponding Chinese manual page: [Extract Quadrilateral](/doc/93)
唐红
2026年3月12日 14:42
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
PDF文档(打印)
分享
链接
类型
密码
更新密码