NI Vision Assistant Tutorial
-
Upload
carlosotiniano9811 -
Category
Documents
-
view
114 -
download
2
Transcript of NI Vision Assistant Tutorial
NI VisionNI Vision Assistant Tutorial
NI Vision Assistant Tutorial
June 2008372228K-01
Support
Worldwide Technical Support and Product Information
ni.com
National Instruments Corporate Headquarters
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
Worldwide Offices
Australia 1800 300 800, Austria 43 662 457990-0, Belgium 32 (0) 2 757 0020, Brazil 55 11 3262 3599, Canada 800 433 3488, China 86 21 5050 9800, Czech Republic 420 224 235 774, Denmark 45 45 76 26 00, Finland 358 (0) 9 725 72511, France 01 57 66 24 24, Germany 49 89 7413130, India 91 80 41190000, Israel 972 3 6393737, Italy 39 02 41309277, Japan 0120-527196, Korea 82 02 3451 3400, Lebanon 961 (0) 1 33 28 28, Malaysia 1800 887710, Mexico 01 800 010 0793, Netherlands 31 (0) 348 433 466, New Zealand 0800 553 322, Norway 47 (0) 66 90 76 60, Poland 48 22 3390150, Portugal 351 210 311 210, Russia 7 495 783 6851, Singapore 1800 226 5886, Slovenia 386 3 425 42 00, South Africa 27 0 11 805 8197, Spain 34 91 640 0085, Sweden 46 (0) 8 587 895 00, Switzerland 41 56 2005151, Taiwan 886 02 2377 2222, Thailand 662 278 6777, Turkey 90 212 279 3031, United Kingdom 44 (0) 1635 523545
For further support information, refer to the Technical Support and Professional Services appendix. To comment on National Instruments documentation, refer to the National Instruments Web site at ni.com/info and enter the info code feedback.
© 1999â2008 National Instruments Corporation. All rights reserved.
Important Information
WarrantyThe media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty.
National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
EXCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERâS RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation of the liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures caused by ownerâs failure to follow the National Instruments installation, operation, or maintenance instructions; ownerâs modification of the product; ownerâs abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
CopyrightUnder the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written consent of National Instruments Corporation.
National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
TrademarksNational Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section on ni.com/legal for more information about National Instruments trademarks.
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency, partnership, or joint-venture relationship with National Instruments.
PatentsFor patents covering National Instruments products, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your media, or ni.com/patents.
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN.
(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY, COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE FITNESS, FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, INSTALLATION ERRORS, SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES, TRANSIENT FAILURES OF ELECTRONIC SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED âSYSTEM FAILURESâ). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH) SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT NOT LIMITED TO BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN, PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
© National Instruments Corporation v NI Vision Assistant Tutorial
Contents
About This ManualConventions ...................................................................................................................viiRelated Documentation..................................................................................................viii
Chapter 1Vision Assistant Environment
Launching and Exiting Vision Assistant .......................................................................1-1Vision Assistant Environment .......................................................................................1-1
Features............................................................................................................1-2Getting Help...................................................................................................................1-3
Vision Assistant Context Help and Tooltips ...................................................1-3National Instruments Web Site........................................................................1-4Vision Assistant Scripts...................................................................................1-4
Chapter 2Introduction to Image Processing with Vision Assistant
Getting Started in Vision Assistant................................................................................2-1Acquiring Images in Vision Assistant ...........................................................................2-6
Opening the Acquisition Window...................................................................2-7Snapping an Image ..........................................................................................2-8Grabbing an Image .........................................................................................2-9Acquiring a Sequence of Images.....................................................................2-9
Chapter 3Using Particle Analysis to Analyze the Structure of a Metal
What Is Particle Analysis? .............................................................................................3-1Tutorial...........................................................................................................................3-2
Loading Images into Vision Assistant.............................................................3-2Preparing an Image for Particle Analysis ........................................................3-3
Examining the Image ........................................................................3-3Filtering the Image ............................................................................3-5Examining the Results of the Filtering .............................................3-5
Separating Particles from the Background with Thresholding........................3-6Modifying Particles with Morphological Functions........................................3-8Isolating Circular Particles ..............................................................................3-9Analyzing Circular Particles............................................................................3-10Testing the Particle Analysis Script ................................................................3-10
Contents
NI Vision Assistant Tutorial vi ni.com
Saving the Particle Analysis Script ................................................................. 3-12Estimating Processing Time............................................................................ 3-12Creating a LabVIEW VI ................................................................................. 3-13Creating a C Program...................................................................................... 3-14
Chapter 4Using Gauging for Part Inspection
What Is Gauging? .......................................................................................................... 4-1Tutorial .......................................................................................................................... 4-1
Loading Images into Vision Assistant ............................................................ 4-3Finding Measurement Points Using Pattern Matching ................................... 4-3Finding Edges in the Image ............................................................................ 4-6Taking the Measurements ............................................................................... 4-7
Analyzing the Results.................................................................................................... 4-10
Chapter 5Using a Coordinate System for Part Inspection
What Is a Coordinate System? ...................................................................................... 5-1Tutorial .......................................................................................................................... 5-2
Loading Images into Vision Assistant ............................................................ 5-2Defining a Feature on which to Base a Coordinate System............................ 5-2Defining a Coordinate System ........................................................................ 5-4Checking for Presence .................................................................................... 5-4Testing the Dental Floss Script ....................................................................... 5-5Saving the Dental Floss Script ........................................................................ 5-7
Analyzing the Results.................................................................................................... 5-7
Appendix ATechnical Support and Professional Services
Glossary
Index
© National Instruments Corporation vii NI Vision Assistant Tutorial
About This Manual
The NI Vision Assistant Tutorial describes the Vision Assistant software interface and guides you through creating example image processing and machine vision applications. This tutorial is designed for Windows users with varied levels of vision experience.
ConventionsThe following conventions are used in this manual:
» The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options directs you to pull down the File menu, select the Page Setup item, and select Options from the last dialog box.
This icon denotes a tip, which alerts you to advisory information.
This icon denotes a note, which alerts you to important information.
bold Bold text denotes items that you must select or click in the software, such as menu items and dialog box options. Bold text also denotes parameter names.
italic Italic text denotes variables, emphasis, a cross-reference, or an introduction to a key concept. Italic text also denotes text that is a placeholder for a word or value that you must supply.
monospace Text in this font denotes text or characters that you should enter from the keyboard, sections of code, programming examples, and syntax examples. This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames, and extensions.
About This Manual
NI Vision Assistant Tutorial viii ni.com
Related DocumentationThe following documents contain information that you may find helpful as you use this manual. To access the NI Vision Assistant documentation, select Start»All Programs»National Instruments»Vision Assistant.
⢠NI Vision Development Module Release NotesâContains information about new functionality, minimum system requirements, installation instructions, and descriptions of the documentation for NI Vision Assistant.
⢠NI Vision Assistant HelpâContains descriptions of the Vision Assistant features and functions and provides instructions for using them. To open the help file in Vision Assistant, select Help»Online Help.
⢠NI Vision Concepts ManualâDescribes the basic concepts of image analysis, image processing, and machine vision. This document also contains in-depth discussions about imaging functions for advanced users.
© National Instruments Corporation 1-1 NI Vision Assistant Tutorial
1Vision Assistant Environment
This chapter introduces the NI Vision Assistant environment and describes resources you can consult for more information about NI Vision software and NI image acquisition devices.
Launching and Exiting Vision AssistantTo launch Vision Assistant, select Start»All Programs»National Instruments Vision Assistant.
To exit Vision Assistant, complete the following steps:
1. Close the Setup window.
2. Save the open script and images, if necessary.
3. Click File»Exit.
Vision Assistant EnvironmentVision Assistant is a tool for prototyping and testing image processing applications. To prototype an image processing application, build custom algorithms with the Vision Assistant scripting feature. The scripting feature records every step of the processing algorithm. After completing the algorithm, you can test it on other images to make sure it works.
The algorithm is recorded in a script file, which contains the processing functions and relevant parameters for an algorithm that you prototype in Vision Assistant. Using the LabVIEW VI Creation Wizard, you can create a LabVIEW VI that performs the prototype that you created in Vision Assistant.
Note You must have LabVIEW 7.1 or later and the NI Vision 8.6 Development Module or later installed to use the Vision Assistant LabVIEW VI Creation Wizard.
For more information about LabVIEW VI creation, refer to the Creating a LabVIEW VI section of Chapter 3, Using Particle Analysis to Analyze the Structure of a Metal.
Chapter 1 Vision Assistant Environment
NI Vision Assistant Tutorial 1-2 ni.com
Using the C Code Creation Wizard, you can generate a C function that performs the prototype that you created in Vision Assistant. For more information about C Code creation, refer to the Creating a C Program section of Chapter 3, Using Particle Analysis to Analyze the Structure of a Metal.
Note If you have LabWindowsâ¢/CVI⢠7.0 or later, you can create a project for the generated C code.
You also can implement the algorithm defined by the Builder file into any development environment, such as Microsoft Visual Basic, using the NI Vision machine vision and image processing libraries.
FeaturesVision Assistant offers the following features:
⢠Script windowâRecords a series of image processing steps and the settings you use for each of those steps. You can run scripts on single images or in a batch to analyze a collection of images. You also can modify and save scripts. Refer to Figure 2-2, Processing an Image, for an example of the Script window.
⢠Image BrowserâContains all of the images currently loadedin Vision Assistant. You can select an image to process by double-clicking it in the Image Browser. Refer to Figure 2-1,Image Browser, to view images loaded into the Image Browser.
⢠Processing WindowâUpdates the image as you change parameters. Because this view immediately reflects the changes you have made in the Setup window, you can continue modifying parameters until you get the result you want. Refer to Figure 2-2, Processing an Image,to view an image loaded into the Processing window.
⢠Processing Functions Window/Setup WindowâDisplays a list of image processing functions you can use to develop an algorithm, or displays parameters that you can set for an image processing function. Each function available through the Processing Functions window has a Setup window in which you set the parameters for that function. Refer to Figure 2-3, Thresholding an Image, to view an example of the Setup window for the Threshold function.
⢠Reference WindowâDisplays the image source as you manipulate it in the Processing window. Refer to Figure 2-2, Processing an Image, to view an image in the Reference window.
Chapter 1 Vision Assistant Environment
© National Instruments Corporation 1-3 NI Vision Assistant Tutorial
⢠Solution WizardâDisplays a list of industries and corresponding quality-assurance tasks that those industries perform. The wizard loads an NI Vision-based solution for the task you select.
⢠Performance MeterâEstimates how long a script will take to complete on a given image.
⢠LabVIEW VI CreationâCreates a LabVIEW VI corresponding to the algorithm you prototype in Vision Assistant. Based on the options you select, the LabVIEW VI Creation Wizard creates a new VI that implements the image processing steps of the current script or of a saved script file.
⢠C Code CreationâCreates a C file corresponding to the algorithm you prototype in Vision Assistant. Based on the options you select, the C Code Creation Wizard creates a C function that implements the image processing steps of the current script.
⢠Builder FileâASCII text file that lists the Visual Basic functions and parameters for the algorithm you prototyped in Vision Assistant.
Getting HelpAs you work with Vision Assistant, you may need to consult other sources if you have questions. The following sources can provide you with more specific information about NI Vision software and NI image acquisition devices.
Vision Assistant Context Help and TooltipsVision Assistant displays context-sensitive help in the Context Help window when you call any image processing function. The Context Help window contains several tabs that describe when to use image processing functions, how to perform an image processing function, and descriptions of the controls that appear in the Setup window for the function. Click the Context Help button on the Vision Assistant toolbar to launch the Context Help window.
Vision Assistant also provides tooltips in the Vision Assistant interface. Tooltips briefly describe buttons in the toolbar, Script window, Reference window, or Image Browser when you move the cursor over the buttons.
Chapter 1 Vision Assistant Environment
NI Vision Assistant Tutorial 1-4 ni.com
National Instruments Web SiteThe National Instruments Web site provides information about NI Vision hardware and software at ni.com/vision.
From the NI Vision site, you can locate information about new NI Vision features, machine vision problems and solutions, and selecting the appropriate NI Vision hardware, cameras, lenses, and lighting equipment for applications.
The NI Developer Zone, available at ni.com/zone, is the essential resource for building measurement and automation systems. The NI Developer Zone includes the latest example programs, system configurators, tutorials, and technical news, as well as a community of developers ready to share their own techniques.
Vision Assistant ScriptsThe Vision Assistant installation program installs several example scripts. You can run these scripts to learn more about Vision Assistant scripting capabilities. You also can customize these scripts for your applications. By default, the scripts are installed to <Vision Assistant>\Examples and at <Vision Assistant>\solutions, where <Vision Assistant> is the location to which Vision Assistant is installed.
© National Instruments Corporation 2-1 NI Vision Assistant Tutorial
2Introduction to Image Processing with Vision Assistant
This chapter describes how you can use Vision Assistant to create and test image processing algorithms. For detailed information about digital images, refer to Chapter 1, Digital Images, of the NI Vision Concepts Manual.
Getting Started in Vision AssistantThis section describes the software-specific terminology that you need to complete the tutorials in this manual and understand the online help. The best way to understand how Vision Assistant works and what you can accomplish with the software is to use it.
In this short example, you load images into Vision Assistant and perform a threshold on them. Thresholding isolates objects, keeping those that interest you and removing those that do not. Thresholding also converts the image from a grayscale image, with pixel values ranging from 0 to 255, to a binary image, with pixel values of 0 or 1.
Complete the following steps to get started in Vision Assistant.
1. Select Start»All Programs»National Instruments Vision Assistant.
2. To load images, click Open Image in the Welcome screen.
3. Navigate to <Vision Assistant>\Examples\metal, where <Vision Assistant> is the location to which Vision Assistant is installed.
4. Enable the Select All Files checkbox. Vision Assistant previews the images in the Preview Image window and displays information about the file type and image depth.
5. Click Open. Vision Assistant opens the first image in the Processing window.
Chapter 2 Introduction to Image Processing with Vision Assistant
NI Vision Assistant Tutorial 2-2 ni.com
6. Click Browse Images in the upper right corner of the Vision Assistant window.
Vision Assistant loads the image files you opened into the Image Browser, as shown in Figure 2-1. The Image Browser provides information about the selected image, such as image size, location, and type.
Figure 2-1. Image Browser
You can view images in either thumbnail view, as shown in Figure 2-1, or in full-size view, which shows a single full-size view of the selected image.
7. Click the Thumbnail/Full-Size View Toggle button to view the first image in full size.
1 Image Browser2 Image Location3 Navigation Buttons
4 Thumbnail/Full-Size Toggle5 Open Image6 Close Selected Image(s)
7 Image Size8 Image Type9 File Format
9
87543
1
2
6
Chapter 2 Introduction to Image Processing with Vision Assistant
© National Instruments Corporation 2-3 NI Vision Assistant Tutorial
8. Click Process Images in the upper right corner of the Vision Assistant window to begin processing images. Vision Assistant loads the image into the Processing window, as shown in Figure 2-2.
Tip You can double-click an image in the Image Browser to being processing it in the Processing window.
Figure 2-2. Processing an Image
Tip The Reference window displays the original version of the image as you manipulate it in the Processing window.
1 Reference Window2 Zoom Ratio
3 Image Size4 Script Window
5 Processing Window
1
2
3
5
4
Chapter 2 Introduction to Image Processing with Vision Assistant
NI Vision Assistant Tutorial 2-4 ni.com
9. Click Threshold in the Grayscale tab of the Processing Functions, or select Grayscale»Threshold. The Threshold Setup window opens in the lower left corner of the Vision Assistant window, as shown in Figure 2-3.
Figure 2-3. Thresholding an Image
The Threshold Setup window displays a histogram. A histogram counts the total number of pixels at each grayscale value and displays the data in a graph. From the graph, you can see if the image contains distinct regions of certain grayscale intensities. Thresholding isolates these regions from the rest of the image. For example, if the image contains bright objects on a dark background, you can isolate the objects and remove the background by selecting Bright Objects from the Look For drop-down list and setting a minimum threshold value close to 255 (white).
1 Threshold Setup Window
1
Chapter 2 Introduction to Image Processing with Vision Assistant
© National Instruments Corporation 2-5 NI Vision Assistant Tutorial
The Processing window displays a preview of the default threshold operation, Manual Threshold, using the current set of parameters. The pixels depicted in red have intensities that fall inside the threshold range. The threshold operator sets their values to 1. The pixels depicted in gray have values outside the threshold range. The threshold operator sets their values to 0.
10. To threshold this image, set the Minimum value to 130 to select all of the objects.
Tip You may need to manipulate the Minimum value several times to find the one that works best. Rather than enter a number in the Minimum field, you can select the value using the pointer on the histogram. Adjust the pointer until all of the objects you wantto select are red.
11. Click the Main tab.
12. Enter Threshold Image in the Step Name control.
13. Click OK to apply the manual threshold to the image. The image is converted to a binary image where all of the selected pixels in the threshold range are set to 1 (red) and all other pixels are set to 0 (black).
Refer to Figure 2-4 to see what the image looks like after applying the threshold.
Figure 2-4. Thresholded Image
The thresholding step is recorded in the Script window. The script records the processing operation and all of its parameters. If you must run the same operation on other images, you can save the script and use it again.
Chapter 2 Introduction to Image Processing with Vision Assistant
NI Vision Assistant Tutorial 2-6 ni.com
14. Select File»Save Script As, and name the script threshold.scr.
If you find another image that you must threshold similarly, run this script on the image using the following steps:
a. Load the image.
b. Select File»Open Script, select threshold.scr, and click Open.
c. Click the Run Once button in the script window.
Try experimenting with different options and images. For example, you can perform a particle analysis to find the area that each object in this image occupies. If you need help with any specific image processing operation, click the How To tab or the Controls tab in the Context Help window.
Acquiring Images in Vision AssistantVision Assistant offers three types of image acquisitions: snap, grab, and sequence. A snap acquires and displays a single image. A grab acquires and displays a continuous set of images, which is useful, for example, when you need to focus the camera. A sequence acquires images according to settings that you specify and sends the images to the Image Browser.
Using Vision Assistant, you can acquire images with various National Instruments Smart Cameras, digital and analog frame grabbers, DCAM-compliant IEEE 1394 cameras, and Gigabit Ethernet (GigE) Vision cameras. For information about driver software, refer to the NI Vision Acquisition Software Release Notes.
Configure your image acquisition devices in National Instruments Measurement & Automation Explorer (MAX). For information about configuring image acquisition devices in MAX, refer to the NI Vision Acquisition Software Release Notes.
If you do not have an image acquisition device and the corresponding driver software, you can use the Simulate Acquisition step to simulate a live acquisition by displaying a sequence of images. You can interact with the simulation module as you would with a live acquisition. For example, you can stop the sequence at any frame, capture the image, and send the image to the Image Browser for processing.
Chapter 2 Introduction to Image Processing with Vision Assistant
© National Instruments Corporation 2-7 NI Vision Assistant Tutorial
Opening the Acquisition WindowComplete the following steps to acquire images.
1. Launch Vision Assistant if it is not already open.
2. Click Acquire Image in the Welcome screen to view the Acquisition functions, as shown in Figure 2-5.
If you already have Vision Assistant running, click Acquire Images in the toolbar. Vision Assistant displays the Acquisition functions, as shown in Figure 2-5.
Figure 2-5. Acquiring Images in Vision Assistant
3. Click Acquire Image. The Setup window displays the NI Vision devices and channels installed on the computer. For example, Figure 2-6 shows that the NI PCI-1410 is installed.
Note The hardware devices listed in the Setup window vary according to the devices installed.
1 Make Image Active 2 Store Acquired Image in Browser 3 Acquisition Functions
1
2
3
Chapter 2 Introduction to Image Processing with Vision Assistant
NI Vision Assistant Tutorial 2-8 ni.com
Figure 2-6. Acquire Image Setup Window
4. Click Close to close the Acquire Image Setup window.
Snapping an ImageComplete the following steps to acquire and display a single image.
1. Select File»Acquire Image.
2. Click Acquire Image in the Acquisition function list.
3. Select the appropriate device and channel or port.
4. Click the Acquire Single Image button to acquire a single image with the image acquisition device and display it.
5. Click the Store Acquired Image in Browser button to send the image to the Image Browser.
6. Click Close to exit the Setup window.
7. Process the image as you would any other image in Vision Assistant. Refer to the other chapters of this tutorial for examples of processing images in Vision Assistant.
Chapter 2 Introduction to Image Processing with Vision Assistant
© National Instruments Corporation 2-9 NI Vision Assistant Tutorial
Grabbing an Image Complete the following steps to acquire and display a continuous set of images.
1. Select File»Acquire Image.
2. Click Acquire Image in the Acquisition function list.
3. Select the appropriate device and channel or port.
4. Click the Acquire Continuous Images button to acquire and display images in continuous mode at the maximum rate.
5. Click the Acquire Continuous Images button again to stop the acquisition and display the last acquired image.
Tip You can acquire a region of interest (ROI) within the full-sized image. If you draw an ROI on an image while grabbing it, the image reduces to the ROI. You can refine the acquired area again by selecting another region of interest, or you can return to the full-sized image by clicking the image.
6. Click the Store Acquired Image in Browser button to send the image to the Image Browser.
7. Click Close to exit the Setup window.
8. Process the image as you would any other image in Vision Assistant. Refer to the other chapters of this tutorial for examples of processing images in Vision Assistant.
Acquiring a Sequence of ImagesComplete the following steps to acquire a sequence of images and send the images to the Image Browser.
1. Click File»Acquire Image.
2. Click Acquire Image in the Acquisition function list.
3. Select the appropriate device and channel or port.
4. Click the Sequence Acquisition button.
5. Set the properties on the Sequence Acquisition Wizard.
⢠Number of FramesâNumber of frames you want to acquire.
⢠Skip CountâNumber of frames you want to skip between acquisitions.
⢠LineâPhysical trigger line.
⢠ActionâTriggering action. Valid values include Disabled, Trigger start of acquisition, and Trigger each image.
Chapter 2 Introduction to Image Processing with Vision Assistant
NI Vision Assistant Tutorial 2-10 ni.com
⢠TimeoutâTime, in milliseconds, within which the trigger must occur.
⢠PolarityâDetermines if the acquisition is triggered on the rising edge or the falling edge.
6. Click Next, Next, and Finish to complete the acquisition.
If you set the triggering action property to Disabled, click Next to begin acquiring a sequence of images.
Images acquired are automatically sent to the Image Browser.
7. Click Close to exit the Setup window.
8. Process the image as you would any other image in Vision Assistant. Refer to the other chapters of this tutorial for examples of processing images in Vision Assistant.
© National Instruments Corporation 3-1 NI Vision Assistant Tutorial
3Using Particle Analysis to Analyze the Structure of a Metal
This chapter describes particle analysis and provides step-by-step directions for prototyping a particle analysis application in Vision Assistant.
Note You must have Microsoft Excel installed to complete some steps in this tutorial.
What Is Particle Analysis?Particle analysis consists of a series of processing operations and analysis functions that produce some information about the particles in an image. A particle is a contiguous region of nonzero pixels. You can extract particles from a grayscale image by thresholding the image into background and foreground states. Zero valued pixels are in the background state, and all nonzero valued pixels are in the foreground. In a binary image, the background pixels are zero, and every non-zero pixel is part of a binary object.
You perform a particle analysis to detect connected regions or groupings of pixels in an image and then make selected measurements of those regions. Using particle analysis, you can detect and analyze any two-dimensional shape in an image. With this information, you can detect flaws on silicon wafers, detect soldering defects on electronic boards, or locate objects in motion control applications when there is significant variance in part shape or orientation.
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
NI Vision Assistant Tutorial 3-2 ni.com
TutorialThis tutorial demonstrates finding the area of circular particles in a metal. As you perform this analysis, Vision Assistant records all of the processing operations and parameters in a script. You run the script on other images to test the particle analysis algorithm.
To find the total area of circular particles, you perform the following image processing steps:
⢠Filter the image to sharpen edges and ease the separation of the particles from the background.
⢠Threshold the image to isolate the appropriate particles.
⢠Fill holes that appear in the particles after thresholding.
⢠Remove all objects touching the border so that you remove partial particles.
⢠Use a particle filter to find all circular particles and remove non-circular particles.
⢠Perform a particle analysis to find the total area occupied by circular particles.
Loading Images into Vision Assistant1. If you already have Vision Assistant running, click the Open Image
button in the toolbar, and proceed to step 4. Otherwise, proceed to step 2.
2. Select Start»All Programs»National Instruments Vision Assistant.
3. Click Open Image on the Welcome Screen.
4. Navigate to <Vision Assistant>\Examples\metal, where <Vision Assistant> is the location to which Vision Assistant is installed.
5. Enable the Select All Files checkbox.
Tip The Preview Image window displays all selected images in a sequence. To view the images at a different rate, adjust the slide to the right of the Preview Image window.
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
© National Instruments Corporation 3-3 NI Vision Assistant Tutorial
6. Click Open. Vision Assistant loads the image files, which represent microscopic views of pieces of metal. The first image, Metal1.jpg, loads in the Processing window.
Preparing an Image for Particle AnalysisBefore you can separate circular particles from non-circular particles, you must prepare the image. To isolate particles of interest, verify that individual particles are separated by a gap and that the borders of those particles are distinct.
Examining the ImageExamine the image in the Processing window. The image is slightly blurred, and the edges of particles are not distinct. Although you can see these problems from just looking at the image, you may need to use a line profile in similar cases. A line profile returns the grayscale values along a line that you draw with the Line Tool.
Complete the following steps to examine edges using a line profile.
1. If the Script window already contains a script, click the New Script button to open a new script. Otherwise, proceed to step 2.
2. Click Line Profile in the Image tab of the Processing Functions palette, or select Image»Line Profile to open the Setup window. Notice that the Line Tool is automatically selected in the toolbar and is active.
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
NI Vision Assistant Tutorial 3-4 ni.com
3. Draw a short segment across a particle, as shown in Figure 3-1.
Tip ROIs are context sensitive, and you can easily adjust their location in the image or the position of their center points. You can also adjust the position of the ROI in the image by using the arrow keys on the keyboard.
Figure 3-1. Using a Line Profile to Examine Edges
In Figure 3-1, the areas labeled 1 represent the edges of the particles. Notice that the edges of the particles have a slope. The more shallow the slope, the greater variation you have in detecting the exact location of the edge. As you change the threshold level in images with shallow-sloped particle edges, you might inadvertently change the shape or size of the particle. In the Filtering the Image section of this chapter, you use the Convolution-Highlight Details filter under Filters in the Grayscale tab of the Processing Functions palette to define the edges of the particles and increase the slope.
1 Edges of Particles2 Graph or Profile Showing Fluctuation in Pixel Values
3 Segment Drawn with Line Tool
3
1
2
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
© National Instruments Corporation 3-5 NI Vision Assistant Tutorial
The area labeled 2 in Figure 3-1 is a fluctuation in pixel values, which might be caused by brighter and darker pixels in the center of the particles or it might also be edges of a hole in the particle. Later, you will threshold the image to make all of the pixels in the particles the same pixel value and then perform a morphological operation on the image to fill any holes left in the particles.
4. Click Cancel. You do not need to add the Line Profile step to the script because it was for investigational purposes only.
Filtering the ImageFilters can smooth, sharpen, transform, and remove noise from an image so that you can extract the information you need. To sharpen edges, including the edges of any holes inside a particle, and create contrast between the particles and the background, complete the following steps:
1. Click Filters in the Grayscale tab of the Processing Functions palette, or select Grayscale»Filters.
2. Enter Highlight Details in the Step Name control.
3. Select Convolution- Highlight Details from the Filters list. This function detects sharp transitions and highlights edge pixels according to a kernel to make gaps more prominent. A kernel is a structure that represents a pixel and its relationship to its neighbors. For more information about kernels, refer to Chapter 5, Image Processing, of the NI Vision Concepts Manual.
4. Click OK to add this step to the script.
Examining the Results of the FilteringTo confirm that the filter sharpened edges and separated particles, perform another line profile using the following steps:
1. Click Line Profile in the Image tab of the Processing Functions palette, or select Image»Line Profile.
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
NI Vision Assistant Tutorial 3-6 ni.com
2. Click and drag to draw a short segment across a particle to examine the line profile of the particle and its border, as shown in Figure 3-2. The line profile indicates more defined edges.
3. Click Cancel.
Figure 3-2. Using a Line Profile to Examine Particle Edges
Separating Particles from the Background with ThresholdingThresholding isolates pixels that interest you and sets the remaining pixels as background pixels. Thresholding also converts the image from grayscale to binary.
Complete the following steps to select a range of brighter pixels for analysis.
1. Click Threshold in the Grayscale tab of the Processing Functions palette, or select Grayscale»Threshold.
The Threshold Setup window displays a histogram. A histogram counts the total number of pixels in each grayscale value and graphs it.
1 Segment Drawn with Line Tool
1
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
© National Instruments Corporation 3-7 NI Vision Assistant Tutorial
From the graph, you can tell if the image contains distinct regions of a certain grayscale value. You also can select pixel regions of the image.
2. To threshold this image, set the Minimum value to 130.
Notice that the particles of interest (circular and non-circular) are highlighted in red. When you apply the threshold, everything highlighted is set to 1, and all other pixels are set to 0.
Tip Rather than enter a number in the Minimum field, you can select the value using the pointer on the histogram. Adjust the pointer until all of the objects you want to select are red.
3. Click the Main tab.
4. Enter Threshold Image in the Step Name control.
5. Click OK to apply the threshold and add this step to the script. Figure 3-3 shows the thresholded image. The pixels that you selected for processing appear red. Unselected pixels appear black.
The image is now a binary image, which is an image composed of pixels with values of 0 and 1. This image is displayed using a binary palette, which displays the pixel intensities of an image with unique colors. All pixels with a value of 0 appear black and pixels set to 1 appear red. The red pixels are now referred to as particles.
Figure 3-3. Separating Particles from the Background with Thresholding
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
NI Vision Assistant Tutorial 3-8 ni.com
Modifying Particles with Morphological FunctionsMorphological functions affect the shape of particles on an individual basis. Morphological operations prepare particles in the image for quantitative analysis such as finding the area, perimeter, or orientation.
Use the following steps to apply two morphological functions to the image. The first function fills holes in the particles and the second removes objects that touch the border of the image.
1. Click Adv. Morphology in the Binary tab of the Processing Functions palette, or select Binary»Adv. Morphology.
2. Enter Fill Holes in the Step Name control.
3. Select Fill holes from the list.
4. Click OK to add this step to the script.
5. Click Adv. Morphology in the Binary tab of the Processing Functions palette, or select Binary»Adv. Morphology.
6. Enter Remove Border Objects in the Step Name control.
7. Select Remove border objects to remove any objects that touch the border of the image. Refer to Figure 3-4 to see what the image looks like after applying morphological functions to the image.
8. Click OK to add this step to the script.
Figure 3-4. Modifying Particles with Morphological Functions
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
© National Instruments Corporation 3-9 NI Vision Assistant Tutorial
Isolating Circular ParticlesComplete the following steps to define a particle filter that isolates and keeps the circular particles and removes the non-circular particles from the image.
1. Click Particle Filter in the Binary tab of the Processing Functions palette, or select Binary»Particle Filter.
2. Enter Filter Round Particles in the Step Name control.
3. Select Heywood Circularity Factor from the list of particle filters. This function calculates the ratio of the perimeter of the particle to the perimeter of the circle with the same area. The more circular the particle, the closer the ratio to 1.
4. To find more circular and less oblong particles, enter a Minimum Value of 0 and a Maximum Value of 1.06 for the parameter range.
5. Select the Keep option to keep circular particles and remove particles that do not fit in the range.
6. Click OK to add this step to the script. The image now contains only circular particles, as shown in Figure 3-5.
Figure 3-5. Isolating Circular Particles
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
NI Vision Assistant Tutorial 3-10 ni.com
Analyzing Circular ParticlesNow that you have isolated circular particles, complete the following steps to find the area occupied by them.
1. Click Particle Analysis on the Binary tab of the Processing Functions palette, or select Binary»Particle Analysis. A results table displays all of the measurement results.
Vision Assistant assigns numerical labels to each particle. The first row of the results table lists the numerical label associated with each particle.
2. Enter Particle Analysis in the Step Name control.
3. Enable the Show Labels checkbox to view the labels.
Tip When you click a particle, the measurement results for that particle are highlighted in blue. When you click the results for a particle, the particle is surrounded by a green rectangle in the Processing window.
4. To show only the area measurement, click Select Measurements.
5. Click the Deselect All Pixel Measurements button to deselect all of the measurements. The real-world measurements are grayed out because the image is not calibrated.
6. Select the pixels control beside the Area measurement.
7. Click OK to close the Select Measurements dialog box.
You now have all of the information you need to analyze the structure of the metal. Remember to include the analysis as part of the LabVIEW, LabWindows/CVI, or Visual Basic solution. You can also use Microsoft Excel to analyze the data Vision Assistant generates.
To send the data to Microsoft Excel, click the Send Data to Excel button in the Particle Analysis results window.
8. Click OK to record the particle analysis and add the step to the script.
Testing the Particle Analysis ScriptThe script that you created as you processed this image is a custom algorithm. To test this algorithm, run it on another image in the collection using the following steps:
1. Click Browse Images.
2. Double-click the third image, Metal3.jpg.
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
© National Instruments Corporation 3-11 NI Vision Assistant Tutorial
Tip Rather than returning to the Image Browser, you can navigate through the images in the Image Browser from the Reference window. Click the Next Image and Previous Image buttons until you see the image you want to process and then click the Make Image Active button to move that image into the Processing window.
3. Click the Run Once button.
Figure 3-6a shows the original image, Metal3.jpg. Figure 3-6b shows the image after the particle analysis processing. Notice that two circular particles are removed from the image during processing because they are touching each other. You need to adjust the Threshold step to separate the particles.
Figure 3-6. Comparing the Original Image to the Processed Image
4. Click OK to close the Particle Analysis Setup window.
1 Overlapping Circular Particles
a. b.
1
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
NI Vision Assistant Tutorial 3-12 ni.com
5. Double-click the Threshold step in the script window to open the Threshold Setup window. Figure 3-7 shows Metal3.jpg at the thresholding step of the script.
Figure 3-7. Testing the Particle Analysis Script
6. Adjust the minimum threshold value until the particles are clearly separated. A minimum value of 150 works well.
7. Click OK.
8. Click Run Once to rerun the script. Notice that only the circular particles now appear in the final processed image.
9. Click OK to close the Particle Analysis Setup window.
Saving the Particle Analysis ScriptNow that you have written a particle analysis algorithm and tested it on another image, you can save the script to use on similar images. You can also perform batch processing with this script.
1. Select File»Save Script As.
2. Save the script as particle analysis.scr.
Refer to the NI Vision Assistant Help for more information about the Vision Assistant batch processing functionality.
Estimating Processing TimeVision Assistant can estimate the time, in milliseconds, that NI Vision takes to process the active image with the open script. The Performance Meter gives both an estimate of the total time NI Vision takes to process the image and an estimate of the time each function within the script requires.
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
© National Instruments Corporation 3-13 NI Vision Assistant Tutorial
Complete the following steps to estimate how many milliseconds NI Vision uses to process Metal3.jpg with particle analysis.scr.
1. Select Tools»Performance Meter. The Performance Meter estimates the total time NI Vision takes to run the script.
2. Click Details to view an itemized list of the time NI Vision takes to perform each function in the script.
3. Click OK to close the Performance Meter.
Creating a LabVIEW VIVision Assistant features a wizard that creates a LabVIEW VI that implements the different steps of the script.
Note You must have LabVIEW 7.1 or later and the NI Vision 8.6 Development Module or later installed to use the Vision Assistant LabVIEW VI Creation Wizard.
Complete the following steps to create a LabVIEW VI.
1. Select Tools»Create LabVIEW VI.
Note If several versions of LabVIEW and NI Vision are installed on the computer, the wizard searches the machine and displays a list of the available LabVIEW and NI Vision versions you can use to create the VI.
2. Select the version of LabVIEW in which you want to create a VI.
3. Click the Browse button and select the location to which you want to save the VI.
4. Enter a File name, and click OK.
5. Click Next.
6. Select Current Script to create a VI from the script you created in this chapter.
7. Click Next.
8. Select Image File as the image source to create a VI that opens an image from the hard disk.
9. Click Finish to create the VI.
Note If you have LabVIEW open, you cannot create a VI for a different version of LabVIEW. For example, if you have LabVIEW 8.0.1 open and you select LabVIEW 8.2 in the LabVIEW VI Creation Wizard, the wizard returns an error when you click Finish.
Chapter 3 Using Particle Analysis to Analyze the Structure of a Metal
NI Vision Assistant Tutorial 3-14 ni.com
Creating a C ProgramVision Assistant features a wizard that creates C code that implements the different steps of the script.
Note You must have the NI Vision 8.6 Development Module or later installed to use the Vision Assistant C Code Creation Wizard.
Complete the following steps to create a C program.
1. In Vision Assistant, select Tools»Create C Code.
2. Enter the name of the implementation file that will contain the image processing function that implements the Vision Assistant steps.
3. Select the Create Main Function option if you want the wizard to generate a main function to test the image processing function.
a. Enter the name for the new C file in the Main File Name control.
b. In the Image Source drop-down menu, select Image File as the source of the image that is used by the main function.
4. Browse to the folder to which you want to save the generated files.
Tip If you have LabWindows/CVI installed, and you want to use it to compile and test the C code, select the Add Files to LabWindows/CVI Project option.
5. Click OK to create the C program.
© National Instruments Corporation 4-1 NI Vision Assistant Tutorial
4Using Gauging for Part Inspection
This chapter describes gauging and provides step-by-step directions for prototyping a part inspection application in Vision Assistant.
What Is Gauging?Components such as connectors, switches, and relays are small and manufactured in high quantity. While human inspection of these components is tedious and time consuming, vision systems can quickly and consistently measure certain features on a component and generate a report with the results. From the results, you can determine if a part meets its specifications.
Gauging consists of making critical distance measurementsâsuch as lengths, diameters, angles, and countsâto determine if the product is manufactured correctly. Gauging inspection is used often in mechanical assembly verification, electronic packaging inspection, container inspection, glass vial inspection, and electronic connector inspection.
TutorialIn this tutorial, you analyze images of pipe brackets to determine if the brackets meet their physical specifications. A pipe bracket is a metal piece of hardware used to secure long, slender parts, such as a tube of bundled wires.
Chapter 4 Using Gauging for Part Inspection
NI Vision Assistant Tutorial 4-2 ni.com
The goal is to measure angles and distances between features on the brackets and determine if those measurements fall within a tolerance range. Figure 4-1 illustrates the measurements and the acceptable values for them.
Figure 4-1. Bracket Specifications
Width Center is the center of the bracket and becomes the vertex of Bracket Angle. Bracket Angle measures the angle of the arms of the bracket and determines if the bracket arms are aligned properly. Bracket Distance measures the length in pixels between two manufactured holes in the bracket. Bracket Distance also determines if the bracket arch is the appropriate height and curvature.
As you perform this analysis, Vision Assistant records all of the processing operations and parameters in a script that you can run on other bracket images to determine which are good and which are defective.
1 2
3
4
5
Edge 1
Edge 2
Bracket Distance362 to 368 pixels
Top View
Side View
Bracket Angle178 to 181 Degrees Width Center
Chapter 4 Using Gauging for Part Inspection
© National Instruments Corporation 4-3 NI Vision Assistant Tutorial
Loading Images into Vision Assistant1. If Vision Assistant is already running, click the Open Image button in
the toolbar, and go to step 4. Otherwise, go to step 2.
2. Select Start»All Programs»National Instruments Vision Assistant.
3. Click Open Image on the Welcome Screen.
4. Navigate to <Vision Assistant>\Examples\bracket, where <Vision Assistant> is the location to which Vision Assistant is installed.
5. Enable the Select All Files checkbox.
Tip The Preview Image window displays all selected images in a sequence. To view the images at a different rate, adjust the slide to the right of the Preview Image window.
6. Click Open to load the image files into Vision Assistant. The first image, Bracket1.jpg, loads in the Processing window.
Finding Measurement Points Using Pattern MatchingBefore you can compute measurements, you must locate features on which you can base the measurements. In this example, you use pattern matching to find manufactured holes in a bracket. These holes serve as measurement points from which you can determine if the bracket arch is the appropriate height and curvature.
1. If the Script window already contains a script, click New Script to open a new script.
2. Select Pattern Matching in the Machine Vision Processing Functions tab, or select Machine Vision»Pattern Matching.
3. Click New Template. The NI Vision Template Editor opens.
Chapter 4 Using Gauging for Part Inspection
NI Vision Assistant Tutorial 4-4 ni.com
4. With the Rectangle Tool, click and drag to draw a square ROI around the left hole in the image, as shown in Figure 4-2. The ROI becomes the template pattern.
Figure 4-2. Selecting a Template Pattern
5. Click Next.
6. Click Finish. Learning the template takes a few seconds. After Vision Assistant learns the template, the Save Template as dialog box opens.
7. Navigate to <Vision Assistant>\Examples\bracket.
8. Save the template as template.png. The Pattern Matching Setup window displays the template image and its path.
9. Click the Settings tab.
10. Set Number of Matches to Find to 1.
11. Set the Minimum Score to 600 to ensure that Vision Assistant finds matches similar, but not identical, to the template.
12. Enable the Subpixel Accuracy checkbox.
13. Make sure Search for Rotated Patterns is not selected to set the search mode to shift invariant. Use shift-invariant matching when you do not expect the matches you locate to be rotated in their images. If you expect the matches to be rotated, use rotation-invariant matching.
14. With the Rectangle Tool, draw an ROI around the left side of the bracket, as shown in Figure 4-3. Be sure that the region you draw is larger than the template image and big enough to encompass all possible locations of the template in the other images you analyze.
Drawing an ROI in which you expect to locate a template match is a significant step in pattern matching. It reduces the risk of finding a mismatch. It also allows you to specify the order in which you want to locate multiple instances of a template in an image and speeds up the matching process.
Chapter 4 Using Gauging for Part Inspection
© National Instruments Corporation 4-5 NI Vision Assistant Tutorial
Figure 4-3. Selecting the First Search Area
When you draw the ROI, Vision Assistant automatically locates the template in the region and displays the score and location of the match. Notice that the score for the match is 1000. The score for this match is perfect because you made the template from the same region of the image.
15. Click OK to save this step to the script.
16. Select Pattern Matching in the Machine Vision tab of the Inspection steps, or select Machine Vision»Pattern Matching.
17. Click Load from File and open the template you just saved.
18. Click the Settings tab.
19. Set Number of Matches to Find to 1.
20. Set the Minimum Score to 600 to ensure that Vision Assistant finds matches that are similar, but not identical, to the template.
21. Enable the Sub-pixel Accuracy checkbox.
Chapter 4 Using Gauging for Part Inspection
NI Vision Assistant Tutorial 4-6 ni.com
22. With the Rectangle Tool, draw an ROI around the right side of the bracket, as shown in Figure 4-4. Vision Assistant automatically locates the template in the region bound by the rectangle and displays the score and location of the match.
Figure 4-4. Selecting the Second Search Area
The score of the second match is not a perfect 1000, but it is high enough for you to consider it a match to the template.
23. Click OK to add this step to the script.
Finding Edges in the ImageBefore you can compute measurements to determine if a bracket meets specifications, you must detect edges on which you can base the measurements. The Edge Detector function finds edges along a line that you draw with the Line Tool from the Tools palette.
1. Select Edge Detector in the Machine Vision tab of the Inspection steps, or select Machine Vision»Edge Detector.
2. Select the Advanced Edge Tool from the Edge Detector drop-down listbox. The Advanced Edge Tool is effective on images with poor contrast between the background and objects.
3. Select First & Last Edge from the Look For drop-down listbox so that Vision Assistant finds and labels only the first and last edges along the line you draw.
4. Set the Min Edge Strength to 40. The detection process returns only the first and last edge whose contrast is greater than 40.
5. Click and drag to draw a vertical line across the middle of the bracket to find the edges that you can use to calculate Width Center, as shown in Figure 4-5. Vision Assistant labels the edges 1 and 2.
Tip To draw a straight line, press and hold the <Shift> key as you draw the line.
Chapter 4 Using Gauging for Part Inspection
© National Instruments Corporation 4-7 NI Vision Assistant Tutorial
Figure 4-5. Finding the Edges for Bracket Distance
Look at the edge strength profile. The sharp transitions in the line profile indicate edges. Notice that the number of edges found is displayed under the edge strength profile.
6. Click OK to add this step to the script.
Taking the MeasurementsNow that you have found the bracket holes and the necessary edges, you can calculate the center of the bracket width, distance between the bracket holes, and angle of the bracket arms with the Caliper function. The Caliper function is a tool that uses points on the image to calculate measurementsâsuch as distances, angles, the center of a segment, or the areaâdepending on the number of points you have selected on the image. These points are results of earlier processing steps, such as edge detections and pattern matching.
Complete the following steps to make the measurements.
1. Select Caliper in the Machine Vision tab, or select Machine Vision»Caliper.
2. Select Mid Point in the Geometric Feature listbox.
3. Click points 3 and 4 in the image to obtain the Width Center measurement, which specifies the center of the bracket width.
When you select a point in the image, Vision Assistant places a check mark next to the corresponding point in the Caliper Setup window.
Tip If you have trouble finding the points, click the Zoom In tool in the Tools palette to magnify the image. Magnification factors are displayed in the lower left corner of the Processing window. 1/1 specifies 100% magnification (default). 2/1 specifies a slightly magnified view, and 1/2 specifies a slightly demagnified view.
Chapter 4 Using Gauging for Part Inspection
NI Vision Assistant Tutorial 4-8 ni.com
Tip Instead of selecting points from the image, you can select points by double-clicking their entries in the Available Points listbox.
4. Click Measure to compute the center of the bracket width and add the Mid Point measurement to the results table, as shown in Figure 4-6.
5. Click OK to add this step to the script.
Figure 4-6. Using the Caliper Function to Find Width Center
6. Select Caliper in the Machine Vision tab, or select Machine Vision»Caliper again. The center of the bracket width appears as point 5.
7. Select Distance in the Geometric Feature listbox.
8. Click points 1 and 2 in the image to find the Bracket Distance, which measures the length between the manufactured holes in the bracket and determines if the bracket arch is the appropriate height.
Chapter 4 Using Gauging for Part Inspection
© National Instruments Corporation 4-9 NI Vision Assistant Tutorial
9. Click Measure to compute the distance between the bracket holes. The distance measurement is added to the results table, as shown in Figure 4-7.
Figure 4-7. Using the Caliper Function to Find Bracket Distance
10. Select Angle Defined by 3 Points in the Geometric Feature listbox. Click points 1, 5, and 2, in this order, to find the next measurementâBracket Angleâwhich measures the angle of the bracket arms with respect to a vertex at point 5, as shown in Figure 4-8.
Chapter 4 Using Gauging for Part Inspection
NI Vision Assistant Tutorial 4-10 ni.com
11. Click Measure to compute the angle of the bracket arms and add the measurement to the results table.
Figure 4-8 shows the image with Bracket Distance and Bracket Angle selected on the image and displayed in the results table.
Figure 4-8. Using the Caliper Tool to Collect Measurements
12. Click OK to add these caliper measurements to the script and close the caliper window.
13. Select File»Save Script As, and save the script as bracket.scr.
Analyzing the ResultsBatch processing involves running a script on a collection of images. You can use batch processing to analyze multiple images and save the resulting analysis information in a tab-delimited text file. Complete the following steps to run bracket.scr on all the images in the Image Browser.
1. Select Tools»Batch Processing.
2. Select the Image Source Browser to process all images in the Image Browser.
3. Select Caliper 2 from the Script Steps list. Caliper 2 is the step that returns Bracket Distance and Bracket Angle.
Chapter 4 Using Gauging for Part Inspection
© National Instruments Corporation 4-11 NI Vision Assistant Tutorial
4. Select the Save Results Analysis Mode. This enables the Save Options control.
5. Click Setup. A dialog box opens.
6. Select One file for all results to log the results for every image to the same file.
7. Click the Folder Path button. Navigate to the directory in which you want to save the results file, and click Current Folder.
8. Enter bracket_results.txt in the File Prefix control. Because you are logging all the results to one file, the File Prefix is the name of the individual results file. If you were logging the results for each image to a separate file, File Prefix would be the prefix associated with the index for each results file.
9. Click OK.
10. Click Run to run the script on all the images in the Image Browser and log the results.
11. Click OK to close the Batch Processing finished notification.
12. Navigate to the directory path specified in step 7, and open bracket_results.txt.
13. Compare the Bracket Distance and Bracket Angle measurements in the results file to the values in Table 4-1.
Table 4-1 shows the acceptable ranges for the bracket measurements and the actual values you might see for each bracket image. Notice that Bracket1, Bracket2, and Bracket3 are the only ones that meet the specifications. The bold values for the other brackets indicate which measurements caused them to fail.
Note The results may vary slightly based on the template you chose for the pattern matching step and the position of the line you drew for the edge detection step.
Table 4-1. Bracket Measurement Results
Bracket Number
Bracket Distance (acceptable range: 362 to 368 pixels)
Bracket Angle (acceptable range: 178° to 181°)
Bracket 1 363.27 179.56
Bracket 2 363.05 180.26
Bracket 3 363.27 180.13
Bracket 4 347.98 179.06
Chapter 4 Using Gauging for Part Inspection
NI Vision Assistant Tutorial 4-12 ni.com
Refer to the NI Vision Assistant Help for more information about the Vision Assistant batch processing functionality.
Bracket 5 337.45 178.56
Bracket 6 358.33 175.54
Table 4-1. Bracket Measurement Results (Continued)
Bracket Number
Bracket Distance (acceptable range: 362 to 368 pixels)
Bracket Angle (acceptable range: 178° to 181°)
© National Instruments Corporation 5-1 NI Vision Assistant Tutorial
5Using a Coordinate System for Part Inspection
This chapter describes how to set up a coordinate system and provides step-by-step directions for prototyping an inspection that checks for the presence of a part in Vision Assistant.
What Is a Coordinate System?In a typical machine vision inspection, you limit your inspection and processing to a region of interest rather than the entire image. To limit the inspection area, the parts of the object you are interested in must always appear inside the region of interest you define.
If the object under inspection is always at the same location and orientation in the images you need to process, defining a region of interest is simple. However, the object under inspection often appears shifted or rotated within the images you need to process. When this occurs, the region of interest needs to shift and rotate with the parts of the object you are interested in. In order for the region of interest to move in relation to the object, you need to define a coordinate system relative to a feature in the image.
A coordinate system is specified by its origin and the angle its x-axis makes with the horizontal axis of the image. Assign a coordinate system based on how you expect the object to move in the image. If the object is going to only translate in the horizontal or vertical directions, you need only to select a feature whose location can represent the origin of the coordinate system. The angle is 0 by default. If the object is going to translate and rotate, you need to select features that can represent the location of the origin and angle of the coordinate system.
Chapter 5 Using a Coordinate System for Part Inspection
NI Vision Assistant Tutorial 5-2 ni.com
TutorialIn this tutorial, you analyze images of dental floss holders to determine if the holders contain toothpaste and a wire.
Loading Images into Vision Assistant1. If Vision Assistant is already running, click the Open Image button in
the toolbar, and go to step 4. Otherwise, go to step 2.
2. Select Start»All Programs»National Instruments Vision Assistant.
3. Click Open Image on the Welcome Screen.
4. Navigate to <Vision Assistant>\Examples\dental floss, where <Vision Assistant> is the location to which Vision Assistant is installed.
5. Enable the Select All Files checkbox.
Tip The Preview Image window displays all selected images in a sequence. To view the images at a different rate, adjust the slide to the right of the Preview Image window.
6. Click Open to load the image files into Vision Assistant.
Defining a Feature on which to Base a Coordinate SystemComplete the following instructions to configure a Pattern Matching step that locates a dental floss feature on which you can base a coordinate system. You will choose a feature, the base of the dental floss holder, that is always in the field of view of the camera despite the different locations that the dental floss holders may appear in from image to image.
1. Select Pattern Matching in the Machine Vision tab of the Processing Functions, or select Machine Vision»Pattern Matching.
2. In the Pattern Matching Setup window, click New Template. The Select a Template Region dialog box opens.
Chapter 5 Using a Coordinate System for Part Inspection
© National Instruments Corporation 5-3 NI Vision Assistant Tutorial
3. Draw a rectangle around the base of the dental floss, as shown in Figure 5-1. This region becomes the pattern matching template.
Figure 5-1. Creating a Template Pattern
4. Click Next.
5. Click Finish. The Save Temple as dialog box opens.
6. Navigate to <Vision Assistant>\Examples\dental floss, where <Vision Assistant> is the location to which Vision Assistant is installed.
7. Save the template as template.png. The Pattern Matching Setup window displays the template image and its path.
8. Click the Main tab.
9. Enter Find Dental Floss Base in the Step Name control.
10. Click the Settings tab.
11. Enable the Subpixel Accuracy checkbox.
12. Enable the Search for Rotated Patterns checkbox.
13. Set the Angle Range +/- control to 180.
14. Click OK to save this step to the script.
Chapter 5 Using a Coordinate System for Part Inspection
NI Vision Assistant Tutorial 5-4 ni.com
Defining a Coordinate SystemComplete the following instructions to configure a Set Coordinate System step based on the Pattern Matching step you configured.
1. Select Set Coordinate System in the Image tab of the Processing Functions, or select Image»Set Coordinate System.
2. Enter Define Coordinate System in the Step Name control.
3. Select Horizontal, Vertical, and Angular Motion from the Mode control. Because the dental floss holders appear shifted and rotated from one image to another, the changes in the region of interest need to be accounted for. This mode adjusts the region of interest positions along the horizontal and vertical axes, and adjusts for rotational changes.
Notice the Origin and X-Axis Angle lists. Match 1, the match location of the previous Find Dental Floss Base step, is the default origin of the coordinate system because it is the only location point created by previous steps in the script.
4. Click OK to save this step to the script.
Checking for PresenceComplete the following instructions to configure a Quantify step to check the dental floss holders for the presence of toothpaste and a wire.
1. Select Quantify in the Grayscale tab of the Processing Functions, or select Grayscale»Quantify.
2. Enter Measure Area Intensity in the Step Name control.
3. Enable the Reposition Region of Interest checkbox.
Enabling this control allows you to link the regions of interest specified in this step to a previously defined coordinate system so that Vision Assistant can adjust the location and orientation of the region of interest from image to image relative to the specified coordinate system.
The Reference Coordinate System list shows all the previously defined coordinate systems. Set Coordinate System is the default reference coordinate system because it is the only Set Coordinate System step in the current script.
Notice that the Quantify step supports a variety of different tools that enable you to draw different shaped regions of interest, such as a point, line, broken line, freehand line, rectangle, oval, polygon, and freehand region. These tools are available in the Vision Assistant toolbar.
Chapter 5 Using a Coordinate System for Part Inspection
© National Instruments Corporation 5-5 NI Vision Assistant Tutorial
4. Click the Polygon Tool in the Vision Assistant toolbar.
5. Draw three regions of interest that enclose the wire and the two sections of toothpaste in the dental floss holder, as shown in Figure 5-2. Click and drag repeatedly to select a polygon region. Double-click to complete the polygon.
Figure 5-2. Defining Regions in which to Check for Presence
Testing the Dental Floss ScriptThe script that you created is a custom vision algorithm. You can verify the regions of interest reposition correctly by testing the algorithm on another image. To test this algorithm, complete the following steps:
1. In the Reference window, click the Next Image button to view the next image, Dental Floss 01.jp2.
2. Click the Make Image Active button to move that image into the Processing window. The dental floss base should be found in the new image and the regions of interest for the toothpaste and wire should reposition correctly based on the coordinate system.
3. Repeat steps 1 and 2 to test the script on the other images.
4. Click OK to add the Quantify step to the script.
Chapter 5 Using a Coordinate System for Part Inspection
NI Vision Assistant Tutorial 5-6 ni.com
Verifying your algorithm on new images is an important step in creating a robust algorithm because it helps you determine if your regions of interest are positioned correctly and helps you determine acceptable values for the results in the Quantify step.
You may need to adjust some parameters for the algorithm to work properly on other dental floss images. For example, if the base of the dental floss holder is not found in an image, the region of interest will not reposition correctly. If that happens, open the Find Dental Floss Base step and adjust the minimum score and, if necessary, adjust the search area.
To determine acceptable values, you can compare the Mean Value measurements in the Quantify step results. The Mean Value displays the mean value of the pixel intensity in the regions of interest you drew in the Quantify step.
Table 5-1 shows the acceptable values for the dental floss measurements and the actual values you might see for each dental floss image. For Mean Value 1 and Mean Value 2, which are the mean values for the toothpaste regions of interest, an acceptable value is 100 or greater. Mean values less than 100 signify that the toothpaste is missing from the dental floss holder. Notice that Dental Floss 2, Dental Floss 4, and Dental Floss 8 are missing toothpaste.
For Mean Value 3, which is the mean value for the wire region of interest, an acceptable value is greater than 20, but less than 40. A mean value below 20 signifies that the wire is missing from the dental floss holder. Notice that Dental Floss 6 and Dental Floss 8 are missing wires. A mean value above 40 signifies a frayed wire. Dental Floss 7 has a frayed wire.
Note The results may vary slightly based on the position of the regions of interest you drew for the Quantify step.
Table 5-1. Dental Floss Measurement Results
Bracket NumberMean Value 1
(Left Toothpaste)Mean Value 2
(Right Toothpaste)Mean Value 3
(Wire)
Acceptable Values Greater than 100 Greater than 100 Between 20â40
Dental Floss 0 153.87199 127.29397 29.25323
Dental Floss 1 168.29030 129.75693 29.48656
Dental Floss 2 30.87846 30.95160 28.50083
Chapter 5 Using a Coordinate System for Part Inspection
© National Instruments Corporation 5-7 NI Vision Assistant Tutorial
Saving the Dental Floss ScriptNow that you have written an algorithm and tested it on another image, you can save the script to use on similar images. You also can perform batch processing with this script.
1. Select File»Save Script As.
2. Save the script as Dental Floss.scr.
Analyzing the ResultsBatch processing involves running a script on a collection of images. You can use batch processing to analyze multiple images and save the resulting analysis information in a tab-delimited text file. Complete the following steps to run Dental Floss.scr on all the images in the Image Browser.
1. Select Tools»Batch Processing.
2. Select the Image Source Browser to process all images in the Image Browser.
3. Select Measure Area Intensity from the Script Steps list. Measure Area Intensity is the step that returns information about the dental floss holders.
4. Select the Save Results Analysis Mode. This enables the Save Options control.
5. Click Setup. A dialog box opens.
6. Select One file for all results to log the results for every image to the same file.
Dental Floss 3 151.90704 140.33263 29.88302
Dental Floss 4 157.62241 38.14659 27.56245
Dental Floss 5 147.63632 137.76910 28.95566
Dental Floss 6 110.40456 124.61018 3.40535
Dental Floss 7 182.45360 178.04030 60.25054
Dental Floss 8 32.93908 165.94063 3.39985
Dental Floss 9 151.82718 136.74701 30.63069
Table 5-1. Dental Floss Measurement Results (Continued)
Bracket NumberMean Value 1
(Left Toothpaste)Mean Value 2
(Right Toothpaste)Mean Value 3
(Wire)
Chapter 5 Using a Coordinate System for Part Inspection
NI Vision Assistant Tutorial 5-8 ni.com
7. Click the Folder Path button. Navigate to the directory in which you want to save the results file, and click Current Folder.
8. Enter dental_floss_results.txt in the File Prefix control. Because you are logging all the results to one file, the File Prefix is the name of the results file. If you were logging the results for each image to a separate file, File Prefix would be the prefix associated with each results file.
9. Click OK.
10. Click Run to run the script on all the images in the Image Browser and log the results.
11. Click OK to close the Batch Processing finished notification.
12. Navigate to the directory path specified in step 7, and open dental_floss_results.txt.
13. Compare the Mean Value measurements in the results file to the values in Table 5-1.
Refer to the NI Vision Assistant Help for more information about the Vision Assistant batch processing functionality.
© National Instruments Corporation A-1 NI Vision Assistant Tutorial
ATechnical Support and Professional Services
Visit the following sections of the award-winning National Instruments Web site at ni.com for technical support and professional services:
⢠SupportâTechnical support resources at ni.com/support include the following:
â Self-Help Technical ResourcesâFor answers and solutions, visit ni.com/support for software drivers and updates, a searchable KnowledgeBase, product manuals, step-by-step troubleshooting wizards, thousands of example programs, tutorials, application notes, instrument drivers, and so on. Registered users also receive access to the NI Discussion Forums at ni.com/forums. NI Applications Engineers make sure every question submitted online receives an answer.
â Standard Service Program MembershipâThis program entitles members to direct access to NI Applications Engineers via phone and email for one-to-one technical support as well as exclusive access to on demand training modules via the Services Resource Center. NI offers complementary membership for a full year after purchase, after which you may renew to continue your benefits.
For information about other technical support options in your area, visit ni.com/services, or contact your local office at ni.com/contact.
⢠Training and CertificationâVisit ni.com/training for self-paced training, eLearning virtual classrooms, interactive CDs, and Certification program information. You also can register for instructor-led, hands-on courses at locations around the world.
⢠System IntegrationâIf you have time constraints, limited in-house technical resources, or other project challenges, National Instruments Alliance Partner members can help. To learn more, call your local NI office or visit ni.com/alliance.
Appendix A Technical Support and Professional Services
NI Vision Assistant Tutorial A-2 ni.com
If you searched ni.com and could not find the answers you need, contact your local office or NI corporate headquarters. Phone numbers for our worldwide offices are listed at the front of this manual. You also can visit the Worldwide Offices section of ni.com/niglobal to access the branch office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events.
© National Instruments Corporation G-1 NI Vision Assistant Tutorial
Glossary
A
area A rectangular portion of an acquisition window or frame that is controlled and defined by software.
B
binary image An image in which the objects usually have a pixel intensity of 1 (or 255) and the background has a pixel intensity of 0.
C
caliper (1) A function in Vision Assistant that calculates distances, angles, circular fits, and the center of mass based on positions given by edge detection, particle analysis, centroid, and search functions; (2) A measurement function that finds edge pairs along a specified path in the image. This function performs an edge extraction and then finds edge pairs based on specified criteria such as the distance between the leading and trailing edges, edge contrasts, and so forth.
chroma The color information in a video signal.
contrast A constant multiplication factor applied to the luma and chroma components of a color pixel in the color decoding process.
coordinate system A reference location (origin) and angle in an image that regions of interest can relate to when positional and angular adjustments of the region of interest are necessary. A coordinate system is depicted by two lines representing the orientation and direction of its two axes.
D
definition The number of values a pixel can take on, which is the number of colors or shades that you can see in the image.
digital image An image f (x, y) that has been converted into a discrete number of pixels. Both spatial coordinates and brightness are specified.
Glossary
NI Vision Assistant Tutorial G-2 ni.com
driver Software that controls a specific hardware device, such as an NI Vision or DAQ device.
E
edge Defined by a sharp change (transition) in the pixel intensities in an image or along an array of pixels.
edge detection Any of several techniques to identify the edges of objects in an image.
F
function A set of software instructions executed by a single line of code that may have input and/or output parameters and returns a value when executed.
G
gauging Measurement of an object or distances between objects.
grayscale image An image with monochrome information.
H
histogram Indicates the quantitative distribution of the pixels of an image per gray-level value.
I
image A two-dimensional light intensity function f (x, y) where x and y denote spatial coordinates and the value f at any point (x, y) is proportional to the brightness at that point.
Image Browser An image that contains thumbnails of images to analyze or process in a vision application.
image file A file containing pixel data and additional information about the image.
image processing Encompasses various processes and analysis functions that you can apply to an image.
Glossary
© National Instruments Corporation G-3 NI Vision Assistant Tutorial
image source Original input image.
imaging Any process of acquiring and displaying images and analyzing image data.
inspection The process by which parts are tested for simple defects such as missing parts or cracks on part surfaces.
intensity The sum of the Red, Green, and Blue primary colors divided by three: (Red + Green + Blue)/3.
K
kernel Structure that represents a pixel and its relationship to its neighbors. The relationship is specified by weighted coefficients of each neighbor.
L
LabVIEW Laboratory Virtual Instrument Engineering WorkbenchâProgram development environment based on the G programming language. LabVIEW is used commonly for test and measurement applications.
line profile Represents the gray-level distribution along a line of pixels in an image.
luma The brightness information in the video picture. The luma signal amplitude varies in proportion to the brightness of the video signal and corresponds exactly to the monochrome picture.
luminance See luma.
M
machine vision An automated application that performs a set of visual inspection tasks.
N
neighbor A pixel whose value affects the value of a nearby pixel when an image is processed. The neighbors of a pixel are usually defined by a kernel or a structuring element.
NI-IMAQ The driver software for National Instruments image acquisition devices.
Glossary
NI Vision Assistant Tutorial G-4 ni.com
NI-IMAQdx The National Instruments driver software for IEEE 1394 and GigE Vision cameras.
P
palette The gradation of colors used to display an image on screen, usually defined by a color lookup table.
particle A connected region or grouping of pixels in an image in which all pixels have the same intensity level.
particle analysis A series of processing operations and analysis functions that produce some information about the particles in an image.
pattern matching The technique used to locate quickly a grayscale template within a grayscale image.
picture element An element of a digital image. Also called pixel.
pixel Picture elementâThe smallest division that makes up the video scan line. For display on a computer monitor, a pixel's optimum dimension is square (aspect ratio of 1:1, or the width equal to the height).
PNG Portable Network GraphicâImage file format for storing 8-bit, 16-bit, and color images with lossless compression (extension PNG).
Q
quantitative analysis Obtaining various measurements of objects in an image.
R
resolution The number of rows and columns of pixels. An image composed of m rows and n columns has a resolution of m à n.
ROI Region of interestâ(1) An area of the image that is graphically selected from a window displaying the image. This area can be used to focus further processing; (2) A hardware-programmable rectangular portion of the acquisition window.
rotation-invariant matching
A pattern matching technique in which the reference pattern can be located at any orientation in the test image as well as rotated at any degree.
Glossary
© National Instruments Corporation G-5 NI Vision Assistant Tutorial
S
shift-invariantmatching
A pattern matching technique in which the reference pattern can be located anywhere in the test image but cannot be rotated or scaled.
T
template Color, shape, or pattern that you are trying to match in an image using the color matching, shape matching, or pattern matching functions. A template can be a region selected from an image, or it can be an entire image.
threshold Separates objects from the background by assigning all pixels with intensities within a specified range to the object and the rest of the pixels to the background. In the resulting binary image, objects are represented with a pixel intensity of 255 and the background is set to 0.
Tools palette Collection of tools that enable you to select regions of interest, zoom in and out, and change the image palette.
V
value The grayscale intensity of a color pixel computed as the average of the maximum and minimum red, green, and blue values of that pixel.
VI Virtual Instrumentâ(1) A combination of hardware and/or software elements, typically used with a PC, that has the functionality of a classic stand-alone instrument; (2) A LabVIEW software module (VI), which consists of a front panel user interface and a block diagram program.
© National Instruments Corporation I-1 NI Vision Assistant Tutorial
Index
Aacquiring images
grab (continuous image), 2-9sequence, 2-9snap (single image), 2-8
acquisition typesgrab, 2-6sequence, 2-6snap, 2-6
Acquisition window, opening, 2-7advanced edge tool, 4-6analyzing particles, 3-10
Bbatch processing, 1-2, 3-12, 4-10, 5-7Browser. See Image Browserbuilder file, 1-3
CC code creation, 1-3, 3-14caliper, 4-7, 4-10Choose Measurements button, 3-10circular particles
analyzing, 3-10isolating, 3-9
Context Help window, 1-3continuous acquisition (grabbing images), 2-9conventions used in manual, viicoordinate system
checking for presence, 5-4defining a coordinate system, 5-4defining a feature, 5-2definition, 5-1overview, 5-1
creating a LabVIEW VI, 1-3, 3-13creating C code, 1-3, 3-14
Ddiagnostic tools (NI resources), A-1documentation
conventions used in manual, viiNI resources, A-1related documentation, viii
drivers (NI resources), A-1
Eedge detector, 4-6edge strength profile, 4-7edges, finding in image, 4-6environment, Vision Assistant, 1-1examples (NI resources), 1-4, A-1exiting, Vision Assistant, 1-1
Ffeatures, 1-2fill holes, 3-8filtering images, 3-5finding edges, 4-6full-size view (Image Browser), 2-2
Ggauging
analyzing results, 4-10bracket specifications (figure), 4-2definition, 4-1finding edges, 4-6finding measurement points using pattern
matching, 4-3
Index
NI Vision Assistant Tutorial I-2 ni.com
introduction, 4-1loading images, 4-3making measurements, 4-7overview, 4-1
getting help in Vision Assistant, 1-3getting started, Vision Assistant, 2-1grab, 2-6grabbing images (continuous acquisition), 2-9
Hhelp
Context Help window, 1-3National Instruments Web site, 1-4technical support, A-1tooltips, 1-3
Heywood Circularity Factor particle filter, 3-9histogram, 2-4, 3-6
in Threshold Setup window, 2-4
Iimage acquisition, 2-6
See also acquiring imagesimage acquisition device, 1-1, 1-3, 2-6, 2-8Image Browser
accessing from the toolbar, 3-11definition, 1-2full-size view, 2-2important elements (figure), 2-2thumbnail view, 2-2
image processing, thresholding images, 2-5image segmentation
grayscale threshold, 2-4, 3-6images, loading for gauging, 4-3installing, Vision Assistant, 1-1instrument drivers (NI resources), A-1isolating circular particles, 3-9
KKnowledgeBase, A-1
LLabVIEW, 3-10
VI creation, 1-3, 3-13LabWindows/CVI, 3-10
C code creation, 1-3, 3-14launching Vision Assistant, 1-1line profile, 3-3line tool, 3-3loading images, 2-1, 3-2, 4-3, 5-2
Mmagnifying an image, 4-7Measurement & Automation Explorer
(MAX), 2-6measurements for gauging. See gaugingmorphology, 3-8
NNational Instruments
support and services, A-1Web site, 1-4
Oopening images, 2-1, 3-2, 4-3
Ppart inspection, 4-1particle, 3-1particle analysis
analyzing circular particles, 3-10definition, 3-1
Index
© National Instruments Corporation I-3 NI Vision Assistant Tutorial
estimating processing time, 3-12examining image, 3-3filtering, 3-5introduction, 3-2isolating circular particles, 3-9modifying particles with morphological
functions, 3-8morphology, 3-8opening images, 3-2overview, 3-1particle filter, 3-9preparing images for processing, 3-3saving the script, 3-12separating particles from background, 3-6testing the script, 3-10thresholding, 3-6
particle filter, 3-9particles, separating from background with
thresholding, 3-6pattern matching for finding measurement
points, 4-3Performance Meter, 1-3, 3-13Preview Image window, 3-2, 4-3Processing Functions window, 1-2Processing window, 1-2programming examples (NI resources), A-1
RReference window
definition, 1-2purpose, 2-3using to browse images, 3-11
related documentation, viiiremove border objects, 3-8Run Script button, 2-6, 3-11, 3-12
Sscript file, 1-1Script window, 1-2scripting
description, 1-1modifying scripts, 3-12opening scripts, 2-6Run Script button, 2-6, 3-11, 3-12saving scripts, 2-6, 3-12Script window, 1-2, 2-5testing scripts, 3-10
scripts, 1-4gauging script, saving, 4-10particle analysis script
recording, 3-2saving, 3-12testing, 3-10
thresholding script, 2-6Select All Files option, 3-2, 4-3Send Data to Excel button, 3-10separating particles from background, 3-6sequence, 2-6, 2-9set coordinate system step, 5-4Setup window, 1-2Show Labels option, 3-10simulation module, 2-6snap, 2-6snapping one image (single acquisition), 2-8software (NI resources), A-1Solution Wizard, 1-3support, technical, A-1
Ttaking measurements, 4-7technical support, A-1testing scripts, 3-10, 5-5Threshold Setup window, 2-4
Index
NI Vision Assistant Tutorial I-4 ni.com
thresholdingdefinition, 2-1manual threshold, 2-4, 3-6modifying threshold parameters, 3-11procedure, 2-4separating particles from background, 3-6
thumbnail view (Image Browser), 2-2training and certification (NI resources), A-1troubleshooting (NI resources), A-1tutorials
coordinate system, 5-2gauging, 4-1particle analysis, 3-2
Uusing the caliper function, 4-7
VVI creation, 1-3, 3-13Vision Assistant
acquiring images, 2-6environment, 1-1exiting, 1-1features, 1-2
getting help, 1-3getting started, 2-1launching, 1-1opening images, 2-1particle analysis, 3-10scripts, 1-4
Visual Basic, 3-10
WWeb resources, A-1Web support from National Instruments
getting help for NI Vision, 1-4windows
Context Help, 1-3Embedded Help, 1-2Processing, 1-2Processing Functions, 1-2Reference, 1-2, 2-3, 3-11Script, 1-2, 2-5Setup, 1-2
ZZoom In tool, 4-7
NI VisionNI Vision Assistant ãã¥ãŒããªã¢ã«
NI Vision Assistant ãã¥ãŒããªã¢ã«
2008 幎 06 æ
372228K-0112
ãµããŒã
ãµããŒãæè¡ãµããŒãã®ãæ¡å www.ni.com/jp/support
æ¥æ¬ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãæ ªåŒäŒç€Ÿã 105-0011 æ±äº¬éœæž¯åºèå ¬å 2-4-1 ããŽã£ã³ãèããŒã¯ A 通 4F TelïŒ0120-527196/03-5472-2970
National Instruments Corporation11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
æµ·å€ãªãã£ã¹
ã€ã¹ã©ãšã« 972 3 6393737ãã€ã¿ãªã¢ 39 02 41309277ãã€ã³ã 91 80 41190000ãè±åœ 44 0 1635 523545ã ãªãŒã¹ãã©ãªã¢ 1800 300 800ããªãŒã¹ããªã¢ 43 662 457990-0ããªã©ã³ã 31 (0) 348 433 466ã ã«ãã 800 433 3488ãéåœ 82 02 3451 3400ãã·ã³ã¬ããŒã« 1800 226 5886ãã¹ã€ã¹ 41 56 2005151ã ã¹ãŠã§ãŒãã³ 46 (0) 8 587 895 00ãã¹ãã€ã³ 34 91 640 0085ãã¹ããã㢠386 3 425 42 00ãã¿ã€ 662 278 6777ãå°æ¹Ÿ 886 02 2377 2222ãäžåœ 86 21 5050 9800ããã§ã³ 420 224 235 774ããã³ããŒã¯ 45 45 76 26 00ããã€ã 49 89 7413130ã ãã«ã³ 90 212 279 3031ããã¥ãŒãžãŒã©ã³ã 0800 553 322ããã«ãŠã§ãŒ 47 (0) 66 90 76 60ããã£ã³ã©ã³ã 358 (0) 9 725 72511ããã©ã³ã¹ 01 57 66 24 24ã ãã«ã®ãŒ 32 (0) 2 757 0020ããã©ãžã« 55 11 3262 3599ãããŒã©ã³ã 48 22 3390150ã ãã«ãã¬ã« 351 210 311 210ã ãã¬ãŒã·ã¢ 1 800 887710ãåã¢ããªã« 27 0 11 805 8197ãã¡ãã·ã³ 01 800 010 0793ãã¬ããã³ 961 (0) 1 33 28 28ããã·ã¢ 7 495 783 6851
ãµããŒãæ å ±ã®è©³çŽ°ã«ã€ããŠã¯ããæè¡ãµããŒãããã³ãããã§ãã·ã§ãã«ãµãŒãã¹ããåç §ããŠãã ããã ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ããã¥ã¡ã³ãã«é¢ããŠãæèŠããå¯ãããã ãå Žåã¯ããã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ã
ã®ãŠã§ããµã€ããni.com/jp ã®å³äžã«ãã Info Code ã« feedbackãšãå ¥åãã ããã
© 1999â2008 National Instruments Corporation. All rights reserved.
å¿ ããèªã¿ãã ãã
ä¿èšŒNIã®ãœãããŠã§ã¢è£œåãèšé²ãããŠããåªäœã¯ãçŽ æããã³è£œé æè¡äžã®æ¬ é¥ã«ããããã°ã©ãã³ã°äžã®åé¡ã«å¯ŸããŠãåé æžãªã©ã®æžé¢ã«ãã£ãŠç€ºãããåºè·æ¥ãã90æ¥éä¿èšŒèŽããŸããNIã¯ãä¿èšŒæéäžã«ãã®ãããªæ¬ é¥ã®éç¥ãåãåã£ãå ŽåãåŒç€Ÿã®è£éã«ãããããã°ã©ãã³ã°ã®æ瀺ã©ããã«å®è¡ã§ããªããœãããŠã§ã¢åªäœãä¿®çã亀æèŽããŸããNIã¯ããœãããŠã§ã¢ã®æäœãäžæãããªãããšãããã³æ¬ é¥ã®ãªãããšãä¿èšŒèŽããŸããã
ã客æ§ã¯ãä¿èšŒã®å¯Ÿè±¡ãšãªã補åãNIã«è¿åŽããåã«ãè¿åç¢ºèª (RMA: Return Material Authorization)çªå·ãNIããååŸããããã±ãŒãžå€ã«æèšããå¿ èŠããããŸããNIã¯ãä¿èšŒãåãã§ããéšåãã客æ§ã«è¿åŽãã茞éè²»ãè² æ ããããŸãã
æ¬æžã®å 容ã«ã€ããŠã¯äžå šãæããŠãããæè¡çå 容ã«é¢ãããã§ãã¯ãå ¥å¿µã«è¡ã£ãŠãããŸããæè¡çãªèª€ããŸãã¯èª€æ€ããã£ãå ŽåãNIã¯ãæ¬æžãææããã客æ§ãžã®äºåã®éåãªããæ¬æžã®æ¬¡ã®çãæ¹èšããæš©å©ãæããŸãã誀ããšæãããåæããããŸããããNIãžãé£çµ¡ãã ãããNIã¯ãæ¬æžããã³ãã®å 容ã«ããããŸãã¯ããã«é¢é£ããŠçºçããæ害ã«å¯ŸããŠãäžå責任ãè² ããŸããã
NIã¯ãããã«èšèŒããã以å€ãæ瀺ãŸãã¯é»ç€ºã®ä¿èšŒã¯èŽããŸãããç¹ã«ãååæ§ãŸãã¯ç¹å®çšéãžã®é©åæ§ã«é¢ããä¿èšŒã¯èŽããŸãããNIåŽã®é倱ãŸãã¯äžæ³šæã«ããçºçããæ害ã«å¯Ÿããã客æ§ã®è³ åè«æ±æš©ã¯ãã客æ§ã補åã«æ¯æãããéé¡ãäžéãšããŸããNIã¯ãããŒã¿ã®æ¶å€±ãå©çã®æ倱ã補åã®äœ¿çšã«ããæ倱ãä»éçãŸãã¯éæ¥çæ害ã«å¯ŸããŠããã®æ害ãçºçããå¯èœæ§ãéç¥ãããŠããå Žåã§ããäžåã®è²¬ä»»ãè² ããŸãããNIã®éå®ä¿èšŒã¯ã蚎èšæ¹åŒãå¥çŽäžã®è²¬ä»»ãŸãã¯äžæ³è¡çºã«å¯Ÿãã責任ãåãããé倱責任ãå«ããé©çšãããŸããNIã«å¯Ÿãã蚎èšã¯ã蚎èšåå ã®çºçãã1幎以å ã«æèµ·ããå¿ èŠããããŸããNIã¯ãNIã®åççã«ç®¡çå¯èœãªç¯å²ãè¶ ããåå ã«ããçºçããå±¥è¡é 延ã«é¢ããŠã¯äžåã®è²¬ä»»ãè² ããŸãããææè ãã€ã³ã¹ããŒã«ãæäœãä¿å®ã«é¢ããNIã®æ瀺æžã«åŸããªãã£ããããææè ã«ãã補åã®æ¹é ãä¹±çšã誀çšããŸãã¯äžæ³šæãªè¡åãããã«åé»ããµãŒãžãç«çœã措氎ãäºæ ã第äžè ã®è¡çºããã®ä»ã®åççã«ç®¡çå¯èœãªç¯å²ãè¶ ããäºè±¡ã«ããçºçããæ害ãæ¬ é¥ãåäœäžè¯ãŸãã¯ãµãŒãã¹ã®åé¡ã«ã€ããŠã¯ãæ¬æžã«å®ããä¿èšŒã®å¯Ÿè±¡ãšãªããŸããã
èäœæš©èäœæš©æ³ã«åºã¥ããNational Instruments CorporationïŒç±³åœãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ã瀟ïŒã®æžé¢ã«ããäºåã®èš±å¯ãªããæ¬æžã®ãã¹ãŠãŸãã¯äžéšãåçè€åãèšé²ãæ å ±æ€çŽ¢ã·ã¹ãã ãžã®ä¿åãããã³ç¿»èš³ãå«ããé»åçãŸãã¯æ©æ¢°çãªãããªã圢åŒã«ãã£ãŠãè€è£œãŸãã¯è»¢èŒããããšãçŠæ¢ããŸãã
National Instrumentsã¯ä»è ã®ç¥ç財ç£ãå°éããŠãããã客æ§ãåæ§ã®æ¹éã«åŸãããŸããããé¡ãããããŸããNIãœãããŠã§ã¢ã¯èäœæš©æ³ãã®ä»ç¥ç財ç£æš©ã«é¢ããæ³åŸã«ããä¿è·ãããŠããŸããNIãœãããŠã§ã¢ãçšããŠä»è ã«åž°å±ãããœãããŠã§ã¢ãã®ä»ã®ãããªã¢ã«ãè€è£œããããšã¯ãé©çšããã©ã€ã»ã³ã¹ã®æ¡ä»¶ãã®ä»ã®æ³çèŠå¶ã«åŸã£ãŠãã®ãããªã¢ã«ãè€è£œã§ããå Žåã«éãå¯èœã§ãããã®ãšããŸãã
åæšNational InstrumentsãNIãni.comãããã³ LabVIEWã¯National Instruments CorporationïŒç±³åœãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ã瀟ïŒã®åæšã§ããNational Instrumentsã®åæšã®è©³çŽ°ã«ã€ããŠã¯ãni.com/legalã®ãTerms of Useãã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
æ¬ææžäžã«èšèŒããããã®ä»ã®è£œååããã³äŒæ¥åã¯ãããããã®äŒæ¥ã®åæšãŸãã¯åå·ã§ãã
ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã»ã¢ã©ã€ã¢ã³ã¹ããŒãããŒã»ããã°ã©ã ã®ã¡ã³ããŒã¯ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãããç¬ç«ããŠããäºæ¥äœã§ããããã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ããšäœã代çåºãããŒãããŒã·ãããŸãã¯ãžã§ã€ã³ãã»ãã³ãã£ãŒã®é¢ä¿ã«ãããŸããã
ç¹èš±National Instrumentsã®è£œåãä¿è·ããç¹èš±ã«ã€ããŠã¯ããœãããŠã§ã¢ã«å«ãŸããŠããç¹èš±æ å ±ïŒãã«ãâç¹èš±æ å ±ïŒãã¡ãã£ã¢ã«å«ãŸããŠããpatents.txtãã¡ã€ã«ããŸãã¯ni.com/patentsã®ãã¡ã該åœãããªãœãŒã¹ããåç §ããŠãã ããã
National Instruments Corporation補åã䜿çšããéã®èŠå(1) National Instruments CorporationïŒä»¥äžãNIããšããïŒã®è£œåã¯ãå€ç§ç§»æ€ãŸãã¯ããã«é¢é£ãã䜿çšã«é©ããæ©åšã®åãã£ã補åãšããŠããŸãã¯åäœäžè¯ã«ãã人äœã«æ·±å»ãªé害ãåãŒããããã®ããçåœç¶æè£ çœ®ã®éèŠãªæ©åšãšããŠèšèšãããŠãããããã®ä¿¡é Œæ§ããããã©ããã®è©Šéšãå®è¡ãããŠããŸããã
(2) äžèšãå«ãããŸããŸãªçšéã«ãããŠãäžé©åãªèŠå ã«ãã£ãŠãœãããŠã§ã¢è£œåã®æäœã®ä¿¡é Œæ§ãæãªããããããããããŸããããã«ã¯ãé»åäŸçµŠã®å€åãã³ã³ãã¥ãŒã¿ããŒããŠã§ã¢ã®èª€äœåãã³ã³ãã¥ãŒã¿ã®ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãœãããŠã§ã¢ã®é©åæ§ãã¢ããªã±ãŒã·ã§ã³éçºã«äœ¿çšããã³ã³ãã€ã©ãéçºçšãœãããŠã§ã¢ã®é©åæ§ãã€ã³ã¹ããŒã«æã®ééãããœãããŠã§ã¢ãšããŒããŠã§ã¢ã®äºææ§ã®åé¡ãé»åç£èŠã»å¶åŸ¡æ©åšã®èª€äœåãŸãã¯æ éãã·ã¹ãã ïŒããŒããŠã§ã¢ããã³ /ãŸãã¯ãœãããŠã§ã¢ïŒã®äžæçãªé害ãäºæãã¬äœ¿çšãŸãã¯èª€çšããŠãŒã¶ãŸãã¯ã¢ããªã±ãŒã·ã§ã³èšèšè ã®åŽã®ãã¹ãªã©ããããŸãããããã«éå®ãããŸããïŒä»¥äžããã®ãããªäžé©åãªèŠå ãç·ç§°ããŠãã·ã¹ãã æ éããšããïŒãã·ã¹ãã æ éã財ç£ãŸãã¯äººäœã«å±å®³ãåãŒãå¯èœæ§ïŒèº«äœã®æå·ããã³æ»äº¡ã®å±éºãå«ãïŒã®ããçšéã®å Žåã¯ãã·ã¹ãã æ éã®å±éºãããããã1ã€ã®åœ¢åŒã®ã·ã¹ãã ã«ã®ã¿äŸåãã¹ãã§ã¯ãããŸãããæ害ãæå·ãŸãã¯æ»äº¡ãšãã£ãäºæ ãé¿ããããããŠãŒã¶ãŸãã¯ã¢ããªã±ãŒã·ã§ã³
èšèšè ã¯ãé©æ£ã§æ éãªã·ã¹ãã æ éé²æ¢çãåãå¿ èŠããããŸããããã«ã¯ãã·ã¹ãã ã®ããã¯ã¢ãããŸãã¯åæ¢ãå«ãŸããŸãããããã«éå®ãããŸãããåãšã³ããŠãŒã¶ã®ã·ã¹ãã ã¯ã«ã¹ã¿ãã€ãºãããNIã®ãã¹ãçšãã©ãããã©ãŒã ãšã¯ç°ãªãããããããŠãŠãŒã¶ãŸãã¯ã¢ããªã±ãŒã·ã§ã³èšèšè ããNIã®è©äŸ¡ããããšã®ãªãããŸãã¯äºæããŠããªãæ¹æ³ã§ãNI補åãä»ã®è£œåãšçµã¿åãããŠäœ¿çšããå¯èœæ§ããããããNI補åãã·ã¹ãã ãŸãã¯ã¢ããªã±ãŒã·ã§ã³ã«çµ±åããå Žåã¯ããŠãŒã¶ãŸãã¯ã¢ããªã±ãŒã·ã§ã³èšèšè ããNI補åã®é©åæ§ãæ€èšŒã確èªãã責任ãè² ããã®ãšããŸããããã«ã¯ããã®ãããªã·ã¹ãã ãŸãã¯ã¢ããªã±ãŒã·ã§ã³ã®é©åãªèšèšãããã»ã¹ãå®å šã¬ãã«ãå«ãŸããŸãããããã«éå®ãããŸããã
© National Instruments Corporation v NI Vision Assistant ãã¥ãŒããªã¢ã«
ç®æ¬¡
ãã®ããã¥ã¢ã«ã«ã€ããŠè¡šèšèŠå.....................................................................................................................................................viié¢é£ããã¥ã¡ã³ã ...................................................................................................................................viii
第 1 ç« Vision Assistant ã®æäœç°å¢
Vision Assistant ãèµ·åãçµäºãã .................................................................................................1-1Vision Assistant ã®æäœç°å¢ ..............................................................................................................1-1
æ©èœ ............................................................................................................................................1-2ãžã«ãã衚瀺ãã ...................................................................................................................................1-3
Vision Assistant 詳现ãã«ããšããŒã«ããã..............................................................1-3ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ãŠã§ããµã€ã ............................................................1-4Vision Assistant ã®ã¹ã¯ãªãã ........................................................................................1-4
第 2 ç« Vision Assistant ç»ååŠçå ¥é
Vision Assistant å ¥é............................................................................................................................2-1Vision Assistant ã§ç»åãéé²ãã .................................................................................................2-6
éé²ãŠã£ã³ããŠãéã.........................................................................................................2-7ç»åãã¹ããããã .............................................................................................................2-8ç»åãã°ã©ããã .................................................................................................................2-9ç»åã®ã·ãŒã±ã³ã¹ãéé²ãã ...........................................................................................2-9
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
ç²å解æãšã¯ ............................................................................................................................................3-1ãã¥ãŒããªã¢ã« .......................................................................................................................................3-2
Vision Assistant ã«ç»åãããŒããã ...........................................................................3-2ç²å解æçšã«ç»åãæºåãã ...........................................................................................3-3
ç»åãåæãã ....................................................................................................3-3ç»åããã£ã«ã¿åŠçãã ..................................................................................3-5ãã£ã«ã¿åŠçã®åºåçµæã調æ»ãã ............................................................3-6
2 å€åã«ãã£ãŠç²åãèæ¯ããåé¢ãã ......................................................................3-6ã¢ãã©ããžãŒé¢æ°ã§ç²åãä¿®æ£ãã ..............................................................................3-8å圢ç²åãåé¢ãã .............................................................................................................3-9å圢ç²åã解æãã .............................................................................................................3-9ç²å解æã¹ã¯ãªããããã¹ããã ..................................................................................3-10ç²å解æã¹ã¯ãªãããä¿åãã .......................................................................................3-12åŠçæéãæšå®ãã .............................................................................................................3-12LabVIEW VI ãäœæãã ....................................................................................................3-12C ããã°ã©ã ãäœæãã....................................................................................................3-13
ç®æ¬¡
NI Vision Assistant ãã¥ãŒããªã¢ã« vi ni.com/jp
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
ã²ãŒãžã³ã°ãšã¯ ....................................................................................................................................... 4-1ãã¥ãŒããªã¢ã« ....................................................................................................................................... 4-1
Vision Assistant ã«ç»åãããŒããã .......................................................................... 4-3ãã¿ãŒã³ãããã³ã°ã䜿çšããŠæž¬å®ç¹ãæ€åºãã ................................................... 4-3ç»åå ã®ãšããžãæ€åºãã ............................................................................................... 4-6枬å®ãè¡ã .............................................................................................................................. 4-7
çµæã解æãã ....................................................................................................................................... 4-11
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
座æšç³»ãšã¯................................................................................................................................................ 5-1ãã¥ãŒããªã¢ã« ....................................................................................................................................... 5-2
Vision Assistant ã«ç»åãããŒããã .......................................................................... 5-2座æšç³»ãåºæºã«ããç¹åŸŽãå®çŸ©ãã ............................................................................. 5-2æ°èŠåº§æšç³»ãå®çŸ©ãã ........................................................................................................ 5-4ååšã®ç¢ºèª .............................................................................................................................. 5-4ãã³ã¿ã«ããã¹ã¹ã¯ãªããããã¹ããã..................................................................... 5-5ãã³ã¿ã«ããã¹ã¹ã¯ãªãããä¿åãã ......................................................................... 5-7
çµæã解æãã ....................................................................................................................................... 5-7
ä»é² Aæè¡ãµããŒãããã³ãããã§ãã·ã§ãã«ãµãŒãã¹
çšèªé
玢åŒ
© National Instruments Corporation vii NI Vision Assistant ãã¥ãŒããªã¢ã«
ãã®ããã¥ã¢ã«ã«ã€ããŠ
ãNI Vision Assistant ãã¥ãŒããªã¢ã«ãã§ã¯ãVision Assistant ãœãããŠã§
ã¢ã€ã³ã¿ãã§ãŒã¹ã®æŠèŠãšããµã³ãã«ç»åã®åŠçã¢ããªã±ãŒã·ã§ã³ããã³
ãã·ã³ããžã§ã³ã¢ããªã±ãŒã·ã§ã³ã®äœææé ã«ã€ããŠèª¬æããŸãã ãã®
ãã¥ãŒããªã¢ã«ã¯ãåçŽããäžçŽãŠãŒã¶ãŸã§ããã¹ãŠã®ã¬ãã«ã®
Windows çšã®ããžã§ã³ãŠãŒã¶åãã«èšèšãããŠããŸãã
è¡šèšèŠå
ãã®ããã¥ã¢ã«ã§ã¯ã以äžã®è¡šèšèŠåãæ¡çšããŠããŸãã
â ç¢å°ïŒâïŒã¯ããã¹ãåãããã¡ãã¥ãŒé ç®ããã€ã¢ãã°ããã¯ã¹ã®ãªã
ã·ã§ã³ããã©ã£ãŠãããšç®çã®æäœé ç®ãéžæã§ããããšã瀺ããŸãã ããšãã°ããã¡ã€ã«âããŒãžèšå®âãªãã·ã§ã³ã®ã·ãŒã±ã³ã¹ã§ã¯ããã¡ã€ã«
ãã«ããŠã³ã¡ãã¥ãŒãéããŠã次ã«ããŒãžèšå®é ç®ãéžæããŠãæåŸã®ã
ã€ã¢ãã°ããã¯ã¹ãããªãã·ã§ã³ãéžæããããã«æ瀺ãããŸãã
ãã®ã¢ã€ã³ã³ã¯ããŠãŒã¶ãžã®ã¢ããã€ã¹ã瀺ããŸãã
ãã®ã¢ã€ã³ã³ã¯ã泚æãã¹ãéèŠãªæ å ±ã瀺ããŸãã
倪å 倪åã®ããã¹ãã¯ãã¡ãã¥ãŒé ç®ããã€ã¢ãã°ããã¯ã¹ãªãã·ã§ã³ãªã©ã
ãœãããŠã§ã¢ã§ãŠãŒã¶ãéžæãŸãã¯ã¯ãªãã¯ããå¿ èŠãããé ç®ã瀺ããŸ
ãã ãŸãã倪åã®ããã¹ãã¯ãã©ã¡ãŒã¿åã瀺ããŸãã
æäœ æäœã®ããã¹ãã¯ãå€æ°ã匷調ãçžäºåç §ããŸãã¯éèŠãªæŠå¿µã®èª¬æã瀺
ããŸãã ãŸããæäœã®ããã¹ãã¯ããŠãŒã¶ãå ¥åããå¿ èŠãããèªå¥ãŸã
ã¯å€ã®ãã¬ãŒã¹ãã«ãã瀺ããŸãã
monospace ãã®ãã©ã³ãã®ããã¹ãã¯ãããŒããŒãããå ¥åããå¿ èŠãããããã¹ã
ãæåãã³ãŒãã®äžéšãããã°ã©ã ãµã³ãã«ãæ§æäŸãè¡šããŸãã ãŸãã
ãã£ã¹ã¯ãã©ã€ãããã¹ããã£ã¬ã¯ããªãããã°ã©ã ããµãããã°ã©ã ã
ãµãã«ãŒãã³ãªã©ã®å称ãããã€ã¹åãé¢æ°ãæäœãå€æ°ããã¡ã€ã«åã
ãã³æ¡åŒµåã®åŒçšã«ã䜿çšãããŸãã
ãã®ããã¥ã¢ã«ã«ã€ããŠ
NI Vision Assistant ãã¥ãŒããªã¢ã« viii ni.com/jp
é¢é£ããã¥ã¡ã³ã
以äžã®ããã¥ã¡ã³ãã«ã¯ããã®ããã¥ã¢ã«ã䜿çšããäžã§åœ¹ã«ç«ã€æ å ±ã
èšèŒãããŠããŸãã NI Vision Assistant ã®ããã¥ã¡ã³ãã«ã¢ã¯ã»ã¹ããã«
ã¯ãã¹ã¿ãŒãâããã°ã©ã â National Instruments â Vision AssistantãéžæããŸãã
⢠ãNI Vision Development Module Release Notesãâ NI Vision Assistant ã®æ°æ©èœãã·ã¹ãã èŠä»¶ãã€ã³ã¹ããŒã«æ¹æ³ãããã¥ã¡ã³
ãã®æŠèŠãèšèŒãããŠããŸãã
⢠ãNI Vision Assistant ãã«ããâ Vision Assistant ã®æ©èœãšé¢æ°ã®èª¬
æããã³äœ¿çšæ¹æ³ãèšèŒãããŠããŸãã Vision Assistant ã§ãã«ã
ãã¡ã€ã«ãéãã«ã¯ããã«ãâãªã³ã©ã€ã³ãã«ããéžæããŸãã
⢠ãNI Vision ã³ã³ã»ããããã¥ã¢ã«ãâ ç»å解æãç»ååŠçããã·ã³
ããžã§ã³ã®åºæ¬çãªæŠå¿µã説æããŸãã ãŸãããã®ããã¥ã¡ã³ãã«
ã¯ãé«åºŠãªæè¡ãå¿ èŠãšãããŠãŒã¶åãã«ç»åé¢æ°ã«ã€ããŠè©³ããå
容ãèšèŒãããŠããŸãã
© National Instruments Corporation 1-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
1Vision Assistant ã®æäœç°å¢
æ¬ç« ã§ã¯ãNI Vision Assistant ã®æäœç°å¢ã«ã€ããŠèª¬æããNI Vision ãœ
ãããŠã§ã¢ããã³ç»åéé²ããã€ã¹ã«é¢ãããªãœãŒã¹ã«ã€ããŠèª¬æããŸ
ãã
Vision Assistant ãèµ·åãçµäºãã
Vision Assistant ãèµ·åããã«ã¯ãã¹ã¿ãŒãâãã¹ãŠã®ããã°ã©ã â
National Instruments Vision Assistant ãéžæããŸãã
Vision Assistant ãçµäºããã«ã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
1. èšå®ãŠã£ã³ããŠãéããŸãã
2. å¿ èŠãªå ŽåãéããŠããã¹ã¯ãªãããšç»åãä¿åããŸãã
3. ãã¡ã€ã«âçµäºãã¯ãªãã¯ããŸãã
Vision Assistant ã®æäœç°å¢
Vision Assistant ã¯ãç»ååŠçã¢ããªã±ãŒã·ã§ã³ã®ãããã¿ã€ããäœæã
ãŠããã¹ãããããŒã«ã§ãã ç»ååŠçã¢ããªã±ãŒã·ã§ã³ã®ãããã¿ã€ãã
äœæããã«ã¯ãVision Assistant ã®ã¹ã¯ãªããäœææ©èœã䜿çšããŠãã«ã¹
ã¿ã ã¢ã«ãŽãªãºã ãäœæããŸãã ã¹ã¯ãªããæ©èœã¯ãåŠçã¢ã«ãŽãªãºã ã®
ãã¹ãŠã®ã¹ããããèšé²ããŸãã ã¢ã«ãŽãªãºã ãå®æããåŸãä»ã®ç»åã§
ãã®ã¢ã«ãŽãªãºã ããã¹ãããããšãã§ããŸãã
ã¢ã«ãŽãªãºã ã¯ã¹ã¯ãªãããã¡ã€ã«ã«èšé²ãããŸããã¹ã¯ãªãããã¡ã€ã«
ã«ã¯ãVision Assistant ã§ãããã¿ã€ããäœæããã¢ã«ãŽãªãºã ã®ãã©
ã¡ãŒã¿ãåŠçé¢æ°ãä¿åãããŸãã LabVIEW VI çæãŠã£ã¶ãŒãã䜿çšã
ãŠãVision Assistant ã§äœæãããããã¿ã€ããå®è¡ãã LabVIEW VI ãäœæããããšãã§ããŸãã
第 1 ç« Vision Assistant ã®æäœç°å¢
NI Vision Assistant ãã¥ãŒããªã¢ã« 1-2 ni.com/jp
ã¡ã¢ Vision Assistant LabVIEW VI çæãŠã£ã¶ãŒãã䜿çšããã«ã¯ãLabVIEW 7.1 以
éããã³ NI Vision 8.6 éçºã¢ãžã¥ãŒã«ä»¥éã®ããŒãžã§ã³ãã€ã³ã¹ããŒã«ãããŠ
ããå¿ èŠããããŸãã
LabVIEW VI ã®çæã®è©³çŽ°ã¯ã第 3 ç« ãç²å解æã䜿çšããéå±æ§é 解
æãã®ãLabVIEW VI ãäœæããããåç §ããŠãã ããã
C ã³ãŒãäœæãŠã£ã¶ãŒãã䜿çšããŠãVision Assistant ã§äœæããããã
ã¿ã€ããå®è¡ãã C é¢æ°ãçæããããšãã§ããŸãã C ã³ãŒãäœæã®è©³
现ã¯ã第 3 ç« ãç²å解æã䜿çšããéå±æ§é 解æãã®ãC ããã°ã©ã ã
äœæããããåç §ããŠãã ããã
ã¡ã¢ LabWindowsTM/CVITM 7.0 以éã®ããŒãžã§ã³ãã€ã³ã¹ããŒã«ãããŠããå Žåã¯ã
çæããã C ã³ãŒãçšã®ãããžã§ã¯ããäœæããããšãã§ããŸãã
NI Vision ãã·ã³ããžã§ã³ããã³ç»ååŠçã©ã€ãã©ãªã䜿çšãããšããã«
ããã¡ã€ã«ã«ããå®çŸ©ãããã¢ã«ãŽãªãºã ã Microsoft Visual Basic ãª
ã©ã®éçºç°å¢ã«ãæ¡çšããããšãã§ããŸãã
æ©èœVision Assistant ã«ã¯ã以äžã®æ©èœããããŸãã
⢠ã¹ã¯ãªãããŠã£ã³ããŠâäžé£ã®ç»ååŠçããã»ã¹ããã³åããã»ã¹ã®
èšå®ãèšé²ããŸãã åäžã®ç»åãŸãã¯äžåºŠã«è€æ°ã®ç»åã«å¯ŸããŠã¹ã¯
ãªãããå®è¡ããŠãç»åã®ã»ããã解æã§ããŸãã ãŸããã¹ã¯ãªãã
ãå€æŽãä¿åã§ããŸãã ã¹ã¯ãªãããŠã£ã³ããŠã®äŸã«ã€ããŠã¯ã
å³ 2-2ããç»åãåŠçããããåç §ããŠãã ããã
⢠ç»åãã©ãŠã¶âçŸåš Vision Assistant ã«ããŒããããŠããç»åã®ãã¹
ãŠãå«ãŸããŸãã åŠçããç»åã¯ãç»åãã©ãŠã¶ã§ããã«ã¯ãªãã¯ã
ãŠéžæã§ããŸãã ç»åãã©ãŠã¶ã«ããŒããããç»åã衚瀺ããã«ã¯ã
å³ 2-1ããç»åãã©ãŠã¶ããåç §ããŠãã ããã
⢠åŠçãŠã£ã³ããŠâãã©ã¡ãŒã¿ãå€æŽããéãç»åãæŽæ°ãããŸãã ãã®è¡šç€ºã§ã¯èšå®ãŠã£ã³ããŠã§ã®å€æŽãå³åº§ã«åæ ããããããæé©ãª
çµæãçæããããŸã§ãã©ã¡ãŒã¿ãå€æŽãç¶ããããšãã§ããŸãã åŠçãŠã£ã³ããŠã«ããŒããããç»åã衚瀺ããã«ã¯ãå³ 2-2ãç»åãåŠ
çããããåç §ããŠãã ããã
⢠åŠçé¢æ°ãŠã£ã³ã㊠/ èšå®ãŠã£ã³ããŠâã¢ã«ãŽãªãºã ãéçºããã®ã«
䜿çšå¯èœãªç»ååŠçé¢æ°ã®ãªã¹ãã衚瀺ãããããŸãã¯ç»ååŠçé¢æ°
çšã«èšå®å¯èœãªãã©ã¡ãŒã¿ã衚瀺ããŸãã åŠçé¢æ°ãŠã£ã³ããŠãã䜿
çšå¯èœãªåé¢æ°ã«ã¯ããã®é¢æ°ã«å¯ŸããŠãã©ã¡ãŒã¿ãèšå®ããèšå®
ãŠã£ã³ããŠããããŸãã 2 å€åé¢æ°çšã®èšå®ãŠã£ã³ããŠã®äŸã衚瀺ã
ãã«ã¯ãå³ 2-3ããç»åã® 2 å€åããåç §ããŠãã ããã
第 1 ç« Vision Assistant ã®æäœç°å¢
© National Instruments Corporation 1-3 NI Vision Assistant ãã¥ãŒããªã¢ã«
⢠åç §ãŠã£ã³ããŠâåŠçãŠã£ã³ããŠã§ç»åãœãŒã¹ãæäœäžã«ç»åãœãŒã¹
ã衚瀺ããŸãã åç §ãŠã£ã³ããŠã®ç»åã衚瀺ããã«ã¯ãå³ 2-2ããç»å
ãåŠçããããåç §ããŠãã ããã
⢠ãœãªã¥ãŒã·ã§ã³ãŠã£ã¶ãŒãâç£æ¥å¥å質ä¿èšŒã¿ã¹ã¯ã®ãªã¹ãã衚瀺ã
ãŸãã ãŠã£ã¶ãŒãã«ãã£ãŠãéžæããã¿ã¹ã¯ã® NI Vision ããŒã¹ã®ãœ
ãªã¥ãŒã·ã§ã³ãããŒããããŸãã
⢠ããã©ãŒãã³ã¹ã¡ãŒã¿âã¹ã¯ãªãããæå®ã®ç»åãåŠçããã®ã«ãã
ãæéãæšå®ããŸãã
⢠LabVIEW VI çæâVision Assistant ã§ãããã¿ã€ããäœæããã¢ã«
ãŽãªãºã ã«å¯Ÿå¿ãã LabVIEW VI ãäœæããŸãã éžæãããªãã·ã§ã³
ã«åºã¥ããŠãLabVIEW VI çæãŠã£ã¶ãŒãã¯ãçŸåšã®ã¹ã¯ãªãããŸã
ã¯ä¿åããã¹ã¯ãªãããã¡ã€ã«ã®ç»ååŠçã¹ããããå®è£ ããæ°èŠ
VI ãäœæããŸãã
⢠C ã³ãŒãäœæâVision Assistant ã§ãããã¿ã€ããäœæããã¢ã«ãŽãª
ãºã ã«å¯Ÿå¿ãã C ãã¡ã€ã«ãäœæããŸãã éžæãããªãã·ã§ã³ã«åº
ã¥ããŠãC ã³ãŒãäœæãŠã£ã¶ãŒãã¯ãçŸåšã®ã¹ã¯ãªããã®ç»ååŠç
ã¹ããããå®è¡ãã C é¢æ°ãäœæããŸãã
⢠ãã«ããã¡ã€ã«âMicrosoft Visual Basic é¢æ°ãšãVision Assistantã§ãããã¿ã€ããäœæããã¢ã«ãŽãªãºã ã®ãã©ã¡ãŒã¿ããªã¹ããã
ASCII ããã¹ããã¡ã€ã«ã§ãã
ãžã«ãã衚瀺ãã
Vision Assistant ã䜿çšããéãäžæãªç¹ã«ã€ããŠä»ã®æ å ±æºãæ±ããå¿
èŠãããå ŽåããããŸãã 以äžã®æ å ±æºã¯ãNI Vision ãš NI ç»åéé²ãã
ã€ã¹ã«é¢ããç¹å®ã®è©³çŽ°æ å ±ãæäŸããŸãã
Vision Assistant 詳现ãã«ããšããŒã«ãããVision Assistant ã§ã¯ãç»ååŠçé¢æ°ãåŒã³åºããšã詳现ãã«ããŠã£ã³ã
ãŠã§è©³çŽ°ãã«ãã衚瀺ãããŸãã 詳现ãã«ããŠã£ã³ããŠã«ã¯ãç»ååŠçé¢
æ°ããã€ã©ã®ããã«äœ¿çšããããèšè¿°ããè€æ°ã®ã¿ããšãé¢æ°çšã«èšå®
ãŠã£ã³ããŠã«è¡šç€ºãããã³ã³ãããŒã«ã®èª¬æãå«ãŸããŠããŸãã Vision Assistant ããŒã«ããŒã§è©³çŽ°ãã«ããã¿ã³ãã¯ãªãã¯ããŠã詳现ã
ã«ããŠã£ã³ããŠãéããŸãã
ãŸããVision Assistant ã§ã¯ãVision Assistant ã€ã³ã¿ãã§ãŒã¹ã«ããŒã«
ã®ãã³ããçšæãããŠããŸãã ããŒã«ã®ãã³ãã¯ãã«ãŒãœã«ããã¿ã³ã®äž
ã«ç§»åãããšãããŒã«ããŒãã¹ã¯ãªãããŠã£ã³ããŠãåç §ãŠã£ã³ããŠããŸ
ãã¯ç»åãã©ãŠã¶ã«è¡šç€ºãããç°¡åãªãã¿ã³ã®èª¬æã§ãã
第 1 ç« Vision Assistant ã®æäœç°å¢
NI Vision Assistant ãã¥ãŒããªã¢ã« 1-4 ni.com/jp
ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ãŠã§ããµã€ããã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ãŠã§ããµã€ãïŒni.com/visionïŒã§ã¯ã
NI Vision ã®ããŒããŠã§ã¢ããã³ãœãããŠã§ã¢ã«ã€ããŠã®æ å ±ãåç §ã§ã
ãŸãã
NI Vision ã®ãŠã§ããµã€ãã§ã¯ãNI Vision ã®æ°æ©èœãããã·ã³ããžã§ã³ã®å
é¡ç¹ãšãœãªã¥ãŒã·ã§ã³ãã¢ããªã±ãŒã·ã§ã³ã®ããŒãºãæºãã NI Vision ããŒ
ããŠã§ã¢ãã«ã¡ã©ãã¬ã³ãºãç §ææ©åšã«é¢ããæ å ±ãã芧ããã ããŸãã
NI Developer ZoneïŒni.com/zoneïŒã¯ãèšæž¬ã»ãªãŒãã¡ãŒã·ã§ã³ã·ã¹
ãã ãäœæããéã«åèãšãªãæçãªæ å ±ãèšèŒãããŠããŸãã NI Developer Zone ã«ã¯ãææ°ã®ãµã³ãã«ããã°ã©ã ãã·ã¹ãã æ§æã
ãã¥ãŒããªã¢ã«ããã¯ãã«ã«ãã¥ãŒã¹ãæ²èŒãããŠãããä»ã®éçºè ãšæ
è¡ãå ±æããããšãå¯èœã§ãã
Vision Assistant ã®ã¹ã¯ãªããVision Assistant ã®ã€ã³ã¹ããŒã«ããã°ã©ã ã«ãã£ãŠããµã³ãã«ã¹ã¯ãªã
ããããã€ãã€ã³ã¹ããŒã«ãããŸãã ãããã®ã¹ã¯ãªãããå®è¡ããŠã
Vision Assistant ã®ã¹ã¯ãªããæ©èœããã詳现ã«åŠç¿ã§ããŸãã ãŸãããµ
ã³ãã«ã¹ã¯ãªãããç¬èªã®ã¢ããªã±ãŒã·ã§ã³ãšããŠã«ã¹ã¿ãã€ãºããããš
ãå¯èœã§ãã ããã©ã«ãã§ã¯ãã¹ã¯ãªããã¯ã<Vision Assistant>Â¥
Examplesãš <Vision Assistant>Â¥solutionsã«ã€ã³ã¹ããŒã«ãããŸ
ããããã§ã <Vision Assistant>㯠Vision Assistant ãã€ã³ã¹ããŒã«ã
ããå Žæã瀺ããŸãã
© National Instruments Corporation 2-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
2Vision Assistant ç»ååŠçå ¥é
æ¬ç« ã§ã¯ãVision Assistant ã§ç»ååŠçã¢ã«ãŽãªãºã ãäœæããã³ãã¹ã
ããæ¹æ³ã«ã€ããŠèª¬æããŸãã ããžã¿ã«ç»åã«ã€ããŠã®è©³çŽ°ã¯ã
ãNI Vision ã³ã³ã»ããããã¥ã¢ã«ãã®ç¬¬ 1 ç« ãããžã¿ã«ç»åããåç §
ããŠãã ããã
Vision Assistant å ¥é
ãã®ã»ã¯ã·ã§ã³ã§ã¯ããã®ããã¥ã¢ã«ã®ãã¥ãŒããªã¢ã«ã®å®è¡ãããªã³ã©
ã€ã³ãã«ãã®ç解ã«å¿ èŠãšãªããã®ãœãããŠã§ã¢åºæã®çšèªã«ã€ããŠèª¬æ
ããŸãã Vision Assistant ã®åäœããŸããã®ãœãããŠã§ã¢ã§äœãå®è¡ã§ã
ãããç解ããããã«ã¯ãå®éã«äœ¿çšããŠã¿ãããšãéèŠã§ãã
ããã§çŽ¹ä»ããåºæ¬çãªäŸã§ã¯ãVision Assistant ã«ç»åãããŒãã㊠2å€åãè¡ããŸãã 2 å€åã«ãããåŠç察象ãšãªããªããžã§ã¯ããä¿æãã
ãã以å€ã®ãªããžã§ã¯ããåé€ããŠãªããžã§ã¯ããåé¢ããããšãã§ããŸ
ãã ãŸãã2 å€åã§ã¯ãç»åããã¯ã»ã«å€ 0 ïœ 255 ã®ç¯å²ã®ã°ã¬ãŒã¹ã±ãŒ
ã«ç»åããããã¯ã»ã«å€ 0 ãŸã㯠1 ã®ãã€ããªç»åã«å€æãããŸãã
Vision Assistant ãéå§ããã«ã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
1. ã¹ã¿ãŒãâãã¹ãŠã®ããã°ã©ã â National Instruments Vision Assistant ãéžæããŸãã
2. ç»åãããŒãããã«ã¯ãããããã®ç»é¢ã§ç»åãéããã¯ãªãã¯ããŸ
ãã
3. <Vision Assistant>Â¥ExamplesÂ¥metalã«ç§»åããŸããããã§ã
<Vision Assistant>㯠Vision Assistant ãã€ã³ã¹ããŒã«ãããå Ž
æã瀺ããŸãã
4. ãã¹ãŠã®ãã¡ã€ã«ãéžæãã§ãã¯ããã¯ã¹ããªã³ã«ããŸãã ãã¬
ãã¥ãŒãŠã£ã³ããŠã«ç»åã®ãã¬ãã¥ãŒãšããã®ç»åãã¡ã€ã«ã®çš®é¡ãš
ç»åã®æ·±åºŠã衚瀺ãããŸãã
5. éããã¯ãªãã¯ããŸãã Vision Assistant ã¯ãåŠçãŠã£ã³ããŠã®æå
ã®ç»åãéããŸãã
第 2 ç« Vision Assistant ç»ååŠçå ¥é
NI Vision Assistant ãã¥ãŒããªã¢ã« 2-2 ni.com/jp
6. Vision Assistant ãŠã£ã³ããŠã®å³äžã®ç»åãåç §ãã¯ãªãã¯ããŸãã
Vision Assistant ã¯ãå³ 2-1 ã«ç€ºãããã«ãç»åãã©ãŠã¶ã«éããç»
åãã¡ã€ã«ãããŒãããŸãã ç»åãã©ãŠã¶ã«ã¯ãéžæããç»åã®ç»å
ã®ãµã€ãºãä¿åå Žæãã¿ã€ããªã©ã®æ å ±ã衚瀺ãããŸãã
å³ 2-1 ç»åãã©ãŠã¶
æ°ããç»åããµã ããŒã«è¡šç€ºïŒå³ 2-1 åç §ïŒãŸãã¯ãã«ãµã€ãºè¡šç€º
ïŒéžæãããç»å 1 ã€ãæ倧ã§è¡šç€ºïŒããããšãã§ããŸãã
7. ãµã ããŒã« / ãã«ãµã€ãºã®åãæ¿ããã¿ã³ãã¯ãªãã¯ããæåã®ç»å
ããã«ãµã€ãºè¡šç€ºããŸãã
1 ç»åãã©ãŠã¶
2 ç»åã®ä¿åå Žæ
3 ããã²ãŒã·ã§ã³ãã¿ã³
4 ãµã ããŒã« / ãã«ãµã€ãºã®åãæ¿ã
5 ç»åãéã
6 éžæãããç»åãéãã
7 ç»åãµã€ãº
8 ç»åã¿ã€ã
9 ãã¡ã€ã«åœ¢åŒ
9
87543
1
2
6
第 2 ç« Vision Assistant ç»ååŠçå ¥é
© National Instruments Corporation 2-3 NI Vision Assistant ãã¥ãŒããªã¢ã«
8. Vision Assistant ãŠã£ã³ããŠã®å³äžã®ç»åãåŠçãã¯ãªãã¯ããŠãç»
ååŠçãéå§ããŸãã å³ 2-2 ã«ç€ºãããã«ãVision Assistant ã¯ç»å
ãåŠçãŠã£ã³ããŠã«ããŒãããŸãã
ãã³ã ç»åãã©ãŠã¶ã§ç»åãããã«ã¯ãªãã¯ããŠãåŠçãŠã£ã³ããŠã§ãã®ç»åã®åŠç
ãéå§ã§ããŸãã
å³ 2-2 ç»åãåŠçãã
ãã³ã åŠçãŠã£ã³ããŠã§ç»åãåŠçããéãåç §ãŠã£ã³ããŠã«ãã®ç»åã®å ã®ããŒ
ãžã§ã³ã衚瀺ãããŸãã
1 åç §ãŠã£ã³ããŠ
2 ãºãŒã æ¯3 ç»åãµã€ãº
4 ã¹ã¯ãªãããŠã£ã³ããŠ5 åŠçãŠã£ã³ããŠ
1
2
3
5
4
第 2 ç« Vision Assistant ç»ååŠçå ¥é
NI Vision Assistant ãã¥ãŒããªã¢ã« 2-4 ni.com/jp
9. åŠçé¢æ°ãã¬ããã®ã°ã¬ãŒã¹ã±ãŒã«ã¿ãã«ãã 2 å€åãéžæãããã
ã°ã¬ãŒã¹ã±ãŒã«â 2 å€åãéžæããŸãã å³ 2-3 ã®ããã«ã2 å€åèšå®
ãŠã£ã³ããŠã Vision Assistant ãŠã£ã³ããŠã®å·Šäžç«¯ã«è¡šç€ºãããŸãã
å³ 2-3 ç»åã® 2 å€å
2 å€åèšå®ãŠã£ã³ããŠã¯ãã¹ãã°ã©ã ã衚瀺ããŸãã ãã¹ãã°ã©ã
ã¯ãåã°ã¬ãŒã¹ã±ãŒã«å€ã®ãã¯ã»ã«ã®ç·æ°ãã«ãŠã³ãããããŒã¿ãã°
ã©ãã«è¡šç€ºããŸãã ãã®ã°ã©ããããç»åã«ç¹å®ã®éç«ã£ãã°ã¬ãŒã¹
ã±ãŒã«èŒåºŠã®é åãå«ãŸããŠãããã©ãããããããŸãã 2 å€åãè¡
ãããšã§ãç»åã®ãããã®é åã¯ä»ã®éšåããåé¢ãããããã«è¡šç€º
ãããŸãã ããšãã°ãæãèæ¯ã«æãããªããžã§ã¯ããããå Žåã«
ã¯ãæ€çŽ¢ããããããŠã³ã¡ãã¥ãŒããæãããªããžã§ã¯ããéžæãã
æå°ãããå€ã 255ïŒçœïŒã«è¿ãå€ã«èšå®ããããšã§ããã®ãªããžã§
ã¯ããåé¢ããŠèæ¯ãåãé€ãããšãã§ããŸãã
1 2 å€åèšå®ãŠã£ã³ããŠ
1
第 2 ç« Vision Assistant ç»ååŠçå ¥é
© National Instruments Corporation 2-5 NI Vision Assistant ãã¥ãŒããªã¢ã«
åŠçãŠã£ã³ããŠã«ã¯ãçŸåšã®ãã©ã¡ãŒã¿å€ã䜿çšããããã©ã«ãã®
2 å€åæäœã§ããæå 2 å€åã®ãã¬ãã¥ãŒã衚瀺ãããŸãã èµ€ã§æã
ãããã¯ã»ã«ã®èŒåºŠã¯ããããå€ã®ç¯å²å ãšãªããŸãã 2 å€åæŒç®å
ã«ããããã®å€ã¯ 1 ã«èšå®ãããŸããç°è²ã§æããããã¯ã»ã«ã®å€
ã¯ããããå€ã®ç¯å²å€ã§ãã ããããå€ã¯ 2 å€åæŒç®åã«ããã0 ã«
èšå®ãããŸãã
10. ãã®ç»åã 2 å€åããã«ã¯ãæå°å€ã 130ã«èšå®ãããã¹ãŠã®ãªã
ãžã§ã¯ããéžæããŸãã
ãã³ã æå°å€ãç°ãªãå€ã§è©ŠããŠãæé©ãªå€ã決å®ããŸãã æå°å€ãã£ãŒã«ãã«æ°å€ã
å ¥åãã代ããã«ããã¹ãã°ã©ã ã®ãã€ã³ã¿ã䜿çšããŠå€ãéžæããããšãã§
ããŸãã ãã€ã³ã¿ã調ç¯ããŠãéžæãããªããžã§ã¯ããèµ€ã§ãã€ã©ã€ãããŸãã
11. ã¡ã€ã³ã¿ããã¯ãªãã¯ããŸãã
12. ã¹ãããåã³ã³ãããŒã«ã§ã2å€åç»åããšå ¥åããŸãã
13. OK ãã¯ãªãã¯ããŠãæåã«ãã 2 å€åãç»åã«é©çšããŸãã ç»å
ãããã€ããªç»åã«å€æãããŸããããã§ããããå€ã®ç¯å²å ã®éžæ
ãããã¯ã»ã«ã¯ãã¹ãŠ 1ïŒèµ€ïŒã«èšå®ããããã®ä»ã®ãã¯ã»ã«ã¯ãã¹
㊠0ïŒé»ïŒã«èšå®ãããŸãã
2 å€åãé©çšãããšç»åãã©ã®ããã«è¡šç€ºããããã確èªããã«ã¯ã
å³ 2-4 ãåç §ããŠãã ããã
å³ 2-4 2 å€åç»å
ãã® 2 å€åã®æé ã¯ã¹ã¯ãªãããŠã£ã³ããŠã«èšé²ãããŠããŸãã ã¹ã¯
ãªããã¯åŠçæäœããã³ãã®ãã©ã¡ãŒã¿ããã¹ãŠèšé²ããŸãã åãæ
äœãä»ã®ç»åã§å®è¡ããå¿ èŠãããå Žåã¯ãã¹ã¯ãªãããä¿åããŠãŸ
ã䜿çšããããšãã§ããŸãã
第 2 ç« Vision Assistant ç»ååŠçå ¥é
NI Vision Assistant ãã¥ãŒããªã¢ã« 2-6 ni.com/jp
14. ãã¡ã€ã«âã¹ã¯ãªãããå¥åã§ä¿åãéžæããŠãã¹ã¯ãªããã«
threshold.scrãšããååãä»ããŸãã åæ§ã« 2 å€åããå¿ èŠãããå¥ã®ç»åãæ€åºããå Žåã以äžã®æé
ã§ç»åã«å¯ŸããŠã¹ã¯ãªãããå®è¡ããŸãã
a. ç»åãããŒãããŸãã
b. ãã¡ã€ã«âã¹ã¯ãªãããéããéžæããŠãthreshold.scrãéž
æããŠãéããã¯ãªãã¯ããŸãã
c. ã¹ã¯ãªãããŠã£ã³ããŠã® 1 åå®è¡ãã¿ã³ãã¯ãªãã¯ããŸãã
å¥ã®ãªãã·ã§ã³ãç»åã§è©ŠããŸãã ããšãã°ããã®ç»åå ã®åãªã
ãžã§ã¯ããå æããé åãèŠã€ããã«ã¯ãç²å解æãå®è¡ããŸãã ç¹å®ã®ç»ååŠçã«ã€ããŠäžæãªç¹ãããå Žåã¯ã詳现ãã«ããŠã£ã³ããŠ
ã®æäœæé ã¿ããŸãã¯å¶åŸ¡åš ã¿ããã¯ãªãã¯ããŠãã ããã
Vision Assistant ã§ç»åãéé²ãã
Vision Assistant ã§ã¯ãã¹ããããã°ã©ããã·ãŒã±ã³ã¹ã® 3 ã€ã®ã¿ã€ãã®
ç»åéé²ãã§ããŸãã ã¹ãããã¯ãåäžç»åã®éé²ãšè¡šç€ºãè¡ããŸãã ã°ã©ãã¯ãé£ç¶ããã·ãŒã±ã³ã¹ãéé²ããŠè¡šç€ºããŸããããã¯ãã«ã¡ã©ã
ãã©ãŒã«ã¹ãããšããªã©ã«åœ¹ç«ã¡ãŸãã ã·ãŒã±ã³ã¹ã¯ãæå®ããèšå®ã«ã
ãç»åãè€æ°æéé²ããç»åãç»åãã©ãŠã¶ã«éããŸãã
Vision Assistant ã䜿çšããŠãçš®ã ã® NI ã¹ããŒãã«ã¡ã©ãããžã¿ã«ãã
ã³ã¢ããã°ãã¬ãŒã ã°ã©ããŒãDCAM æºæ IEEE 1394 ã«ã¡ã©ãã®ã¬ãã
ãã€ãŒãµãããïŒGigEïŒVision ã«ã¡ã©ã§ã©ã€ãç»åãéé²ããããšãã§
ããŸãã ãã©ã€ããœãããŠã§ã¢ã®è©³çŽ°ã¯ããNI Vision Acquisition Software Release Notesããåç §ããŠãã ããã
ç»åéé²ããã€ã¹ã¯ããã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã® Measurement & Automation ExplorerïŒMAXïŒã§æ§æã§ããŸãã ç»åéé²ããã€ã¹ã
MAX ã§èšå®ããæ¹æ³ã«ã€ããŠã¯ããNI Vision Acquisition Software Release Notesããåç §ããŠãã ããã
ç»åéé²ããã€ã¹ãšå¿ èŠãªãã©ã€ããœãããŠã§ã¢ããæã¡ã§ãªãå Žåã¯ã
ã·ãã¥ã¬ãŒã·ã§ã³éé²ã¹ãããã䜿çšããŠç»åã·ãŒã±ã³ã¹ã衚瀺ããããš
ã§ãã©ã€ãéé²ãã·ãã¥ã¬ãŒã·ã§ã³ããããšãã§ããŸãã ã·ãã¥ã¬ãŒã·ã§
ã³ã¢ãžã¥ãŒã«ã§ã®å¯Ÿè©±æ¹åŒã¯ãã©ã€ãéé²ã¢ãžã¥ãŒã«ã®å¯Ÿè©±æ¹åŒãšåæ§ã§
ãã ããšãã°ããã¬ãŒã ã®ã·ãŒã±ã³ã¹ãåæ¢ããç»åããã£ããã£ããŠã
ãã®ç»åãç»ååŠççšã®ç»åãã©ãŠã¶ã«è»¢éããããšãã§ããŸãã
第 2 ç« Vision Assistant ç»ååŠçå ¥é
© National Instruments Corporation 2-7 NI Vision Assistant ãã¥ãŒããªã¢ã«
éé²ãŠã£ã³ããŠãéãç»åãéé²ããã«ã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
1. Vision Assistant ãèµ·åããŸãã
2. éé²é¢æ°ã衚瀺ããã«ã¯ãå³ 2-5 ã®ããã«ãããããã®ç»é¢ã§ç»åã
éé²ãã¿ã³ãã¯ãªãã¯ããŸãã
Vision Assistant ãæ¢ã«å®è¡ããŠããå Žåã¯ãããŒã«ããŒã®ç»åãé
é²ãã¿ã³ãã¯ãªãã¯ããŸãã å³ 2-5 ã®ããã«ãéé²é¢æ°ã衚瀺ãããŸ
ãã
å³ 2-5 Vision Assistant ã§ç»åãéé²ãã
1 ç»åãã¢ã¯ãã£ãã«ãã 2 éé²ç»åãç»åãã©ãŠã¶ã«ä¿åãã 3 éé²é¢æ°
1
2
3
第 2 ç« Vision Assistant ç»ååŠçå ¥é
NI Vision Assistant ãã¥ãŒããªã¢ã« 2-8 ni.com/jp
3. ç»åãéé²ãã¯ãªãã¯ããŸãã ã³ã³ãã¥ãŒã¿ã«ã€ã³ã¹ããŒã«ãããŠã
ã NI Vision ããã€ã¹ããã³ãã£ã³ãã«ãèšå®ãŠã£ã³ããŠã«è¡šç€ºãã
ãŸãã ããšãã°ãå³ 2-6 㯠NI PCI-1409ãã€ã³ã¹ããŒã«ãããŠããã
ãšã瀺ããŸãã
ã¡ã¢ èšå®ãŠã£ã³ããŠã«è¡šç€ºãããããŒããŠã§ã¢ããã€ã¹ã¯ãã€ã³ã¹ããŒã«ãããŠã
ãããã€ã¹ã«ãã£ãŠç°ãªããŸãã
å³ 2-6 ç»åãéé²èšå®ãŠã£ã³ããŠ
4. éãããã¯ãªãã¯ããŠãç»åãéé²èšå®ãŠã£ã³ããŠãéããŸãã
ç»åãã¹ããããã以äžã®æé ã«åŸã£ãŠãåäžã®ç»åãéé²ããŠã衚瀺ããŸãã
1. ãã¡ã€ã«âç»åãéé²ãéžæããŸã
2. éé²é¢æ°ãªã¹ãã«ããç»åãéé²ãã¯ãªãã¯ããŸãã
3. é©åãªããã€ã¹ããã³ãã£ã³ãã«ãŸãã¯ããŒããéžæããŸãã
4. åäžç»åã®éé²ãã¿ã³ãã¯ãªãã¯ããŠãç»åéé²ããã€ã¹ã§åäžã®ç»
åãéé²ããŠããã®ç»åã衚瀺ããŸãã
5. ç»åãç»åãã©ãŠã¶ã«éãã«ã¯ãéé²ç»åãç»åãã©ãŠã¶ã«æ ŒçŽãã¿
ã³ãã¯ãªãã¯ããŸãã
第 2 ç« Vision Assistant ç»ååŠçå ¥é
© National Instruments Corporation 2-9 NI Vision Assistant ãã¥ãŒããªã¢ã«
6. éãããã¯ãªãã¯ããŠãèšå®ãŠã£ã³ããŠãçµäºããŸãã
7. Vision Assistant ã®ä»ã®ç»åãšåæ§ã«ãç»åãåŠçããŸãã Vision Assistant ã§ç»åãåŠçããäŸã«ã€ããŠã¯ããã®ãã¥ãŒããªã¢
ã«ã®ä»ã®ç« ãåç §ããŠãã ããã
ç»åãã°ã©ããã以äžã®æé ã«åŸã£ãŠãé£ç¶ããç»åã®ã»ãããéé²ããŠã衚瀺ããŸãã
1. ãã¡ã€ã«âç»åãéé²ãéžæããŸãã
2. éé²é¢æ°ãªã¹ãã§ç»åãéé²ãã¯ãªãã¯ããŸãã
3. é©åãªããã€ã¹ãšãã£ã³ãã«ãŸãã¯ããŒããéžæããŸãã
4. é£ç¶ç»åã®éé²ãã¿ã³ãã¯ãªãã¯ããŠãç»åãæé«ã¬ãŒãã§é£ç¶ã¢ãŒ
ãéé²ããŠã衚瀺ããŸãã
5. éé²ãåæ¢ããæåŸã«éé²ããç»åã衚瀺ããã«ã¯ãé£ç¶ç»åã®éé²
ãã¿ã³ãããäžåºŠã¯ãªãã¯ããŸãã
ãã³ã ãã«ãµã€ãºç»åå ã®é¢å¿é åïŒROIïŒãéé²ããããšãã§ããŸãã ç»åãã°ã©ã
ããªããç»åäžã« ROI ãæç»ããå Žåãç»å㯠ROI ã«çž®å°ãããŸãã å¥ã®é¢å¿
é åãéžæããŠãéé²ãããé åãä¿®æŽããããç»åãã¯ãªãã¯ããŠããã«ãµ
ã€ãºã®ç»åã«æ»ããŸãã
6. éé²ç»åãç»åãã©ãŠã¶ã«æ ŒçŽãã¿ã³ãã¯ãªãã¯ããŠãç»åãç»åã
ã©ãŠã¶ã«éä¿¡ããŸãã
7. éãããã¯ãªãã¯ããŠãèšå®ãŠã£ã³ããŠãçµäºããŸãã
8. Vision Assistant ã®ä»ã®ç»åãšåæ§ã«ãç»åãåŠçããŸãã Vision Assistant ã§ç»åãåŠçããäŸã«ã€ããŠã¯ããã®ãã¥ãŒããªã¢
ã«ã®ä»ã®ç« ãåç §ããŠãã ããã
ç»åã®ã·ãŒã±ã³ã¹ãéé²ãã以äžã®æé ã«åŸã£ãŠãç»åã®ã·ãŒã±ã³ã¹ãéé²ããŠãç»åãç»åãã©ãŠã¶
ã«éä¿¡ããŸãã
1. ãã¡ã€ã«âç»åãéé²ãã¯ãªãã¯ããŸãã
2. éé²é¢æ°ãªã¹ãã§ç»åãéé²ãã¯ãªãã¯ããŸãã
3. é©åãªããã€ã¹ãšãã£ã³ãã«ãŸãã¯ããŒããéžæããŸãã
4. ã·ãŒã±ã³ã¹éé²ãã¿ã³ãã¯ãªãã¯ããŸãã
5. ã·ãŒã±ã³ã¹éé²ãŠã£ã¶ãŒãã§ããããã£ãèšå®ããŸãã
⢠ãã¬ãŒã æ°âéé²ãããã¬ãŒã ã®æ°ã
⢠ã¹ãããã«ãŠã³ãâéé²ã®åéã§é€å€ããããã¬ãŒã ã®æ°ã
⢠ã©ã€ã³âç©çããªã¬ã©ã€ã³
第 2 ç« Vision Assistant ç»ååŠçå ¥é
NI Vision Assistant ãã¥ãŒããªã¢ã« 2-10 ni.com/jp
⢠åäœâããªã¬ã®åäœã æå¹å€ã«ã¯ãç¡å¹ãéé²éå§ãããªã¬ãã
ãã³åç»åãããªã¬ããããŸãã
⢠ã¿ã€ã ã¢ãŠãâããªã¬ãçºçããã¹ãæéæ ã®é·ãïŒããªç§ïŒã
⢠極æ§âç«ã¡äžãããšããžãšç«ã¡äžããšããžã®ã©ã¡ãã§éé²ãããª
ã¬ããããå€æããŸãã
6. éé²ãçµäºããã«ã¯ã次ãžã 2 åã¯ãªãã¯ããŠããçµäºãã¯ãªãã¯
ããŸãã
ããªã¬ã®ã¢ã¯ã·ã§ã³ããããã£ãç¡å¹ã«èšå®ãå Žåã次ãžãã¯ãªãã¯
ããŠç»åã·ãŒã±ã³ã¹ã®éé²ãéå§ããŸãã éé²ãããç»åã¯ãç»åãã©ãŠã¶ã«èªåçã«è»¢éãããŸãã
7. éãããã¯ãªãã¯ããŠãèšå®ãŠã£ã³ããŠãçµäºããŸãã
8. Vision Assistant ã®ä»ã®ç»åãšåæ§ã«ãç»åãåŠçããŸãã Vision Assistant ã§ç»åãåŠçããäŸã«ã€ããŠã¯ããã®ãã¥ãŒããªã¢
ã«ã®ä»ã®ç« ãåç §ããŠãã ããã
© National Instruments Corporation 3-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
3ç²å解æã䜿çšããéå±æ§é 解æ
æ¬ç« ã§ã¯ãç²å解æã®æŠèŠãšãVision Assistant ã§ç²å解æã¢ããªã±ãŒ
ã·ã§ã³ã®ãããã¿ã€ããäœæããæé ã説æããŸãã
ã¡ã¢ ãã®ãã¥ãŒããªã¢ã«ã®äžéšã®æäœãå®äºããã«ã¯ãMicrosoft Excel ãã€ã³ã¹
ããŒã«ãããŠããå¿ èŠããããŸãã
ç²å解æãšã¯
ç²å解æã¯ãäžé£ã®åŠçæäœãšç»åå ã®ç²åã«é¢ããç¹å®ã®æ å ±ãçæã
ã解æé¢æ°ã§æ§æãããŸãã ç²åãšã¯ã0 以å€ã®ãã¯ã»ã«ã®é£ç¶ããé å
ã§ãã ç»åãèæ¯ãšåæ¯ã« 2 å€åããããšã§ãç²åãã°ã¬ãŒã¹ã±ãŒã«ç»å
ããæœåºããããšãã§ããŸãã 0 ã®å€ã®ãã¯ã»ã«ã¯èæ¯ã0 以å€ã®å€ã®ã
ã¯ã»ã«ã®ãã¹ãŠã¯åæ¯ã«ãããŸãã ãã€ããªç»åã§ã¯ãèæ¯ã®ãã¯ã»ã«ã®
å€ã¯ 0ãå€ã 0 以å€ã®ãã¯ã»ã«ã¯ãã€ããªãªããžã§ã¯ãã®äžéšã§ãã
ç²å解æã䜿çšããŠãç»åå ã§ãã¯ã»ã«ã®é£çµããé åãŸãã¯ãã¯ã»ã«ã®
éåäœãæ€åºãããããã®é åã«å¯ŸããŠéžæãã枬å®ãè¡ããŸãã ç²å解
æã䜿çšãããšãç»åå ã«ããä»»æã® 2 次å 圢ç¶ãæ€åºã解æããããš
ãã§ããŸãã ãã®æ å ±ã䜿çšããŠãéšåã®åœ¢ç¶ãŸãã¯æ¹åã®å·®ç°ã倧ãã
å Žåãã·ãªã³ã³ãŠãšãäžã®æ¬ é¥ãæ€åºãããé»åçäžã®ã¯ãã ä»ãã®æ¬ é¥
ãæ€åºããããŸãã¯ã¢ãŒã·ã§ã³å¶åŸ¡ã¢ããªã±ãŒã·ã§ã³ã§ãªããžã§ã¯ããæ€
åºãããªã©ã®æäœãè¡ãããšãã§ããŸãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
NI Vision Assistant ãã¥ãŒããªã¢ã« 3-2 ni.com/jp
ãã¥ãŒããªã¢ã«
ãã®ãã¥ãŒããªã¢ã«ã§ã¯ãéå±ã®å圢ç²åã®é¢ç©ãæ±ããŸãã ãã®è§£æã
å®è¡ããéãVision Assistant ã¯ãã¹ãŠã®åŠçæäœããã³ã¹ã¯ãªããã®ã
ã©ã¡ãŒã¿ãèšé²ããŸãã ãã®ã¹ã¯ãªãããä»ã®ç»åã«å¯ŸããŠå®è¡ããŠãç²
å解æã®ã¢ã«ãŽãªãºã ããã¹ãããŸãã
å圢ç²åã®å šé¢ç©ãæ±ããã«ã¯ã以äžã®ç»ååŠçãå®è¡ããŠãã ããã
⢠ç»åããã£ã«ã¿åŠçããŠããšããžãé®®éåããŠãèæ¯ããç²åãåé¢
ããæäœãç°¡çŽ åããŸãã
⢠ç»åã 2 å€åããé©åãªç²åã«åé¢ããŸãã
⢠2 å€åã«ãã£ãŠç²åã«è¡šããç©ŽãåããŸãã
⢠äžå®å šãªç²åãåé€ããããã«ãç»åã®çžã«æ¥è§ŠããŠãããªããžã§ã¯
ããåé€ããŸãã
⢠ç²åãã£ã«ã¿ã䜿çšããŠãå圢ç²åãæ€åºããŠãéå圢ç²åãåé€ã
ãŸãã
⢠ç²å解æãå®è¡ããŠãå圢ç²åãå ããç·é¢ç©ãæ€åºããŸãã
Vision Assistant ã«ç»åãããŒããã1. Vision Assistant ããã§ã«èµ·åäžã§ããå Žåã ããŒã«ããŒã®ç»åãé
ããã¿ã³ãã¯ãªãã¯ããŠãã¹ããã 4 ã«é²ã¿ãŸããããã§ãªãå Žåã
ã¹ããã 2 ã«é²ã¿ãŸãã
2. ã¹ã¿ãŒãâãã¹ãŠã®ããã°ã©ã â National Instruments Vision Assistant ãéžæããŸãã
3. ããããã®ç»é¢ã§ç»åãéããã¿ã³ãã¯ãªãã¯ããŸãã
4. <Vision Assistant>Â¥ExamplesÂ¥metalã«ç§»åããŸããããã§ã
<Vision Assistant>㯠Vision Assistant ãã€ã³ã¹ããŒã«ãããå Ž
æã瀺ããŸãã
5. ãã¹ãŠã®ãã¡ã€ã«ãéžæãã§ãã¯ããã¯ã¹ããªã³ã«ããŸãã
ãã³ã ç»åã®ãã¬ãã¥ãŒãŠã£ã³ããŠã«ã¯ããã¹ãŠã®éžæãããç»åã¯é ãè¿œã£ãŠè¡šç€º
ãããŸãã ç°ãªãã¬ãŒãã§ç»åãåç §ããã«ã¯ãç»åã®ãã¬ãã¥ãŒãŠã£ã³ããŠã®
å³ã®é床ã¹ã©ã€ãã調ç¯ããŸãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
© National Instruments Corporation 3-3 NI Vision Assistant ãã¥ãŒããªã¢ã«
6. éããã¯ãªãã¯ããŸãã Vision Assistant ã¯ãé¡åŸ®é¡ã䜿çšããŠèŠã
ã®ãšåããããªéå±çãè¡šãç»åãã¡ã€ã«ãããŒãããŸãã æåã®ç»
åïŒMetal1.jpgïŒãåŠçãŠã£ã³ããŠã«ããŒããããŸãã
ç²å解æçšã«ç»åãæºåããå圢ç²åãéå圢ç²åããåé¢ããåã«ãç»åãæºåããå¿ èŠããããŸ
ãã éžæããç²åãåé¢ããã«ã¯ãåã ã®ç²åãã®ã£ããã§åé¢ãããã
ããã®ç²åã®å¢çç·ãæ確ã§ããããšãæ€èšŒããŸãã
ç»åãåæããåŠçãŠã£ã³ããŠã®ç»åã泚æããŠåç §ããŠãã ããã ç»åã¯ããäžæç
ã§ãç²åã®ãšããžãæ確ã§ã¯ãããŸããã ãããã®åé¡ç¹ã¯ãç»åãåç §
ãããšç¢ºèªã§ããŸããã䌌ããããªç¶æ³äžã§ã©ã€ã³ãããã¡ã€ã«ã䜿çšã
ãå¿ èŠãããå ŽåããããŸãã ã©ã€ã³ãããã¡ã€ã«ã¯ãã©ã€ã³ããŒã«ã§æ
ç»ããã©ã€ã³äžã®ã°ã¬ãŒã¹ã±ãŒã«å€ãè¿ããŸãã
以äžã®æé ã«åŸã£ãŠããšããžãã©ã€ã³ãããã¡ã€ã«ã§æ€æ»ããŸãã
1. ã¹ã¯ãªãããŠã£ã³ããŠã«ãã§ã«ã¹ã¯ãªãããå«ãŸããŠããå Žåãæ°èŠ
ã¹ã¯ãªãããã¯ãªãã¯ããŠãæ°èŠã¹ã¯ãªãããéããŸãã ãã以å€ã®
å Žåã¯ãã¹ããã 2 ãžé²ã¿ãŸãã
2. åŠçé¢æ°ãã¬ããã®ç»åã¿ãã«ããã©ã€ã³ãããã¡ã€ã«ãã¯ãªãã¯ã
ãããç»åâã©ã€ã³ãããã¡ã€ã«ãéžæããŠãèšå®ãŠã£ã³ããŠãéã
ãŸãã ããŒã«ããŒã®ã©ã€ã³ããŒã«ãèªåçã«éžæãããŠæå¹ã«ãªããŸ
ãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
NI Vision Assistant ãã¥ãŒããªã¢ã« 3-4 ni.com/jp
3. å³ 3-1 ã®ããã«ãç²åã®çäžãéãçãã©ã€ã³ãåŒããŸãã
ãã³ã ROIïŒé¢å¿é åïŒã¯ãæèäŸåã§ãç»åå ã®é¢å¿é åã®å Žæãäžå¿ç¹ã®äœçœ®ãç°¡
åã«èª¿ç¯ããããšãã§ããŸãã ãŸããããŒããŒãäžã®ç¢å°ããŒã䜿çšããŠãç»å
å ã® ROI ã®äœçœ®ã調æŽããããšãã§ããŸãã
å³ 3-1 ã©ã€ã³ãããã¡ã€ã«ã䜿çšããŠãšããžã確èªãã
å³ 3-1 ã® 1 ã¯ãç²åã®ãšããžãè¡šããŸãã ç²åã®ãšããžã«åŸæããã
ããšã«æ³šç®ããŠãã ããã åŸæãç©ãããªã»ã©ããšããžã®æ£ç¢ºãªäœçœ®
ãæ€åºããçµæã®å·®ç°ã倧ãããªããŸãã ç»åå ã®ãããå€ã¬ãã«ã
ç©ãããªåŸæã®ç²åãšããžã§å€æŽããå Žåãç²åã®åœ¢ç¶ãŸãã¯ãµã€ãº
ã誀ã£ãŠå€æŽããå¯èœæ§ããããŸãã æ¬ç« ã®ã»ã¯ã·ã§ã³ãç»åããã£
ã«ã¿åŠçãããã§ã¯ãåŠçé¢æ°ãã¬ããã®ã°ã¬ãŒã¹ã±ãŒã«ã¿ãã®ãã£
ã«ã¿ã«ããã³ã³ããªã¥ãŒã·ã§ã³ - 詳现ã®ãã€ã©ã€ããã£ã«ã¿ã䜿çšã
ãŠãç²åã®ãšããžãå®çŸ©ããŠãåŸæãå¢å ãããŸãã
1 ç²åã®ãšããž
2 ãã¯ã»ã«å€ã®å€åã瀺ãã°ã©ããŸãã¯ãããã¡ã€ã«3 ã©ã€ã³ããŒã«ã§æç»ãããç·å
3
1
2
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
© National Instruments Corporation 3-5 NI Vision Assistant ãã¥ãŒããªã¢ã«
å³ 3-1 㧠2 ãšã©ãã«ä»ããããé åã¯ããã¯ã»ã«å€ã®å€åã瀺ããŸ
ããããã¯ãç²åã®äžå¿ã«ãããã¯ã»ã«ãããæããã£ããæãã£ã
ãããå Žåããç²åå ã«ç©Žãããå Žåã«èµ·ãããŸãã åŸã§ç»åã 2 å€
åããŠãç²åå ã®ãã¯ã»ã«ã®ãã¹ãŠãåããã¯ã»ã«å€ã«ããŠã次ã«ã
ã®ç»åã«å¯ŸããŠã¢ãã©ããžãŒæäœãå®è¡ããŠãç²åå ã®ç©Žã®ãã¹ãŠã
åããŸãã
4. ãã£ã³ã»ã«ãã¯ãªãã¯ããŸãã ã©ã€ã³ãããã¡ã€ã«ã®ã¹ããããã¹ã¯
ãªããã«è¿œå ããå¿ èŠã¯ãããŸãããããã¯ãæ€æ»ãç 究ã®ããã«è¡
ããŸãã
ç»åããã£ã«ã¿åŠçãããã£ã«ã¿åŠçã¯ãå¿ èŠãªæ å ±ãæœåºã§ããããã«ãç»åã®å¹³æ»åãé®®é
åãå€åœ¢ããã€ãºé€å»ãè¡ãããšãå¯èœã§ãã ç²åå ã®ç©Žãå«ããšããžã
é®®éåããŠãç²åãšèæ¯éã«ã³ã³ãã©ã¹ããæãããã«ã¯ã以äžã®æé ã«
åŸã£ãŠãã ããã
1. åŠçé¢æ°ãã¬ããã®ã°ã¬ãŒã¹ã±ãŒã«ã¿ãã«ãããã£ã«ã¿ãã¯ãªãã¯ã
ãããã°ã¬ãŒã¹ã±ãŒã«âãã£ã«ã¿ãéžæããŸãã
2. ã¹ãããåã³ã³ãããŒã«ã«ã詳现ããã€ã©ã€ãããšå ¥åããŸãã
3. ãã£ã«ã¿ãªã¹ãããã³ã³ããªã¥ãŒã·ã§ã³ - 詳现ã®ãã€ã©ã€ããéžæã
ãŸãã ãã®é¢æ°ã¯ãé®®éãªé·ç§»ãæ€åºããŠãã«ãŒãã«ã«åŸã£ãŠããšã
ãžãã¯ã»ã«ããã€ã©ã€ãããŠãã®ã£ãããããæ確ã«ããŸãã ã«ãŒã
ã«ã¯ããã¯ã»ã«ãšãã®è¿æ¥ãã¯ã»ã«ãšã®é¢ä¿ãè¡šãæ§é ã§ãã ã«ãŒã
ã«ã«ã€ããŠã®è©³çŽ°ã¯ããNI Vision ã³ã³ã»ããããã¥ã¢ã«ãã®ç¬¬ 5 ç«
ãç»ååŠçããåç §ããŠãã ããã
4. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
NI Vision Assistant ãã¥ãŒããªã¢ã« 3-6 ni.com/jp
ãã£ã«ã¿åŠçã®åºåçµæã調æ»ãããã£ã«ã¿ããšããžãé®®éåããŠãç²åãåé¢ããããšã確èªããã«ã¯ã以
äžã®æé ã«åŸã£ãŠãããäžåºŠã©ã€ã³ãããã¡ã€ã«ãå®è¡ããŸãã
1. åŠçé¢æ°ãã¬ããã®ç»åã¿ãã«ããã©ã€ã³ãããã¡ã€ã«ãã¯ãªãã¯ã
ãããç»åâã©ã€ã³ãããã¡ã€ã«ãéžæããŸãã
2. å³ 3-2 ã«ç€ºãããã«ãç²åãšãã®å¢çã®ã©ã€ã³ãããã¡ã€ã«ãæ€èšã
ããããã¯ãªãã¯ããã©ãã°ããŠç²åã®çäžãéãçãç·åãåŒããŸ
ããã©ã€ã³ãããã¡ã€ã«ã¯ããé®®æãªãšããžã瀺ããŸãã
3. ãã£ã³ã»ã«ãã¯ãªãã¯ããŸãã
å³ 3-2 ã©ã€ã³ãããã¡ã€ã«ã䜿çšããŠç²åã®ãšããžã確èªãã
2 å€åã«ãã£ãŠç²åãèæ¯ããåé¢ãã2 å€åã¯ãéžæãããã¯ã»ã«ãåé¢ããŠãæ®ãã®ãã¯ã»ã«ãèæ¯ãã¯ã»ã«
ãšããŠèšå®ããŸãã ãŸãã2 å€åã¯ãã°ã¬ãŒã¹ã±ãŒã«ãããã€ããªã«ç»å
ãå€æããŸãã
1 ã©ã€ã³ããŒã«ã§æç»ãããç·å
1
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
© National Instruments Corporation 3-7 NI Vision Assistant ãã¥ãŒããªã¢ã«
以äžã®æé ã«åŸã£ãŠã解æçšã«ããæãããã¯ã»ã«å€ã®ç¯å²ãéžæããŸãã
1. åŠçé¢æ°ãã¬ããã®ã°ã¬ãŒã¹ã±ãŒã«ã¿ãã«ãã 2 å€åãéžæãããã
ã°ã¬ãŒã¹ã±ãŒã«â 2 å€åãã¯ãªãã¯ããŸãã
2 å€åèšå®ãŠã£ã³ããŠã¯ãã¹ãã°ã©ã ã衚瀺ããŸãã ãã¹ãã°ã©ã
ã¯ãåã°ã¬ãŒã¹ã±ãŒã«å€ã®ãã¯ã»ã«ã®ç·æ°ãã«ãŠã³ãããŠã°ã©ãåã
ãŸãã ã°ã©ããåç §ãããšãç»åã«ç¹å®ã®ã°ã¬ãŒã¹ã±ãŒã«å€ã®åºæãª
é åãå«ãŸããŠãããã確èªã§ããŸãã ãŸããç»åã®ãã¯ã»ã«é åã
éžæããããšãã§ããŸãã
2. ãã®ç»åã 2 å€åããã«ã¯ãæå°å€ã 130ã«èšå®ããŸãã
åŠç察象ã®ç²åïŒå圢ãšéå圢ïŒã¯èµ€ã§ãã€ã©ã€ããããŠããããšã«
泚ç®ããŠãã ããã 2 å€åãé©çšãããšããã€ã©ã€ããããŠãããã¯
ã»ã«ã¯ 1ããã®ä»ã®ãã¯ã»ã«ã¯ 0 ã«èšå®ãããŸãã
ãã³ã æå°å€ãã£ãŒã«ãã«æ°å€ãå ¥åãã代ããã«ããã¹ãã°ã©ã ã®ãã€ã³ã¿ã䜿çš
ããŠå€ãéžæããããšãã§ããŸãã ãã€ã³ã¿ã調æŽããŠãéžæãããªããžã§ã¯ã
ãèµ€ã§ãã€ã©ã€ãããŸãã
3. ã¡ã€ã³ã¿ããã¯ãªãã¯ããŸãã
4. ã¹ãããåã³ã³ãããŒã«ã«ã2 å€åç»åããšå ¥åããŸãã
5. OK ãã¯ãªãã¯ã㊠2 å€åãé©çšããŠããã®ã¹ããããã¹ã¯ãªããã«
è¿œå ããŸãã å³ 3-3 ã¯ããã€ããªç»åã瀺ããŠããŸãã åŠççšã«éžæ
ãããã¯ã»ã«ã¯ãèµ€ã§è¡šç€ºãããŸãã éžæãããŠããªããã¯ã»ã«ã¯ã
é»ã§è¡šç€ºãããŸãã
ãã®æç¹ã§ç»åã¯ã0 ãš 1 ã®å€ãå«ããã¯ã»ã«ã§æ§æããããã€ããª
ç»åã«ãªããŸãããã®ç»åã¯ãç»åã®ãã¯ã»ã«èŒåºŠãç¹æã®è²ã§è¡šã
ãã€ããªãã¬ããã䜿çšããŠè¡šç€ºãããŸãã 0 ã®å€ã®ãã¯ã»ã«ã¯é»ã§
衚瀺ããã1 ã«èšå®ããããã¯ã»ã«ã¯èµ€ã衚瀺ãããŸãã ãã®æç¹ã§
èµ€ããã¯ã»ã«ã¯ç²åãšããŠã¿ãªãããŸãã
å³ 3-3 2 å€åã«ããç²åãšèæ¯ãåé¢ãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
NI Vision Assistant ãã¥ãŒããªã¢ã« 3-8 ni.com/jp
ã¢ãã©ããžãŒé¢æ°ã§ç²åãä¿®æ£ããã¢ãã©ããžãŒé¢æ°ã¯ãåã ã®ã¬ãã«ã§ç²åã®åœ¢ç¶ã«åœ±é¿ããŸãã ã¢ãã©ã
ãžãŒæäœã¯ãé¢ç©ãå€åšããŸãã¯æ¹åãæ€åºãããªã©ãå®éåæçšã«ç»å
å ã®ç²åãæºåããŸãã
以äžã®æé ã«åŸã£ãŠã2 ã€ã®ã¢ãã©ããžâé¢æ°ãç»åã«é©çšããŸãã æå
ã®é¢æ°ã¯ç²åã®ç©Žãåãã2 çªç®ã®é¢æ°ã¯ç»åã®çžã«æ¥è§ŠããŠãããªã
ãžã§ã¯ããåé€ããŸãã
1. åŠçé¢æ°ãã¬ããäžã® ãã€ããªã¿ãã«ããäžçŽã¢ãã©ããžãŒãã¯
ãªãã¯ãããããã€ããªâäžçŽ ã¢ãã©ããžãŒãéžæããŸãã
2. ã¹ãããåã³ã³ãããŒã«ã«ãç©Žåãããšå ¥åããŸãã
3. ãªã¹ããããç©ŽåããéžæããŸãã
4. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã
5. äžçŽ ãã€ããªã¿ãã«ããäžçŽã¢ãã©ããžãŒãã¯ãªãã¯ãããããã€
ããªâäžçŽ ã¢ãã©ããžãŒãéžæããŸãã
6. ã¹ãããåã³ã³ãããŒã«ã«ãçžã«ãããªããžã§ã¯ããåé€ããšå ¥åã
ãŸãã
7. çžã«ãããªããžã§ã¯ããåé€ãéžæããŠãç»åã®çžã«æ¥è§ŠããŠãããª
ããžã§ã¯ããåé€ããŸãã 2 å€åãç»åã«é©çšããåŸãç»åãã©ã®ã
ãã«è¡šç€ºããããã確èªããã«ã¯ãå³ 3-4 ãåç §ããŠãã ããã
8. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã
å³ 3-4 ã¢ãã©ããžãŒé¢æ°ã§ç²åãå€æŽãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
© National Instruments Corporation 3-9 NI Vision Assistant ãã¥ãŒããªã¢ã«
å圢ç²åãåé¢ãã以äžã®æé ã«åŸã£ãŠãå圢ç²åãåé¢ããŠç¶æããéå圢ç²åãç»åãã
åãé€ãç²åãã£ã«ã¿ãå®çŸ©ããŸãã
1. åŠçé¢æ°ãã¬ããã®ãã€ããªã¿ãã«ããç²åãã£ã«ã¿ãéžæãããã
ãã€ããªâç²åãã£ã«ã¿ãã¯ãªãã¯ããŸãã
2. ã¹ãããåã³ã³ãããŒã«ã«ãå圢ç²åããã£ã«ã¿ããšå ¥åããŸãã
3. ç²åãã£ã«ã¿ã®ãªã¹ããããã€ãŠããå圢èŠå ãéžæããŸãã ãã®é¢
æ°ã¯ãç²åã®å€åšé¢ç©ãšåãé¢ç©ã®ååšã®æ¯çãèšç®ããŸãã ç²åã
å圢ã«è¿ãã»ã©ã1 ã«è¿ãæ¯çã«ãªããŸãã
4. å圢ã«ããè¿ãæ¥å圢ããããé ãç²åãèŠã€ãããããæå°å€ã 0
ããã³æ倧å€ã 1.06ãšããŠãã©ã¡ãŒã¿ç¯å²ã«å ¥åããŸãã
5. ä¿æãªãã·ã§ã³ãéžæããŠãå圢ç²åãç¶æããŠãç¯å²å€ã®ç²åãå
é€ããŸãã
6. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã ãã®
æç¹ã§ãå³ 3-5 ã«ç€ºãããã«ãç»åã«å圢ç²åã®ã¿å«ãŸããŸãã
å³ 3-5 å圢ç²åãåé¢ãã
å圢ç²åã解æããããã§ãå圢ç²åãåé¢ã§ããã®ã§ã以äžã®æé ã«åŸã£ãŠãç²åã®é¢ç©ã
æ€åºããŠãã ããã
1. åŠçé¢æ°ãã¬ããã®ãã€ããªã¿ãã«ããç²å解æãéžæãããããã€
ããªâç²å解æãã¯ãªãã¯ããŸãã åºåçµæè¡šã«ãã¹ãŠã®æž¬å®çµæã
衚瀺ãããŸãã
Vision Assistant ã§ã¯ãåç²åã«å¯ŸããŠæ°å€ã©ãã«ãå²ãåœãŠãããŸ
ãã åºåçµæè¡šã®æåã®è¡ã¯ãåç²åã«é¢ããæ°å€ã©ãã«ã瀺ããŸ
ãã
2. ã¹ãããåã³ã³ãããŒã«ã«ãç²å解æããšå ¥åããŸãã
3. ã©ãã«ã®è¡šç€ºãã§ãã¯ããã¯ã¹ããªã³ã«ããŠãã©ãã«ã衚瀺ããŸãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
NI Vision Assistant ãã¥ãŒããªã¢ã« 3-10 ni.com/jp
ãã³ã ç²åãã¯ãªãã¯ãããšããã®ç²å枬å®ã®çµæãéããã€ã©ã€ããããŸãã ç²å枬
å®ã®çµæãã¯ãªãã¯ãããšãç²åã¯åŠçãŠã£ã³ããŠã§ç·è²ã®åè§ã«ãã£ãŠå²ãŸ
ããŸãã
4. ç¯å²æž¬å®ã®ã¿ã衚瀺ããã«ã¯ãèšæž¬ãéžæãã¯ãªãã¯ããŸãã
5. ãã¯ã»ã«èšæž¬ããã¹ãŠè§£é€ãããã¿ã³ãã¯ãªãã¯ããŠãéžæãããŠã
ã枬å®ããã¹ãŠè§£é€ããŸãã ç»åã¯ãã£ãªãã¬ãŒããããªããããå®
äžçã®æž¬å®å€ã¯ã°ã¬ãŒã¢ãŠããããŸãã
6. é¢ç©æž¬å®ã®æšªã®ãã¯ã»ã«å¶åŸ¡åšãéžæããŸãã
7. OK ãã¯ãªãã¯ããèšæž¬ãéžæãã€ã¢ãã°ããã¯ã¹ãéããŸãã
ããã§ãéå±æ§é ã®è§£æã«å¿ èŠãªãã¹ãŠã®æ å ±ãååŸã§ããŸããã LabVIEWãLabWindows/CVIããŸã㯠Visual Basic ãœãªã¥ãŒã·ã§
ã³ãšããŠã解æãå«ããããã«ããŠãã ããã Vision Assistant ã«ãã£ãŠçæãããããŒã¿ã¯ãMicrosoft Excel ã䜿çšããŠè§£æããã
ãšãã§ããŸãã
ããŒã¿ã Microsoft Excel ã«éä¿¡ããã«ã¯ãç²å解æçµæãŠã£ã³ããŠ
ã®çµæã Excel ãžéä¿¡ãã¿ã³ãã¯ãªãã¯ããŸãã
8. OK ãã¯ãªãã¯ããŠç²å解æãèšé²ããŠããã®ã¹ããããã¹ã¯ãªãã
ã«è¿œå ããŸãã
ç²å解æã¹ã¯ãªããããã¹ããããã®ç»åãåŠçããéäœæããã¹ã¯ãªããã¯ãã«ã¹ã¿ã ã¢ã«ãŽãªãºã ã§
ãã ãã®ã¢ã«ãŽãªãºã ããã¹ãããã«ã¯ã以äžã®æé ã«åŸã£ãŠãç»åã®
ã»ããã«ããå¥ã®ç»åã«å¯ŸããŠã¹ã¯ãªãããå®è¡ããŸãã
1. ç»åãåç §ãã¯ãªãã¯ããŸãã
2. 3 çªç®ã®ç»åã® Metal3.jpgãããã«ã¯ãªãã¯ããŸãã
ãã³ã ç»åãã©ãŠã¶ã«æ»ã代ããã«ãåç §ãŠã£ã³ããŠããç»åãã©ãŠã¶å ã®ç»åéã
移åããããšãã§ããŸãã åŠçããç»åã衚瀺ããããŸã§ã次ã®ç»åãã¿ã³ãŸã
ã¯åã®ç»åãã¿ã³ãã¯ãªãã¯ããŠã次ã«ç»åãã¢ã¯ãã£ãåãããã¿ã³ãã¯
ãªãã¯ãããšããã®ç»åãåŠçãŠã£ã³ããŠã«ç§»åãããããšãã§ããŸãã
3. 1 åå®è¡ãã¿ã³ãã¯ãªãã¯ããŸãã
å³ 3-6 ã¯ãMetal3.jpgã®å ã®ç»åã瀺ããŸãã å³ 3-6b ã¯ãç²å解
æåŠçåŸã®ç»åã§ãã 2 ã€ã®å圢ç²åãæ¥è§ŠããŠãããããåŠçäžã«
ç»åããåé€ãããããšã«æ³šç®ããŠãã ããã ç²åãåé¢ããã«ã¯ã
2 å€åã¹ãããã調æŽããå¿ èŠããããŸãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
© National Instruments Corporation 3-11 NI Vision Assistant ãã¥ãŒããªã¢ã«
å³ 3-6 å ã®ç»åãšåŠçæžã¿ã®ç»åã®æ¯èŒ
4. OK ãã¯ãªãã¯ããŠãç²å解æèšå®ãŠã£ã³ããŠãéããŸãã
5. ã¹ã¯ãªãããŠã£ã³ããŠã® 2 å€åã¹ããããããã«ã¯ãªãã¯ããŠã2 å€
åèšå®ãŠã£ã³ããŠãéããŸãã å³ 3-7 ã¯ãã¹ã¯ãªããã® 2 å€åã¹ãã
ãã§ã® Metal3.jpgã§ãã
å³ 3-7 ç²å解æã¹ã¯ãªããããã¹ããã
6. ç²åãæ確ã«åé¢ãããŸã§ã2 å€åã調æŽããŸãã 150 ã®æå°å€ã§é©
åã«å®è¡ãããŸãã
7. OK ãã¯ãªãã¯ããŸãã
1 éè€ããå圢ç²å
a. b.
1
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
NI Vision Assistant ãã¥ãŒããªã¢ã« 3-12 ni.com/jp
8. 1 åå®è¡ãã¯ãªãã¯ããŠãã¹ã¯ãªãããå床å®è¡ããŸãã çŸåšãå圢
ç²åã®ã¿æçµçã«åŠçãããç»åã«è¡šç€ºãããŠããããšã«æ³šç®ããŠã
ã ããã
9. OK ãã¯ãªãã¯ããŠãç²å解æèšå®ãŠã£ã³ããŠãéããŸãã
ç²å解æã¹ã¯ãªãããä¿åããããã§ãç²å解æã¢ã«ãŽãªãºã ã®äœæãšå¥ã®ç»åã«å¯Ÿãããã¹ããçµäºã
ãã®ã§ãã¹ã¯ãªãããä¿åããŠãé¡äŒŒããç»åã«å¯ŸããŠäœ¿çšããããã«ã¹
ã¯ãªãããä¿åã§ããŸãã ãŸãããã®ã¹ã¯ãªããã§ãããåŠçãè¡ãããš
ãã§ããŸãã
1. ãã¡ã€ã«âã¹ã¯ãªãããå¥åã§ä¿åãéžæããŸãã
2. ã¹ã¯ãªããã particle analysis.scrãšããååã§ä¿åããŸãã
Vision Assistant ã®ãããåŠçæ©èœã®è©³çŽ°ã¯ããNI Vision Assistant ãã«
ã ããåç §ããŠãã ããã
åŠçæéãæšå®ããVision Assistant ã§ã¯ãNI Vision ã䜿çšããŠçŸåšã®ç»åãéããã¹ã¯ãªã
ãã§åŠçããã®ã«èŠããæéïŒããªç§ïŒãæšå®ããããšãã§ããŸãã ããã©ãŒãã³ã¹ã¡ãŒã¿ã¯ãNI Vision ãç»åãåŠçããã®ã«èŠããåèšæé
ãšã¹ã¯ãªããå ã®åé¢æ°ãå¿ èŠãšããæéã®äž¡æ¹ãæšå®ããŸãã 以äžã®æ
é ã«åŸã£ãŠãNI Vision ã particle analysis.scr㧠Metal3.jpgãåŠ
çããã®ã«ãããæéãããªç§ã§æšå®ããŸãã
1. ããŒã«âããã©ãŒãã³ã¹ã¡ãŒã¿ãéžæããŸãã NI Vision ãã¹ã¯ãªã
ããå®è¡ããã®ã«èŠããåèšæéãããã©ãŒãã³ã¹ã¡ãŒã¿ã§æšå®ããŸ
ãã
2. 詳现ãã¯ãªãã¯ããŠãNI Vision ãã¹ã¯ãªããã®åé¢æ°ãå®è¡ããã®
ã«ãããæéã®é ç®å¥ãªã¹ãã衚瀺ããŸãã
3. OK ãã¯ãªãã¯ããŠãããã©ãŒãã³ã¹ã¡ãŒã¿ãéããŸãã
LabVIEW VI ãäœæããVision Assistant ã«ã¯ãã¹ã¯ãªããã®ç°ãªãã¹ããããå®è¡ãã
LabVIEW VI ãäœæãããŠã£ã¶ãŒãããããŸãã
ã¡ã¢ Vision Assistant LabVIEW VI çæãŠã£ã¶ãŒãã䜿çšããã«ã¯ãLabVIEW 7.1 以
éããã³ NI Vision 8.6 éçºã¢ãžã¥ãŒã«ä»¥éã®ããŒãžã§ã³ãã€ã³ã¹ããŒã«ãããŠ
ããå¿ èŠããããŸãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
© National Instruments Corporation 3-13 NI Vision Assistant ãã¥ãŒããªã¢ã«
LabVIEW VI ãäœæããã«ã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
1. ããŒã«â LabVIEW VI ãäœæãéžæããŸãã
ã¡ã¢ LabVIEW ãš NI Vision ã®è€æ°ã®ããŒãžã§ã³ãã·ã¹ãã ã«ã€ã³ã¹ããŒã«ãããŠã
ãå ŽåããŠã£ã¶ãŒãã¯ãã·ã³ãæ€çŽ¢ããŠãVI ã®äœæã«äœ¿çšå¯èœãª LabVIEW ãš
NI Vision ã®ããŒãžã§ã³ã®ãªã¹ãã衚瀺ããŸãã
2. VI ãäœæãã LabVIEW ã®ããŒãžã§ã³ãéžæããŸãã
3. åç §ãã¿ã³ãã¯ãªãã¯ããŠãVI ãä¿åãããå ŽæãéžæããŸãã
4. ãã¡ã€ã«åãå ¥åããŠãOK ãã¯ãªãã¯ããŸãã
5. 次ãžãã¯ãªãã¯ããŸãã
6. çŸåšã®ã¹ã¯ãªãããéžæãããã®ç« ã§äœæããã¹ã¯ãªãããã VI ãäœæããŸãã
7. 次ãžãã¯ãªãã¯ããŸãã
8. ããŒããã£ã¹ã¯ããç»åãéã VI ãçæããã«ã¯ãç»åãœãŒã¹ãšãª
ãç»åãã¡ã€ã«ãéžæããŸãã
9. çµäºãã¯ãªãã¯ããŠãVI ãçæããŸãã
ã¡ã¢ LabVIEW ãéããŠããå Žåãç°ãªãããŒãžã§ã³ã® LabVIEW çšã« VI ãäœæã
ãããšã¯ã§ããŸãããããšãã°ãLabVIEW 8.0.1 ãèµ·åäžã«ãLabVIEW VI çæãŠã£ã¶ãŒã㧠LabVIEW 8.2 ãéžæããå Žåãçµäºãã¯ãªãã¯ãããšããŠã£
ã¶ãŒãã¯ãšã©ãŒãè¿ããŸãã
C ããã°ã©ã ãäœæããVision Assistant ã«ã¯ãã¹ã¯ãªããã®ããŸããŸãªã¹ããããå®è¡ãã Cã³ãŒããäœæãããŠã£ã¶ãŒãããããŸãã
ã¡ã¢ Vision Assistant C ã³ãŒãäœæãŠã£ã¶ãŒãã䜿çšããã«ã¯ãNI Vision 8.6 éçºã¢
ãžã¥ãŒã«ãã€ã³ã¹ããŒã«ãããŠããå¿ èŠããããŸãã
以äžã®æé ã«åŸã£ãŠãC ããã°ã©ã ãäœæããŸãã
1. Vision Assistant ã¯ãããŒã«â C ã³ãŒããäœæãéžæããŸãã
2. Vision Assistant ã®ã¹ããããå®è¡ããç»ååŠçé¢æ°ãå«ãå®è£ ãã¡
ã€ã«ã®ååãå ¥åããŸãã
第 3 ç« ç²å解æã䜿çšããéå±æ§é 解æ
NI Vision Assistant ãã¥ãŒããªã¢ã« 3-14 ni.com/jp
3. ç»ååŠçé¢æ°ããã¹ãããããã«ãŠã£ã¶ãŒãã§äž»èŠãªé¢æ°ãäœæãã
å Žåãã¡ã€ã³é¢æ°ãäœæãªãã·ã§ã³ãéžæããŸãã
a. ã¡ã€ã³ãã¡ã€ã«åå¶åŸ¡åšã®æ°èŠ C ãã¡ã€ã«ã«ååãå ¥åããŸãã
b. ç»åãœãŒã¹ããããããŠã³ã¡ãã¥ãŒã§ãã¡ã€ã³é¢æ°ã䜿çšããç»
åã®ãœãŒã¹ãšãªãç»åãã¡ã€ã«ãéžæããŸãã
4. çæããããã¡ã€ã«ãä¿åãããã©ã«ããéžæããŠãã ããã
ãã³ã LabWindows/CVI ãã€ã³ã¹ããŒã«ãããŠããŠãLabWindows/CVIã䜿çšããŠ
C ã³ãŒãã®ã³ã³ãã€ã«ãšãã¹ããè¡ãå ŽåãLabWindows/CVI ãããžã§ã¯ã
ã«ãã¡ã€ã«ãè¿œå ãªãã·ã§ã³ãéžæããŸãã
5. OK ãã¯ãªãã¯ããŠãC ããã°ã©ã ãäœæããŸãã
© National Instruments Corporation 4-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
4ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
æ¬ç« ã§ã¯ãã²ãŒãžã³ã°ã®æŠèŠãšãVision Assistant ã§éšåæ€æ»ã¢ããªã±ãŒ
ã·ã§ã³ã®ãããã¿ã€ããäœæããæé ã«ã€ããŠèª¬æããŸãã
ã²ãŒãžã³ã°ãšã¯
ã³ãã¯ã¿ãã¹ã€ããããªã¬ãŒãªã©ã®éšåã®ãµã€ãºã¯å°ããã倧éã«è£œé ã
ããŠããŸãã ãã®ãããªéšåã®æ€æ»ã¯ãæäœæ¥ã§ã¯å調ã§æéãããããŸ
ãããããžã§ã³ã·ã¹ãã ã䜿çšãããšäžè²«æ§ã®ãã枬å®ããã°ããè¡ã
ãã枬å®çµæã瀺ãã¬ããŒããçæãããŸãã çµæãåç §ãããšãéšåã
補åèŠæ Œã«æºæ ããŠãããã確èªã§ããŸãã
ã²ãŒãžã³ã°ã¯ã補åãé©åã«è£œé ãããŠãããã決å®ããããã«ãé·ãã
çŽåŸãè§åºŠãæ°éãªã©ãéèŠãªè·é¢æž¬å®ã§æ§æãããŠããŸãã ã²ãŒãžã³ã°
æ€æ»ã¯ãæ©æ¢°ççµã¿ç«ãŠæ€èšŒãé»åéšå梱å æ€æ»ã容åšæ€æ»ãã¬ã©ã¹ãã³
æ€æ»ãé»åã³ãã¯ã¿æ€æ»ã§é »ç¹ã«äœ¿çšãããŸãã
ãã¥ãŒããªã¢ã«
ãã®ãã¥ãŒããªã¢ã«ã§ã¯ããã€ããã©ã±ããã®ç»åã解æãããã®ãã©
ã±ãããç©ççä»æ§ãæºãããŠãããã©ãããå€æããŸãã ãã€ããã©
ã±ãããšã¯ãæããã¯ã€ã€ã®ãã¥ãŒããªã©ã现é·ãéšåããã«ãã§ç· ããŠ
åºå®ããããã«äœ¿çšããéå±çã§ãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 4-2 ni.com/jp
ãã©ã±ããéã®è§åºŠãšè·é¢ã枬å®ããŠããããã®æž¬å®å€ã蚱容ç¯å²å ã«ãª
ãããã«ã¢ããªã±ãŒã·ã§ã³ãäœæããŸãã å³ 4-1 ã¯ã枬å®å Žæãšæž¬å®ã®èš±
容å€ã瀺ããŸãã
å³ 4-1 ãã©ã±ããã®ä»æ§
å¹ ã®äžå¿ã¯ãã©ã±ããã®äžå¿ã§ããã©ã±ããè§ã®é ç¹ã«ãªããŸãã ãã©
ã±ããã®è§åºŠã¯ããã©ã±ããã®ã¢ãŒã ã®è§åºŠã枬å®ãããã©ã±ããã®äž¡
ã¢ãŒã ã®ã¢ã©ã€ã³ã¡ã³ããé©åãã©ãããå€æããŸãã ãã©ã±ããã®è·é¢
ã§ã¯ããã©ã±ããã® 2 ã€ã®ç©Žéã®è·é¢ïŒãã¯ã»ã«ïŒã枬å®ããŸãã ãŸãã
ãã©ã±ããã®è·é¢ã§ã¯ããã©ã±ããã®ã¢ãŒããé©åãªé«ãã§ã«ãŒãããŠã
ããã©ãããå€æããŸãã
ãã®è§£æããéãVision Assistant ã¯ãä»ã®ãã©ã±ããã«å®è¡å¯èœãªã¹ã¯
ãªããã®ãã¹ãŠã®åŠçæäœãšãã©ã¡ãŒã¿ãèšé²ããŠãã©ã®ãã©ã±ããã«æ¬
é¥ãããããªããã決å®ããŸãã
1 2
3
4
5
1
2
362 368
178 181
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
© National Instruments Corporation 4-3 NI Vision Assistant ãã¥ãŒããªã¢ã«
Vision Assistant ã«ç»åãããŒããã1. Vision Assistant ãå®è¡äžã®å Žåã¯ã ããŒã«ããŒã®ç»åãéããã¿ã³
ãã¯ãªãã¯ããã¹ããã 4 ã«é²ãã§ãã ãããå®è¡äžã§ãªãå Žåã¯ã
ã¹ããã 2 ã«é²ãã§ãã ããã
2. ã¹ã¿ãŒãâãã¹ãŠã®ããã°ã©ã â National Instruments Vision Assistant ãéžæããŸãã
3. ããããã®ç»é¢ã§ç»åãéããã¿ã³ãã¯ãªãã¯ããŸãã
4. <Vision Assistant>Â¥ExamplesÂ¥bracketã«ç§»åããŸããããã§ã
<Vision Assistant>㯠Vision Assistant ãã€ã³ã¹ããŒã«ãããå Ž
æã瀺ããŸãã
5. ãã¹ãŠã®ãã¡ã€ã«ãéžæãã§ãã¯ããã¯ã¹ããªã³ã«ããŸãã
ãã³ã ç»åã®ãã¬ãã¥ãŒãŠã£ã³ããŠã«ã¯ãéžæãããç»åã®ãã¹ãŠãé ãè¿œã£ãŠè¡šç€º
ãããŸãã ç°ãªãã¬ãŒãã§ç»åãåç §ããã«ã¯ãç»åã®ãã¬ãã¥ãŒãŠã£ã³ããŠã®
å³ã®é床ã¹ã©ã€ãã調ç¯ããŸãã
6. éããã¯ãªãã¯ããŠãç»åãã¡ã€ã«ã Vision Assistant ã«ããŒãããŸ
ãã æåã®ç»åïŒBracket1.jpgïŒãåŠçãŠã£ã³ããŠã«ããŒããããŸ
ãã
ãã¿ãŒã³ãããã³ã°ã䜿çšããŠæž¬å®ç¹ãæ€åºãã枬å®ãè¡ãåã«ãããŒã¹ã«ããç¹åŸŽãèŠã€ããããšãå¿ èŠã§ãã ãã®äŸã§
ã¯ããã©ã±ããã«éããããç©Žããã¿ãŒã³ãããã³ã°ã§æ€åºããããšãã§
ããŸãã ãããã®ç©Žãå©çšããŠããã©ã±ããã®ã¢ãŒããé©åãªé«ãããã³
ã«ãŒãã§ãããã©ãããå€æããŸãã
1. ã¹ã¯ãªãããŠã£ã³ããŠã«æ¢ã«ã¹ã¯ãªãããããå Žåã«ã¯ãæ°èŠã¹ã¯ãª
ãããã¯ãªãã¯ããæ°èŠã¹ã¯ãªãããéããŸãã
2. ãã·ã³ããžã§ã³åŠçé¢æ°ã¿ãã«ãããã¿ãŒã³ãããã³ã°ãéžæãã
ãããã·ã³ããžã§ã³âãã¿ãŒã³ãããã³ã°ãéžæããŸãã
3. æ°èŠãã³ãã¬ãŒããã¯ãªãã¯ããŸãã NI Vision ãã³ãã¬ãŒããšãã£
ã¿ãéããŸãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 4-4 ni.com/jp
4. å³ 4-2 ã«ç€ºãããã«ãé·æ¹åœ¢ããŒã«ã䜿çšããŠãã¯ãªãã¯ïŒãã©ãã°
ã§ç»åå ã®å·Šã®ç©Žã®åšãã«åè§ã ROI ãæããŸãã ãã® ROI ããã³
ãã¬ãŒããã¿ãŒã³ãšãªããŸãã
å³ 4-2 ãã³ãã¬ãŒããã¿ãŒã³ãéžæãã
5. 次ãžãã¯ãªãã¯ããŸãã
6. çµäºãã¯ãªãã¯ããŸãã ãã³ãã¬ãŒãã®ç¿åŸã«ã¯æ°ç§ããããŸãã Vision Assistant ã®ãã³ãã¬ãŒãåŠç¿ãå®äºãããšããã³ãã¬ãŒããš
ããŠä¿åãã€ã¢ãã°ããã¯ã¹ã衚瀺ãããŸãã
7. <Vision Assistant>Â¥ExamplesÂ¥bracketã«ç§»åããŸãã
8. ãã³ãã¬ãŒãã template.pngãšããŠä¿åããŸãã ãã¿ãŒã³ããã
ã³ã°èšå®ãŠã£ã³ããŠã«ã¯ããã³ãã¬ãŒãç»åãšãã®ãã¹ã衚瀺ãããŸ
ãã
9. èšå®ã¿ããã¯ãªãã¯ããŸãã
10. æ€åºãããããæ°ã 1ã«èšå®ããŸãã
11. ãã³ãã¬ãŒããšåäžã§ã¯ãªãé¡äŒŒãããããããã Vision Assistantã確å®ã«æ€çŽ¢ã§ããããæå°ã¹ã³ã¢ã 600ã«èšå®ããŸãã
12. ãµããã¯ã»ã«ç²ŸåºŠãã§ãã¯ããã¯ã¹ãæå¹ã«ããŸãã
13. æ€çŽ¢ã¢ãŒãã§ã·ããã«åœ±é¿ãããªãã䜿çšããããã«å転ãã¿ãŒã³ã
æ€çŽ¢ãããéžæãããŠããªãããšã確èªããŸãã æ€çŽ¢ããããããç»
åå ã§å転ããããšãäºæ³ããªãå Žåã¯ãã·ããã«åœ±é¿ãããªããã
ãã³ã°ã䜿çšããŸãã ããããå転ãããšäºæ³ãããå Žåãå転ã«åœ±
é¿ãããªããããã³ã°ã䜿çšããŸãã
14. é·æ¹åœ¢ããŒã«ã䜿çšããŠãå³ 4-3 ã«ç€ºãããã«ããã©ã±ããã®å·ŠåŽã«
ROI ãæããŸãã æç»ããé åã¯ãã³ãã¬ãŒãç»åããã倧ããã解
æããä»ã®ç»åå ã®ãã³ãã¬ãŒãã®ãã¹ãŠã®å¯èœãªäœçœ®ãå²ãã®ã«å
åãªãµã€ãºã§ããããšã確èªããŠãã ããã
ãã³ãã¬ãŒãããããæ€åºããããšãäºæ³ããã ROI ãæç»ããæ
äœã¯ããã¿ãŒã³ãããã³ã°ã§éèŠãªã¹ãããã§ãã ããã«ãããäžäž
èŽãæ€åºããå¯èœæ§ãåæžãããŸãã ãŸããç»åå ã®è€æ°ã®ãã³ã
ã¬ãŒããæ€åºããé åºãæå®ã§ããã»ãããããã³ã°ã®åŠçé床ãå
äžããŸãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
© National Instruments Corporation 4-5 NI Vision Assistant ãã¥ãŒããªã¢ã«
å³ 4-3 æåã®æ€åºç¯å²ãéžæãã
é¢å¿é åãæç»ããéãVision Assistant ã¯é åå ã§èªåçã«ãã³ã
ã¬ãŒããæ€åºããŠãã¹ã³ã¢ãšäœçœ®ã衚瀺ããŸãã ãããã«å¯Ÿããã¹ã³
ã¢ã¯ 1000 ã§ããããšã«æ³šæããŠãã ãããç»åã®åãé åãããã³
ãã¬ãŒããäœæããããããã®ãããã¹ã³ã¢ã¯å®å šãªãããã§ãã
15. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«ä¿åããŸãã
16. æ€æ»ã®ã¹ãããã®ãã·ã³ããžã§ã³ã¿ãã«ãããã¿ãŒã³ãããã³ã°ãéž
æãããããã·ã³ããžã§ã³âãã¿ãŒã³ãããã³ã°ãéžæããŸãã
17. ãã¡ã€ã«ããããŒããã¯ãªãã¯ããŠãä¿åãããã³ãã¬ãŒããéããŸ
ãã
18. èšå®ã¿ããã¯ãªãã¯ããŸãã
19. æ€åºãããããæ°ã 1ã«èšå®ããŸãã
20. æå°ã¹ã³ã¢ã 600ã«èšå®ããŠãVision Assistant ããã³ãã¬ãŒãã«äŒŒ
ãŠãããåäžã§ãªãããããæ€åºããããšã確å®ã«ããŸãã
21. ãµããã¯ã»ã«ç²ŸåºŠãã§ãã¯ããã¯ã¹ãæå¹ã«ããŸãã
22. å³ 4-4 ã«ç€ºãããã«ããã©ã±ããã®å³åŽã«é·æ¹åœ¢ããŒã«ã§ ROI ãæ
ç»ããŸãã Vision Assistant ã¯ããã³ãã¬ãŒããé·æ¹åœ¢ã§å²ãŸããé
åå ã«èªåæ€åºããŠãã¹ã³ã¢ãšäœçœ®ã衚瀺ããŸãã
å³ 4-4 2 çªç®ã®æ€çŽ¢ç¯å²ã®éžæ
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 4-6 ni.com/jp
2 çªç®ã®ãããã¹ã³ã¢ã¯å®ç§ãª 1000 ã§ã¯ãããŸãããããã³ãã¬ãŒ
ããšãããããŠãããšã¿ãªãã®ã«ååã«é«ãå€ã§ãã
23. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã
ç»åå ã®ãšããžãæ€åºãããã©ã±ãããä»æ§ãæºãããã©ããã決å®ããããã®æž¬å®å€ãèšç®ããå
ã«ã枬å®åºæºã«ããããšãå¯èœãªãšããžãæ€åºããå¿ èŠããããŸãã ãšã
ãžæ€åºé¢æ°ã¯ãããŒã«ãã¬ããã®ã©ã€ã³ããŒã«ã§æç»ããã©ã€ã³äžã«ãã
ãšããžãæ€åºããŸãã
1. æ€æ»ã®ã¹ãããã®ãã·ã³ããžã§ã³ã¿ãã«ãããšããžæ€åºãéžæãã
ãããã·ã³ããžã§ã³âãšããžæ€åºãéžæããŸãã
2. ãšããžæ€åºããããããŠã³ãªã¹ãããäžçŽãšããžããŒã«ãéžæããŸ
ãã äžçŽãšããžããŒã«ã¯ãèæ¯ãšãªããžã§ã¯ãã®ã³ã³ãã©ã¹ããäœã
ç»åã«å¹æçã§ãã
3. Vision Assistant ãæç»ããã©ã€ã³äžã®æåãšæåŸã®ãšããžã®ã¿æ€åº
ããŠãã©ãã«ãä»ããããã«ãæ€çŽ¢ããããããŠã³ãªã¹ãããã¯ã¹ã
ãæåãšæåŸã®ãšããžãéžæããŸãã
4. æå°ãšããžåŒ·åºŠã 40ã«èšå®ããŸãã ãã®æ€åºåŠçã¯ãã³ã³ãã©ã¹ã
ã 40 ãè¶ ããæåãšæåŸã®ãšããžãè¿ããŸãã
5. ãã©ã±ããã®äžå¿ãéãããã«åçŽã©ã€ã³ãã¯ãªãã¯ïŒãã©ãã°ããŠ
æç»ããŠãå³ 4-5 ã«ç€ºãããã«ãå¹ ã®äžå¿ãèšç®ããã®ã«äœ¿çšå¯èœãª
ãšããžãæ€åºããŸãã Vision Assistant ã¯ããšããž 1 ãš 2 ãšããã©ã
ã«ãä»ããŸãã
ãã³ã çŽç·ãæç»ããã«ã¯ã< ã·ãã > ããŒãæŒããªããç·ãåŒããŸãã
å³ 4-5 ãã©ã±ããè·é¢çšã®ãšããžãæ€åºãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
© National Instruments Corporation 4-7 NI Vision Assistant ãã¥ãŒããªã¢ã«
ãšããžåŒ·åºŠãããã¡ã€ã«ãåç §ããŠãã ããã ã©ã€ã³ãããã¡ã€ã«ã®
æ¥æ¿ãªå€åã¯ãšããžãšããŠè¡šç€ºãããŸãã ãšããžã®æ°ã¯ããšããžåŒ·åºŠ
ãããã¡ã€ã«ã®äžã«è¡šç€ºãããããšã«æ³šæããŠãã ããã
6. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã
枬å®ãè¡ããã©ã±ããã®ç©Žãšå¿ èŠãªãšããžãæ€åºãããããããã©ã±ããã®å¹ ããã©
ã±ããã®ç©Žéã®è·é¢ããã©ã±ããã¢ãŒã ã®è§åºŠããã£ãªãé¢æ°ã§èšç®ãã
ããšãã§ããŸãã ãã£ãªãé¢æ°ã¯ãè·é¢ãè§åºŠãã»ã°ã¡ã³ãã®äžå¿ããŸã
ã¯é¢ç©ãªã©ã®æž¬å®ãè¡ãæã®ç»åäžã®ç¹ïŒç»åã§éžæããç¹æ°ã«ããïŒã
䜿çšããããŒã«ã§ãã ãããã®ç¹ã¯ããšããžæ€åºããã¿ãŒã³ãããã³ã°ãª
ã©ãäžèšã®åŠçéçšãå®è¡ããçµæã§ãã
枬å®ãè¡ãã«ã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
1. ãã·ã³ããžã§ã³ã¿ãã«ãããã£ãªããéžæãããããã·ã³ããžã§ã³â
ãã£ãªããéžæããŸãã
2. 幟äœç¹åŸŽãªã¹ãããã¯ã¹ã«ããäžç¹ãéžæããŸãã
3. ç¹ 3 ãš 4 ãã¯ãªãã¯ããå¹ ã®äžå¿ã®æž¬å®å€ãååŸããŸããããã«
ãã£ãŠãã©ã±ããå¹ ã®äžå¿ãæå®ãããŸãã
ç»åå ã§ç¹ãéžæãããšããã£ãªãèšå®ãŠã£ã³ããŠã®å¯Ÿå¿ããç¹ã«
ãã§ãã¯ããŒã¯ã衚瀺ãããŸãã
ãã³ã ç¹ãèŠã€ãããªãå Žåã¯ãããŒã«ãã¬ããã®ãºãŒã ã€ã³ããŒã«ãã¯ãªãã¯ããŠ
ç»åãæ¡å€§ããŸãã æ¡å€§åçã¯ãåŠçãŠã£ã³ããŠã®å·Šäžç«¯ã«è¡šç€ºãããŸãã 1/1㯠100% ã®åçã瀺ããŸãïŒããã©ã«ãïŒã ãŸãã2/1 ã§ã¯ããæ¡å€§ããã衚瀺
ã«ã1/2 ã§ã¯ããçž®å°ããã衚瀺ã«ãªããŸãã
ãã³ã ç»åå ã§ç¹ãéžæãã代ããã«ãå©çšå¯èœãªç¹ãªã¹ãããã¯ã¹ã®ãšã³ããªãã¯
ãªãã¯ããããšã§ç¹ãéžæããããšãã§ããŸãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 4-8 ni.com/jp
4. 枬å®ãã¯ãªãã¯ãããšããã©ã±ããã®å¹ ã®äžå¿ãèšç®ãããäžç¹ã®æž¬
å®å€ãçµæè¡šã«è¿œå ãããŸãïŒå³ 4-6ïŒã
5. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã
å³ 4-6 ãã£ãªãé¢æ°ã§å¹ ã®äžå¿ãæ€åºãã
6. ããã§ããäžåºŠããã·ã³ããžã§ã³ã¿ãã«ãããã£ãªããéžæãããã
ãã·ã³ããžã§ã³âãã£ãªããéžæããŸãã ãã©ã±ããå¹ ã®äžå¿ã 5 ãš
ããŠè¡šç€ºãããŸãã
7. 幟äœç¹åŸŽãªã¹ãããã¯ã¹ã§è·é¢ãéžæããŸãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
© National Instruments Corporation 4-9 NI Vision Assistant ãã¥ãŒããªã¢ã«
8. ç»åå ã§ç¹ 1 ãš 2 ãã¯ãªãã¯ããŠããã©ã±ããå¹ ã®æž¬å®å€ãæ±ããŸ
ãããã®æž¬å®å€ã¯ããã©ã±ããå ã®ç©Žãšç©Žã®éã®è·é¢ã枬å®ããå€
ã§ããã©ã±ããã®ã¢ãŒãã®é«ããé©åã§ãããã©ããã®å€æã«äœ¿çšã
ããŸãã
9. 枬å®ãã¯ãªãã¯ããŠããã©ã±ããã®ç©Žéã®è·é¢ãèšç®ãããŸãã è·é¢
枬å®å€ããçµæè¡šã«è¿œå ãããŸãïŒå³ 4-7ïŒã
å³ 4-7 ãã£ãªãé¢æ°ã§ãã©ã±ããã®è·é¢ãæ€åºãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 4-10 ni.com/jp
10. 幟äœç¹åŸŽãªã¹ãããã¯ã¹ã§ 3 ã€ã®ç¹ããå®çŸ©ãããè§åºŠãéžæããŸ
ãã ç¹ 1ã5ã2 ã®é ã«ã¯ãªãã¯ãã次ã®æž¬å®å€ïŒãã©ã±ããã®è§åºŠïŒ
ãæ±ããŸãããã®æž¬å®å€ã¯ãå³ 4-8 ã®ããã«ãç¹ 5 ãé ç¹ãšããã
ã©ã±ããã¢ãŒã ã®è§åºŠã§ãã
11. 枬å®ãã¯ãªãã¯ããŠãã©ã±ããã¢ãŒã éã®è§åºŠãèšç®ãã枬å®å€ã枬
å®çµæè¡šã«è¿œå ããŸãã
å³ 4-8 ã¯ããã©ã±ããã®è·é¢ããã³ãã©ã±ããã®è§åºŠãéžæããç¶æ
ã®ç»åãšãã®æž¬å®çµæè¡šã§ãã
å³ 4-8 ãã£ãªãããŒã«ã§æž¬å®å€ãååŸãã
12. OK ãã¯ãªãã¯ããŠããã£ãªã枬å®å€ãã¹ã¯ãªããã«è¿œå ãããã£ãª
ããŠã£ã³ããŠãéããŸãã
13. ãã¡ã€ã«âã¹ã¯ãªãããå¥åã§ä¿å ãéžæããŠãã¹ã¯ãªããã
bracket.scrãšããååã§ä¿åããŸãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
© National Instruments Corporation 4-11 NI Vision Assistant ãã¥ãŒããªã¢ã«
çµæã解æãã
ãããåŠçã§ã¯ãã¹ã¯ãªãããè€æ°ã®ç»åã§å®è¡ããŸãã ãããåŠçã§è€
æ°ã®ç»åã解æãããã®è§£æçµæãã¿ãåºåãããã¹ããã¡ã€ã«ã«ä¿åã
ãããšãã§ããŸãã bracket.scrãç»åãã©ãŠã¶ã®ãã¹ãŠã®ç»åã§å®è¡
ããã«ã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
1. ããŒã«âãããåŠçãéžæããŸãã
2. å ã®ç»åã®ãã©ãŠã¶ãéžæãããã©ãŠã¶ã«ä¿åãããŠããç»åãåŠç
ããŸãã
3. ã¹ã¯ãªããã¹ãããã®ãªã¹ããããã£ãªã 2 ãéžæããŸãã ãã£ãªã 2 ã¯ããã©ã±ããã®è·é¢ããã³ãã©ã±ããã®è§åºŠãè¿ãã¹ãããã§
ãã
4. çµæãä¿å解æã¢ãŒããéžæããŸãã ããã«ãããä¿åãªãã·ã§ã³ã³
ã³ãããŒã«ãæå¹ã«ãªããŸãã
5. èšå®ãã¯ãªãã¯ããŸãã ãã€ã¢ãã°ããã¯ã¹ãéããŸãã
6. ãã¹ãŠã®çµæã«å¯ŸããŠãã¡ã€ã« 1 ã€ãéžæããŠããã¹ãŠã®ç»åã®çµ
æãåããã¡ã€ã«ã«èšé²ããŸãã
7. ãã©ã«ããã¹ãã¿ã³ãã¯ãªãã¯ããŸãã çµæãã¡ã€ã«ãä¿åãããã£
ã¬ã¯ããªãžç§»åããçŸåšã®ãã©ã«ããã¯ãªãã¯ããŸãã
8. bracket_results.txtããã¡ã€ã«æ¥é èŸã³ã³ãããŒã«ã«å ¥åããŸ
ãã çµæã¯ãã¹ãŠ 1 ã€ã®ãã¡ã€ã«ã«èšé²ããããããã¡ã€ã«æ¥é èŸã
çµæãã¡ã€ã«ã®ååã§ãã åç»åã®çµæãå¥ã®ãã¡ã€ã«ã«èšé²ããå Ž
åããã¡ã€ã«æ¥é èŸã¯åçµæãã¡ã€ã«ã®ææšãšé¢é£ããæ¥é èŸã«ãªã
ãŸãã
9. OK ãã¯ãªãã¯ããŸãã
10. å®è¡ãã¯ãªãã¯ããç»åãã©ãŠã¶ã«ãããã¹ãŠã®ç»åã«å¯ŸããŠã¹ã¯ãª
ãããå®è¡ããŠãçµæãèšé²ããŸãã
11. OK ãã¯ãªãã¯ããŠããããåŠçãçµäºããããšãéç¥ãããã€ã¢ã
ã°ãéããŸãã
12. ã¹ããã 7 ã§æå®ããããã£ã¬ã¯ããªãã¹ãåç §ãã
bracket_results.txtãéããŸãã
13. çµæãã¡ã€ã«ã«ãããã©ã±ããè·é¢ããã³ãã©ã±ããè§åºŠã®æž¬å®å€ã è¡š 4-1 ã«ããå€ãšæ¯èŒããŸãã
è¡š 4-1 ã«ã¯ããã©ã±ããã®æž¬å®å€ã®èš±å®¹ç¯å²ãšåãã©ã±ããç»åã®å®
éã®å€ã衚瀺ãããŸãã Bracket1ãBracket2ãBracket3ã ããä»
æ§ãæºãããŠããããšã«æ³šæããŠãã ããã ä»ã®ãã©ã±ããã®å€ªåã®
å€ã¯ãäžåæ Œã®åå ã«ãªã£ã枬å®å€ã瀺ããŠããŸãã
ã¡ã¢ ãã¿ãŒã³ãããã³ã°ã®ã¹ããããšããŠéžæãããã³ãã¬ãŒãããã³ãšããžæ€åº
ã®ã¹ãããã§æããã©ã€ã³ã®äœçœ®ã«ãã£ãŠããã®çµæãç°ãªãå ŽåããããŸãã
第 4 ç« ã²ãŒãžã³ã°ã²ãŒãžã³ã°ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 4-12 ni.com/jp
Vision Assistant ã®ãããåŠçæ©èœã®è©³çŽ°ã¯ããNI Vision Assistant ãã«
ã ããåç §ããŠãã ããã
è¡š 4-1 ãã©ã±ããã®æž¬å®çµæ
ãã©ã±ããçªå·
ãã©ã±ããã®è·é¢
ïŒèš±å®¹ç¯å² : 362 ïœ 368 ãã¯ã»ã«ïŒ
ãã©ã±ããã®è§åºŠ
ïŒèš±å®¹ç¯å² : 178Â°ïœ 181°ïŒ
ãã©ã±ãã 1 363.27 179.56
ãã©ã±ãã 2 363.05 180.26
ãã©ã±ãã 3 363.27 180.13
ãã©ã±ãã 4 347.98 179.06
ãã©ã±ãã 5 337.45 178.56
ãã©ã±ãã 6 358.33 175.54
© National Instruments Corporation 5-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
5座æšç³»ã«ããéšåæ€æ»
æ¬ç« ã§ã¯ãVision Assistant ã§åº§æšç³»ãèšå®ããæ¹æ³ãšãéšåã®ååšã確
èªããæ€æ»ã®ãããã¿ã€ããäœæããæé ã«ã€ããŠèª¬æããŸãã
座æšç³»ãšã¯
æšæºã®ãã·ã³ããžã§ã³æ€æ»ã§ã¯ãæ€æ»ãšåŠçãç»åå šäœã§ãªãé¢å¿é åã«
å¶éããŸãã æ€æ»é åãå¶éããã«ã¯ãéžæãããªããžã§ã¯ãã®éšåãåžž
ã«å®çŸ©ããé åå ã«è¡šç€ºãããŠããå¿ èŠããããŸãã
æ€æ»äžã®ãªããžã§ã¯ããåžžã«åŠçããç»åå ã§åãäœçœ®ãšæ¹åã«ããå Ž
åãé¢å¿é åãå®çŸ©ããæäœã¯ç°¡åã§ãã ãã ããæ€æ»äžã®ãªããžã§ã¯ã
ã¯åŠçç»åå ã§ã·ãããŸãã¯å転ããŠè¡šç€ºãããå ŽåããããŸãã ãã®çŸ
象ãçºçããå Žåãé¢å¿é åã¯åŠçãã察象ã®ãªããžã§ã¯ãã®éšåãšå ±ã«
ã·ãããŸãã¯å転ããå¿ èŠããããŸããé¢å¿é åããªããžã§ã¯ãã«å¯ŸããŠ
移åããã«ã¯ãç»åå ã®ç¹åŸŽã«å¯Ÿãã座æšç³»ãå®çŸ©ããå¿ èŠããããŸãã
座æšç³»ã¯ãåç¹ãšãç»åã®æ°Žå¹³è»žãš x 軞ãäœãåºãè§åºŠã«ãã£ãŠæå®ãã
ãŸãããªããžã§ã¯ããç»åå ã§ã©ã®ããã«ç§»åãããã«åºã¥ããŠåº§æšç³»ã
å²ãåœãŠãŸãã ãªããžã§ã¯ããæ°Žå¹³ãŸãã¯åçŽæ¹åã®ã¿ã§ç§»åããå Žåã
座æšç³»ã®åç¹ãè¡šãäœçœ®ã«ããç¹åŸŽãéžæããæäœã®ã¿ãå¿ èŠã§ãã è§åºŠ
ã¯ãããã©ã«ã㧠0 ã§ãã ãªããžã§ã¯ãã移åããã³å転ããå Žåã座æš
ç³»ã®åç¹ãšè§åºŠã®äœçœ®ãè¡šãããšãå¯èœãªç¹åŸŽãéžæããå¿ èŠããããŸ
ãã
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 5-2 ni.com/jp
ãã¥ãŒããªã¢ã«
ãã®ãã¥ãŒããªã¢ã«ã§ã¯ããã³ã¿ã«ããã¹å®¹åšã®ç»åã解æããŠã容åšã«
æ¯ç£šãç²ãšããã¹ãããããæ€æ»ããŸãã
Vision Assistant ã«ç»åãããŒããã1. Vision Assistant ãå®è¡äžã®å Žåã¯ã ããŒã«ããŒã®ç»åãéããã¿ã³
ãã¯ãªãã¯ããã¹ããã 4 ã«é²ãã§ãã ãããå®è¡äžã§ãªãå Žåã¯ã
ã¹ããã 2 ã«é²ãã§ãã ããã
2. ã¹ã¿ãŒãâãã¹ãŠã®ããã°ã©ã â National Instruments Vision Assistant ãéžæããŸãã
3. ããããã®ç»é¢ã§ç»åãéããã¿ã³ãã¯ãªãã¯ããŸãã
4. <Vision Assistant>Â¥ExamplesÂ¥dental flossã«ç§»åããŸããã
ãã§ã<Vision Assistant>㯠Vision Assistant ãã€ã³ã¹ããŒã«ã
ããå Žæã瀺ããŸãã
5. ãã¹ãŠã®ãã¡ã€ã«ãéžæãã§ãã¯ããã¯ã¹ããªã³ã«ããŸãã
ãã³ã ãã¬ãã¥ãŒãŠã£ã³ããŠã«ã¯ãéžæãããç»åã®ãã¹ãŠãé ãè¿œã£ãŠè¡šç€ºãããŸ
ãã ç°ãªãã¬ãŒãã§ç»åã衚瀺ããã«ã¯ãç»åã®ãã¬ãã¥ãŒãŠã£ã³ããŠã®å³ã®é
床ã¹ã©ã€ãã調ç¯ããŸãã
6. éããã¯ãªãã¯ããŠãç»åãã¡ã€ã«ã Vision Assistant ã«ããŒãããŸ
ãã
座æšç³»ãåºæºã«ããç¹åŸŽãå®çŸ©ãã以äžã®æé ã«åŸã£ãŠã座æšç³»ãåºæºã«ããããšãå¯èœãªãã³ã¿ã«ããã¹ã®
ç¹åŸŽãæ€åºãããã¿ãŒã³ãããã³ã°ã¹ããããæ§æããŸãã ãã³ã¿ã«ãã
ã¹ã®å®¹åšãç»åéã§ç°ãªãäœçœ®ã«è¡šç€ºãããŠããŠããã«ã¡ã©ã®èŠéå ã«åžž
ã«ããç¹åŸŽïŒãã³ã¿ã«ããã¹ã®å®¹åšã®ããŒã¹ïŒãéžæããŸãã
1. åŠçé¢æ°ã®ãã·ã³ããžã§ã³ã¿ãã«ãããã¿ãŒã³ãããã³ã°ãéžæãã
ãããã·ã³ããžã§ã³âãã¿ãŒã³ãããã³ã°ãéžæããŸãã
2. ãã¿ãŒã³ãããã³ã°ãŠã£ã³ããŠã§ãæ°èŠãã³ãã¬ãŒããã¯ãªãã¯ããŸ
ãããã³ãã¬ãŒãé åãéžæãã€ã¢ãã°ãéããŸãã
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
© National Instruments Corporation 5-3 NI Vision Assistant ãã¥ãŒããªã¢ã«
3. å³ 5-1 ã«ç€ºãããã«ããã³ã¿ã«ããã¹ã®ããŒã¹ã®åšèŸºã«é·æ¹åœ¢ãæç»
ããŸãã ãã®é åããã¿ãŒã³ãããã³ã°ãã³ãã¬ãŒãã«ãªããŸãã
å³ 5-1 ãã³ãã¬ãŒããã¿ãŒã³ãäœæãã
4. 次ãžãã¯ãªãã¯ããŸãã
5. çµäºãã¯ãªãã¯ããŸãã ãã³ãã¬ãŒããšããŠä¿åãã€ã¢ãã°ãéããŸ
ãã
6. <Vision Assistant>Â¥ExamplesÂ¥dental flossã«ç§»åããŸããã
ãã§ã<Vision Assistant>㯠Vision Assistant ãã€ã³ã¹ããŒã«ã
ããå Žæã瀺ããŸãã
7. ãã³ãã¬ãŒãã template.pngãšããååã§ä¿åããŸãã ãã¿ãŒã³
ãããã³ã°èšå®ãŠã£ã³ããŠã«ã¯ããã³ãã¬ãŒãç»åãšãã®ãã¹ã衚瀺
ãããŸãã
8. ã¡ã€ã³ã¿ããã¯ãªãã¯ããŸãã
9. ã¹ãããåã³ã³ãããŒã«ã«ããã³ã¿ã«ããã¹ã®ããŒã¹ãæ€åºããšå ¥å
ããŸãã
10. èšå®ã¿ããã¯ãªãã¯ããŸãã
11. ãµããã¯ã»ã«ç²ŸåºŠãã§ãã¯ããã¯ã¹ãæå¹ã«ããŸãã
12. å転ãã¿ãŒã³ãæ€çŽ¢ãããã§ãã¯ããã¯ã¹ãæå¹ã«ããŸãã
13. è§åºŠç¯å² (+/â 床 ) ã³ã³ãããŒã«ã 180ã«èšå®ããŸãã
14. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«ä¿åããŸãã
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 5-4 ni.com/jp
æ°èŠåº§æšç³»ãå®çŸ©ãã以äžã®æé ã«åŸã£ãŠãæ§æãããã¿ãŒã³ãããã³ã°ã¹ãããã«åºã¥ããŠ
座æšç³»ãèšå®ã¹ããããæ§æããŸãã
1. åŠçé¢æ°ã®ç»åã¿ãã«ãã座æšç³»ãèšå®ãéžæããããç»åâ座æšç³»
ãèšå®ãéžæããŸãã
2. ã¹ãããåã³ã³ãããŒã«ã«ã座æšç³»ãå®çŸ©ããšå ¥åããŸãã
3. ã¢ãŒãã³ã³ãããŒã«ããæ°Žå¹³ãåçŽãããã³è§åºŠãéžæããŸãã ãã³
ã¿ã«ããã¹ã®å®¹åšã¯ãç»åéã§ã·ããããã³å転ããŠããããã«è¡šç€º
ããããããé¢å¿é åã§ã®å€åã解決ããå¿ èŠããããŸãã ãã®ã¢ãŒ
ãã¯ãæ°Žå¹³ããã³åçŽè»žäžã§é¢å¿é åã調æŽããŠãå転ã®å€åã調æŽ
ããŸãã
åç¹ãš X 軞è§åºŠãªã¹ãã«æ³šç®ããŠãã ããã ããã 1ïŒååã®ãã³ã¿
ã«ããã¹ããŒã¹ãæ€åºã¹ãããã®ãããäœçœ®ïŒã¯ã¹ã¯ãªããã®ååã®
ã¹ãããã§äœæãããå¯äžã®äœçœ®ãã€ã³ãã§ããããã座æšç³»ã®ã
ãã©ã«ãã®åç¹ã§ãã
4. OK ãã¯ãªãã¯ããŠããã®ã¹ããããã¹ã¯ãªããã«ä¿åããŸãã
ååšã®ç¢ºèªä»¥äžã®æé ã«åŸã£ãŠãæ°éåã¹ããããæ§æããŠããã³ã¿ã«ããã¹ã®å®¹åš
ã«æ¯ç£šãç²ãšããã¹ãååšããããæ€æ»ããŸãã
1. åŠçé¢æ°ãã¬ããã®ã°ã¬ãŒã¹ã±ãŒã«ã¿ãã«ããæ°éåãéžæãããã
ã°ã¬ãŒã¹ã±ãŒã«âæ°éåãã¯ãªãã¯ããŸãã
2. ã¹ãããåã³ã³ãããŒã«ã«ãé¢ç©ã®åŒ·åºŠã枬å®ããšå ¥åããŸãã
3. é¢å¿é åãåé 眮ãã§ãã¯ããã¯ã¹ãæå¹ã«ããŸãã
ãã®ã³ã³ãããŒã«ãæå¹ã«ãããšãVision Assistant ãæå®ããã座
æšç³»ã«å¯ŸããŠç»åéã§é¢å¿é åã®äœçœ®ãšæ¹åã調æŽã§ããããã«ãã
ã®ã¹ãããã§æå®ãããé¢å¿é åãååå®çŸ©ããã座æšç³»ã«ãªã³ã¯ã§
ããŸãã
åºæºåº§æšç³»ãªã¹ãã«ãååå®çŸ©ããããã¹ãŠã®åº§æšç³»ã衚瀺ãããŸ
ãã 座æšç³»ãèšå®ã¯çŸåšã®ã¹ã¯ãªããã§å¯äžã®ã座æšç³»ãèšå®ãã¹
ãããã§ãããããããã©ã«ãã®åºæºåº§æšç³»ã§ãã
æ°éåã¹ãããã¯ããã€ã³ããå£ããã©ã€ã³ãããªãŒãã³ãã©ã€ã³ãé·æ¹
圢ãæ¥å圢ãå€è§åœ¢ãããªãŒãã³ãé åãªã©ãç°ãªã圢ç¶ã®é¢å¿é åãæ
ç»ããã®ã«äœ¿çšå¯èœãªããŸããŸãªããŒã«ããµããŒãããŠããããšã«æ³šç®ã
ãŠãã ããã ãããã®ããŒã«ã¯ãVision Assistant ã§äœ¿çšã§ããŸãã
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
© National Instruments Corporation 5-5 NI Vision Assistant ãã¥ãŒããªã¢ã«
4. Vision Assistant ããŒã«ããŒã§å€è§åœ¢ããŒã«ãã¯ãªãã¯ããŸãã
5. å³ 5-2 ã«ç€ºãããã«ããã³ã¿ã«ããã¹ã®å®¹åšå ã®ããã¹ãšæ¯ç£šãç²ã®
2 ã€ã®éšåãå²ã 3 ã€ã®é¢å¿é åãæç»ããŸãã ç¹°ãè¿ãã¯ãªãã¯ïŒ
ãã©ãã°ããŠãå€è§åœ¢é åãéžæããŸãã ããã«ã¯ãªãã¯ããŠãå€è§
圢ãå®æãããŸãã
å³ 5-2 ååšã確èªããé åãå®çŸ©ãã
ãã³ã¿ã«ããã¹ã¹ã¯ãªããããã¹ãããäœæããã¹ã¯ãªããã¯ã«ã¹ã¿ã ããžã§ã³ã¢ã«ãŽãªãºã ã§ãã å¥ã®ç»åã§ã¢
ã«ãŽãªãºã ããã¹ãããããšã§ãé¢å¿é åãé©åã«æ€èšŒã§ããŸãã ãã®ã¢
ã«ãŽãªãºã ããã¹ãããã«ã¯ã以äžã®æé ã«åŸã£ãŠãã ããã
1. åç §ãŠã£ã³ããŠã§ã次ã®ç»åãã¿ã³ãã¯ãªãã¯ããŠã次ã®ç»å
ïŒDental Floss 01.jp2ïŒãåç §ããŸãã
2. ç»åãã¢ã¯ãã£ãã«ãããã¿ã³ãã¯ãªãã¯ããŠãåŠçãŠã£ã³ããŠã«ã
ã®ç»åã移åããŸãã ãã³ã¿ã«ããã¹ã®ããŒã¹ã¯æ°èŠç»åã§æ€åºã
ããæ¯ç£šãç²ãšããã¹ã®é¢å¿é åã¯åº§æšç³»ã«åºã¥ããŠé©åã«åé 眮ã
ããã¯ãã§ãã
3. ã¹ããã 1 ãš 2 ãç¹°ãè¿ããŠãä»ã®ç»åã§ã¹ã¯ãªããããã¹ãããŸ
ãã
4. OK ãã¯ãªãã¯ããŠãæ°éåã¹ããããã¹ã¯ãªããã«è¿œå ããŸãã
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 5-6 ni.com/jp
æ°èŠç»åã§ã¢ã«ãŽãªãºã ãæ€èšŒããæäœã¯ãé¢å¿é åãé©åã«é 眮ãããŠ
ãããã決å®ããæ°éåã¹ãããã§ã®çµæã®æå¹å€ã決å®ããã®ã«åœ¹ç«ã€
å®å®æ§ã«åªããã¢ã«ãŽãªãºã ãäœæããéèŠãªã¹ãããã§ãã
ä»ã®ãã³ã¿ã«ããã¹ç»åã§é©åã«åäœããããã«ãã¢ã«ãŽãªãºã ã®äžéšã®
ãã©ã¡ãŒã¿ã調æŽããå¿ èŠãããå ŽåããããŸãã ããšãã°ããã³ã¿ã«ã
ãã¹ã®å®¹åšã®ããŒã¹ãç»åå ã§æ€åºãããªãå Žåãé¢å¿é åã¯é©åã«åé
眮ãããŸããã ãã®å Žåãããã³ã¿ã«ããã¹ã®ããŒã¹ãæ€åºãã¹ãããã
éããŠãæå°ã¹ã³ã¢ã調æŽããå¿ èŠãªå Žåãæ€çŽ¢é åã調æŽããŸãã
æå¹å€ã決å®ããã«ã¯ãæ°éåã¹ãããã®çµæã§æž¬å®ãããå¹³åå€ãæ¯èŒ
ã§ããŸãã å¹³åå€ã¯ãæ°éåã¹ãããã§æç»ããé¢å¿é åã®ãã¯ã»ã«èŒåºŠ
ã®å¹³åå€ã衚瀺ããŸãã
è¡š 5-1 ã«ã¯ããã³ã¿ã«ããã¹æž¬å®ã®æå¹ãªå€ãšãåãã³ã¿ã«ããã¹ç»åã«
察ããŠè¡šç€ºãããå¯èœæ§ãããå®éã®å€ã衚瀺ãããŠããŸãã æ¯ç£šãç²ã®
é¢å¿é åã®å¹³åå€ã§ãããå¹³åå€ 1 ãšå¹³åå€ 2 ã§ã¯ãæå¹ãªå€ã¯ã
100 以äžã®å€ã§ãã 100 以äžã®å¹³åå€ã¯ãæ¯ç£šãç²ããã³ã¿ã«ããã¹ã®å®¹
åšã«ãªãããšã瀺ããŸãã ãã³ã¿ã«ããã¹ 2ããã³ã¿ã«ããã¹ 4ããã³ã¿
ã«ããã¹ 8 ã«ã¯æ¯ç£šãç²ããªãããšã«æ³šç®ããŠãã ããã
ããã¹ã®é¢å¿é åã®å¹³åå€ã§ãããå¹³åå€ 3 ã§ã¯ãæå¹ãªå€ã¯ 20 ããã
倧ãã 40 以äžã®å€ã§ãã20 æªæºã®å¹³åå€ã¯ããã³ã¿ã«ããã¹ã®å®¹åšã«
ããã¹ããªãããšã瀺ããŸãã ãã³ã¿ã«ããã¹ 6 ãšãã³ã¿ã«ããã¹ 8 ã«ã¯
ããã¹ããªãããšã«æ³šç®ããŠãã ããã 40 以äžã®å¹³åå€ã¯æŠãåããã
ãã¹ã瀺ããŸãã ãã³ã¿ã«ããã¹ 7 ã«ã¯æŠãåããããã¹ããããŸãã
ã¡ã¢ çµæã¯ãæ°éåã¹ãããã§æç»ããé¢å¿é åã®åé 眮ã®å Žæã«åºã¥ããŠããç°
ãªãå¯èœæ§ããããŸãã
è¡š 5-1 ãã³ã¿ã«ããã¹æž¬å®ã®çµæ
ãã©ã±ããçªå·
å¹³åå€ 1ïŒå·Šã®æ¯ç£šãç²ïŒ
å¹³åå€ 2ïŒå³ã®æ¯ç£šãç²ïŒ
å¹³åå€ 3ïŒããã¹ïŒ
æå¹å€ 100 ãã倧ãã 100 ãã倧ãã 20 ïœ 40
ãã³ã¿ã«ããã¹ 0 153.87199 127.29397 29.25323
ãã³ã¿ã«ããã¹ 1 168.29030 129.75693 29.48656
ãã³ã¿ã«ããã¹ 2 30.87846 30.95160 28.50083
ãã³ã¿ã«ããã¹ 3 151.90704 140.33263 29.88302
ãã³ã¿ã«ããã¹ 4 157.62241 38.14659 27.56245
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
© National Instruments Corporation 5-7 NI Vision Assistant ãã¥ãŒããªã¢ã«
ãã³ã¿ã«ããã¹ã¹ã¯ãªãããä¿åããããã§ãã¢ã«ãŽãªãºã ã®äœæãšå¥ã®ç»åã«å¯Ÿãããã¹ããçµäºããã®ã§ã
é¡äŒŒããç»åã«å¯ŸããŠäœ¿çšããããã«ã¹ã¯ãªãããä¿åã§ããŸãã ãŸãã
ãã®ã¹ã¯ãªããã䜿çšããŠãããåŠçãè¡ãããšãã§ããŸãã
1. ãã¡ã€ã«âã¹ã¯ãªãããå¥åã§ä¿åãéžæããŸãã
2. ã¹ã¯ãªããã Dental Floss.scrã®ååã§ä¿åããŸãã
çµæã解æãã
ãããåŠçã§ã¯ãç»åã®ã»ããã«å¯ŸããŠã¹ã¯ãªãããå®è¡ããæäœãå«ãŸ
ããŸãã ãããåŠçã§è€æ°ã®ç»åã解æãããã®è§£æçµæãã¿ãåºåãã
ãã¹ããã¡ã€ã«ã«ä¿åããããšãã§ããŸãã 以äžã®æé ã«åŸã£ãŠã
Dental Floss.scrãç»åãã©ãŠã¶å ã®ãã¹ãŠã®ç»åã«å¯ŸããŠå®è¡ããŸ
ãã
1. ããŒã«âãããåŠçãéžæããŸãã
2. å ã®ç»åã®ãã©ãŠã¶ãéžæãããã©ãŠã¶ã«ä¿ç®¡ãããŠããç»åãåŠç
ããŸãã
3. ã¹ã¯ãªããã¹ãããã®ãªã¹ãããé¢ç©ã®åŒ·åºŠã枬å®ãéžæããŸãã é¢ç©ã®åŒ·åºŠã枬å®ã¯ããã³ã¿ã«ããã¹ã®å®¹åšã®æ å ±ãè¿ãã¹ãããã§
ãã
4. çµæã®ä¿å解æã¢ãŒããéžæããŸãã ããã«ãããä¿åãªãã·ã§ã³å¶
埡åšãæå¹ã«ãªããŸãã
5. èšå®ãã¯ãªãã¯ããŸãã ãã€ã¢ãã°ããã¯ã¹ãéããŸãã
6. ãã¹ãŠã®çµæã«å¯ŸããŠãã¡ã€ã« 1 ã€ãéžæããŠããã¹ãŠã®ç»åã®çµ
æãåããã¡ã€ã«ã«èšé²ããŸãã
7. ãã©ã«ããã¹ãã¿ã³ãéžæããŸãã çµæãã¡ã€ã«ãä¿åãããã£ã¬ã¯
ããªãžç§»åããçŸåšã®ãã©ã«ããã¯ãªãã¯ããŸãã
ãã³ã¿ã«ããã¹ 5 147.63632 137.76910 28.95566
ãã³ã¿ã«ããã¹ 6 110.40456 124.61018 3.40535
ãã³ã¿ã«ããã¹ 7 182.45360 178.04030 60.25054
ãã³ã¿ã«ããã¹ 8 32.93908 165.94063 3.39985
ãã³ã¿ã«ããã¹ 9 151.82718 136.74701 30.63069
è¡š 5-1 ãã³ã¿ã«ããã¹æž¬å®ã®çµæïŒç¶ãïŒ
ãã©ã±ããçªå·
å¹³åå€ 1ïŒå·Šã®æ¯ç£šãç²ïŒ
å¹³åå€ 2ïŒå³ã®æ¯ç£šãç²ïŒ
å¹³åå€ 3ïŒããã¹ïŒ
第 5 ç« åº§æšç³»ã«ããéšåæ€æ»
NI Vision Assistant ãã¥ãŒããªã¢ã« 5-8 ni.com/jp
8. dental_floss_results.txtããã¡ã€ã«æ¥é èŸã³ã³ãããŒã«ã«å ¥å
ããŸãã çµæã¯ãã¹ãŠ 1 ã€ã®ãã¡ã€ã«ã«èšé²ããããããã¡ã€ã«æ¥é
èŸãçµæãã¡ã€ã«ã®ååã§ãã åç»åã®çµæãå¥ã®ãã¡ã€ã«ã«èšé²ã
ãå Žåããã¡ã€ã«æ¥é èŸã¯åçµæãã¡ã€ã«ãšé¢é£ããæ¥é èŸã§ãã
9. OK ãã¯ãªãã¯ããŸãã
10. å®è¡ãã¯ãªãã¯ããç»åãã©ãŠã¶ã«ãããã¹ãŠã®ç»åã«å¯ŸããŠã¹ã¯ãª
ãããå®è¡ããŠãçµæãèšé²ããŸãã
11. OK ãã¯ãªãã¯ããŠããããåŠçãçµäºããããšãéç¥ãããã€ã¢ã
ã°ãéããŸãã
12. ã¹ããã 7 ã§æå®ããããã£ã¬ã¯ããªãã¹ãåç §ãã
bracket_results.txtãéããŸãã
13. çµæãã¡ã€ã«ã«ãã枬å®ãããå¹³åå€ãè¡š 5-1 ã«æ¯èŒããŸãã
Vision Assistant ã®ãããåŠçæ©èœã®è©³çŽ°ã¯ããNI Vision Assistant ãã«
ã ããåç §ããŠãã ããã
© National Instruments Corporation A-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
Aæè¡ãµããŒãããã³ãããã§ãã·ã§ãã«ãµãŒãã¹
æè¡ãµããŒãããã³ãã®ä»ã®ãµãŒãã¹ã«ã€ããŠã¯ãNI ã®ãŠã§ããµã€ã
ïŒni.com/jpïŒã®äžèšã®ã»ã¯ã·ã§ã³ãåç §ããŠãã ããã
⢠ãµããŒãâæè¡ãµããŒãïŒni.com/jp/supportïŒã«ã¯ä»¥äžã®ãªãœãŒ
ã¹ããããŸãã
â ã»ã«ããã«ããªãœãŒã¹â質åã«å¯Ÿããåçããœãªã¥ãŒã·ã§ã³ãå¿ èŠãªå Žåã¯ããã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ãŠã§ããµã€ãïŒni.com/jp/supportïŒã§ãœãããŠã§ã¢ãã©ã€ããšã¢ããããŒããæ€çŽ¢å¯èœãªæè¡ãµããŒãããŒã¿ããŒã¹ã補åããã¥ã¢ã«ããã©ãã«ã·ã¥ãŒãã£ã³ã°ãŠã£ã¶ãŒããçš®é¡è±å¯ãªãµã³ãã«ããã°ã©ã ããã¥ãŒããªã¢ã«ãã¢ããªã±ãŒã·ã§ã³ããŒããèšæž¬åšãã©ã€ããªã©ããå©çšããã ããŸãã ãŠãŒã¶ç»é²ãããã客æ§ã¯ã
NI ãã£ã¹ã«ãã·ã§ã³ãã©ãŒã©ã ïŒni.com/jp/dforumïŒã«ã¢ã¯ã»ã¹ããããšãã§ããŸãã ãªã³ã©ã€ã³ã§ã®ã質åã«ã¯ããã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ã¢ããªã±ãŒã·ã§ã³ãšã³ãžãã¢ãå¿ ãåçããããŸãã
â æšæºãµããŒãã»ä¿å®ããã°ã©ã ïŒSSPïŒâNI ã®ã¢ããªã±ãŒã·ã§ã³ãšã³ãžãã¢ã«ããé»è©±ãŸã㯠E ã¡ãŒã«ã§ã®åå¥ãµããŒãããµãŒãã¹ãªãœãŒã¹ã»ã³ã¿ãŒããã®ãªã³ããã³ããã¬ãŒãã³ã°ã¢ãžã¥ãŒã«ã®ããŠã³ããŒããå¯èœãšãªãããã°ã©ã ã§ãã ãã®ããã°ã©ã ã«ã¯è£œåãè³Œå ¥æã«ãå å ¥ããã ãããã®åŸ 1 幎ããšã«å¥çŽæŽæ°ããŠãµãŒãã¹ãç¶ç¶ããããšãã§ããŸãã ãã®ä»ã®æè¡ãµããŒããªãã·ã§ã³ã«ã€ããŠã¯ãni.com/jp/servicesãã芧ããã ãããni.com/contactãããåãåãããã ããã
⢠ãã¬ãŒãã³ã°ãšèªå®âèªç¿åœ¢åŒã®ã³ãŒã¹ããããã€ã³ã¹ãã©ã¯ã¿ã«ã
ãå®è·µã³ãŒã¹ãªã©ã®ãã¬ãŒãã³ã°ããã³èªå®ããã°ã©ã ã«ã€ããŠã¯ã
ni.com/jp/trainingã åç §ããŠãã ããã
⢠ã·ã¹ãã ã€ã³ãã°ã¬ãŒã·ã§ã³âæéã®å¶çŽãããå Žåã瀟å ã®æè¡ãª
ãœãŒã¹ãäžè¶³ããŠããå ŽåããŸãã¯ãããžã§ã¯ãã§ç°¡åã«è§£æ¶ããªã
åé¡ãããå Žåãªã©ã¯ããã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ã¢ã©ã€ã¢ã³ã¹
ããŒãããŒã«ãããµãŒãã¹ããå©çšããã ããŸãã 詳ããã¯ãNI å¶æ¥
æã«ãé»è©±ããã ãããni.com/jp/allianceãã芧ãã ããã
ä»é² A æè¡ãµããŒãããã³ãããã§ãã·ã§ãã«ãµãŒãã¹
NI Vision Assistant ãã¥ãŒããªã¢ã« A-2 ni.com/jp
NI ã®ãŠã§ããµã€ãïŒni.com/jpïŒãæ€çŽ¢ããŠãåé¡ã解決ããªãå Žåã¯ã
NI ã®åœå å¶æ¥æãŸãã¯ç±³åœæ¬ç€ŸãŸã§ãåãåãããã ããã æµ·å€æ¯ç€Ÿã®é»
話çªå·ã¯ããã®ããã¥ã¢ã«ã®åé ã«èšèŒãããŠããŸãã ãŸããNI ãŠã§ããµ
ã€ãã® Worldwide Offices ã»ã¯ã·ã§ã³ïŒni.com/niglobalïŒè±èªïŒïŒã
ãæµ·å€æ¯ç€Ÿã®ãŠã§ããµã€ãã«ã¢ã¯ã»ã¹ããããšãã§ããŸãã åæ¯ç€Ÿã®ãµã€
ãã§ã¯ããåãåããå ããµããŒãé»è©±çªå·ãE ã¡ãŒã«ã¢ãã¬ã¹ãçŸè¡ã®
ã€ãã³ãçã«é¢ããææ°æ å ±ãæäŸããŠããŸãã
© National Instruments Corporation G-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
çšèªé
LLabVIEW Laboratory Virtual Instrument Engineering WorkbenchïŒã©ãã©ããª
ä»®æ³èšæž¬åšãšã³ãžãã¢ãªã³ã°ã¯ãŒã¯ãã³ãïŒâG ããã°ã©ãã³ã°èšèªã«
åºã¥ããããã°ã©ã éçºç°å¢ã éåžžãLabVIEW ã¯ãã¹ãããã³èšæž¬ã¢ã
ãªã±ãŒã·ã§ã³ã«äœ¿çšãããŸãã
NNI-IMAQ ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ç»åéé²ããã€ã¹çšã®ãã©ã€ããœãããŠã§
ã¢ã
NI-IMAQdx IEEE 1394 ãš GigE Vision ã«ã¡ã©çšã® NI ãã©ã€ããœãããŠã§ã¢ã
PPNG ããŒã¿ãã«ãããã¯ãŒã¯ã°ã©ãã£ãã¯ã¹ã8 ãããã16 ããããã«ã©ãŒ
ç»åãä¿åããããã®ãéé«æžè¡°å§çž®ã«ããç»åãã¡ã€ã«åœ¢åŒïŒæ¡åŒµå
PNGïŒã
RROI é¢å¿é åâïŒ1ïŒç»åã衚瀺ããŠãããŠã£ã³ããŠããã°ã©ãã£ãã¯ã«éžæ
ãããç»åã®é åã ãã®é åã¯ãè¿œå çãªåŠçãéäžçã«è¡ãã®ã«äœ¿çšã§
ããŸããïŒ2ïŒéé²ãŠã£ã³ããŠã®ããŒããŠã§ã¢ã«ããããã°ã©ã ãå¯èœãª
åè§åœ¢ã®éšåã
VVI ä»®æ³èšæž¬åšãïŒ1ïŒåŸæ¥ã®ã¹ã¿ã³ãã¢ãã³èšæž¬åšã®æ©èœããããããŒã
ãŠã§ã¢ãšãœãããŠã§ã¢ã®äž¡æ¹ãŸãã¯çæ¹ã®èŠçŽ ã®çµã¿åãããéåžžãPCãšå ±ã«äœ¿çšããŸããïŒ2ïŒããã³ãããã«ãŠãŒã¶ã€ã³ã¿ãã§ãŒã¹ãšããã
ã¯ãã€ã¢ã°ã©ã ã®ããã°ã©ã ã§æ§æããã LabVIEW ã®ãœãããŠã§ã¢ã¢
ãžã¥ãŒã«ïŒVIïŒã
çšèªé
NI Vision Assistant ãã¥ãŒããªã¢ã« G-2 ni.com/jp
ã
ãšããž ç»åå ãŸãã¯ãã¯ã»ã«é åäžã®ãã¯ã»ã«èŒåºŠã®æ¥æ¿ãªå€åïŒé·ç§»ïŒã«ãã£
ãŠå®çŸ©ãããŸãã
ãšããžæ€åº ç»åå ã®ãªããžã§ã¯ãã®ãšããžãèå¥ããè€æ°ã®ãã¯ããã¯ã®ããããã
ã
ã«ãŒãã« ãã¯ã»ã«ãšãã®è¿æ¥ãã¯ã»ã«ãšã®é¢ä¿ãè¡šãæ§é ã é¢ä¿ã¯ãåè¿æ¥ãã¯ã»
ã«ã®éå¿ä¿æ°ã«ãã£ãŠæå®ãããŸãã
解å床 ãã¯ã»ã«ã®è¡ãšåã®æ°ã m è¡ n åã§æ§æãããç»åã¯ãm à n ã®å解èœã§
ãã
å転ã«åœ±é¿ãããªããã
ãã³ã°
ãã¹ãç»åã§åºæºãã¿ãŒã³ãä»»æã®è§åºŠã§å転ããããšãå¯èœãªã ãã§ãª
ããä»»æã®æ¹åã§é 眮ããããšãå¯èœãªãã¿ãŒã³ãããã³ã°ã®æè¡ã
ç»çŽ ããžã¿ã«ç»åã®èŠçŽ ã ãã¯ã»ã«ãšãåŒã°ããŸãã
ç»å äºæ¬¡å èŒåºŠé¢æ° f (x, y) ã®ããšã§ãx ãš y ã¯ç©ºé座æšãä»»æã®ãã€ã³ã
(x, y) ã§ã®å€ f ã¯ããã®ãã€ã³ãã§ã®èŒåºŠã«æ¯äŸããŠããŸãã
ç»åå ç»åãéé²ããã³è¡šç€ºããç»åããŒã¿ã解æããåŠçéçšã
ç»ååŠç ç»åã«é©çšå¯èœãªããŸããŸãªåŠçãšè§£æé¢æ°ãå«ãŸããŸãã
ç»åãœãŒã¹ å ã®å ¥åç»åã
ç»åãã¡ã€ã« ãã¯ã»ã«ããŒã¿ãå«ããã¡ã€ã«ãšãã®ç»åã«é¢ããè£å©çæ å ±ã
ç»åãã©ãŠã¶ ããžã§ã³ã¢ããªã±ãŒã·ã§ã³ã§è§£æãŸãã¯åŠçããç»åã®ãµã ããŒã«ãå«ã
ç»åã
é¢æ° å ¥åãšåºåãã©ã¡ãŒã¿ãŸãã¯ãã®ã©ã¡ãããããå®è¡æã«å€ãè¿ã 1 è¡
ã®ã³ãŒãã«ãã£ãŠå®è¡ããããœãããŠã§ã¢ã®åœä»€ã®ã»ããã
çšèªé
© National Instruments Corporation G-3 NI Vision Assistant ãã¥ãŒããªã¢ã«
ã
èŒåºŠ 3 ã§é€ç®ãããèµ€ãç·ãéã®äžåè²ã®åèšãïŒèµ€ + ç· + é ) / 3ïŒ
ãã£ãªã (1) ãšããžæ€åºãç²å解æãå³å¿ãæ€åºé¢æ°ã«ãã£ãŠæå®ãããäœçœ®ã«åº
ã¥ããŠè·é¢ãè§åºŠãå圢ãã£ãããéå¿ãèšç®ãã Vision Assistant ã®é¢
æ°ã(2) ç»åå ã®æå®ãããã¹äžã§äžçµã®ãšããžãæ€åºããèšæž¬é¢æ°ã ãã®é¢æ°ã¯ãšããžæœåºãå®è¡ãã次ã«ç«ã¡äžããããã³ç«ã¡äžãããšããžé
ã®è·é¢ããšããžã³ã³ãã©ã¹ããªã©ãç¹å®ã®åºæºã«åºã¥ããŠäžçµã®ãšããžã
æ€åºããŸãã
è¿æ¥ãã¯ã»ã« ç»ååŠçã®éããã¯ã»ã«ã®å€ãè¿æ¥ãããã¯ã»ã«ã®å€ã«åœ±é¿ãããã¯ã»
ã«ã è¿æ¥ãã¯ã»ã«ã¯éåžžã«ãŒãã«ãŸãã¯æ§æèŠçŽ ã«ãã£ãŠå®çŸ©ãããŸãã
ã
ã°ã¬ãŒã¹ã±ãŒã«ç»å ã¢ãã¯ãæ å ±ãå«ãç»åã
ã¯ãã ãããªä¿¡å·ã®ã«ã©ãŒæ å ±ã
ã
ã²ãŒãžã³ã° ãªããžã§ã¯ããŸãã¯ãªããžã§ã¯ãéã®è·é¢ã®æž¬å®ã
æ€æ» éšåã®æ¬ æãéšåè¡šé¢ã®ã²ã³ãªã©ã®åçŽãªæ¬ é¥ãæ€åºãããããéšåãã
ã¹ãããããã»ã¹ã
ã
ã³ã³ãã©ã¹ã ã«ã©ãŒãã³ãŒãåŠçã«ãããã«ã©ãŒãã¯ã»ã«ã®ã«ãããã³ã¯ããæåã«é©
çšãããäžå®ã®å¢åçã
ã
座æšç³» é¢å¿é åã®æ¹åããã³è§åºŠçãªèª¿æŽãå¿ èŠãªå Žåãé¢å¿é åãé¢é£ä»ãã
ããç»åå ã®åºæºäœçœ®ïŒåç¹ïŒãšè§åºŠã 座æšç³»ã¯ã2 ã€ã®è»žã®äœçœ®ãšæ¹å
ãè¡šã 2 ã€ã®ã©ã€ã³ã«ãã£ãŠç€ºãããŸãã
çšèªé
NI Vision Assistant ãã¥ãŒããªã¢ã« G-4 ni.com/jp
ã
ã·ããã«åœ±é¿ãããªã
ãããã³ã°
ãã¹ãç»åã§åºæºãã¿ãŒã³ãã©ã®ãããªãµã€ãºã«ãªã£ãŠããŠãæ€åºã§ãã
ãã¿ãŒã³ãããã³ã°ã®æè¡ã
ãããå€ æå®ãããç¯å²å ã®èŒåºŠã®ãã¹ãŠã®ãã¯ã»ã«ããªããžã§ã¯ãããã®ä»ã®ã
ã¯ã»ã«ãèæ¯ã«å²ãåœãŠãããšã§ãèæ¯ãããªããžã§ã¯ããåé¢ããŸãã çµæã®ãã€ããªç»åã§ã¯ããªããžã§ã¯ã㯠255 ã®ãã¯ã»ã«èŒåºŠã§è¡šããã
èæ¯ã¯ 0 ã«èšå®ãããŸãã
ã
æ°é解æ ç»åå ã®ãªããžã§ã¯ãã®ããŸããŸãªæž¬å®å€ãååŸããŸãã
ã
é®®æ床 ç»åå ã§è¡šç€ºå¯èœãªè²ãšé調ã®æ°ã瀺ããã¯ã»ã«ã«äœ¿çšå¯èœãªå€ã®æ°å€ã
ã€
ããŒã«ãã¬ãã é¢å¿é åã®å€æŽããºãŒã ã€ã³ / ã¢ãŠããç»åãã¬ããã®å€æŽãªã©ãè¡ãã
ãã®ããŒã«ã®éåã
ãŠ
ããžã¿ã«ç»å é¢æ£ãã¯ã»ã«æ°ã«å€æãããç»å f (x, y)ã 空é座æšãšèŒåºŠã®äž¡æ¹ãæå®ã
ããŸãã
ãã³ãã¬ãŒã ã«ã©ãŒãããã³ã°ã圢ç¶ãããã³ã°ããŸãã¯ãã¿ãŒã³ãããã³ã°é¢æ°ã䜿
çšããŠãç»åå ã§ããããæ€åºããããšããŠããè²ã圢ç¶ããŸãã¯ãã¿ãŒ
ã³ã ãã³ãã¬ãŒãã¯ãç»åããéžæãããé åã®å Žåãšãç»åå šäœã®å Žå
ããããŸãã
ãš
ãã©ã€ã NI Vision ã DAQ ããã€ã¹ãªã©ãç¹å®ã®ããŒããŠã§ã¢ããã€ã¹ãå¶åŸ¡ã
ããœãããŠã§ã¢ã
çšèªé
© National Instruments Corporation G-5 NI Vision Assistant ãã¥ãŒããªã¢ã«
ã¯
ãã€ããªç»å éåžžãªããžã§ã¯ãã« 1ïŒãŸã㯠255ïŒã®ãã¯ã»ã«èŒåºŠãèæ¯ã« 0 ã®ãã¯ã»
ã«èŒåºŠãããç»åã
ãã¿ãŒã³ãããã³ã° ã°ã¬ãŒã¹ã±ãŒã«ç»åå ã§ã°ã¬ãŒã¹ã±ãŒã«ãã³ãã¬ãŒããçŽ æ©ãæ€åºããã®
ã«äœ¿çšããããã¯ããã¯ã
ãã¬ãã ç»åãç»é¢ã«è¡šç€ºããããã®è²ã®é調ã§ãéåžžã«ã©ãŒã«ãã¯ã¢ããããŒã
ã«ã§å®çŸ©ãããŸãã
ã²
ãã¯ã»ã« ç»çŽ ããããªã¹ãã£ã³ã©ã€ã³ãæ§æããæå°éšåã ã³ã³ãã¥ãŒã¿ã®ã¢ãã¿
ã«è¡šç€ºããå Žåããã¯ã»ã«ã®æé©å¯žæ³ã¯æ£æ¹åœ¢ïŒã¢ã¹ãã¯ãæ¯ 1:1§ ã€ãŸ
ãå¹ ãšé«ããçããïŒã§ãã
ãã¹ãã°ã©ã ç»åã®ãã¯ã»ã«ã®åã°ã¬ãŒã¬ãã«å€ããšã®éçååžã瀺ããŸãã
ãŸ
ãã·ã³ããžã§ã³ ç®èŠæ€æ»ã®ã¿ã¹ã¯ã®ã»ãããå®è¡ããèªåã¢ããªã±ãŒã·ã§ã³ã
ã
æ床 ã«ããåç §ã
æ床ïŒvïŒ ValueïŒæ床ïŒãæ倧ããã³æå°ã®èµ€ãç·ãéã®å€ã®å¹³åãšããŠèšç®ãã
ãã«ã©ãŒãã¯ã»ã«ã®ã°ã¬ãŒã¹ã±ãŒã«èŒåºŠã
ã
ã©ã€ã³ãããã¡ã€ã« ç»åå ã®ãã¯ã»ã«ã®ç·äžã®ã°ã¬ãŒã¬ãã«ååžã瀺ããŸãã
çšèªé
NI Vision Assistant ãã¥ãŒããªã¢ã« G-6 ni.com/jp
ã
ç²å ãã¹ãŠã®ãã¯ã»ã«ãåãèŒåºŠã¬ãã«ãæã€ç»åå ã®é£çµããé åãŸãã¯ã
ã¯ã»ã«ã®éåäœã
ç²å解æ ç»åå ã®ç²åã«é¢ããç¹å®ã®æ å ±ãçæããäžé£ã®åŠçæäœããã³è§£æé¢
æ°ã
é å ãœãããŠã§ã¢ã«ãã£ãŠå¶åŸ¡ããã³å®çŸ©ãããéé²ãŠã£ã³ããŠãŸãã¯ãã¬ãŒ
ã ã®é·æ¹åœ¢ã®äžéšåã
ã
ã«ã ãããªç»åå ã®èŒåºŠæ å ±ã ã«ãä¿¡å·ã®æ¯å¹ ã¯ããããªä¿¡å·ã®èŒåºŠã«æ¯äŸã
ãŠå€åããã¢ãã¯ãç»åã«æ£ç¢ºã«å¯Ÿå¿ããŸãã
© National Instruments Corporation I-1 NI Vision Assistant ãã¥ãŒããªã¢ã«
玢åŒ
æ°å€2 å€å
2 å€åãã©ã¡ãŒã¿ãå€æŽããã3-10æå 2 å€åã2-4ã3-6é®®æ床ã2-1æé ã2-4ç²åãšèæ¯ãåé¢ããã3-6
2 å€åèšå®ãŠã£ã³ããŠã2-4
CC ã³ãŒãã®äœæã1-3ã3-13C ã³ãŒããäœæããã1-3ã3-13
LLabVIEWã3-10
VI ã®äœæã1-3ã3-12LabVIEW VI ãäœæããã1-3ã3-12LabWindows/CVIã3-10
C ã³ãŒãã®äœæã1-3ã3-13
MMeasurement & Automation Explorer
(MAX)ã2-6
NNI ã®ãµããŒããšãµãŒãã¹ãA-1
VVision Assistant
ç»åãéãã2-1ç°å¢ã1-1èµ·åããã1-1æ©èœã1-2çµäºããã1-1ã¹ã¯ãªããã1-4ã¹ã¿ãŒãã¢ããã2-1ãã«ãã衚瀺ããã1-3
ç²å解æã3-10ç»åãéé²ããã2-6
Vision Assistant ã§ãã«ãã衚瀺ããã1-3Vision Assistant ãèµ·åããã1-1Visual Basicã3-10VI ã®äœæã1-3ã3-12
ãç©Žåãã3-8
ãã€ã³ã¹ããŒã«ãããVision Assistantã1-1
ããŠã£ã³ããŠ
çµã¿èŸŒãã«ãã1-3åç §ã1-3ã2-3ã3-10詳现ãã«ãã1-3åŠçé¢æ°ã1-2åŠçããã1-2ã¹ã¯ãªããã1-2ã2-5èšå®ã1-2
ãŠã§ããªãœãŒã¹ãA-1
ããšããžãç»åå ã«æ€åºããã4-6ãšããžåŒ·åºŠã®èŠçŽ ã4-7ãšããžæ€åºåšã4-6ãšããžãæ€åºããã4-6å圢ç²å
解æããã3-9åé¢ã3-9
å圢ç²åãåé¢ã3-9
ãç»åéé²ã2-6
ç»åãéé²ããã®é ãåç §
ç»åéé²ããã€ã¹ã1-1ã1-3ã2-6ã2-8ç»ååŠçã2 å€åç»åã2-5
玢åŒ
NI Vision Assistant ãã¥ãŒããªã¢ã« I-2 ni.com/jp
ç»åã®ãã¬ãã¥ãŒãŠã£ã³ããŠã3-2ã4-3ç»åãã©ãŠã¶
éèŠãªèŠçŽ ïŒå³ïŒã2-2é®®æ床ã1-2ããŒã«ããŒããã¢ã¯ã»ã¹ããã3-10
ç»ååå²ã°ã¬ãŒã¹ã±ãŒã«ã® 2 å€åã2-4ã3-6
ç»åãæ¡å€§ããã4-7ç»åãã°ã©ãããïŒé£ç¶éé²ïŒã2-9ç»åãéé²ãã
ã°ã©ãïŒé£ç¶ç»åïŒã2-9ã·ãŒã±ã³ã¹ã2-9ã¹ãããïŒåäžç»åïŒã2-8
ç»åãéãã2-1ã3-2ã4-3ç»åããã£ã«ã¿åŠçããã3-5ç»åãããŒãããã2-1ã3-2ã4-3ã5-2ç»åãã²ãŒãžã³ã°çšã«ããŒãããã4-3é¢é£ããã¥ã¡ã³ããviii
ãæè¡ãµããŒããA-1æè¡ãµããŒãããŒã¿ããŒã¹ãA-1æ©èœã1-2ãã£ãªãã4-10ã4-7ãã£ãªãé¢æ°ã䜿çšããã4-7
ãã°ã©ãã2-6
ãèšæž¬åšãã©ã€ãïŒNI ãªãœãŒã¹ïŒãA-1èšæž¬ãéžæãã¿ã³ã3-10ã²ãŒãžã³ã°
ãšããžãæ€åºããã4-6æŠèŠã4-1ç»åãããŒãããã4-3é®®æ床ã4-1枬å®çµæã解æããã4-11枬å®ãè¡ãã4-7ãã¿ãŒã³ãããã³ã°ã§æž¬å®ç¹ãæ€åºããã
4-3ãã©ã±ããã®ä»æ§ïŒå³ïŒã4-2
ã²ãŒãžã³ã°çšã®æž¬å®ã²ãŒãžã³ã°ãåç §çµæã Excel ãžéä¿¡ãã¿ã³ã3-10
ã座æšç³»
æç¡ããã§ãã¯ããã5-4æŠèŠã5-1座æšç³»ãå®çŸ©ããã5-4é®®æ床ã5-1ç¹åŸŽãå®çŸ©ããã5-2
座æšç³»ã¹ããããèšå®ããã5-4ãµããŒã
æè¡ãA-1åç §ãŠã£ã³ããŠ
ç»ååç §ã«äœ¿çšããã3-10é®®æ床ã1-3ç®çã2-3
ãµã³ãã«ïŒNI ãªãœãŒã¹ïŒã1-4ãA-1
ãã·ãŒã±ã³ã¹ã2-6ã2-9ã·ãã¥ã¬ãŒã·ã§ã³ã¢ãžã¥ãŒã«ã2-6çµäºãããVision Assistant ãã1-1éé²ãŠã£ã³ããŠãéãã2-7éé²ã¿ã€ã
ã°ã©ãã2-6ã·ãŒã±ã³ã¹ã2-6ã¹ãããã2-6
äžçŽãšããžããŒã«ã4-6詳现ãã«ããŠã£ã³ããŠã1-3åŠçãŠã£ã³ããŠã1-2åŠçé¢æ°ãŠã£ã³ããŠã1-2蚺æããŒã«ïŒNI ãªãœãŒã¹ïŒãA-1
ããºãŒã ã€ã³ããŒã«ã4-7ã¹ã¯ãªããã1-4
ã²ãŒãžã³ã°ã®ã¹ã¯ãªãããä¿åããã4-10
ç²å解æã¹ã¯ãªãã
ãã¹ãããã3-10ä¿åããã3-12é²é³ããã3-2
ã¹ã¯ãªãããŠã£ã³ããŠã1-2ã¹ã¯ãªããäœæ
ã¹ã¯ãªããã2-6ã¹ã¯ãªãããŠã£ã³ããŠã2-5
玢åŒ
© National Instruments Corporation I-3 NI Vision Assistant ãã¥ãŒããªã¢ã«
ã¹ã¯ãªãããå®è¡ãã¿ã³ã2-6ã3-10ã3-12
ã¹ã¯ãªãããä¿®æ£ããã3-11ã¹ã¯ãªãããéãã2-6ã¹ã¯ãªãããä¿åããã2-6ã3-12
ã¹ã¯ãªãããã¡ã€ã«ã1-1ã¹ã¯ãªããã 2 å€åã2-6ã¹ã¯ãªãããäœæãã
ã¹ã¯ãªãããŠã£ã³ããŠã1-2ã¹ã¯ãªããããã¹ãããã3-10説æã1-1
ã¹ã¯ãªãããå®è¡ãã¿ã³ã2-6ã3-10ã3-12ã¹ã¯ãªããããã¹ãããã3-10ã5-5ã¹ã¿ãŒãã¢ãããVision Assistantã2-1ã¹ãããã2-6ãã¹ãŠã®ãã¡ã€ã«ãéžæãªãã·ã§ã³ã3-2ã
4-3
ãèšå®ãŠã£ã³ããŠã1-2
ãæäœç°å¢ãVision Assistantã1-1枬å®ç¹æ€åºçšã®ãã¿ãŒã³ãããã³ã°ã4-3枬å®ãè¡ãã4-7ãœãããŠã§ã¢ïŒNI ãªãœãŒã¹ïŒãA-1ãœãªã¥ãŒã·ã§ã³ãŠã£ã¶ãŒãã1-3
ãåäžã®ç»åãã¹ãããããïŒ1 åã®éé²ïŒã
2-8
ã¡ãã¥ãŒããªã¢ã«
ã²ãŒãžã³ã°ã4-1座æšç³»ã5-2ç²å解æã3-2
ãŠé©å宣èšïŒNI ãªãœãŒã¹ïŒãA-2
ãšããã¥ã¡ã³ã
NI ãªãœãŒã¹ãA-1é¢é£ããã¥ã¡ã³ããviiiæ¬æžã§äœ¿çšããè¡šèšèŠåãvii
ãã©ã€ãïŒNI ãªãœãŒã¹ïŒãA-1ãã©ãã«ã·ã¥ãŒãã£ã³ã°ïŒNI ãªãœãŒã¹ïŒãA-1ãã¬ãŒãã³ã°ãšèªå®ïŒNI ãªãœãŒã¹ïŒãA-1
ãªãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ã
ãŠã§ããµã€ãã1-4ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ãŠã§ããµããŒ
ã
NI Vision ãã«ãã衚瀺ããã1-4ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ãµããŒããš
ãµãŒãã¹ãA-1
ã¯ãããåŠçã1-2ã3-12ã4-11ã5-7ããã©ãŒãã³ã¹ã¡ãŒã¿ã1-3ã3-12
ã²ãã¹ãã°ã©ã ã2-4ã3-7
2 å€åèšå®ãŠã£ã³ããŠã®ã2-4ãã«ããã¡ã€ã«ã1-3
ãµçžã«ãããªããžã§ã¯ããåé€ããã3-8éšåæ€æ»ã4-1ãã©ãŠã¶ç»åãã©ãŠã¶ãåç §ããã°ã©ãã³ã°ãµã³ãã«ïŒNI ãªãœãŒã¹ïŒãA-1
ãžãã€ãŠããå圢èŠå ã®ç²åãã£ã«ã¿ã3-9ãã«ã
æè¡ãµããŒããA-1詳现ãã«ããŠã£ã³ããŠã1-3ããŒã«ã®ãã³ãã1-3ãã·ã§ãã«ã€ã³ã¹ãã«ã¡ã³ãã®ãŠã§ããµ
ã€ãã1-4
玢åŒ
NI Vision Assistant ãã¥ãŒããªã¢ã« I-4 ni.com/jp
ãŸããã¥ã¢ã«ã®è¡šèšèŠåãvii
ãã¢ãã©ããžãŒã3-8
ãã©ã€ã³ããŒã«ã3-3ã©ã€ã³ãããã¡ã€ã«ã3-3ã©ãã«ã®è¡šç€ºãªãã·ã§ã³ã3-9
ãç²åã3-1ç²åã2 å€åã«ãã£ãŠèæ¯ããåé¢ããã3-6ç²å解æ
2 å€åã3-6å圢ç²åã解æããã3-9å圢ç²åãåé¢ã3-9
æŠèŠã3-1ã3-2ç»ååŠçã®æºåãããã3-3ç»åãæ€æ»ããã3-3ç»åãéãã3-2åŠçæéãæšå®ããã3-12ã¹ã¯ãªããããã¹ãããã3-10ã¹ã¯ãªãããä¿åããã3-12é®®æ床ã3-1ãã£ã«ã¿åŠçããã3-5ã¢ãã©ããžãŒã3-8ã¢ãã©ããžâé¢æ°ã§ç²åãä¿®æ£ããã3-8ç²åãšèæ¯ãåé¢ããã3-6ç²åãã£ã«ã¿ã3-9
ç²åãšèæ¯ãåé¢ããã3-6ç²åãã£ã«ã¿ã3-9ç²åã解æããã3-9
ãé£ç¶éé²ïŒç»åãã°ã©ãããïŒã2-9