(510) 657-4000

Contact Us or Order

Software Finder

Choose the software by the factors. If you don't find the software you need, contact us.

Matrox Imaging Library (MIL)

Comprehensive collection of Industrial Imaging Tools

Matrox Imaging Library X

Matrox® Imaging Library (MIL) X1 is a comprehensive collection of software tools for developing machine vision, image analysis, and medical imaging applications. MIL X includes tools for every step in the process, from application feasibility to prototyping, through to development and ultimately deployment.

The software development kit (SDK) features interactive software and programming functions for image capture, processing, analysis, annotation, display, and archiving. These tools are designed to enhance productivity, thereby reducing the time and effort required to bring solutions to market.

Image capture, processing, and analysis operations have the accuracy and robustness needed to tackle the most demanding applications. These operations are also carefully optimized for speed to address the severe time constraints encountered in many applications

MIL X  at a glance

  • Solve applications rather than develop underlying tools by leveraging a toolkit with a more than 25-year history of reliable performance
  • Tackle applications with utmost confidence using field-proven tools for analyzing, classifying, locating, measuring, reading, and verifying
  • Base analysis on monochrome and color 2D images as well as 3D profiles, depth maps, and point clouds
  • Harness the full power of today’s hardware through optimizations exploiting SIMD, multi-core CPU, and multi-CPU technologies
  • Support platforms ranging from smart cameras to high-performance computing (HPC) clusters via a single consistent and intuitive application programming interface (API)
  • Obtain live data in different ways, with support for analog, Camera Link®, CoaXPress®, DisplayPort™, GenTL, GigE Vision®, HDMI™, SDI, and USB3 Vision®2 interfaces
  • Maintain flexibility and choice by way of support 64-bit Windows® and Linux® along with Intel® and Arm® processor architectures
  • Leverage available programming know-how with support for C, C++, C#, CPython, and Visual Basic® languages
  • Experiment, prototype, and generate program code using MIL CoPilot interactive environment
  • Increase productivity and reduce development costs with Matrox Vision Academy online and on-premises training.
  • Simplified training for deep learning
  • New deep neural networks for classification and segmentation
  • New deep learning inference engine
  • Additional 3D processing operations including filters
  • 3D blob analysis
  • 3D shape finding
  • Hand-eye calibration for robot guidance
  • Improvements to SureDotOCR®
  • Makeover of CPython interface now with NumPy support

MIL development
First released in 1993, MIL has evolved to keep pace with and foresee emerging industry requirements. It was conceived with an easy-to-use, coherent API that has stood the test of time. MIL pioneered the concept of hardware independence with the same API for different image acquisition and processing platforms. A team of dedicated, highly skilled computer scientists, mathematicians, software engineers, and physicists continue to maintain and enhance MIL.

MIL is maintained and developed using industry recognized best practices, including peer review, user involvement, and daily builds. Users are asked to evaluate and report on new tools and enhancements, which strengthens and validates releases. Ongoing MIL development is integrated and tested as a whole on a daily basis.

In addition to the thorough manual testing performed prior to each release, MIL continuously undergoes automated testing during the course of its development. The automated validation suite—consisting of both systematic and random tests—verifies the accuracy, precision, robustness, and speed of image processing and analysis operations. Results, where applicable, are compared against those of previous releases to ensure that performance remains consistent. The automated validation suite runs continuously on hundreds of systems simultaneously, rapidly providing wide-ranging test coverage. The systematic tests are performed on a large database of images representing a broad sample of real-world applications.


Imaging ToolsSureDotOCR FeaturesWatch MIL 10CoPilotSupported EnvironmentsDevelopMIL 10 Tools GalleryDatasheetOrder MIL 10

Field-Proven Tools

Image analysis and processing tools

Central to MIL are tools for calibrating, enhancing and transforming images, locating objects, extracting and measuring features, reading character strings, and decoding and verifying identification marks. These tools are carefully developed to provide outstanding performance and reliability, and can be used within a single computer system or distributed across several computer systems.

  • Pattern recognition
  • Circle and Ellipse finding
  • Shape Finding Tools
  • Feature extraction and analysis
  • 1D and 2D measurements
  • Color analysis tools
  • Character recognition tools
  • 1D and 2D code reading and verification
  • Registration
  • 2D calibration
  • Image processing primitives
  • Image compression and video encoding
  • Fully optimized for speed
  • 3D Vision tools
  • Distributed MIL Interference

SureDotOCRexamplesSureDotOCR Features:

  • Reads text located at any angle
  • Reads text with varying contrast
  • Reads touching and distorted characters
  • Reads text on uneven background
  • Recognizes punctuation marks and blank spaces
  • Supports the creation and editing of character fonts, while including predefined fonts
  • Automatically handles multiple lines of text where each line can utilize different font
  • Ability to set user-defined constraints (overall and at specific character positions)



Matrox Imaging Library Robotic Guidance


Matrox Imaging Library 3D Profiling

CoPilot is a Utility

MIL CoPilot interactive environment

Working with a programming library to assess the feasibility and best approach to developing a vision application can be both intimidating and time consuming. Matrox has removed the bulk of this burden with the introduction of MIL CoPilot, a new interactive environment for the Matrox Imaging Library (MIL); a field-proven software development kit (SDK) with a comprehensive set of tools for vision application development.

MIL CoPilot enables users to select and fine-tune operations before including them in a particular vision application—without writing any code. All the work done within a session is conveniently held together in a workspace for future reference or sharing with colleagues. A live preview allows users to experiment freely before committing to an operation. The best part is, MIL CoPilot will generate clear, functional code for immediate integration!

