background image

VisionNavi User Manual

66

2.10

Other 

Judge formula 

The tool execution result is judged by an arithmetic expression. 
You can create arbitrary formulas by combining mathematical expressions such as
arithmetic operations with the results detected by the tool.
 

Detection result 

Edit arithmetic expression. 

1.

Turn on [Edit start] slide. 

2.

Enter the calculation formula. Assignment to each variable is entered with ": =". 
Ex.)

 

Data1:=PosX Strings are enclosed in single quotation. Equations that can 

be used in arithmetic expressions are shown in Table 1. 

3.

When you finish entering the calculation formula, click [evaluate expression] 
button. 

4.

If there is an error in the expression, the number of lines with errors and the con-
tents are displayed. 

5.

Turn off [Edit end] slide and finish editing. 

 

<Attention>> 
Depending on formulas, there is a possibility of malfunctioning in the system. 

Содержание VisionNavi

Страница 1: ...User Manual VisionNavi...

Страница 2: ...n Advantech assumes no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our customers never...

Страница 3: ...ructions may cause harmful inter ference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interf...

Страница 4: ...9 Position the power cord so that people cannot step on it Do not place anything over the power cord 10 All cautions and warnings on the equipment should be noted 11 If the equipment is not used for a...

Страница 5: ...NUFACTURER S INSTRUCTIONS 23 The sound pressure level at the operator s position according to IEC 704 1 1982 is no more than 70 dB A Safety Precaution Static Electricity DISCLAIMER This set of instruc...

Страница 6: ...VisionNavi User Manual vi...

Страница 7: ...ction area 4 1 4 Detection result judgment 4 1 5 Term list 5 1 6 Basic Operation 7 1 6 1 Setting screen 7 1 7 Running Screen 9 1 8 Basic Configuration 9 1 9 Inspection setting 11 1 10 Tool setting 13...

Страница 8: ...VisionNavi User Manual 16...

Страница 9: ...Chapter 1 1 Outline of inspection...

Страница 10: ...to temporarily store the image in the memory during the examination or call up the image saved in the file Image processing Judgement Image processing is processing such as reduction of noise of imag...

Страница 11: ...sample 3 positioning Consider polarity and 4 click OK Create inspection project Setting inspection area After adding the tool make detailed settings In Detection region of Preprocessing you can set wh...

Страница 12: ...considered defective products To make that judgment with the area of the detection result selected set the value of max of Judgment threshold to 40 These examples are as follows In this case it is ju...

Страница 13: ...e features such as area and circularity and so on 11 Morphology A method of image processing that expands or contracts a speci fied region 12 Metrology A method of image processing that acquires a poi...

Страница 14: ...ng on the drawing content it may affect image processing time It is recommended to perform inspection in operation mode Point Tool IDs are automatically allocated from T00 in the order they were creat...

Страница 15: ...Previous History icon it is possible to check the history image History images are deleted when the power is turned off By right clicking on the history image window the following set tings and contro...

Страница 16: ...bscreen tool name File Browser Display divition setting You can split the display screen and display processing results of multiple camera tools at once You can select from the following split screens...

Страница 17: ...trator operator and user Administrator with password You can do all settings Set operator with password You can set the tool user without password You can only run stop driving Account setting You can...

Страница 18: ...the upper left pixel of the image Capture setting Exposure time The unit is millisecond ms and it is set in 0 1 ms to 1 000 ms Gain You can increase the sensitivity of the camera Because there is a d...

Страница 19: ...asurement you can correct the dis tortion of the lens and the inclination of the imaging surface and the image sensor of the camera Please contact the distributor if you need it Point By executing the...

Страница 20: ...tool or all tools Set the execute condition Each tool can be set to execute only when the specified condition is met Right click on the tool set the execution condition and select the menu Always val...

Страница 21: ...t to the outside Edit all tools at once The following checks and settings are possible 1 Confirm the ID of each tool in the tool list 2 Edit tool name 3 Edit tool description 4 Set execution condition...

Страница 22: ...VisionNavi User Manual 14...

Страница 23: ...Chapter 2 2 Tool...

Страница 24: ...VisionNavi User Manual 18 2 1 Tool Description List A list of tools that can be selected...

Страница 25: ...lete area You can do the same with the keyboard shortcut key Ctrl c Ctrl v to copy and delete the region You can copy delete and move by right clicking on the region If you hold down the Alt key and d...

