Access Official Technical PDF

Share Summary:LinkedInEmail

Machine vision image processing software turns camera data into information an automation system can use for inspection, identification, positioning and measurement. For developers building industrial vision applications, the challenge is not simply acquiring an image: it is selecting and combining the algorithms needed to interpret it reliably. Sapera Processing is an image processing SDK in the Sapera Vision Software family, providing libraries and application-specific tools for those tasks.

Its capabilities span low-level image operations and higher-level analysis, including pattern finding, barcode decoding, optical character recognition (OCR), blob analysis, calibration, color inspection and 3D processing. This range gives system developers building blocks for different inspection requirements without requiring every function to be created from scratch.

Building machine vision applications with Sapera Processing

Sapera Processing provides image processing functions for managing image data and carrying out analysis. Developers can work with unmanaged C++, C# or Visual Basic on Microsoft Windows. The software also includes examples and integrated reference material intended to support development. The source document lists Microsoft Visual Studio and Borland C++ Builder as development environments; teams should confirm current software and operating-system compatibility before planning a deployment.

For early evaluation, Sapera Architect offers a graphical interface for assembling sequences of image processing operations without writing code. Users can adjust parameters and observe how they affect results, while execution-time information can help assess the balance between speed, accuracy and repeatability for a chosen sequence. This can be useful when testing an approach before implementing it in an application.

The library includes foundational operations such as filtering, geometric transformations, thresholding, morphology, image arithmetic, segmentation and statistical analysis. These primitives can be combined to prepare images, isolate regions of interest or calculate measurements. The software also supports multi-processing and multi-threading, and its Multi-Core Optimized functions are designed to make use of multi-core CPUs.

Pattern finding, identification and inspection

Search and alignment

The Search tool locates user-defined patterns in an image, including multiple targets, with support for changes in orientation and scale. Its edge-based approach works from object contours and can handle conditions such as occlusion, contrast reversal, and touching or overlapping objects. An area-based approach uses normalized cross-correlation and is described as particularly fast when rotation and scale changes are not involved. These alternatives allow developers to choose a method suited to the inspection scene and its image variation.

Pattern location can support alignment tasks, where a vision system needs to determine an object’s position or orientation before another operation. The source describes sub-pixel position accuracy for the Search algorithms; actual results depend on application conditions and configuration.

Barcode reading and OCR

Sapera Processing offers Quick Barcode and Standard Barcode tools for reading one- and two-dimensional codes. Quick Barcode is intended for fast decoding and is described as tolerant of noise, occlusion and geometric distortion. Standard Barcode provides additional parameter flexibility and options for training models for difficult Data Matrix images. The tools support a range of code types, and print quality grading can be used with either barcode tool to assess marks against listed standards.

For text, the OCR tool supports solid and dot-matrix fonts, user-trained fonts, multiple strings and rotation or scale variation. It provides binary-based and grayscale-based algorithms, allowing developers to choose between processing speed and tolerance to degraded or noisy images. These capabilities may suit repetitive identification or inspection applications where printed characters must be read from camera images.

Calibration, measurement and 3D analysis

Image geometry affects the relationship between pixel coordinates and the physical scene. The Calibration tool can compensate for perspective, radial and other image distortions. It supports automated calibration using targets such as checkerboards, grids of lines or dots, and randomly distributed points, as well as manual calibration using known image and world grids. Correcting geometric distortion is important when an application needs measurements expressed consistently in real-world units.

The Measurement tool supports multiple measurements along selected image paths, using markers such as points, lines, arcs, circles and spokes. It calculates values including distance, radius, diameter, angle, width, intersections, circularity and straightness. The source specifies sub-pixel measurement capability and notes that calibration can be combined with measurement functions to account for lens, perspective and other distortions.

For applications working with height or profile data, the 3D tool provides functions for profiles and range maps. These include filtering, resampling, profile statistics, roughness measurement and fitting geometric primitives such as lines, circles and ellipses. It also supports non-rectangular regions of interest and pixel-to-world and world-to-pixel conversion. The software is adapted to Z-Trak 3D output data and can also work with third-party 3D devices through 16-bit input, as described in the source material.

Choosing tools for an inspection task

Other components address specific image analysis needs. Blob analysis segments objects from the background and calculates features such as area, perimeter, centroid, bounding box, orientation and grayscale statistics. The Color tool supports color classification in color spaces including RGB, HSI, CIELAB and YUV, with color calibration and trainable classification. Together with general-purpose primitives, these tools provide options for tasks ranging from defect detection to sorting and verification.

When evaluating an image processing SDK, engineers and integrators should map the required inspection outputs to the available functions. Consider the input image conditions, the need for calibration, the expected variation in parts or markings, and the processing sequence required by the application. Then test parameter choices and execution time using representative images. The software’s modular components can also help teams select the functions needed for a particular application.

Conclusion

Sapera Processing combines foundational image operations with specialized tools for search, code reading, OCR, blob and color analysis, calibration, measurement and 3D processing. For industrial automation teams, its practical value lies in having these capabilities available within one development platform for machine vision applications. Selecting the right functions still depends on the inspection objective, image quality, system requirements and validation under the conditions in which the application will operate.

Access Official Technical PDF

About The Author