MIL CoPilot will produce code for any MIL-supported language (C++, C#, CPython, and VB.Net). This provides even the most experienced developers with a faster, easier and more efficient approach to jump-start vision application development.

Click here to enlarge

MIL CoPilot

Matrox copilot enables users to select and fine-tune operations before including them in a particular vision application—without writing any code

Additional processing and analysis utilities

MIL includes a collection of interactive Windows-based utilities for each key image processing and analysis tool. Intended for configuration and experimentation, each tool supports live image capture and processing as well as file I/O for individual or sequences of images. Tooltips over dialog controls provide a convenient cross-reference to actual MIL function calls.


MIL includes interactive utilities for configuration and experimentation.

Matrox Profiler

Matrox Profiler is a Windows-based utility to post-analyse the execution of a multi-threaded application for performance bottlenecks and synchronization issues. It presents the function calls made over time per application thread on a navigable timeline. Matrox Profiler allows the searching for, and selecting of, specific function calls to see their parameters and execution times. It computes statistics on execution times and presents these on a per function basis. Matrox Profiler tracks not only MIL functions but also suitably tagged user functions. Function tracing can be disabled altogether to safeguard the inner working of a deployed application.

matrox profiler snap shot

Click Here to Enlarge

Matrox Profiler application analysis performance tool.

Supported Environments

For Windows

  • 32-/64-bit Windows 7 with SP1 and Windows 10 (versions 1607 to 1909)
  • Visual Studio 2012, 2013, 2015, 2017, and 2019 (unmanaged C++, C#, and Basic)
  • CPython 2.7 and 3.5 (3.7 with MIL X Service Pack 4)

For Linux

  • 64-bit Ubuntu 18.04 LTS
  • 64-bit Red Hat Enterprise Linux 8(.1) and CentOS 8 (build 1905)
  • 64-bit SUSE Linux Enterprise 15 SP1
  • GNU Compiler Collection and Python (from particular Linux distribution)

MIL for Arm®

The majority of processing, analysis, annotation, display, and archiving functionality in MIL is also available to run on Arm Cortex®-A family processors, specifically those employing the Armv8-A 64-bit architecture. The processing and analysis functions are optimized for speed using the Neon™ SIMD architecture extension. MIL for Arm is supported on appropriate 64-bit Linux distributions, like the one from Ubuntu. MIL for Arm is available to select users as a separate package upon qualification. For more information, contact Uniforce Sales and Engineering (510) 657 – 4000 PST


Complete application development environment

In addition to image processing, analysis, and archiving tools, MIL includes image capture, annotation, and display functions, which form a cohesive API. The API and accompanying utilities are recognized by the large installed base of users for facilitating and accelerating application development.

Portable API

The MIL C/C++ API is not only intuitive and straightforward to use but it is also portable. It allows applications to be easily moved from one supported video interface or operating system to another, providing platform flexibility and protecting the original development investment.

.NET development

Included in MIL is a low-overhead API layer for developing Windows applications within the .NET Framework using managed Visual Basic and Visual C# code.

JIT compilation and scripting4

MIL supports C# and Visual Basic JIT compilation and CPython scripting, facilitating experimentation and prototyping. Such code can even be executed from within a MIL-based application, providing a simpler way to tailor an already-deployed application.

Simplified platform management

With MIL, a developer does not require in-depth knowledge of the underlying platform. MIL is designed to deal with the specifics of each platform and provide simplified management (e.g., hardware detection, initialization, and buffer copy). MIL gives developers direct access to certain platform resources such as the physical address of a buffer. MIL also includes debugging services (e.g., function parameter checking, tracing, and error reporting), as well as configuration and diagnostic tools.

matrox mil-configuration-diagnostic snapshot

Click Here to Enlarge

MIL configuration and diagnostic tool

Designed for multi-tasking

MIL supports multi-processing and multi-tasking programming models, namely, multiple MIL applications not sharing MIL data or a single MIL application with multiple threads sharing MIL data. It provides mechanisms to access shared MIL data and ensure that multiple threads using the same MIL resources do not interfere with each other. MIL also offers platform-independent thread management for enhancing application portability.

Buffers and containers

MIL manipulates data stored in buffers, such as monochrome images arranged in 1-, 8-, 16-, and 32-bit integer formats, as well as 32-bit floating point formats. It also handles color images laid out in packed or planar RGB/YUV formats. Commands for efficiently converting between buffer types are included. MIL additionally operates on containers4, which combine related buffers into a cohesive whole. Containers simplify working with multi-component data such as point clouds for 3D processing and analysis as well as display.

matrox mil-3d-data-container snap shot

Click Here to Enlarge

MIL 3D (point cloud) data container

Saving and loading images

MIL supports the saving and loading of individual images, image sequences, and containers to and from disks. Supported file formats are AVI (Audio Video Interleave), BMP (bitmap), JPG (JPEG), JP2 (JPEG2000), MP4 (MPEG-4 Part 14), PLY, MIM (native), PNG, STL, and TIF (TIFF), as well as a raw format.

Industrial and robot communication

MIL lets applications interact directly with automation controllers using the CC-Link IE Field Basic4, EtherNet/IP™, Modbus®, and PROFINET®6 industrial communication protocols. It also supports native communication with robot controllers from ABB, DENSO, EPSON, FANUC, KUKA, and Stäubli.

WebSocket access

MIL allows an application to publish MIL object data for access from a browser or another standalone application using the HTML-5 WebSocket communication protocol. It uses a client-server architecture where the server is the MIL-based application and the client is a JavaScript program running in a browser or a standalone application.

The functionality can be used locally on the same device running the MIL-based application or remotely on another device that does not have MIL installed on it. The API extension supports client-side programming in JavaScript or C/C++. The MIL objects supported are the buffer and display ones. The functionality serves to view and interact with a MIL display (i.e., pan, scroll, zoom, etc.).

Flexible and dependable image capture

There are many ways for an imaging system to capture video: Analog, Camera Link, CoaXPress, DisplayPort, GenTL, GigE Vision, HDMI, SDI, and USB3 Vision. MIL supports all these interfaces either directly or through Matrox Imaging or third-party hardware. MIL works with images captured from virtually any type of color or monochrome source including standard, high-resolution, high-rate, frame-on-demand cameras, line scanners, slow scan, and custom-designed devices.

For greater determinism and the fastest response, MIL provides multi-buffered image capture control performed in the operating system’s kernel mode. Image capture is secured for frame rates measured in the thousands per second even when the host CPU is heavily loaded with tasks such as HMI management, networking and archiving to disk. The multi-buffered mechanism supports callback functions for simultaneous capture and processing even when the processing time occasionally exceeds the capture time.

Matrox Intellicam

MIL features the Matrox Intellicam image capture and frame grabber configuration utility. This Windows-based program lets users interactively configure Matrox image capture hardware for a variety of image sources or simply try one of the numerous ready-made interfaces available from Matrox Imaging.

mil-intellicam picture


Click Here to Enlarge

Matrox Intellicam frame grabber and camera configuration tool

Matrox Capture Assistant

MIL includes Matrox Capture Assistant, a Windows-based utility for verifying the connection to one or more GigE Vision or USB3 Vision cameras and testing video acquisition. It can obtain GigE Vision and USB3 Vision device information, collect and present acquisition statistics, and provide access to acquisition (GenICam™) properties. The gathering and display of statistics can be performed when acquiring within or outside of Matrox Capture Assistant. Matrox Capture Assistant also allows the adjustment of GigE Vision driver settings and provides the means to troubleshoot connectivity issues.


Click Here to Enlarge

Matrox Capture Assistant GigE Vision and USB Vision configuration and test tool


MIL 10 Tools Gallery

MIL is a comprehensive collection of software tools for developing machine vision, image analysis and medical imaging software applications.

MIL Pattern Matching








MIL Geometric Model Finder











MIL Blob Analysis







MIL Edge Finder










MIL Color Analysis – Separation








MIL Color Analysis – Matching







MIL Character Recognition – OCR






MIL Character Recognition – String Reading

Matrox_MIL String Reader







1D and 2D Code Reading and Verification











MIL Image Registration







2D Calibration








MIL Image Processing













Fully Optimized for Speed – MIL takes full advantage of multi-core CPU  architectures like the one found in the 4th generation Intel® Core™ processor













MIL for 3D Profiling










MIL 3D Alignment










MIL for 3D VGR










Distributed MIL












Distributed MIL Architecture













Order Matrox MIL X

Matrox Imaging Library (MIL) 10 Development Toolkits and Licenses

Product Family Product Name Description
Matrox MIL 10 Development Toolkits and Licenses MIL X WIN P U MIL 10 development tookit for Windows®. Includes DVD with MIL, Matrox Intellicam, Matrox Inspector (32-bit), Matrox display drivers and on-line documentation. Also includes one (1) license USB hardware key and MIL Maintenance registration number.
Matrox MIL 10 Development Toolkits and Licenses MIL X LNX MIL 10 development toolkit for Linux. Includes DVD with MIL and online documentation. Also requires MILXWINPU.
Matrox MIL/ MIL-Lite Maintenance MIL MAINTENANCE One year extension to the MIL maintenance program per developer.
Matrox MIL (Matrox Imaging Library) MIL 10 Run-Time Licenses MIL 10 run-time software license key. The user must supply lock code obtained from MIL License Manager application/page. This unique lock code identifies the target computer system and MIL package(s) to license. Note: Combine packages by substituting 0 at the appropriate position x with the appropriate letter or other digit. Upgrading is only possible from MIL 9 and requires an upgrade lock code.

MIL 10 Run-Time Licenses / MIL-Lite 10 Supplemental Licenses

Call Uniforce Sales today to learn more. 510 -657-4000.

Order Matrox MIL X

Fill out the form below for a Free Quote!

Quote Request- Individual PP

Quote Request

*Required Field

General Information


Requested Products

  • Your quote request cart is empty.