Страница 26: ...e specified by FrameRate Light control OFF Light control will not be done FLASH output Assign to any control output DO It is valid when OFF or TRIG is selected in the trigger setting PoE pulse lightin...

Страница 27: ...camera exposure time Trigger Set the trigger condition of the camera OFF Software trigger TRIG Assign to any control input DI Filter size Change the filter size according to the size of the unevenness...

Страница 28: ...the previous capture Tool output image Acquires the output image with the specified tool ID Saved memory image Specify the memory image ID to acquire the memory image saved in temporary memory Saved i...

Страница 29: ...the number to 0 when nn or nnnn is used as the file name Reset Invalid Continuation continues even if continuous operation is interrupted or restarted When Reset at start of continuous shot is selecte...

Страница 30: ...guous edges Make it easier to detect small dirt and scratches Depending on the detection region setting it is possible to narrow down the region to be filtered Processing time can be shorter than filt...

Страница 31: ...ue of the HSV color space HSI_H H component hue of the HSI color space HSV_S S component saturation of the HSV color space HSI_S S component saturation of the HSI color space HSV_V V component brightn...

Страница 32: ...t of output img Specify the height of the image after polar coordinate conversion Trapezoidal shape correction Trapezoidal shape correction Specify the trapezoid shape and perform projective transform...

Страница 33: ...tangle or inscribed rectangle no rotation of the target area Outer rotatable rectangle Convert the area to the circumscribed rectangle with rotation of the target area Ellipse Convert the area to an a...

Страница 34: ...value of each pixel is subtracted and an offset is applied uni formly to the operation result Sub Abs It subtracts the gray value of each pixel and takes the absolute value of the difference Mult Mult...

Страница 35: ...ting condition changes etc and it is possible to select the following two kinds of correction method Correct average gray value Span correctoin Image correction Remove areas such as stain defects extr...

Страница 36: ...d as judgment thresholds and it can be judged whether or not matching can be made Shape matching Register the edge information of the image as a model and detect and position the shape model Gray dens...

Страница 37: ...he specified unit with the mm pix information set with the camera setting tool Parameters used only for shape matching Search angle Specify rotation angle of pose to search model shape with 0 to 180 S...

Страница 38: ...sitioning is performed using the processing result of the previous tool For the previous tool please place a tool that outputs position information PosX and PosY by judgment measurement etc Distortion...

Страница 39: ...is the area of the largest one of the extracted defects Total Area It is the sum of the areas of extracted defects CTR of G X Y It is the coordinate value of the center of gravity of the whole extrac...

Страница 40: ...tion Comparison with good sample No positioning Inspect images that have been positioned beforehand Enter model Register a non defective model from the master image In case of positioning you will cre...

Страница 41: ...search when comparing and matching non defective items in order to shorten processing time The search condition is used at this time Next you evaluate the candidate to be detected found by rough sear...

Страница 42: ...rea is surrounded by the extracted flaws or defects set whether or not to fill out and extract it Max area Min area Specify the extent of the size of the scratch or defect to be extracted It is possib...

Страница 43: ...he two images to be calculated for the movement amount Edge based Only the edge region can be targeted out of the differences between the two images to be calculated for the movement amount Edge size...

Страница 44: ...cted Gray scale binarization area 2 6 Presence Count Gray scale binarization area Binarize the image in the target area calculate the feature quantity such as the num ber position shape etc of the obt...

Страница 45: ...he obtained region and make a judgment Detect condition Color space Display the color to be detected in annular HSV space By clicking the eyedropper mark you can select any color from the image By dra...

Страница 46: ...the gray value slope of the brightness in the detection region Gray scale difference Color difference Compare the brightness or color information in the target region and judge whether or not there i...

Страница 47: ...A variation of the brightness with the master image in each region Blob analysis Shape judgement Blob analysis Shape judgement Judge by the shape features of region extracted from the previous tool Fo...

Страница 48: ...thod is similar to gray density matching of Positioning Matching Detect condition For the detection condition the same condition as Positioning Matching and the fol lowing can be selected Sort order W...

Страница 49: ...Line Detect the edge on the right side or the left side of the guide line for setting preferentially Outside priority Intside priority Circle Arc Rectangle Detect the edge on the outside or inside of...

