Grab an image.
The operator grab_image grabs an image via the currently open framegrabber. The desired operational mode of the framegrabber as well as a suitable image area can be adjusted via the operator open_framegrabber.
Image (output_object) |
image -> object |
Grabbed image. |
query_framegrabber(:::FGs) >open_framegrabber(::FG,-1,-1,-1,-1,-1,-1,'unchanged',-1,-1,'unchanged', -1.0,'unchanged','unchanged',-1) > info_framegrabber(:::Width,Height,Bits,ColorSpaces,PixelRatios,Full,Explain) > < Selection of a suitable Modus [W,H,B,C,YesOrNo,Field] with YesOrNo = 'yes', if entry in PixelRatios = 1.0 Field = 0 or 1 (Full = 'false') or 2 (Full = 'true') Generic sedate in accordance with Explain and a suitable Image area [Wi,He,L,C] > open_framegrabber(::FG,W,H,Wi,He,L,C,YesOrNo,Field,B,C,Gain,Generic, 'unchanged',-1) > grab_image(:Img::) > close_framegrabber(:::).
If a framegrabber is open the operator grab_image returns the value TRUE. Otherwise an exception is raised.
open_framegrabber, info_framegrabber