Installation and environment configuration of MIL

Source: Internet
Author: User

The mil, known as the Matrox Image Library, is a hardware-independent, modular image repository developed by Matrox, Canada.

MIL is designed for rapid application development and ease of use. It can be run separately from the host CPU and can be used more efficiently to make full use of the dedicated accelerator card for hardware acceleration. To achieve application platform independence, the Mil has a fully transparent management system that can abstract physical objects (more than Matrox, such as boards) into virtual objects for management. Mil uses a system concept for board differentiation, and an application can control multiple cards. Whether using an app with a separate control configuration or monitoring configuration across multiple applications, the Mil allows networks to work together across multiple computers.

The Mil is a library written in C, which enables it to be better used by C or C + + programs. However, by adding the Mil.net package in your code, the Mil can also support managed code, such as Visual C # and Visual Basic applications.

As a full-version, the Mil has the ability to capture, process, analyze, display, and access images in all aspects of the image domain, which is also quite handy, and as a subset of the Mil, Mil-lite contains only the core functions of the mil, such as acquisition, display, archiving, mil/ Mil-lite supports all Matrox acquisition cards, and if you are not using the Matrox capture card, you cannot use the Mil/mil-lite capture feature, but the application can use the other features of Mil/mil-lite.

MIL10 installation and environment configuration under Windows

1, hardware requirements

Disk: Using the development environment, disk free space is not less than 2560M (32-bit OS) or not less than 3072M (64-bit OS)

Requires no less than 1024M of free disk space if you install only the operating environment

CPU: Requires support for SSE2 instruction set

2, software requirements

Compiler: Microsoft Visual C + + 2008/2010 (SP1)/2012 (unmanaged) (C + +)

Microsoft Visual C # 2008/2010 (SP1)/2012 (unmanaged) (c#.net)

Microsoft Visual Basic.NET 2008/2010 (SP1)/2012 (unmanaged) (vb.net)

Browser: Microsoft Internet Explorer 7 or later (for use with mil Help files)

Operating system: Microsoft Windows XP/7/8

Note: Under Windows, the capture card will not work in sleep or hibernate mode, disable.

3, installation process

First unzip the mil installation package, you will see the following three files

are 32-bit and 64-bit installation packages, where you can select "Milsetup"and double-click to go to the next step

The mil will select the appropriate installation package based on the current operating system and click [Launch installation ...]to proceed to the next step.

Select the required components, if required for Mil two development, select "Mil Development" where [mil for. NET] refers to use. NET for Mil two development, "distributed mil" refers to the use of mil for distributed applications, while "Intellicam" is a mil-equipped tool for adjusting the acquisition card, which is highly recommended for installation. When you are finished, click "next>"

According to the need to select the need to use the acquisition card driver, of course, you can choose, but the installation time will be very slow, after the installation can be set through Milconfig, the author machine is installed on the Matrox Solios series acquisition card, so select "Matrox Solios", click "Next>"

Select the default capture card driver, note that the host is automatically installed by default, so there are two options in default system options, one for the previously selected Matrox Solios, and one for the Host,digitizer Configuration FORMAT[DCF], refers to the system by default the DCF configuration, of course, these after the installation is completed through Milconfig reconfiguration, click on "next>"

The following prompts pop up during installation and select "Always trust software from Matrox Electronic Systems Ltd" (a), click "Install"

At the end of the installation, a dialog will pop up to ask if Automatic updates are required, but as an industrial application we are not up-to-date, unless there are special needs, here we choose "No (N)"

After the installation is complete, you need to restart your computer

4,mil Start-up

When the installation is complete, the Mil automatically adds the startup shortcuts to the desktop, launches the Mil control Center,

Select the "Matrox Intellicam" in the General Tools column to enter the Mil Intellicam lead face.

Note that the use of Matrox Intellicam is required to run a license, but do not worry that the capture card itself is equivalent to a running license, so as long as the computer is inserted into the Matrox capture card is equivalent to get a running license. In the main interface, we click on the Green Card icon can see the current computer has been inserted on the number and type of acquisition card, as shown, you can see the current author's computer installed two Matrox Solios capture card, in fact, the two card type is the same, but why the display is " Solios ev-cl Dual 0 "and" Solios ev-cl Medium 1 "? In fact, two capture cards in different modes, one in dual base mode, and the other in the medium mode, one of the icons in front of a letter a title of its active state, that is, we are using, you can use the Next button "Make Active" To switch.

Uninstall of 5,mil

In front of the installation, so by the way how to uninstall it, in the Control Panel, we find the mil, that is, Matrox Image, select it, and then select Uninstall, then the Query dialog box appears, we choose "Yes"

Then the system begins to unload, and notice that the machine restarts after the uninstallation is complete.

6, test installation

There are many ways to verify the installation, and Matrox officially provides a code to verify that the Mil is correct (note the Include and library paths are configured):

1 /******************************************************************************/2 /*3 * File name:MAppStart.cpp4 * location: ... \matrox imaging\milxxx\examples\general\mappstart\c++5  *6 * Synopsis:this Program allocates a MIL application and system, then displays7 * A welcoming message using the graphics functions. It also shows how8 * to check for errors.9  */Ten#include <mil.h> One  A intMosmain (void) - { -mil_id Milapplication,/*Application identifier. */ theMilsystem,/*System identifier. */ -Mildisplay,/*Display identifier. */ -Milimage;/*Image buffer identifier.*/ -  +    /*Allocate A default MIL application, system, display and image.*/ -Mappallocdefault (M_default, &milapplication, &Milsystem, +&mildisplay, M_null, &milimage); A  at    /*If No allocation errors.*/ -    if(!Mappgeterror (M_global, m_null)) -       { -       /*Perform graphic Operations in the display image.*/  -Mgracolor (M_default,0xF0); - Mgrafont (M_default, m_font_default_large); inMgratext (M_default, Milimage,160L,230L, Mil_text ("Welcome to MIL!!!")); -Mgracolor (M_default,0xC0); toMgrarect (M_default, Milimage,100L,150L,530L,340L); +Mgrarect (M_default, Milimage,120L,170L,510L,320L); -Mgrarect (M_default, Milimage,140L,190L,490L,300L); the        *       /*Print a message.*/ $mosprintf (Mil_text ("\nsystem allocation:\n"));Panax Notoginsengmosprintf (Mil_text ("------------------\ n")); -mosprintf (Mil_text ("System allocation successful.\n\n")); themosprintf (Mil_text ("\ "Welcome to MIL!!! \ "\ n")); +       } A    Else themosprintf (Mil_text ("System allocation error!\n\n")); +  -    /*Wait for a key press.*/ $mosprintf (Mil_text ("Press <Enter> to end.\n")); $ Mosgetch (); -  -    /*Free defaults.*/ the Mappfreedefault (milapplication, Milsystem, Mildisplay, M_null, milimage); - Wuyi    return 0; the}

Installation and environment configuration of MIL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.