The following is an overview of the Lens tab of captureOEM:



Sharpness Score - Region of Interest


A set of control information the camera uses to calculate the SharpnessScore of an image. The SharpnessScore of the image is returned in the SharpnessScore field.  The ROI defines the area, within the currently defined Region of Interest, that is used by the camera to compute the image SharnessScore. The SharpnessScore of an image is a metric of how many ‘crisp’ edges there are in the image. Higher values indicate the presence of more edges. Comparing the SharpnessScore of an image of one target to an image of a different target is meaningless, as there are no units associated with the SharpessScore.  Rather it is intended that this score could be used to compare subsequent  images of the same target, as focal adjustments are made to the stream of images (with perhaps Focus Control, if the camera/lens supports it). The user should continue to make focal adjustments until this value is maximized (for this given target).  


Use the Width and Height boxes to change the size of the Sharpness Score ROI. This can also be changed by dragging or adjusting the size of the Current SS-ROI adorner. 


For API control of this feature, see: Sharpness Score


To read the Sharpness Score of a frame, see: Frame Descriptor 


Focus Control


Manually control the focal level of the image using the text box or slider, or automatically control the focal level by clicking the OneTime button. 


By default, the Auto Focus slider has a minimum value of 1 and a maximum value of 46000, and the Auto Focus algorithm usually searches this range to find the correct focus value of the target. In order to increase the speed of Auto Focus, you can also set a minimum and maximum limit to reduce the range of the linear search. For example, if you know that the focus value for your target lies somewhere between 26000 to 32000. you can adjust the slider bar and click Assert Limit to set these as the lower and upper limits for the auto focus operation, instead of using the default scale from 1 to 46000. The AutoFocus algorithm will then search within these limits to find the correct focus value, which in turn speeds up the algorithm for auto focus. 


For API control of this feature, see: Focus


Lens Controller Select:


By default, when one camera and one Navitar Lens Controller are attached to the host computer, the camera and lens controller will automatically pair with one another. If multiple cameras or multiple control boards are attached to the host computer, the camera and control boards must be manually pair. To select what control board you with to control with the current camera, select the desired control board from the Lens Controller Select drop down.


For API control of this feature, see: PxLAssignController


Zoom Control


The zoom control functions similarly to the focus control. You can control the zoom value by dragging the zoom slider or by manually entering a zoom position in the text box. The Assert Limit buttons can be used to set a lower an upper limit.