int FLISetImageArea(flicam_t cam, int ul_x, int ul_y, int lr_x, int lr_y)

Set the image area for a given virtual camera.

Documentation

Set the image area for a given virtual camera. This function sets the image area for virtual camera cam to an area specified in terms of a upper-left point and a lower-right point. The upper-left x-coordinate is ul_x, the upper-left y-coordinate is ul_y, the lower-right x-coordinate is lr_x, and the lower-right y-coordinate is lr_y. Note that the given lower-right coordinate must take into account the horizontal and vertical bin factor settings, but the upper-left coordinate is absolute. In other words, the lower-right coordinate used to set the image area is a virtual point determined by:





Where is the coordinate to pass to the FLISetImageArea function, and are the absolute coordinates of the desired image area, is the horizontal bin factor, and is the vertical bin factor.

Parameters:
cam - Virtual camera to set image area of.
ul_x - Upper-left x-coordinate of image area.
ul_y - Upper-left y-coordinate of image area.
lr_x - Lower-right x-coordinate of image area ( from above).
lr_y - Lower-right y-coordinate of image area ( from above).
Returns:
Zero on success.
Non-zero on failure.
See Also:
FLIGetVisibleArea
FLIGetArrayArea

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.