![]() |
IDS peak ICV v1.0.0
|
The IDS peak ICV library enables image creation across all supported programming languages. Each language binding provides APIs tailored to the respective language environment, but consistent with the core image model. Depending on the programming language binding, images can be created using various methods to suit different application scenarios and integration requirements.
The following core methods for creating an image are available in all supported programming languages:
Creates an image by processing raw camera data through the Image Processing Pipeline, transforming it into a ready-to-use image. This is typically used when interacting with a camera via the IDS peak AFL library.
Converts an existing IDS peak IPL image into a IDS peak ICV image.
Creates an image by loading it from a supported file format.
Creates a blank image by specifying the pixel format and the image dimensions (width × height).
Constructs an image object from a raw byte buffer. The buffer must contain binary image data in a format supported by the IDS peak ICV library.
Each IDS peak ICV image includes a Region, which by default covers the entire image – all pixels are considered. If needed, you can set a custom region to process only part of the image.
The region can be of any shape, depending on the use case.
Additionally, the current region of an image can be queried programmatically.
Pixel formats define how pixel data is stored and interpreted. The IDS peak ICV library supports various pixel formats which are described in detail in Pixel and Pixel Format Specifications.
To convert an image from one pixel format to another, use the appropriate conversion functions provided by the library. Check the documentation for each function to verify format compatibility and any conversion limitations.
You can obtain detailed information about a specific pixel format, such as name, bit depth, and the minimum and maximum possible values for each channel. Understanding these details is essential for correctly interpreting and manipulating pixel data.
You can retrieve this information using the following methods:
By using these methods, you can better understand how pixel data is structured and make informed decisions about image processing and format conversions.
If a transfer from IDS peak ICV to a third-party library is needed, you can get a pointer to raw data: