### HALCON Basics Documentation Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/index Covers fundamental aspects of HALCON, including quick guides, installation, HDevelop usage, and solution guides for various vision tasks like image acquisition, matching, 2D data codes, classification, 1D/2D measuring, and 3D vision. ```APIDOC HALCON Basics: Quick Guide: Download PDF Installation Guide: Download PDF HDevelop User's Guide: Download PDF HDevelopEVO User's Guide: Go to website Solution Guide I - Basics: Download PDF Solution Guide II-A - Image Acquisition: Download PDF Solution Guide II-B - Matching: Download PDF Solution Guide II-C - 2D Data Codes: Download PDF Solution Guide II-D - Classification: Download PDF Solution Guide III-A - 1D Measuring: Download PDF Solution Guide III-B - 2D Measuring: Download PDF Solution Guide III-C - 3D Vision: Download PDF Technical Updates: Download PDF ``` -------------------------------- ### HDevelop Example Program: query_system_parameters.hdev Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 A HDevelop example program for querying system parameters. Previously had issues on machines without OpenGL installed. ```HDevelop hdevelop/System/Parameters/query_system_parameters.hdev ``` -------------------------------- ### Introduction to HALCON Basic Concepts Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2411-1 Provides an introductory guide to fundamental HALCON concepts, including images, regions, domains, and tuples. This example serves as a learning resource for new users. ```HDevelop hdevelop/halcon_basic_concepts.hdev ``` -------------------------------- ### HDevelop Example Program: explore_halcon.hdev Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 An improved HDevelop example program that now provides the program runtime for each example application. ```HDevelop hdevelop/explore_halcon.hdev ``` -------------------------------- ### C# Avalonia UI Matching Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-0 A new C# example program, AvaloniaMatching, has been added to demonstrate how to visualize data within the Avalonia UI framework. This serves as a practical guide for integrating HALCON with Avalonia. ```C# // Project: /context7/mvtec-products-halcon-work-with-halcon // File: AvaloniaMatching (Example Program) // This example demonstrates visualizing HALCON data in an Avalonia UI. // It showcases integration patterns between HALCON and the Avalonia framework. // using Avalonia.Controls; // using HalconDotNet; // public class MainWindow : Window // { // public MainWindow() // { // InitializeComponent(); // } // // private void InitializeComponent() // { // // ... Avalonia UI setup ... // // Example: Displaying an image using HSmartWindowControlWPF // // var hWindowControl = this.FindControl("hWindowControl"); // // HImage image = new HImage("path/to/your/image.png"); // // hWindowControl.DisplayImage(image); // } // } ``` -------------------------------- ### C++ Example for create_pose and threshold Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-2 Reference manual entries for HALCON operators 'create_pose' and 'threshold' now include C++ code examples to illustrate their usage. ```C++ // Example for create_pose (conceptual) // HDevelop: create_pose (Row, Col, MeasureChan, Angle, Length1, Length2, StartPhi, EndPhi, AngleResolution, Error, PoseHandle) // C++ equivalent would involve similar parameters for pose creation. ``` ```C++ // Example for threshold (conceptual) // HDevelop: threshold (Image, Region, Dark, Light) // C++ equivalent would involve image processing functions to segment based on intensity. ``` -------------------------------- ### HDevelop OPC UA Monitor Subscription Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 An HDevelop example program demonstrating how to monitor subscriptions with OPC UA. ```HDevelop hdevelop/System/IO-Devices/opc_ua_monitor_subscription.hdev ``` -------------------------------- ### HDevelop Example: measure_plant Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 Added a new HDevelop example 'measure_plant' demonstrating segmentation and measurement of different plant parts. ```APIDOC Example: hdevelop/3D-Object-Model/Segmentation/measure_plant.hdev Description: Demonstrates segmentation and measurement of different parts of a plant. ``` -------------------------------- ### HDevelop Startup Batch Files Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1712-0 Batch files installed to the HALCON root directory for starting specific HDevelop versions and platforms on Windows. These simplify launching HDevelop without manual environment variable adjustments, and allow dragging HDevelop program files onto them to open. ```batch start_hdevelop_x64.bat start_hdevelopxl_x64.bat start_hdevelop_x86sse2.bat start_hdevelopxl_x86sse2.bat ``` -------------------------------- ### HDevelop Example: Structured Light Calibration Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2411-1-s Demonstrates how to calibrate a structured light setup using HALCON's new 3D reconstruction features. Includes usage of new images. ```HDevelop hdevelop/3D-Reconstruction/Structured-Light/structured_light_calibration.hdev ``` -------------------------------- ### DL Detection and Segmentation Workflow Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-0 HDevelop example programs demonstrating the fundamental workflows for deep learning object detection and semantic segmentation. These examples cover dataset preprocessing, model training, evaluation, and inference. ```HDevelop hdevelop/Deep-Learning/Detection/dl_detection_workflow.hdev ``` ```HDevelop hdevelop/Deep-Learning/Segmentation/dl_segmentation_workflow.hdev ``` -------------------------------- ### HDevelop Dictionary Data Container Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 An HDevelop example program showcasing the usage of dictionary data containers. ```HDevelop hdevelop/Tuple/Data-Containers/dictionary.hdev ``` -------------------------------- ### HDevelop Examples: Deep Learning Semantic Segmentation Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 A series of HDevelop examples illustrating the process of deep learning-based semantic segmentation in HALCON. These examples guide users through preprocessing, training, and evaluation steps for defect segmentation. ```HDevelop examples/hdevelop/Deep-Learning/Segmentation/segment_pill_defects_deep_learning_1_preprocess.hdev examples/hdevelop/Deep-Learning/Segmentation/segment_pill_defects_deep_learning_2_train.hdev examples/hdevelop/Deep-Learning/Segmentation/segment_pill_defects_deep_learning_3_evaluate.hdev ``` -------------------------------- ### Language Interface Example: c#/IACallback/dotnetcore31 Configuration Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-2 Corrects the configuration of the c#/IACallback/dotnetcore31 example, which was incorrectly set up for a desktop application. This problem has been fixed. ```C# // Fix for c#/IACallback/dotnetcore31 example configuration // Issue: Incorrect configuration for desktop application. // Status: Resolved ``` -------------------------------- ### HDevelop Example Programs List Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2505-0 A collection of new HDevelop example programs demonstrating various functionalities. These files represent specific use cases and algorithms within the HDevelop environment. ```HDevelop hdevelop/3D-Matching/Deep-3D-Matching/deep_3d_matching_data_generation.hdev ``` ```HDevelop hdevelop/3D-Matching/Deep-3D-Matching/deep_3d_matching_training_workflow.hdev ``` ```HDevelop hdevelop/Deep-Learning/Detection/dl_detection_inference_yolo.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_create.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_frame_rate.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_information.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_modules.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_parameters.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_pixel_format.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_plugin_path.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_query_devices.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_query_plugins.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_simple.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_trigger_hardware.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_trigger_software.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_trigger_software_multithread.hdev ``` ```HDevelop hdevelop/Applications/Wafer-Inspection/inspect_wafer.hdev ``` ```HDevelop hdevelop/Classification/k-Nearest-Neighbor/classify_pills_hyperspectral.hdev ``` ```HDevelop hdevelop/3D-Matching/Deep-3D-Matching/deep_3d_matching_workflow.hdev ``` ```HDevelop hdevelop/Tuple/String-Operations/tuple_split_join.hdev ``` -------------------------------- ### HDevelop Examples: Deep Learning Object Detection Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 A series of HDevelop examples demonstrating the workflow for deep learning-based object detection in HALCON. These examples cover preparation, training, evaluation, and inference stages. ```HDevelop examples/hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_1_prepare.hdev examples/hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_2_train.hdev examples/hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_3_evaluate.hdev examples/hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_4_infer.hdev ``` -------------------------------- ### HDevelop Example Programs Overview Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2411-1 Lists new and updated HDevelop example programs demonstrating various HALCON functionalities. These examples cover areas such as 3D matching, deep learning, calibration, and image processing tasks. ```HDevelop hdevelop/3D-Matching/3D-Gripping-Point-Detection/3d_gripping_point_detection_training_workflow.hdev hdevelop/Applications/Battery-Inspection/battery_electrode_sheet_inspection.hdev hdevelop/Calibration/Hand-Eye/calibrate_hand_eye_stationary_cam_stochastic.hdev hdevelop/Classification/k-Nearest-Neighbor/classify_pills_hyperspectral.hdev hdevelop/3D-Matching/Deep-3D-Matching/deep_3d_matching_workflow.hdev hdevelop/Matching/Deep-Counting/deep_counting.hdev hdevelop/Matching/Deep-Counting/deep_counting_workflow.hdev hdevelop/OCR/Deep-OCR/deep_ocr_detection_training_workflow.hdev hdevelop/Applications/Battery-Inspection/detect_3d_defects_on_battery_surface.hdev hdevelop/Deep-Learning/Classification/detect_out_of_distribution_samples_for_classification.hdev hdevelop/Deep-Learning/MultiLabelClassification/dl_multi_label_classification_workflow.hdev hdevelop/System/Sockets/generic_socket_transmit_memory_block.hdev hdevelop/halcon_basic_concepts.hdev hdevelop/Applications/Battery-Inspection/inspect_and_identify_battery_cells.hdev hdevelop/XLD/Sets/intersection_region_contour_xld.hdev hdevelop/Identification/Data-Code/print_quality_smallest_module_size.hdev hdevelop/3D-Object-Model/Creation/read_object_model_3d_generic_ascii.hdev hdevelop/3D-Reconstruction/Structured-Light/structured_light_3d_surface_reconstruction.hdev hdevelop/3D-Reconstruction/Structured-Light/structured_light_calibration.hdev hdevelop/Matching/Shape-Based/train_generic_shape_model_sample_workflow.hdev hdevelop/Tuple/String-Operations/tuple_str_distance.hdev ``` -------------------------------- ### HDevelop Example: GStreamer Frame Rate Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-2-0 Example HDevelop program demonstrating frame rate acquisition using GStreamer. ```HDevelop hdevelop/Image/Acquisition/gstreamer_frame_rate.hdev ``` -------------------------------- ### HDevelop Examples for DotCode Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-0-0 These HDevelop example programs demonstrate how to use the new DotCode functionality, including default and optimized settings for reading DotCode symbols. ```HDevelop hdevelop/Applications/Data-Codes/dotcode_default_settings.hdev ``` ```HDevelop hdevelop/Applications/Data-Codes/dotcode_optimized_settings.hdev ``` -------------------------------- ### USB3Vision Information Gathering Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-0-0 This HDevelop example program is designed to gather information about the system and camera configuration specifically for USB3Vision devices. ```HDevelop hdevelop/Image/Acquisition/usb3vision_information.hdev ``` -------------------------------- ### HDevelop Example Organization Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1712-0 Corrects inconsistent naming conventions for hand-eye calibration examples and folders within HDevelop. This ensures that all relevant examples are discoverable when filtering by 'hand-eye' or 'hand_eye' in the HDevelop example browser. ```HDevelop // HDevelop Example Browser Filtering // Fix for inconsistent naming of hand-eye calibration examples. // Filtering by 'hand-eye' or 'hand_eye' now lists all relevant examples. ``` -------------------------------- ### HALCON Language Interface Example Program Fixes Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2311-0 Details bug fixes for language interface example programs, including configuration errors in a C#/.NET Core example and incorrect naming of a preference dialog in HDevelop documentation and examples. ```APIDOC Example Program: c#/IACallback/dotnetcore31 Description: Fixes incorrect configuration for a desktop application. Documentation/Examples: dev_set_preferences, dev_get_preferences, test_jit_speedup.hdev Description: Fixes an incorrect naming of the HDevelop preference dialog from 'Experienced Users' to 'Experienced User' in reference manual entries and HDevelop/HDevEngine examples. ``` -------------------------------- ### HALCON C and C++ Exported Examples Update Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1712-0 The exported armv7a C and C++ examples have been updated. This section indicates that the provided examples for the armv7a architecture have been refreshed, likely including bug fixes or feature enhancements. ```C++ // Exported armv7a C and C++ examples updated. // This update likely includes bug fixes and improvements for the armv7a platform. ``` -------------------------------- ### HDevelop USB3 Vision Acquisition Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 HDevelop example programs demonstrating USB3 Vision acquisition features, including acquisition events, file access, and firmware updates. ```HDevelop hdevelop/Image/Acquisition/usb3vision_acquisition_events.hdev ``` ```HDevelop hdevelop/Image/Acquisition/usb3vision_fileaccess.hdev ``` ```HDevelop hdevelop/Image/Acquisition/usb3vision_fwupdate.hdev ``` -------------------------------- ### HDevelop Example: GenICamTL Frame Rate Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-2-0 Example HDevelop program demonstrating frame rate acquisition using GenICamTL. ```HDevelop hdevelop/Image/Acquisition/genicamtl_frame_rate.hdev ``` -------------------------------- ### HALCON Shape-Based Matching Examples Update Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2111-0 Details the update of HALCON shape-based matching examples to use the generic interface, including lists of modified, added, and removed HDevelop example programs. ```APIDOC Updated HDevelop Standard Examples: - hdevelop/Applications/Measuring-2D/pm_measure_board.hdev - hdevelop/Applications/Position-Recognition-2D/matching_image_border.hdev - hdevelop/Matching/Shape-Based/create_shape_model_xld.hdev - hdevelop/Matching/Shape-Based/find_aniso_shape_model.hdev - hdevelop/Matching/Shape-Based/find_shape_low_contrast_high_noise.hdev Updated Documentation Examples: - solution_guide/basics/variation_model_illumination.hdev - solution_guide/basics/variation_model_single.hdev - solution_guide/matching/align_measurements.hdev - solution_guide/matching/create_roi_via_vision.hdev - solution_guide/matching/first_example_shape_matching.hdev - solution_guide/matching/multiple_models.hdev - solution_guide/matching/multiple_objects.hdev - solution_guide/matching/process_shape_model.hdev - solution_guide/matching/rectify_results.hdev - solution_guide/matching/reuse_model.hdev - solution_guide/matching/synthetic_circle.hdev New Example Added: - hdevelop/Matching/Shape-Based/alignment_for_ocr_in_semiconductor.hdev Removed Redundant Examples: - create_model_green_dot.hdev - matching_coins.hdev - matching_green_dot.hdev - multiple_scales.hdev ``` -------------------------------- ### HALCON C# DrawingObjectsWPF Example Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 Addresses an issue in the C# DrawingObjectsWPF example where it did not function correctly when using handles. ```APIDOC Example: C# DrawingObjectsWPF Description: The example did not work correctly when using handles. This problem has been fixed. ``` -------------------------------- ### HDevelop Example: USB3Vision Frame Rate Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-2-0 Example HDevelop program demonstrating frame rate acquisition using USB3Vision. ```HDevelop hdevelop/Image/Acquisition/usb3vision_frame_rate.hdev ``` -------------------------------- ### HDevelop Example Programs for New Image Source Interface Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2505-0 A collection of HDevelop example programs demonstrating the usage of the new image acquisition operator interface based on GenICam GenTL. These examples cover various aspects such as creating image sources, managing frame rates, querying device information, and handling different pixel formats and trigger mechanisms. ```HDevelop hdevelop/ImageSource/image_source_create.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_frame_rate.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_information.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_modules.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_parameters.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_pixel_format.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_plugin_path.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_query_devices.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_query_plugins.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_trigger_hardware.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_trigger_software_multithread.hdev ``` ```HDevelop hdevelop/ImageSource/image_source_trigger_software.hdev ``` -------------------------------- ### HDevelop Hilscher CIFX IO-Device Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 HDevelop example programs for interacting with Hilscher CIFX IO-devices, covering data conversion, reading, writing, and simple diagnostics. ```HDevelop hdevelop/System/IO-Devices/hilscher-cifx_data_conversion.hdev ``` ```HDevelop hdevelop/System/IO-Devices/hilscher-cifx_read.hdev ``` ```HDevelop hdevelop/System/IO-Devices/hilscher-cifx_simple_diagnostic.hdev ``` ```HDevelop hdevelop/System/IO-Devices/hilscher-cifx_write.hdev ``` -------------------------------- ### HDevelop Tuple String Operations Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 HDevelop example programs demonstrating string operations on tuples, including Unicode support and character/ordinal conversions. ```HDevelop hdevelop/Tuple/String-Operations/tuple_operators_using_unicode.hdev ``` ```HDevelop hdevelop/Tuple/String-Operations/tuple_ord_chr.hdev ``` -------------------------------- ### Fix HALCON/PYTHON Example Dependency on Progress Interface Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-2 Addresses an incorrect dependency in the Python examples for HALCON Steady. The examples mistakenly required the Python language interface for HALCON Progress, which has now been corrected. ```APIDOC Component: HALCON/PYTHON Issue: Python examples for HALCON Steady incorrectly required the Python language interface for HALCON Progress. Fix: Removed the erroneous dependency on the HALCON Progress interface from the HALCON/PYTHON examples. ``` -------------------------------- ### General HDevelop Data Code Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-0-0 These HDevelop example programs have been updated to incorporate the latest data code reading functionalities, including DotCode support. ```HDevelop hdevelop/explore_halcon.hdev ``` ```HDevelop hdevelop/Identification/Data-Code/2d_data_codes_default_settings.hdev ``` -------------------------------- ### HALCON Instance Segmentation Workflow Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2111-0 Reference to an HDevelop example demonstrating the end-to-end workflow for deep learning-based instance segmentation in HALCON. It utilizes specific annotation files. ```HDevelop hdevelop/Deep-Learning/Instance-Segmentation/dl_instance_segmentation_workflow.hdev - Example showing deep learning based instance segmentation. - Uses ground truth annotations from: hdevelop/Deep-Learning/Instance-Segmentation/pill_bag_instance_segmentation.hdict ``` -------------------------------- ### Extension Packages: useropencl Example Compiler Warnings Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-2 Eliminates compiler warnings that appeared in Visual Studio when building the useropencl example within extension packages. This problem has been fixed. ```APIDOC Extension Packages (useropencl example) Description: Fixes compiler warnings in Visual Studio. Status: Resolved ``` -------------------------------- ### HDevelop Example: Segmentation Model Creation Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2105-0 An HDevelop example program illustrating the creation of a deep learning model for segmentation tasks within the HALCON environment. ```HDevelop hdevelop/Deep-Learning/Framework/create_dl_model_segmentation.hdev ``` -------------------------------- ### HDevelop Example Program Fixes Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-3 Details fixes for specific HDevelop example programs, including rare errors and incorrect coordinate system mentions in comments. ```APIDOC HDevelop Example Programs: - calibrate_cameras_monocular.hdev - locate_car_door - create_planar_calib_deformable_model Description: Corrects issues found in example programs to improve stability and accuracy of documentation. Issues Fixed: - Rare error in 'calibrate_cameras_monocular.hdev'. - Erroneous coordinate system references in comments for 'locate_car_door' and 'create_planar_calib_deformable_model'. ``` -------------------------------- ### HDevelop Deep Learning Detection Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 A collection of HDevelop example programs for deep learning-based pill detection, covering preparation, training, evaluation, and inference. ```HDevelop hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_1_prepare.hdev ``` ```HDevelop hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_2_train.hdev ``` ```HDevelop hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_3_evaluate.hdev ``` ```HDevelop hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_4_infer.hdev ``` -------------------------------- ### HALCON/Python Interface Introduction Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-0 Introduces the new HALCON/Python language interface, supporting both the HALCON library and HDevEngine. It can be installed via pip and is detailed in the Programmer's Guide. Example programs demonstrate its usage. ```Python import halcon_python # Example usage (conceptual) # For detailed examples, refer to: # examples/python/consoleapp # examples/python/matching (HALCON Library) # examples/hdevengine/python/exec_procedures (HDevEngine) ``` -------------------------------- ### HALCON Language Interface Example Program Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-2-0 Corrects a bug in the 'ia_callback.cpp' example program for language interfaces, which caused the program to hang upon closing. ```APIDOC Language Interface Example Programs: - ia_callback.cpp: Fixes the example program 'ia_callback.cpp' to prevent it from hanging when the program is closed. ``` -------------------------------- ### HALCON Documentation Updates Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-4-0 Details corrections made to HALCON documentation, including improving the discoverability of the silent installation option in the Installation Guide and rectifying incorrect operator precedences in the HDevelop User's Guide. ```APIDOC Document: Installation Guide Description: Improved the location and clarity of the silent installation option description. Document: HDevelop User's Guide Description: Corrected operator precedences that were previously listed incorrectly. ``` -------------------------------- ### HDevelop Example: Explore HALCON Bug Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-2-0 Fix for the HDevelop example 'explore_halcon.hdev' which previously threw an exception without a Deep Learning license. A license check has been added. ```HDevelop hdevelop/explore_halcon.hdev ``` -------------------------------- ### HDevelop Multithreading Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 HDevelop example programs demonstrating multithreading functionalities, including getting the current HDevelop thread ID and interrupting operators. ```HDevelop hdevelop/System/Multithreading/get_current_hthread_id.hdev ``` ```HDevelop hdevelop/System/Multithreading/interrupt_operator.hdev ``` -------------------------------- ### HDevelop Example Programs Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-4 Lists updated and new HDevelop example programs demonstrating various image acquisition functionalities, including GenTL, GigE Vision, GenICamTL, and USB3Vision interfaces, as well as parameter persistence. ```HDevelop hdevelop/Image/Acquisition/genicamtl_basler_blaze_objectmodel3d.hdev - Example for GenICamTL Basler Blaze object model 3D acquisition. ``` ```HDevelop hdevelop/Image/Acquisition/gstreamer_parameter_persistence.hdev - Example demonstrating GStreamer parameter persistence. ``` ```HDevelop hdevelop/Image/Acquisition/gigevision2_parameter_persistence.hdev - Example demonstrating GigE Vision 2 parameter persistence. ``` ```HDevelop hdevelop/Image/Acquisition/genicamtl_parameter_persistence.hdev - Example demonstrating GenICamTL parameter persistence. ``` ```HDevelop hdevelop/Image/Acquisition/usb3vision_parameter_persistence.hdev - Example demonstrating USB3Vision parameter persistence. ``` ```HDevelop hdevelop/Image/Acquisition/usb3vision_information.hdev - Example for gathering USB3Vision device information. ``` -------------------------------- ### HDevelop Example: Classification Model Creation Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2105-0 An HDevelop example program demonstrating how to create a deep learning model for classification tasks using HALCON's DL framework operators. ```HDevelop hdevelop/Deep-Learning/Framework/create_dl_model_classification.hdev ``` -------------------------------- ### Installation: Environment Variable Registration Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-4-0 Addresses an issue where the registration and deregistration of environment variables did not always function correctly during HALCON installation via SOM. This ensures proper environment setup. ```APIDOC Installation: Fix: The registration and deregistration of environment variables did not always work correctly when installing HALCON via SOM. This problem has been fixed. ``` -------------------------------- ### New HDevelop Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-1 Highlights new HDevelop example programs demonstrating specific functionalities. These include alignment for OCR in semiconductor manufacturing and a workflow for normalized cross correlation (NCC) matching. ```HDevelop hdevelop/Matching/Shape-Based/alignment_for_ocr_in_semiconductor.hdev hdevelop/Matching/Correlation-Based/ncc_matching_workflow.hdev ``` -------------------------------- ### HALCON Hand-Eye Calibration Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-1 Introduction to a new HDevelop example program demonstrating hand-eye calibration for robots and stationary 3D sensors using a calibration sphere. ```APIDOC Hand-Eye Calibration Example: - New HDevelop example program: 'hdevelop/Calibration/Hand-Eye/calibrate_hand_eye_stationary_cam_approx_sphere.hdev'. - Functionality: Shows how to perform hand-eye calibration for a robot and a stationary 3D sensor, where the calibration sphere is held by the robot. ``` -------------------------------- ### HDevelop Examples for GS1 Data Codes Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-0-0 These HDevelop example programs have been adapted to support the new GS1 DotCode symbology and utilize new image data for GS1 DotCode. ```HDevelop hdevelop/Identification/Data-Code/gs1_data_codes.hdev ``` -------------------------------- ### HDevelop Deep Learning Examples Usability Improvement Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1805-0 Enhances the usability of deep learning classification examples ('classify_fruit_deep_learning.hdev' and 'classify_pill_defects_deep_learning.hdev') by adding initial warnings for missing hardware or libraries. ```HDevelop The usability of the examples hdevelop/Deep-Learning/Classification/classify_fruit_deep_learning.hdev and hdevelop/Deep-Learning/Classification/classify_pill_defects_deep_learning.hdev has been improved. Now, the examples warn the user right at the beginning of the examples if no suitable hardware is found or if the necessary libraries are not found. ``` -------------------------------- ### gen_dl_model_heatmap Guided Grad-CAM Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-1 The 'gen_dl_model_heatmap' operator has been extended with the 'guided_grad_cam' heatmap method. The reference manual and examples have been updated accordingly. ```APIDOC gen_dl_model_heatmap: - Extended with heatmap method 'guided_grad_cam'. - Reference manual and examples updated. ``` -------------------------------- ### Get HALCON System File Version Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1805-0 Retrieves the file version of the HALCON library. This operator can be used to programmatically check the installed HALCON version. ```APIDOC get_system('file_version', FileVersion) ``` -------------------------------- ### HALCON Programmer's Manuals Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/index Details on programming HALCON, including the general programmer's guide, extension package details, and specific guidance for HALCON on ArmĀ®-based platforms. ```APIDOC Programmer's Manuals: Programmer's Guide: Download PDF Extension Package: Download PDF HALCON for ArmĀ®-based Platforms: Download PDF ``` -------------------------------- ### HALCON USB3Vision Device Information Gathering Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-0 Introduces an example program to gather system and camera configuration information for USB3Vision devices. This aids in diagnosing and understanding device setups. ```HDevelop // Example program to gather USB3Vision device information // Refer to: hdevelop/Image/Acquisition/usb3vision_information.hdev // Conceptual steps: // dev_open_device ('USB3Vision', 'Device 0', HDevelop_DeviceHandle) // get_device_info (HDevelop_DeviceHandle, 'system_info', SystemInfo) // get_device_info (HDevelop_DeviceHandle, 'camera_config', CameraConfig) // disp_message (SystemInfo) // disp_message (CameraConfig) ``` -------------------------------- ### HALCON/Python Language Interface Introduction Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-0-0 Introduces the new HALCON/Python language interface, supporting both the HALCON library and HDevEngine. It can be installed via pip and usage is detailed in the Programmer's Guide. ```APIDOC HALCON/Python Interface - Description: New language interface for HALCON, supporting HALCON library and HDevEngine. Installable via pip. - Installation: pip install halcon-python - Usage: Refer to Part IV "Programming With HALCON/Python" in the Programmer's Guide. - Examples: examples/python/consoleapp, examples/python/matching, examples/hdevengine/python/exec_procedures ``` -------------------------------- ### HDevelop Parameter Persistence Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-0-0 A collection of HDevelop example programs demonstrating how to write and load persistence files for parameter values. This functionality is available for individual GenTL Producer modules or the GenTL Consumer when the device is open. ```HDevelop hdevelop/Image/Acquisition/gstreamer_parameter_persistence.hdev ``` ```HDevelop hdevelop/Image/Acquisition/gigevision2_parameter_persistence.hdev ``` ```HDevelop hdevelop/Image/Acquisition/genicamtl_parameter_persistence.hdev ``` ```HDevelop hdevelop/Image/Acquisition/usb3vision_parameter_persistence.hdev ``` -------------------------------- ### HDevelop Example: Structured Light 3D Surface Reconstruction Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2411-1-s Shows how to reconstruct surfaces using a calibrated structured light setup with HALCON. Utilizes new images from the 'structured_light/cast_part' dataset. ```HDevelop hdevelop/3D-Reconstruction/Structured-Light/structured_light_3d_surface_reconstruction.hdev ``` -------------------------------- ### Query System Parameters and Licenses Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2411-1-s This HDevelop example program now queries information about the used and available licenses, in addition to system parameters. ```HDevelop hdevelop/System/Parameters/query_system_parameters.hdev ``` -------------------------------- ### HDevelop Example: Optimize DL Model for OpenVINO Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-1 An HDevelop example showcasing the use of the OpenVINO AI Accelerator Interface for optimizing deep learning models for inference. It highlights the integration with OpenVINO plugins. ```HDevelop hdevelop/Deep-Learning/AI2Interfaces/optimize_dl_model_for_inference_classification_openvino.hdev ``` -------------------------------- ### HALCON DL Training on CPU Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-0 Deep-learning-based models for classification, detection, and segmentation can now be trained on CPU for supported x64 platforms. Specific restrictions and details are documented in the Installation Guide and the Operator Reference. ```APIDOC CPU Training Support: - Supported DL model types: Classification, Detection, Segmentation. - Target platforms: Supported x64 platforms. - Restrictions: Refer to Installation Guide and Operator Reference for details. ``` -------------------------------- ### HDevelop GigEVision2 Acquisition Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 HDevelop example programs demonstrating GigEVision2 acquisition features, including acquisition events, action control, device lost events, file access, and firmware updates. ```HDevelop hdevelop/Image/Acquisition/gigevision2_acquisition_events.hdev ``` ```HDevelop hdevelop/Image/Acquisition/gigevision2_action_control.hdev ``` ```HDevelop hdevelop/Image/Acquisition/gigevision2_devicelost_event.hdev ``` ```HDevelop hdevelop/Image/Acquisition/gigevision2_fileaccess.hdev ``` ```HDevelop hdevelop/Image/Acquisition/gigevision2_fwupdate.hdev ``` -------------------------------- ### HALCON Deep Learning Random Seed Initialization Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-0 Fixes a bug where the random seed was not working correctly for the first run in specific deep learning training examples. This ensures reproducible results from the start of training. ```HDevelop set_random(Seed) // ... training code ... // Previously, the random seed might not have been applied correctly on the first run. // This fix ensures the random seed is effective from the initial execution. ``` -------------------------------- ### Get HALCON System File Version Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1712-0 Retrieves the file version of the HALCON library. This operator is used to programmatically check the installed HALCON version, which is useful for verification and compatibility checks. It takes a generic name and a variable name as parameters. ```HALCON get_system("file_version", FileVersion) ``` -------------------------------- ### Examples: Visual Studio 2005 Project Format Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-4-0 Corrects the project file format in the vs2005 directory of the c#/HDevelopTemplate example. The file was not in a proper Visual Studio 2005 format, impacting project usability. ```APIDOC Examples: Fix: The project file in the vs2005 directory of the example c#/HDevelopTemplate was not actually in a proper Visual Studio 2005 format. This problem has been fixed. ``` -------------------------------- ### Determine DL Model Detection Parameters Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-0 The HDevelop object detection example program now demonstrates the usage of the new procedure `determine_dl_model_detection_param`. This procedure generates optimal model parameters by analyzing the dataset, aiding in the setup of deep learning object detection models. ```APIDOC determine_dl_model_detection_param: Generates model parameters for deep learning object detection by analyzing the dataset. Purpose: Automates the process of finding suitable parameters for object detection models. Input: Dataset information. Output: Optimized detection parameters. ``` -------------------------------- ### HALCON Basic Concepts Introduction Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2411-1-s Provides an introduction to fundamental HALCON concepts including images, regions, domains, and tuples. ```HDevelop hdevelop/halcon_basic_concepts.hdev ``` -------------------------------- ### HALCON Deep Learning Dict Syntax Operators Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-0 Operators adapted for the new dictionary syntax in HALCON's deep learning examples. These include functions for creating, setting, and getting data from dictionaries, replacing older syntax. ```APIDOC create_dict() - Creates a new dictionary. set_dict_tuple(Dict, TupleName, Value) - Sets a tuple value in a dictionary. get_dict_tuple(Dict, TupleName) - Retrieves a tuple value from a dictionary. get_dict_object(Dict, ObjectName) - Retrieves an object (e.g., image, region) from a dictionary. ``` -------------------------------- ### HDevelopTemplate Example Crash Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-3-0 Resolves a crash in the HDevelopTemplate example that occurred when the application was closed while running. This ensures the example program terminates gracefully. ```APIDOC HDevelopTemplate Example: - Fix: Crashed when the application was closed while running. ``` -------------------------------- ### Digital I/O Interfaces: Latest Information Reference Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-2 Provides guidance on where to find the latest information regarding new interface revisions and supported digital I/O interfaces, directing users to MVTec's web server and specific release notes. ```APIDOC Digital I/O Interfaces Description: Refer to MVTec's web server for latest revisions and interface support. Reference: https://www.mvtec.com/products/interfaces/ ``` -------------------------------- ### HDevelop Example Program Updates Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2405-0 HDevelop example programs have been updated to fix erroneous coordinate system references in their comments. This ensures accuracy in the documentation accompanying the examples. ```APIDOC Example Programs: - locate_car_door - locate_engine_parts - create_planar_calib_deformable_model - intersection_region_contour_xld - train_generic_shape_model_sample_workflow - Updates include fixing erroneous coordinate system mentions in comments for the first three examples. ``` -------------------------------- ### HDevelop Example: Deep OCR Workflow with Tiling and Japanese Dates Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-1 An extended HDevelop example demonstrating the Deep OCR workflow, including the use of automatic tiling for large images and recognition of Japanese due dates. ```HDevelop hdevelop/OCR/Deep-OCR/deep_ocr_workflow.hdev ``` -------------------------------- ### Image Acquisition Interfaces: Latest Information Reference Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2211-2 Provides guidance on where to find the latest information regarding new interface revisions and supported devices for Image Acquisition Interfaces, directing users to MVTec's web server and specific release notes. ```APIDOC Image Acquisition Interfaces Description: Refer to MVTec's web server for latest revisions and device support. Reference: https://www.mvtec.com/products/interfaces/ ``` -------------------------------- ### DL Classification Workflow Examples Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-1-0 A set of HDevelop example programs illustrating the refactored deep learning-based classification workflow. These examples cover preprocessing, training, evaluation, and inference, using the same operators as object detection and semantic segmentation. ```HDevelop hdevelop/Deep-Learning/Classification/classify_pill_defects_deep_learning_1_preprocess.hdev ``` ```HDevelop hdevelop/Deep-Learning/Classification/classify_pill_defects_deep_learning_2_train.hdev ``` ```HDevelop hdevelop/Deep-Learning/Classification/classify_pill_defects_deep_learning_3_evaluate.hdev ``` ```HDevelop hdevelop/Deep-Learning/Classification/classify_pill_defects_deep_learning_4_infer.hdev ``` ```HDevelop hdevelop/Deep-Learning/Classification/dl_classification_workflow.hdev ``` -------------------------------- ### HDevelop Example: Paddle Game Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1805-0 Introduces a new HDevelop example program, 'paddle_game.hdev', allowing users to play a paddle game with one or two players using live images and augmented reality. ```HDevelop The HDevelop example hdevelop/Applications/General/paddle_game.hdev has been added. With this example, it is possible to play the paddle game with one or two players, using live images and augmented reality. ``` -------------------------------- ### HALCON HDevelop Example Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-4-0 This entry describes a fix applied to a specific HDevelop example program used for robot vision applications. The example 'pick_and_place_with_2d_matching_moving_cam.hdev' had an issue with correctly rectifying model images for matching and robot approach poses. ```APIDOC hdevelop/Applications/Robot-Vision/pick_and_place_with_2d_matching_moving_cam.hdev - Fix: Did not correctly rectify the model images for matching and robot approach poses. ``` -------------------------------- ### GenICam TL Basler Blaze Object Model 3D Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2011-0-0 This HDevelop example program demonstrates working with the Basler Blaze 3D camera using the GenICam Transport Layer (TL). It replaces the previous tof object model example. ```HDevelop hdevelop/Image/Acquisition/genicamtl_basler_blaze_objectmodel3d.hdev ``` -------------------------------- ### HDevelop 3D Object Model Segmentation Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 An HDevelop example program for segmenting 3D objects. ```HDevelop hdevelop/3D-Object-Model/Segmentation/measure_plant.hdev ``` -------------------------------- ### HDevelop Example: Calibration Image Quality Check Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1805-0 Adds a new HDevelop example, 'check_calib_image_quality.hdev', which includes procedures for evaluating the quality of calibration images, similar to HDevelop's Calibration Assistant. ```HDevelop The HDevelop example hdevelop/Calibration/Multi-View/check_calib_image_quality.hdev has been added. This example program includes different procedures that can be used to evaluate the quality of calibration images, similar to the Calibration Assistant included in HDevelop. ``` -------------------------------- ### HALCON HDevelop DL Example Batch Size Adjustments Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2105-0 Several HDevelop Deep Learning examples have been updated to utilize the maximum batch size suitable for GPU usage. Conversely, one detection example has had its maximum batch size usage removed. ```HALCON # HDevelop DL Classification Examples (Max Batch Size for GPU): # hdevelop/Deep-Learning/Classification/classify_pill_defects_deep_learning_2_train.hdev # hdevelop/Deep-Learning/Classification/dl_classification_workflow.hdev # hdevelop/Deep-Learning/Segmentation/dl_segmentation_workflow.hdev # hdevelop/Deep-Learning/Segmentation/segment_pill_defects_deep_learning_2_train.hdev # HDevelop DL Detection Example (Max Batch Size usage removed): # hdevelop/Deep-Learning/Detection/detect_pills_deep_learning_2_train.hdev ``` -------------------------------- ### HALCON Reference Manual Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/index Provides the complete reference for HALCON operators and functions. Available as a PDF download or for online reading. ```APIDOC Reference Manual: Download PDF: /fileadmin/Redaktion/mvtec.com/products/halcon/documentation/reference/reference_hdevelop.pdf Read online: https://www.mvtec.com/doc/halcon/2505/en/ (requires Javascript) ``` -------------------------------- ### set_fuzzy_measure Example Fix Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 Corrected an example snippet for the 'set_fuzzy_measure' operator where an original function was used instead of the transformed one. ```APIDOC Operator: set_fuzzy_measure Description: Sets parameters for fuzzy measures. Example Fix: - The example snippet incorrectly used the original function instead of the transformed function. ``` -------------------------------- ### HALCON Deep Learning Segmentation Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-1811-0 Example demonstrating the use of deep learning for semantic segmentation of pill defects. ```HDevelop * * Example: segment_pill_defects_deep_learning_4_infer.hdev * * This HDevelop example shows how to use deep learning based semantic segmentation in HALCON. * It utilizes pretrained models and preprocessing parameters for inference. * * Dependencies: * - Pretrained model: examples/hdevelop/Deep-Learning/Segmentation/segment_pill_defects.hdl * - Preprocessing parameters: examples/hdevelop/Deep-Learning/Segmentation/segment_pill_defects_preprocess_param.hdict * - Ground truth annotations: examples/images/labels/pill * * System Requirements: * Special system requirements apply, including third-party library installations. * * Procedure: * 1. Load the pretrained segmentation model. * 2. Load preprocessing parameters. * 3. Read annotation data using read_dl_dataset_segmentation. * 4. Preprocess the dataset for inference. * 5. Apply the DL model for segmentation. * 6. Visualize the segmentation results. * * Note: * This example focuses on inference. Training is a separate, time-consuming process. ``` -------------------------------- ### HALCON YOLO Detection Example Source: https://www.mvtec.com/products/halcon/work-with-halcon/documentation/release-notes-2505-0 Provides a reference to an example HDevelop script for performing object detection using YOLO models. ```hdevelop // Example HDevelop script for YOLO detection inference // Guides through the workflow of using trained YOLO ONNX models // Path: hdevelop/Deep-Learing/Detection/dl_detection_inference_yolo.hdev ```