Страница 50: ...ror from the approximate line is judged by tolerance Unit conversion Convert the detection result to the specified unit with the mm pix information set with the camera setting tool Measure burr crack...

Страница 51: ...ive See coordinate system p 111 Num of contour The number of contours detected Integrity The percentage of cells that extracted the edge extraction point of each cell in the guide frame Measure burr c...

Страница 52: ...ht side priority Left side priority No direction Edge dir Same direction Dark Light Light Dark Outside priority Inside priority No direction Approx shape Linear approx Curve approx Approx shape Circle...

Страница 53: ...th 1 2 Edge strength The threshold to detect as an edge when the most clear edge in the target part is 100 It is possible to adjust to a stable value while referring to the edge intensity dis tributio...

Страница 54: ...rence with the registered master image and make a judgment on the detection result By measured value The judgment is made on the value of the feature value obtained as the detection result Detect cond...

Страница 55: ...nd edge n coordinates When setting more than one detection region please be careful because it differs in the case of straight line circle circular arc Line Circle Arc Edge dir Both edge Dark Light Li...

Страница 56: ...dgment on the detection result By measured value The judgment is made on the value of the feature value obtained as the detection result Detect condition The detection condition setting parameters are...

Страница 57: ...If the allowable range is made small it will be difficult to extract edges that fall outside the expected width value Compare mode When comparing with the master image you can choose to compare by abs...

Страница 58: ...r diameter and inner diameter using that information Judgement method By difference from master Detect the difference with the registered master image and make a judgment on the detection result By me...

Страница 59: ...on Edge strength The threshold to be detected as an edge when the most clear edge in the target part is 100 It is possible to adjust to a stable value while referring to the edge intensity distributio...

Страница 60: ...in the master registered image Position diff Only when judging by the difference with the master image Difference from the edge position in the master registered image Width The distance between dete...

Страница 61: ...is clockwise positive 180 measured see coordinate system p 111 Measure line line Measure the distance between two straight lines line segments extracted by edge extraction Measure the distance to the...

Страница 62: ...ecessary to place the one with PosX PosY in the output variable Measure point line Measure the distance between the coordinates X Y obtained by the previous tool and the straight line extracted by edg...

Страница 63: ...rom the front enchanced Midway between standard and maximum maximum Corresponds to strain and tilt The processing speed will be slow Num of searches Set the maximum number of two dimensional code to d...

Страница 64: ...ring The information of the bar code Num matches The number of detected bar codes String length The length of the character string of the detected barcode Center X Y The center coordinates of the dete...

Страница 65: ...ou can select a character range by using the character like A Z 0 9 Other characters lose their special meaning in brackets except for You can repeat the previous character or group 0 times or more Yo...

Страница 66: ...s array of each extracted character Character verification OCV Match against the registered character string Master strings 1 Take an image or read a file displaying all the characters you use 2 Turn...

Страница 67: ...action Allow err Pixels that gray difference is less than the allowable value are judged to match Area filter Exclude the area of the extracted character area below the filter value from the tar get V...

Страница 68: ...ut terminal DI by the input output setting Judge logic OFF Determine that the specified input is OFF ON Determine that the specified input is ON Rising Edge When it detects the rising edge of the spec...

Страница 69: ...specified camera becomes the judgment result at the time of execution of the tool execute it with proper synchronization in the camera end monitoring such as the state monitoring tool Logical operatio...

Страница 70: ...he target camera ends Sync event monitoring When the camera is operated in synchronous mode independent con trol OFF wait until a synchronization event is issued from the processing flow of another ca...

Страница 71: ...the execution condition judgment function you can finish processing under specific conditions and end all processing or move to the beginning of the tool list Processing condition End option End all p...

Страница 72: ...2 Enter the calculation formula Assignment to each variable is entered with Ex Data1 PosX Strings are enclosed in single quotation Equations that can be used in arithmetic expressions are shown in Tab...

Страница 73: ...t numbers Abs fabs T floor Compute the floor function of a tuple Floor floor T fmod Calculate the remainder of the floating point division of two tuples Fmod fmod T1 T2 ldexp Calculate the ldexp funct...

Страница 74: ...hether a tuple is greater than another tuple Greater T1 T2 greater_elem Test whether a tuple is elementwise greater than another tuple Greater T1 T2 greater_equal Test whether a tuple is greater or eq...

