Specifications

sharpVISION™ Camera
sharpVISION SDK Reference
16
2.10. Region of Interest (ROI)
Different camera models have different behaviors:
1300-DE: ROI boundaries occur on multiplies of 16, although the maximum region for a
particular binning mode is not restricted to this rule. Minimum ROI is 16x16.
1400-DE and 1500-EX: they can do ROI on 4-pixel boundaries in width and 1-pixel in height.
On 1300-DE cameras, your ROI is adjusted in SvSendCameraSettings before the camera
state is changed. The ROI is rounded out to include your original region, but with boundaries
which occur on multiples of 16. If the ROI spills over the maximum-image boundary, the ROI
will shrink to that boundary. Call SvValidateSettings to see how the driver will alter your ROI,
and use the new ROI size suggested by the driver. In some cases, for example an automatic-
exposure algorithm, you may be forced to crop the images you capture. If you are running in
a binning mode, your region and image size is specified in super-pixels rather than CCD
pixels.
2.11. Processes and Threads
sharpVISION is process safe. A camera may only be opened by one process at a time, and
camera handles may not be passed across process boundaries. (To be clear: a process may
open any number of cameras at a time.) When you call SvEnumCameras, you can check the
isOpen field to determine if a particular camera has already been opened.
sharpVISION is not thread safe. If you are using more than one thread, you must serialize
calls into sharpVISION.