Expand description
High level Rust bindings for the XIMEA camera API
This crate provides a common interface for all XIMEA cameras. It is a higher level wrapper of the xiapi-sys crate which is generated automatically (via bindgen) from the XIMEA C API.
Modules§
Structs§
- Buffer that is used by the camera to transfer images to the host system.
- Connected and initialized XIMEA camera.
- An Image as it is captured by the camera.
- Roi represents a region of interest.
Constants§
Functions§
- a64l⚠
- abs⚠
- atof⚠
- atoi⚠
- atol⚠
- div⚠
- ecvt⚠
- exit⚠
- fcvt⚠
- free⚠
- gcvt⚠
- l64a⚠
- labs⚠
- ldiv⚠
- Returns the number of available cameras.
- Initializes a camera and returns it.
- Initialize the camera with the given bandwidth and return it.
- rand⚠
- Set the debug output level for the whole application
- \brief Uninitialize device
- \brief Get device parameter
- \brief Return pointer to image structure
- / /** \brief Return number of discovered devices
- \brief Get device parameter
- \brief Initialize device
- \brief Initialize selected device
- CloseProcessing Closes instance for Image Processing entity @param processing_handle[out] Processing handle to be closed
- xiGetProcParam Gets the selected parameter from processing @param[in] processing_handle Handle for processing @param[in] prm parameter name string. @param[in] val pointer to parameter set value. @param[in] size size of val. @param[in] type val data type. @return XI_OK on success, error value otherwise.
- OpenProcessing Opens new instance for Image Processing entity @param[out] processing_handle New processing handle - valid on success
- xiPullImage Gets processed image from processing chain @param[in] processing_handle Processing handle @param[in] timeout_ms Processing handle
- xiPushImage Set unprocessed image to processing chain @param[in] processing_handle Processing handle @param[out] fist_pixel First byte of first pixel of image to be processed
- xiPushImage Set unprocessed image to processing chain @param[in] processing_handle Processing handle @param[in] Pointer to XI_IMG structure
- xiSetProcParam Sets the selected parameter to processing @param[in] processing_handle Handle for processing @param[in] prm parameter name string. @param[in] val pointer to parameter set value. @param[in] size size of val. @param[in] type val data type. @return XI_OK on success, error value otherwise.
- \brief Set device parameter
- \brief Start image acquisition
- \brief Stop image acquisition