Страница 75: ...IsNumber is_number T Number Convert a tuple of strings into a tuple of num bers Number number T ord Convert a tuple of strings of length 1 into a tuple of integer numbers Ord ord T ords Convert a tupl...

Страница 76: ...ndices of the sorted tuple Indices sort_index Function name Overview Example of use deviation Return the standard deviation of the ele ments of a tuple Deviation devia tion Tuple tuple_histo_rang e Ca...

Страница 77: ...le Selected firstn Tuple Index last_n Select all elements from index n to the end of a tuple Selected lastn Tuple Index select Select single elements of a tuple Selected Tuple Index Selected subset Tu...

Страница 78: ...s Substrings split String Separator str_first_n Cut the first characters up to position n out of a string tuple Substring str_firstn String Position str_last_n Cut all characters starting at position...

Страница 79: ...anguages like HDevelop and C C already use the backs lash as a general escape character In this case matches a lit eral dot while matches a literal backslash Furthermore there are some special codes t...

Страница 80: ...rence endfor End statement of a for loop for statement reference endif End of if command If statement reference endswitch Ends a multiway branch block switch statement reference endtry Ends a block wh...

Страница 81: ...ove_dir dir close_file Closing a text file close_file handle fnew_line Create a line feed fnew_line handle fread_char Read a character from a file fread_char FileHandle Char fread_line Read a line fro...

Страница 82: ...the maximum minimum value the standard deviation etc for the array in which multiple results are output by the previous tool and perform judgment processing It is used when you want to make a judgmen...

Страница 83: ...ending on the judgment result display non display setting and display color setting can be performed Display setting Display condition Select the display condition of the character string being set Fo...

Страница 84: ...the Judge array tool Positioning tool Tool Detection result name Variable name Array correspondence Positioning Matching Shape matching X PosX Y PosY Angle Angle Scale factor Score Score Gray density...

Страница 85: ...of G X PosX CTR of G Y PosY Flaw inspection Max edge length Total edge length Length Num matches Count Center X PosX Center Y PosY Compari son with good sam ple Need to align the position Area Area Nu...

Страница 86: ...PosY Color binarization area Area Area Num matches Count CTR of G X PosX CTR of G Y PosY Gray value judgement Mean Intensity Max Min Deviation Max Min CTR of G X PosX CTR of G Y PosY Angle Angle Gray...

Страница 87: ...t Area Area Width Width Height CTR of G X PosX CTR of G Y PosY Tilt Angle Major axis len Minor axis len Circularity Ellipticity Brightness mean Brightnessdeviation Compactness Pres ence Count Match in...

Страница 88: ...ws Integrity Score Circle Circle approx Ellipse approx Position diff Radius diff Angle diff Radius Radius Center X PosX Center Y PosY Num of extracted Count Angle Angle Point group X coordinate Column...

Страница 89: ...up X coordinate Columns Point group Y coordinate Rows Center X PosX Circle Circle approx Ellipse approx Center Y PosY Radius Radius Circularity Major axis ellipse Length Minor axis ellipse Angle ellip...

Страница 90: ...X coordinate Columns Point group Y coordinate Rows Measure burr crack Line Num of defect Right error DistOut Left error DistIn Center X PosX Center Y PosY Num of contour Count Angle Angle Integrity Sc...

Страница 91: ...Rectangle Linear approx Curve approx Num of defect Outside error DistOut Inside error DistIn Center X PosX Center Y PosY Num of contour Count Angle Angle Integrity Score Point group X coordinate Colu...

Страница 92: ...ct Count Interval Pitch Measure outer or inner diame ter By difference from master Outer diameter Inner diam eter Specified edge Width diff Position diff Num of detect Count Center X PosX Center Y Pos...

Страница 93: ...ure circle circle Distance Length Angle Angle Midpoint X PosX Midpoint Y PosY Measure point intersection Distance Length Angle Angle Midpoint X PosX Midpoint Y PosY Measure point line Measure point ci...

Страница 94: ...ng length Center X PosX Center Y PosY Grade Score Contrast Unused error correction Print expansion Area Area Barcode String Text Num matches Count String length Center X PosX Center Y PosY Grade Score...

Страница 95: ...89 VisionNavi User Manual Chapter 2 Tool...

Страница 96: ...tions are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion of...

Отзывы: