info_framegrabber ( : : : Width, Height, Bits, ColorSpaces, PixelRatios, Full, Explain )

Return possible operational modes of the current framegrabber.

The operator info_framegrabber returns the possible operational modes of the currently open framegrabber. An operational mode is characterized as follows:

    Width, Height        Resolution of framegrabber.
    Bits                 Number of bits per pixel (1 bit: S/W,
                         8 bit: grayvalues, 24 bit: color).
    ColorSpaces          For colored images only: color space (typically
                         'rgb').
    PixelRatios          Side ratio (width / height) of the pixels.
    Full                 Full image ('true') or half image ('false').
    

The desired operational mode can be adjusted via open_framegrabber The parameter Explain contains a text explaining the framegrabber specific generc parameter Generic of open_framegrabber.


Attention

attention.english


Parameters

Width (output_control)
extent.x-array -> integer
Horizontal resolution of framegrabber.

Height (output_control)
extent.y-array -> integer
Vertical resolution of framegrabber.

Bits (output_control)
integer-array -> integer
Number of bits per pixel (1 bit: S/W, 8 bit: grayvalues, 24 bit: color).

ColorSpaces (output_control)
string-array -> string
For colored images only: color space (typically 'rgb').

PixelRatios (output_control)
real-array -> real
Side ratio (width / height) of the pixels.

Full (output_control)
string-array -> string
Full images ('true') or half images ('false').
List of values: 'true', 'false'

Explain (output_control)
string -> string
Explanation of the framegrabber specific generic parameter.


Result

If a framegrabber is open the operator info_framegrabber returns the value TRUE. Otherwise an exception is raised.


Possible Predecessors

open_framegrabber


Possible Successors

open_framegrabber


See also

open_framegrabber



Copyright © 1996-1997 MVTec Software GmbH