DT Vision Foundry OS: Windows 2000/XP Rapid Development Inspection Software DT Vision Foundry ® 3.7 Rapid Development Software for Inspection Applications Now With FDA 21 CFR Part 11 Support, New Color Split Tool, and Many Enhancements! Key Features ■ Supports FDA 21 CFR Part 11 Define security levels for users, including names, passwords, and permissions. User events are logged to disk. ■ Rapid program development. Create robust inspection applications rapidly using the graphically-based Point & Click Script tool. Simply configure the tools you want to use and add them to your script – no programming required! ■ Flexible and extensible. Add BASIClike code to your script, if you wish, using the Custom Script tool, or create custom tools using Microsoft Visual C++ and the supplied library of object-oriented API functions. ■ Advanced vision algorithms for highaccuracy inspection. You can use DT Vision Foundry in environments where ideal conditions, such as part positioning, lighting, and reflectivity, cannot be easily controlled or maintained, reducing cost and increasing accuracy. ■ Powerful tools for image capture, processing, inspection, and analysis. ■ Supports a wide range of imaging devices. All of Data Translation’s PCI frame grabber boards are supported. Figure 1. Use DT Vision Foundry’s Point & Click Script tool to develop applications rapidly. Simply configure the tools you want to use and add them to your script to create complete, robust, production-ready inspection applications — all without writing any code! inspection application – all without writing any code! Use DT Vision Foundry’s Point & Click Script tool to view, modify, and step through your script. With a couple of mouse clicks, you can add nested conditional branching (while, do-while, if-then, for-next, compound if), error branching, and variable assignments. Simply drag and drop the elements of your script to define the flow of your application. You can configure the Point & Click Script tool to run your script automatically whenever the system starts, to handle failure conditions, and to provide debugging information. Enhanced point and scripting in version 3.7 allows you to save scripts in XML format. Direct Show-Compatible FireWire and USB Cameras RS-232 Serial Devices ■ Supports Direct Show 8.0-Compatible FireWire and USB Cameras. ■ Development and run-time versions available. MACH I and MACH II Series Frame Grabbers Overview DT Vision Foundry is a rapid development environment for creating highaccuracy inspection applications. Simply add one or more of the graphical image acquisition, processing, inspection, and analysis tools that DT Vision Foundry provides into a "script" to create a complete, robust, production-ready External Device (PLC) DT351 Digital I/O Board Figure 2. DT Vision Foundry supports a wide range of imaging devices and peripheral equipment for a complete machine vision solution. If you need more flexibility, DT Vision Foundry provides the Custom Script tool for adding BASIC-like functions, expressions, loops, and branches to your script. You can even create your own tools by calling DT Vision Foundry’s extensive library of object-oriented API functions from Microsoft Visual C++. You can capture images using a wide range of imaging devices, including: Capture Images and Exchange Data ■A DT Vision Foundry supports the following image formats: binary; 8-bit, 16bit, and 32-bit grayscale; floating-point grayscale; and true 24-bit color. TWAIN image formats and 8-, 16-, and 24-bit AVI files are also supported. ■ Any Data Translation PCI frame grabber board, such as the DT3145 Camera Link board and the DT3162 high-accuracy variable scan board, and an appropriate camera for the board. Direct Show 8.0-compatible FireWire or USB camera (with uncompressed data in either 8-bit monochrome or 24bit RGB format). DirectX 9.0 is required for these cameras. (Note that FireWire DV devices are not supported.) To acquire an image from one of these devices, simply install the board and/or camera you want to use along with its software, use DT Vision Foundry’s Device Manager to configure the board/camera, and open the Picture tool to acquire the image. DT Vision Foundry provides the ability to control and exchange data with many other devices and applications using the Input-Output tools summarized in Table 1. You can also share variable and image data with DT Measure Foundry and other applications that use DCOM technology using DT Vision Foundry’s built-in peerto-peer communication server, called DTiX. Table 1. Input-Output Tools for Acquiring Images and Exchanging Data Tool Description Picture Tool Acquires an image to disk, acquires an image to memory, captures to an AVI file, averages an image, and provides user selectable date and time-stamps for each captured frame. AVI Player Plays AVI video clips, and allows you to single-step, pause, and save individual images for further image processing and analysis. TWAIN Tool Imports TWAIN format image files from scanners, digital cameras, and many other TWAIN-compatible devices. Digital I/O Tool Export Tool Import Tool Serial I/O Tool File Manager Tool Reads digital input data and/or writes digital output data to supported digital I/O devices that interface to external peripherals. This tool is useful in applications where you want to interface to industrial controls, such as a programmable logic controller (PLC), control external Pass/Fail events, or read signals. Exports variable data and images in real-time from DT Vision Foundry to external applications, such as Visual Basic, Delphi, and MATLAB. Imports variable data and images in real-time from external applications, such as Visual Basic, Delphi, and MATLAB, into DT Vision Foundry. Sends and receives data through the serial port of your PC. Opens images from disk in any of 23 popular file formats, and writes images in either Windows BMP or TIFF file formats. Process Images Once you have acquired an image, you can use the imaging processing tools summarized in Table 2 to modify the entire image or portions of the image, called 2 Data Translation, Inc. Regions of Interest (ROIs), for more accurate measurements. DT Vision Foundry supports eight types of ROIs: point, rectangle, ellipse, straight line, polyline, freehand line, poly-freehand line, and freehand. ROIs are dynamically allocated and US and Canada (800) 525-8528, (508) 481-3700 UK 1256 3333 30 can be repositioned based on coordinate data provided from other tools. You can use an unlimited number of ROIs in an image and "attach" them to images for faster processing. Germany (07142) 95 31-0 Internet www.datatranslation.com DT Vision Foundry OS: Windows 2000/XP Rapid Development Inspection Software Table 2. Image Processing Tools for Modifying Images Tool Arithmetic Tool Filter Tool ed! Enhanc Image Modifier Tool Polar Unwrap Tool MorphologyTool Threshold Tool Pixel Change Tool Description Adds, subtracts, multiplies, divides, ANDs, ORs, XORs, or copies two input images. Applies a filtering algorithm (convolution) to an input image. A number of popular filters are supplied for different purposes. For example, you can use the supplied Mean filter to smooth an image or a Sobel filter to find an edge in an image. You can also create your own filters by adding single or dual kernels from 1 x 1 to 7 x 7. Crops, rotates, flips, or scales an input image. New in version 3.7, fast crop mode is available. Converts a circular object in a image (in polar coordinates) into a linear object (in rectangular coordinates). This is useful for straightening curved text in OCR applications or for solving polar-based imaging problems using rectilinear tools. Performs binary morphology operations on a binary image. Supported morphological operations include removing pixels from a foreground object (erosion), adding pixels to a foreground object (dilation), performing an erosion operation followed by a dilation (opening), performing a dilation operation followed by an erosion (closing), finding the line replica of a particle (skeletonization), and separating touching particles (watershed). Creates a binary image from a monochrome, RGB, or HSL image. This tool supports true color thresholding for visual ization purposes, multiple region thresholding with histogram support for determining the appropriate threshold for each color plane or setting, and automatic thresholding for determining the threshold values automatically based on the contrast values of the image. Changes the values of pixels in an image or a transparent overlay. Color Plane Tool Allows you to access the color data of a 24-bit color image in RGB (red, green, blue), HSL (hue, saturation, luminance), or YIQ (luminance, inphase, quadrature) format. Color Split Tool For arithmetic operations on separate planes, generates red, green, blue, or YCrCb (intensity, chroma-red, or chromablue) color planes, or images with the results of the following operations: red minus green plane, green minus blue plane, or blue minus red plane. New! Inspect and Analyze Images Once you have acquired an image or ROI and modified it, you can classify it by comparing it to known standards or ana- lyze it to detect specific patterns or features. DT Vision Foundry’s inspection and analysis tools, summarized in Tables 3 and 4, use state-of-the-art vision algorithms to ensure high-accuracy results. This allows you to use DT Vision Foundry in environments where ideal conditions, such as part positioning, lighting, and reflectivity, cannot be easily controlled or maintained. Table 3. Image Inspection Tools for Classifying Images Tool Search Tool Match Tool Image Classifier Tool Contour Classifier Tool Description Uses correlation algorithms to find features, such a pattern or object, within an image, creates new ROIs in the inspection image to indicate where matches were found, and returns information about the matches, including the x- and y-coordinates of the feature within the image and the match score. Compares two input images and reports a score that represents the degree of similarity. Very quickly compares an image to one that was cataloged previously and returns information about the classification, such as the name of the training image in the catalog that best matches the feature under test, the angle of rotation and/or shift in X and Y direction of the feature under test with respect to the training image, and a score that measures the confidence level of the match. Compares enclosed shapes (contours) to contours that were cataloged previously and returns information about the classification, such as the name of the catalog element that best matches the contour under test, the Euler angles that describe the rotation of each contour, and a score that measures the confidence level of the match. The Contour Classifier tool is particularly useful in applications that require optical character recognition, sorting planar objects, positioning objects, or approximating the distance between objects. Table 4. Image Analysis Tools for Detecting Specific Patterns and Features Tool Description Line Profile Tool Creates and analyzes the line profiles of images. You can add an unlimited number of line profiles to the same graph, and add line profiles from multiple images and multiple viewports. This tool supports all three line ROI types (straight, poly, and freehand) - they can be any thickness for smoothing out noisy images. You can take any derivative you like and then find edges, sets of edges, peaks, and sets of peaks easily and automatically. The Line Profile tool also allows you to measure distances along lines with calibrated sub-pixel accuracy. Creates histograms of images, and allows multiple histograms to be placed on the same graph for easy comparison. The graphs can be easily customized, sized, zoomed, printed, and more. Histogram Tool ed! Enhanc Blob Analysis Tool Barcode Reader Tool Data Matrix Reader Tool ROI Manager Tool ed! Enhanc Gauge Tool Edge Finder Tool ed! Enhanc ed! Enhanc ROI Shape Fitter Tool Calibration Tool Calculates over 70 calibrated measurements and statistics quickly and easily for all blobs (particles). You can find blobs in a single image, in multiple images, and even in different parts of multiple images. This tool supports an unlimited number of child blobs. Enhancements in version 3.7 allow you to specify the color of ROIs and to find blobs within the black pixels or within the white pixels of an image. Decodes one-dimensional barcodes in an image. This tools supports 128, 3 of 9, 2 of 5, EAN (Version 13), EAN (Version 8), UPC (Version A), and POSTNET (Postal Numeric Encoding Technique) industry-standard barcode formats. Decodes ECC200 data matrix symbols in an image. Data matrix symbols are typically used in two-dimensional barcodes. Creates and analyzes regions of interest (ROIs). The tool supports point, rectangular, elliptical, straight line, polyline, freehand line, polyfreehand, and freehand ROIs. You can add similar groups of ROIs that are aligned with one another quickly and easily. t lines to edges and fitting circles to arcs. The fitted ROIs can also be used by other tools for mea surements. Enhancements in version 3.7 allow you to specify the color of an ROI, and to shift and ROI to a reference point you specify. Measures various parameters, including height, width, roundness, perimeter, min/max distance, perpendicular distance, line length, color average, and intersection angle, of the image in calibrated units. Fine-tunes the detection of edges from a binary image, particularly in noisy images and when there are gaps in the image, and extracts the edges and contours. These edges can be used for performing precise measurements with the Gauge Tool. Enhancements in version 3.7 allow you to specify the color of an ROI, and to filter closed contours based on their pixel area. Fits ROIs to a particular edge or contour found within a binary image by transforming them into the appropriate shape. This is useful for fitting straight lines to edges and fitting circles to arcs. The fitted ROIs can also be used by other tools for additional measurements. Enhancements in version 3.7 allow you to specify a reference line ROI that defines the axis for either an intersection fit, resulting in a point ROI, or an orthogonal line fit, resulting in a line ROI. Takes four pairs of pixel-to-real-world coordinate points and creates a calibration object that you can use to calibrate your imaging system. You can have multiple calibration objects in the system at once, allowing you to support a multiple-camera system. Calibration objects can be renamed and saved/restored to/from disk as needed. The tool supports sub-pixel measurements. It also supports a Full Projective Transformation so your camera can be located any where with respect to an object; it does not have to be normal to the plane. Perform System Operations DT Vision Foundry allows you to open, scale, and zoom an unlimited number of viewing windows (called viewports) for viewing images and ROIs simultaneously. To manage these images and viewports, and to manage other system tasks, such as adding sound or text to your application, DT Vision provides the system tools summarized in Table 5. Table 5. System Tools for Managing System Tasks Tool Description Image Manager Allows you to easily manage images in memory. You can view a list of images in memory, determine the name and attributes of each image, view a thumbnail of an image, delete an image, select an image into the active viewport, create a new image, or rename an image. Allows you to specify how you would like to view a grayscale image. You can view the same image many different ways in different viewports simultaneously. You can bring out small hidden details, show images with false coloring, increase contrast and brightness, invert, step, and more. You can even modify the output look-up table on a pixel-by-pixel basis. Allows you to set up how your application interacts with your end-user during execution. The Prompt Tool presents a dialog box allowing your end-user to enter information; your application can then act on the data to perform specific or multiple operations. Plays WAV sound files using any standard, configured sound card. Display Tool Prompt Tool Sound Tool Status Tool Text Tool 4 Data Translation, Inc. Allows you to implement a pass/fail warning screen and define warning criteria for use with a Point & Click script. Password protection is available. Creates multi-line text that can be edited and positioned in the image. You can specify the background and foreground color (including transparent), place the text in the image or in its transparent overlay, and specify the size and font of the text. US and Canada (800) 525-8528, (508) 481-3700 UK 1256 3333 30 Germany (07142) 95 31-0 Internet www.datatranslation.com DT Vision Foundry OS: Windows 2000/XP Rapid Development Inspection Software OCR Presence Verification Use the Contour Classifier tool, which provides OCR capability, to inspect an object in motion, reading the letters on a curve. Use a combination of DT Vision Foundry tools to determine the coordinates of a point on a cylindrical object. Measurement Bar Code Reading Use the 2D Data Matrix tool to select the size of 2D matrix barcodes, reading them at any angle even if they are damaged. This tool reports the angle, x-centroid, and y-centroid of each barcode. Use the Search tool, which has sub-pixel accuracy, with the DT3162 to measure the distance from the top of a stopper in a vial to a point on the vial. This application reads 15 vials per second. Figure 3. Typical Inspection and Analysis Applications Supports FDA 21, CFR Part 11 Regulations DT Vision Foundry supports FDA 21 CFR Part 11 regulations by enabling develop- ers to define security levels for users. You can establish a database of user names, and define passwords and permissions for each user in the database. DT Vision Foundry then automatically creates a pro- tected event log file that records when a user logs in/out, when a script is loaded, saved, or unloaded, and when a user views or adds notes to a log file. Complete Documentation and Online Help many powerful functions and features available in DT Vision Foundry. DT Vision Foundry comes with a detailed user's manual and API manual (in PDF format), as well as context-sensitive online help for all tools, application commands, and API calls. Step-by-step examples make it easy to learn how to use the Documentation and Online Help System Requirements Hardware IBM PC compatible with MMX processor (Pentium III or equivalent recommended) ■ 128 Mbytes RAM (256 Mbytes recommended) ■ 150 MB of free hard disk space ■ SVGA Monitor (800x600 screen resolution or higher recommended) ■ PCI interface for Frame Grabber board (optional, used for image capture) or digital I/O ■ CD-ROM drive ■ Sound Card (optional) ■ Serial port (for Pass/Fail measurement data and image output) ■ Keyboard and mouse DT Vision Foundry comes with a detailed user's manual and API manual (in PDF format), as well as context-sensitive online help for all tools, application commands, and API calls. Step-by-step examples make it easy to learn how to use the many powerful functions and features available in DT Vision Foundry. Technical Support Services As you develop your application, support is available when you need it. Visit our web site at www.datatranslation.com/ machinevision for application examples, tutorials, white papers, a searchable Knowledgebase, links to Data Translation frame grabber devices, and much more. Support is also available from your point of purchase. Telephone support is free for the first 90 days; you can also request complimentary support via e-mail or fax at any time. To see if DT Vision Foundry is right for you, send the part you want to inspect to Data Translation’s Application Group. We can run tests on the sample part and provide you with a script and a detailed report of the results. Send us your part for inspection today! Ordering Summary All Data Translation software products are covered by a 90-day warranty. For pricing information, see current pricelist, visit our website, or contact your local reseller. ■ SP1400-CD DT Vision Foundry Development Software ■ SP1402-CD DT Vision Foundry Run-Time DT Vision Foundry Software Upgrade packages are available. Call for details. © Copyright 2005 Data Translation, Inc. All rights reserved. All trademarks are the property of their respective holders. Prices, availability, and specifications subject to change without notice. Software ■ Windows 2000/XP Operating System. ■ Microsoft Visual C.++ 6.0 or better (optional, used for creating custom applications and custom tools) Frame Grabber Boards (optional) Locate ■ DT3162 – Variable-scan monochrome frame grabber Pharmaceutical ■ DT3145 – Camera Link monochrome and RGB frame grabber ■ DT3152 – Variable-Scan monochrome frame grabber ■ DT3153 – Composite color/S video frame grabber ■ DT3154 – RGB Color frame grabber Consumer Goods Count ■ DT3155 – Monochrome frame grabber ■ DT3157 – 8-bit to 16-bit single and dual channel RS-422 digital camera interface ■ DT3131 – Single frame grabber; 3 inputs (muxed), 1 active; monochrome, compositecolor/S-video ■ DT3132 – Double frame grabber; 6 inputs (muxed), 2 simultaneously active; monochrome, composite color/S-video Automotive Verify Product Packaging ■ DT3133 – Triple frame grabber; 9 inputs (muxed), 3 simultaneously active; monochrome, composite color/S-video Measure Electronics Digital I/O Boards (optional) ■ DT351 – 16 channel (8 input, 8 output) isolated digital I/O board for PCI Read 6 Data Translation, Inc. US and Canada (800) 525-8528, (508) 481-3700 UK 1256 3333 30 Germany (07142) 95 31-0 Internet www.datatranslation.com