Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Camera Support » NET ICube » ICube_GrabImage

ICube_GrabImage


Module: ThirdParty

Captures an image from an ICube camera.

Name Type Range Description
inDeviceID Integer* 0 - Index of a camera
inInputQueueSize Integer 1 - 1000
inGrabbingMode ICubeGrabMode
inResolutionMode ICubeResolutionMode*
inSkippingMode ICubeBinSkip*
inBinningMode ICubeBinSkip*
inExposureTime Real* 0.0 -
inRoi Box* Range of pixels to be processed
outImage Image Captured frame
outFrameID Integer Captured frame ID

Description

All the Auto parameters (those with checkboxes in the Property window) are initially set to the default values of the camera (they are initially not changed by Adaptive Vision Studio). You can modify them by checking a checkbox and entering your own value.

Add DLL path to system environment variable may be required.

Recommended ICube version for usage with Adaptive Vision Studio is 2.0.5.1.

Changing parameters inGrabbingMode and inResolutionMode requires restarting acquisition. It is time consuming and shouldn't be done in each iteration.

The inDeviceID parameter is set only once when the filter is executed for the first time (if it is set to Auto, the first available camera in the system will be used). All the other parameters are set during the first filter execution or when the parameter is changed (they are not set in every iteration when the value is not changed).

To set more complex parameters, please use one of the following filters: ICube_SetParameter, ICube_SetParamAuto, ICube_SetParamOnePush, ICube_SetTriggerMode. Please note that if you set some parameter value in the ICube_GrabImage filter you should not modify it in any other ICube filter - it may lead to problems.

Remarks

To be able to use an ICube camera, you need to install the camera driver. You can find it at the following address (select binaries):

https://net-gmbh.com/en/machine-vision/products/cameras/usb2-icube/ or https://net-gmbh.com/en/machine-vision/products/cameras/usb3-vision-3icube/

Please make sure that the ICube SDK is installed properly on your computer. To verify the driver installation, you can run iControl.exe. If the camera was detected and you can see the image from it in this application, you can use your ICube camera in Adaptive Vision Studio.

Recommended ICube SDK version for Adaptive Vision Studio usage is v2.0.4.8.

The full description of the camera parameters can be found in the ICube documentation.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of ICube_GrabImage filter group.

See Also