Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

The image size determines how large the buffers must be for the image data required by IDS peak during image acquisition. Resizing during image acquisition may cause problems if, for example, old buffers are too small after resizing. Therefore, resizing is only possible when image acquisition is stopped.

So before starting the image acquisition, you should free all previous buffers and create new buffers according to the newly set image size (see Preparing image acquisition: create buffer).

If you change the binning or decimation (subsampling) settings, the image size will also change. Also in this case, you must recreate the buffers before image acquisition.

hint_info

The maximum possible image position depends on the set image size. The X position + width can never be outside the right image area, i.e. OffsetX + MaxWidth <= MaxSensorWidth. This applies analogously to the Y-position and the image height. See also Region of interest.

By default, OffsetX and OffsetY are set to 0. This means that the maximum possible image width and image height are identical to the image width and image height of the sensor. The return value of the following Maximum() functions takes this into account and changes with OffsetX/OffsetY.

If you want to reset the sensor to the maximum width and height, you must first set OffsetX and OffsetY to 0. Otherwise, setting the maximum width/height will result in an error because the values are larger than the set offset allows.

How to set any ROI

1.Query and set the minimum ROI. This removes the restriction on the offset.

2.Query the maximum ROI. The values are required for checking the maximum possible image position and image size.

3.Check sizes and cancel if necessary.

4.Set the desired ROI.

Example: Querying the minimum value, maximum value and increment of the image position and image size

Example: Querying the current image position and size

Complete example

Consider the following notes when you change the ROI during runtime:

PayloadSize changes.

Re-create the buffers.

Garbage Collection C#

Release the IDS peak IPL buffer pool.

A similar procedure is needed for the following functions:

Binning and decimation

PixelFormat

Chunks (metadata): PayloadSize changes

© 2024 IDS Imaging Development Systems GmbH