HALCON 23.05.0.0
/ HDevelop 用户向导
下一页 »
HDevelop User's Guide
HALCON 23.05.0.0
MVTec Software GmbH
PDF
关于本手册
符号
法律说明
Chapter 1 Introducing HDevelop
1.1 Facts About HDevelop
1.2 HDevelop XL
1.3 Terminology & Usage
Chapter 2 Getting Started
2.1 Running HDevelop
2.2 Start Dialog
2.3 User Interface
2.4 Organizing HDevelop's Workspace
2.5 Running Example Programs
Chapter 3 Acquiring Images With HDevelop
3.1 Reading Images From Files
3.2 Viewing Images
3.3 Image Acquisition Assistant
3.3.1 Acquiring Images From Files or Directories
3.3.2 Acquiring Images Through Image Acquisition Interfaces
3.3.3 Modifying the Generated Code
Chapter 4 Programming With HDevelop
4.1 Starting a New Program
4.2 Entering an Operator
4.3 Specifying Parameters
4.4 Getting Help
4.5 Adding Program Lines
4.6 Understanding the Image Display
4.7 Inspecting Variables
4.8 Improving the Threshold Using the Gray Histogram
4.9 Editing Lines
4.10 Executing a Program
4.11 Saving a Program
4.12 Selecting Regions Based on Features
4.13 Opening the Graphics Window
4.14 Looping Over the Results
4.15 Summary
Chapter 5 HDevelop Procedures
5.1 Procedure Types
5.2 File Types
5.2.1 File Tracking
5.2.2 HDevelop Programs
5.2.3 Procedure Files
5.2.4 Libraries
5.3 Procedure Scope
5.4 Procedure Locations
5.5 Procedure Resolution
5.6 Protected Procedures
5.7 Procedure Documentation
5.8 Legacy Procedures
5.9 Just-in-Time Compilation
Chapter 6 Graphical User Interface
6.1 Menu
6.1.1 Menu File
6.1.2 Menu Edit
6.1.3 Menu Execute
6.1.4 Menu Visualization
6.1.5 Menu Procedures
6.1.6 Menu Operators
6.1.7 Menu Suggestions
6.1.8 Menu Assistants
6.1.9 Menu Window
6.1.10 Menu Help
6.2 Tool Bar
6.3 Status Bar
6.4 Canvas Window
6.4.1 Canvas Options
6.4.2 Zooming
6.4.3 Moving
6.4.4 Resizing
6.5 Browse Example Programs Dialog
6.6 Export Program Dialog
6.7 Find/Replace Dialog
6.8 Graphics Window
6.8.1 Tool Bar
6.8.2 Visualization Parameters
6.8.2.1 Pen settings
6.8.2.2 LUT settings
6.8.2.3 Paint settings
6.8.2.4 Pixel Grid settings
6.8.2.5 Zoom settings
6.8.3 Context Menu
6.8.4 3D Plot Mode
6.8.5 Special Keyboard Shortcuts
6.9 Help Window
6.10 OCR Training File Browser
6.10.1 Windows of the Training File Browser
6.10.1.1 Training File Window
6.10.1.2 Zoomed Sample Window
6.10.1.3 Sample Inspection Window
6.10.2 Steps for Working With the OCR Training File Browser
6.10.3 Actions Within the Training File Browser
6.10.3.1 Training Files
6.10.3.2 Symbols
6.10.3.3 Samples
6.10.3.4 Generating Sample Variations
6.11 Operator Window
6.11.1 Operator Name Field
6.11.2 Parameter Display
6.11.3 Control Buttons
6.12 Output Console Window
6.13 Plot Windows
6.13.1 Interacting With Plot Windows
6.13.1.1 Mouse-based Operations
6.13.1.2 Setting the Plot Bounds Parametrically
6.13.1.3 Plot Window Context Menus
6.13.2 Gray Histogram Window
6.13.2.1 Context Menus
6.13.2.2 Interactive Visual Operations
6.13.2.3 Threshold Operation
6.13.2.4 Scale Operation
6.13.3 Feature Histogram Window
6.13.4 Feature Inspection Window
6.13.5 Line Profile Window
6.13.5.1 ROI Menu of the Line Profile Window
6.13.5.2 Line Profile Display
6.13.5.3 Context Menus
6.13.5.4 Line Profile Options
6.13.5.5 Input and Output
6.13.5.6 Statistics
6.13.5.7 Focusing Your Camera: How to Test Images for Sharpness
6.14 Properties Dialog
6.15 Print Dialog
6.16 Preferences Dialog
6.16.1 User Interface ▹ Program Window
6.16.2 User Interface ▹ Fonts
6.16.3 User Interface ▹ Language
6.16.4 User Interface ▹ Themes
6.16.5 Procedures ▹ Directories
6.16.6 Procedures ▹ External Procedures
6.16.7 Procedures ▹ Manage Procedure Libraries
6.16.8 Procedures ▹ Manage Passwords
6.16.9 Procedures ▹ Procedure Use
6.16.10 Procedures ▹ Unresolved Procedure Calls
6.16.11 General Options ▹ General Options
6.16.12 General Options ▹ Experienced User
6.16.13 Visualization Settings
6.16.14 Runtime Settings ▹ Runtime Settings
6.16.15 Runtime Settings ▹ Override Operator Behavior
6.16.16 Telemetry
6.17 Program Window
6.17.1 Program Window Actions
6.17.2 Editing Programs
6.17.3 Program Counter, Insert Cursor, and Breakpoints
6.17.4 Context Menu
6.17.5 Creating Procedures
6.17.5.1 Setting Up the General Settings of a Procedure
6.17.5.2 Setting Up the Procedure Parameters
6.17.5.3 Committing the Procedure Interface
6.17.6 Editing Procedures
6.17.7 Side Effects of Procedure Changes
6.17.8 Providing Procedure Documentation
6.17.8.1 General Documentation
6.17.8.2 Parameter Documentation
6.17.9 Protecting a Procedure
6.17.10 Profiler
6.17.10.1 Profiler Display
6.17.10.2 Runtime Statistics
6.17.10.3 Selective Profiler Display
6.18 Quick Navigation Window
6.18.1 Invalid Lines
6.18.2 Find Results
6.18.3 Breakpoints
6.18.4 Bookmarks
6.19 ROI Window
6.20 Thread View / Call Stack
6.21 Variable Window
6.21.1 Breakpoints on Variables
6.21.2 Managing Variables
6.21.3 Iconic Variables
6.21.4 Control Variables
6.22 Variable Inspect
6.22.1 Inspecting Tuples
6.22.2 Inspecting Vectors
6.22.3 Inspecting Handles
6.22.4 Inspecting Matrices
6.22.5 Inspecting Poses
6.22.6 Inspecting Image Acquisition Device Handles
6.22.7 Inspecting Functions
6.22.8 Inspecting 3D Object Models
6.23 Zoom Window
Chapter 7 HDevelop Assistants
7.1 Image Acquisition Assistant
7.1.1 Tab Source
7.1.2 Tab Connection
7.1.3 Tab Parameters
7.1.4 Tab Inspect
7.1.5 Tab Code Generation
7.1.6 Menu Bar
7.2 Calibration Assistant
7.2.1 Introducing the Calibration Assistant of HDevelop
7.2.2 How to Calibrate With the Calibration Assistant
7.2.2.1 Choosing the Correct Calibration Mode and Basic Parameters
7.2.2.2 Acquiring Calibration Images
7.2.2.3 Display Parameters
7.2.2.4 Calibration Plate Extraction Parameters
7.2.3 Results of the Calibration
7.2.3.1 Calibration Status
7.2.3.2 Camera Parameters
7.2.3.3 Camera Pose
7.2.3.4 Display Results
7.2.4 Generating Code
7.2.4.1 Calibration
7.2.4.2 The Browse button
7.2.4.3 Sample Usage
7.2.4.4 Variable Names
7.2.4.5 Code Preview
7.2.5 Calibration Assistant Reference
7.2.5.1 The Menu File
7.2.5.2 The Menu Calibration
7.2.5.3 The Menu Code Generation
7.2.5.4 The Menu Help
7.2.5.5 The Tab Setup
7.2.5.6 The Tab Calibration
7.2.5.7 The Tab Results
7.2.5.8 The Tab Code Generation
7.3 Matching Assistant
7.3.1 Introducing the Matching Assistant of HDevelop
7.3.2 How to Use the Matching Assistant of HDevelop
7.3.2.1 Selecting a Matching Method
7.3.2.2 Creating the Model
7.3.2.3 Testing the Model
7.3.2.4 Optimizing the Parameters
7.3.2.5 Generate Code
7.3.3 Matching Assistant Reference
7.3.3.1 The Menu File
7.3.3.2 The Menu ROI
7.3.3.3 The Menu Parameters
7.3.3.4 The Menu Usage
7.3.3.5 The Menu Inspect
7.3.3.6 The Menu Code Generation
7.3.3.7 The Menu Help
7.3.3.8 The Tool Bar
7.3.3.9 The Tab Creation
7.3.3.10 The Tab Usage
7.3.3.11 The Tab Inspect
7.3.3.12 The Tab Code Generation
7.4 Measure Assistant
7.4.1 Introducing the Measure Assistant of HDevelop
7.4.2 How to Use the Measure Assistant of HDevelop
7.4.2.1 Set up the Measure Task
7.4.2.2 Extract Edges
7.4.2.3 Display Parameters
7.4.3 Results
7.4.3.1 Feature Selection
7.4.3.2 Feature Processing
7.4.3.3 Edge Data
7.4.4 Code Generation
7.4.4.1 Change Variable Names
7.4.4.2 Code Preview
7.4.5 Advanced Measuring Tasks
7.4.5.1 Expected Gray Value Range
7.4.5.2 Fuzzy Measuring
7.4.5.3 Alignment
7.4.6 Measure Assistant Reference
7.4.6.1 The Menu File
7.4.6.2 The Menu Measuring
7.4.6.3 The Menu Code Generation
7.4.6.4 The Menu Help
7.4.6.5 The Tab Input
7.4.6.6 The Tab Edges
7.4.6.7 The Tab Fuzzy
7.4.6.8 The Tab Results
7.4.6.9 The Tab Code Generation
7.5 OCR Assistant
7.5.1 Introducing the OCR Assistant of HDevelop
7.5.2 Setup
7.5.2.1 Quick Setup
7.5.2.2 Image Source
7.5.2.3 Region of Interest
7.5.3 Segmentation
7.5.3.1 Symbol Appearance
7.5.3.2 Symbol Size
7.5.3.3 Symbol Shape
7.5.3.4 Symbol Fragmentation
7.5.3.5 Text Orientation
7.5.3.6 Text Layout
7.5.3.7 Inspection
7.5.3.8 Reset
7.5.4 OCR Classifier
7.5.4.1 Select or Save an OCR Classifier
7.5.4.2 Teaching
7.5.4.3 Training
7.5.4.4 Basic Features
7.5.4.5 Advanced Training Parameters and Features
7.5.5 Results
7.5.5.1 Word Processing
7.5.5.2 Feature Selection
7.5.5.3 Display Parameters
7.5.5.4 Results
7.5.6 Code Generation
7.5.6.1 General Options
7.5.6.2 Change Variable Names
7.5.6.3 Code Preview
7.5.7 OCR Assistant Reference
7.5.7.1 The Menu File
7.5.7.2 The Menu OCR
7.5.7.3 The Menu Code Generation
7.5.7.4 The Menu Help
7.5.7.5 The Tab Setup
7.5.7.6 The Tab Segmentation
7.5.7.7 The Tab OCR Classifier
7.5.7.8 The Tab Results
7.5.7.9 The Tab Code Generation
Chapter 8 HDevelop Language
8.1 Basic Types of Parameters
8.2 Control Types and Constants
8.3 Variables
8.3.1 Variable Types
8.3.2 Scope of Variables (local or global)
8.4 Operations on Iconic Objects
8.5 Expressions for Input Control Parameters
8.5.1 General Features of Tuple Operations
8.5.2 Assignment
8.5.3 Basic Tuple Operations
8.5.4 Tuple Creation
8.5.5 Type Operations
8.5.6 Basic Arithmetic Operations
8.5.7 Bit Operations
8.5.8 String Operations
8.5.9 Set Operations
8.5.10 Comparison Operations
8.5.11 Elementwise Comparison Operations
8.5.12 Boolean Operations
8.5.13 Trigonometric Functions
8.5.14 Exponential Functions
8.5.15 Numerical Functions
8.5.16 Miscellaneous Functions
8.5.17 Operation Precedence
8.6 Vectors
8.7 Dictionaries
8.8 Reserved Words
8.9 Control Flow Operators
8.10 Error Handling
8.10.1 Tracking the Return Value of Operator Calls
8.10.2 Exception Handling
8.11 Parallel Execution
8.11.1 Starting a Subthread
8.11.2 Waiting for Subthreads to Finish
8.11.3 Execution of Threads in HDevelop
8.11.4 Inspecting Threads
8.11.5 Suspending and Resuming Threads
8.12 Summary of HDevelop Tuple Operations
8.13 HDevelop Error Codes
8.14 Emergency Backup
Chapter 9 Remote Debugging
9.1 Requirements
9.2 Attaching to an External Application
9.3 Debugging
9.4 Handling of Procedures
9.5 Handling of Protected Procedures
9.6 Error Handling
9.7 Threading
9.8 Terminating a Remote Debug Session
9.9 Limitations
Chapter 10 Code Export
10.1 Exporting Library Projects
10.1.1 Requirements
10.1.1.1 C++
10.1.1.2 C#
10.1.2 Project Preparation
10.1.3 Exporting a Library Project
10.1.4 Using the Exported Library Project
10.1.4.1 Converting to Visual Studio
10.1.4.2 Integrating the Project Into Your Own Projects
10.1.4.3 Updating the Exported Library Project
10.1.4.4 Using the Exported Library in C++
10.1.4.5 Using the Exported Library in C#
10.2 Exporting Entire HDevelop Programs
10.2.1 Code Generation for C++
10.2.1.1 Basic Steps
10.2.1.2 Optimization
10.2.1.3 Used Classes
10.2.1.4 Limitations and Troubleshooting
10.2.2 Code Generation for C# (HALCON/.NET)
10.2.2.1 Basic Steps
10.2.2.2 Program Structure
10.2.2.3 Limitations and Troubleshooting
10.2.3 Code Generation for Visual Basic .NET (HALCON/.NET)
10.2.3.1 Basic Steps
10.2.3.2 Program Structure
10.2.3.3 Limitations and Troubleshooting
10.2.4 Code Generation for C
10.2.4.1 Basic Steps
10.2.5 General Aspects of Code Generation
10.2.5.1 Arbitrary Program Code
10.2.5.2 Assignment
10.2.5.3 Variable Names
10.2.5.4 Protected Procedures
10.2.5.5 System Parameters
10.2.5.6 Graphics Windows
10.2.5.7 Unset Output Parameters in Procedures
10.2.5.8 Accessing Uninitialized Tuple or Vector Elements
Appendix A Glossary
Appendix B Color Names
Appendix C Command Line Usage
3.1 HDevelop
3.2 Hrun
Appendix D Keyboard Shortcuts
4.1 Canvas Window
4.2 Graphics Window
4.3 Help Window
4.4 HDevelop Main Window
4.5 OCR Training File Browser
4.6 Plot Windows
4.7 Program Window
4.8 Variable Inspect
下一页 »