|
|
|
||||||||||||||||||||||
|
|
|||||||||||||||||||||||
|
|
![]() HALCON Image Acquisition Interface for GINGA digital BoardsThis document provides information about the multi WOI mode that can be used by the HALCON GingaDG interface. The latest revision of this interface can be downloaded from the Support Area of the LinX WWW server. In case of installation problems please send e-mail (techimage@linx.jp) or fax (81-45-979-0732) to LinX technical support center. Multi WOI Mode
Using a camera with Multi WOI Grabbing function, each image on
each WOI is grabbed. Generally, for grabbing an image, a HALCON
object is not generated until the whole frame is grabbed
completely. However, by using the Multi WOI Grabbing function,
the HALCON object is available as soon as one WOI has been
grabbed. By using this function, you can construct the parallel processing.
Parameters for set_framegrabber_param():
Parameters for get_framegrabber_param():
Sample Program
close_all_framegrabbers ()
open_framegrabber ('GingaDG', 1, 1, 0, 0, 0, 0, 'default', -1, 'default', -1, 'default', 'teli/CSB4000CL_T1_NORM_WOI3', 'default', 0, -1, AcqHandle)
set_framegrabber_param (AcqHandle, 'multi_woi_grabbing', 'enable')
get_framegrabber_param (AcqHandle, 'multi_woi_count', Count)
for i:=1 to Count by 1
dev_close_window ()
endfor
WindowHandle := []
for i:=1 to Count by 1
dev_open_window ((i-1)*50, (i-1)*50, 512, 512, 'black', WinHandle)
tuple_concat (WindowHandle, WinHandle, WindowHandle)
endfor
while(1)
for i:=1 to Count by 1
tuple_select (WindowHandle, i-1, Selected)
dev_set_window (WindowHandle)
grab_image(Image, AcqHandle)
dev_display(Image)
endfor
endwhile
close_all_framegrabbers ()
|
||||||||||||||||||||||