Denso RC5 Specifications Page 598

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 597
21-46
Example
VISCLS 0 '
WINDMAKE R,1,100,100,0,2 'Sets window 1 to rectangle.
CAMIN 1 'Obtains a camera image from the storage memory.
VISWORKPLN 0
'Sets the processing object screen to storage memory
'0.
VISHIST 1,100,100 'Executes the histogram in window 1 with the
'coordinates (100, 100) as the home position.
WINDDISP 1 '
I2 = VISLEVEL(0) 'Obtains the binarization level using the mode
'method.
VISLOC 10,10 '
IF I2 = -1 THEN VISPRINT “Error” ELSE VISPRINT “Binarization levle=”;I2
'
I2 = VISLEVEL(1) 'Obtains the binarization level using the
'discrimination analysis method.
VISLOC 10,11 '
IF I2 = -1 THEN VISPRINT “Error” ELSE VISPRINT “Binarization level=”;I2
'
I2 = VISLEVEL(2,100,0)
'Obtains the binarization level using the P tile
method.
VISLOC 10,12 '
IF I2 = -1 THEN VISPRINT “Error” ELSE VISPRINT “Binarization level=”;I2
'
Page view 597
1 2 ... 593 594 595 596 597 598 599 600 601 602 603 ... 691 692

Comments to this Manuals

No comments