MVTec Software GmbH

Newest HALCON Features

On this page you will find information on the newest features of MVTec's standard machine vision software HALCON.

HALCON 17.12

The latest HALCON version was released in December 2017 and – reflecting the release date – it is named: HALCON 17.12. Below, you find an overview of the major features included in this version.

HALCON 17.12 is the first release of the new HALCON Progress Edition. To learn more about the different HALCON editions, please click here.

Download HALCON & Try it for free

Deep Learning out of the Box

With HALCON 17.12, users are able to train their own classifier using CNNs (Convolutional Neural Networks) with HALCON. After training the CNN, it can also be used for classifying new data with HALCON.

Training a CNN

Training a CNN

Training a CNN in HALCON is done simply by providing a sufficient amount of labeled training images. E.g., to be able to differentiate between samples that show scratches or contamination and good samples, training images for all three classes must be provided: Images showing scratches must be labeled "scratch", images showing some sort of contamination must carry the label "contamination", and images showing a good sample must be in the category "OK".

HALCON then analyzes these images and automatically learns which features can be used to identify defective and good samples. This is a big advantage compared to all previous classification methods, where these features had to be "handcrafted" by the user – a complex and cumbersome undertaking that requires skilled engineers with programming and vision knowledge.

Using the Trained Network

Once the network has learned to differentiate between the given classes, e.g., tell if an image shows either a scratched, a contaminated or a good sample, the network can be put to work. This means, users can then apply the newly created CNN classifier to new image data which the classifier then matches to the classes it has learned during training.

Typical application areas for deep learning include defect classification (e.g., for circuit boards, bottle mouths or pills), or object classification (for example, identifying the species of a plant from one single image).

Inspecting Specular Surfaces with Deflectometry

A camera setup using deflectometry to inspect a specular reflecting object

Inspecting specular reflecting surfaces imposes special challenges, because the observer does not see the surface itself, but the mirror image of the environment. This poses significant problems for most surface inspection methods such as triangulation or shape from shading, because these usually rely on diffuse reflection.

HALCON 17.12 includes new operators, which enable the user to inspect specular and partially specular surfaces to detect defects by applying the principle of deflectometry. This method uses the aforementioned specular reflections by observing mirror images of known patterns and their deformations on the surface.

Automatic text reader robustly reading touching characters
Automatic text reader
Surface fusion for multiple 3D point clouds
Surface fusion

Automatic Text Reader

HALCON 17.12 features an improved version of the automatic text reader, which now detects and separates touching characters more robustly.


Surface Fusion For Multiple 3D Point Clouds

HALCON now offers a new method that fuses multiple 3D point clouds into one watertight surface. This new method is able to combine data from various 3D sensors, even from different types like a stereo camera, a time of flight camera, and fringe projection. This technology is especially useful for reverse engineering.


HDevEngine Improvements

With the new HDevelop library export included in HALCON 17.12, calling HDevelop procedures from C++ is as easy and intuitive as calling any other C++ function. This new library export also generates CMake projects, which can easily be configured to output project files for many popular IDEs, such as Visual Studio.

Previous Version – HALCON 13

To find out more about the numerous features and improvements of our previous version HALCON 13, please click here.