How can I programmatically set the white balance of an uEye USB camera (from the IDS manufacturer) to work with no automatic white balance and pre-defined multipliers when is_SetWhiteBalanceMultipliers() function is obsolete?
Some background: I work with a uEye USB2 camera (from IDS) connected to Linux machine. I need to get an RGB image with pre-defined colors (of cause on a pre-defined scene) from the camera. For example, I want to configure the WB to red 1.25 multiplier, green 1.0, and blue 2.0 multiplier.
For this task, I am using the uEye SDK on Linux (header file ueye.h).
The manual (A: Camera basics > Camera parameters) states that the is_SetWhiteBalanceMultipliers() function is obsolete and suggests to use is_SetAutoParameter() function instead. It was easy to disable the auto-white balance (is_SetAutoParameter( hCam, IS_SET_ENABLE_AUTO_WHITEBALANCE, 0, 0), but I struggle to find a way to configure the red/green/blue multipliers. The parameter IS_SET_AUTO_WB_OFFSET and IS_SET_AUTO_WB_GAIN_RANGE work only when the automatic white balance engaged and do nothing when it is disabled.
I will be grateful for any suggestions!
How to manualy set white balance of a uEye camera?
612 Views Asked by Paul E At
1
There are 1 best solutions below
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in COLORS
- Wrong matches between colors and values when defining colorFactor
- I want write code to predict CIE XYZ from LED driver R,G,B output value
- Finding a specific colour within a bitmap range - VB.net 2022
- In Flutter, is there a way to determine the user's skin color settings for their emojis?
- HDR video publishing
- make selected text visible in PGAdmin 4 Query Editor
- How to change x-axis group labels of my boxplot in R
- flutter stripe_android:verifyReleaseResources'. > A failure occurred while executing com.android.build.gradle.tasks > Android resource linking failed
- I would like a table where cells are colored (defined by values)
- Color Thresholding JS, Average Image Color Detect JS
- Assign visually distinct colors to graphs with undirected edges
- Change text color inside offcanvas navbar
- To set Different Colors For each line in Line Chart Using NPOI excel nuget package in .Net6 Core
- Is there a way to affect the interpolation between translucent colours in WPF?
- How to change the color of an icon when hovered over
Related Questions in CAMERA
- Trained ML model with the camera module is not giving predictions
- godot lean mechanic makes camera glitch
- Can not switch camera while recording with camera plugin, setDescription working but preview doesn't change
- How to Python Open CV Web Cam 4EA Real time Streaming
- Problem picking up with interactive camera and orbitcontrols after amination camera moves "camera view"
- I can't find a conenction diagarm for the OV7670 camera to the ESP8266
- Camera rotation to direction vector
- What does "Simultaneous Live View Up to 6 channels" imply for a IP Camera specification
- RTSP camera sub stream url
- Android record video from multiple cameras and composite the multiple videos into one video
- Orienting a camera that orbits spheres in JOGL2
- Unity render Texture is not as clear as the actual gameobject in the scene, how to make it clearer?
- AR motion design exhibition in the real space of the city
- What is the correct approach to always use the latest camera frame in OpenCV
- OnVif authentication failed for Milesight camera
Related Questions in IDS
- Snort Error Cannot decode data link type 113
- i tried to clone into snort3 but it didn't work anyone could help me?
- Atomic Operations do not provide updated value to other threads
- Exception: .InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://accounts.go-ally.com/.well-known/openid-configuration
- Setting up reverse proxy for firewall
- R, Assign a group ID to combinations of values in another observation ID variable
- suricata rule that could detect certain TLS errors messages
- Ensembling two Binary MLP classifier models, and making a unified multi-class classifier model. (Detection of DoS and DDoS of CICIDS2017 dataset)
- Using ids of a MDTextField in KivyMD
- Can I make a Snort to read data coming to a network and detect if the value of data is intrusion or not?
- Identity Server 4 for application (Blazor Server Side) configured in iis using reverse proxy redirect url problem
- How to remove ?id = when href are written like : ?id=<?php........php> on urls?
- How to convert IDS peak::ipl::Image or peak::core::Buffer to an opencv cv::Mat?
- Packet capturing for a simple IDS in flutter
- How to make a div inside an append() work?
Related Questions in UEYE
- python - multiprocessing module to read data from several external devices
- PInvoke signature does not match the unmanaged target signature. A call to PInvoke function 'uEyeDotNet!uEye.Tools.Video+ToolsWrapper::InitAviX86'
- Rust bindgen use of pointer addresse `*mut i8` for allocating memory for camera, getting "cannot be sent between threads safely"
- Troubleshooting connection with ThorLabs uc480 camera
- WPF - C# Put a label over a PictureBox (using windowsformhost)
- Use shared library that uses glibc on AlpineLinux
- Pyueye IDS Camera
- Run c++ function from python
- How can I use an ueye camera from IDS with ROS through a docker?
- How to use function ueye.is_IO(hCam, nCommand, pParam, SizeOfParam) pyueye library GPIO camera IDS
- cv2.VideoCapture does not work on raspberry pi and ueye cameras
- How to connect IDS uEye camera (ui-5490) using GigE Vision support?
- How to manualy set white balance of a uEye camera?
- How to produce a Python ctypes instance
- Import error:./filename.so: undefined symbol: is_InitCamera
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I had the same issue. I think you can achieve the old result using the function "is_SetHardwareGain" on which you directly pass the main, red, green and blue gains. In my case I disabled the white balance before doing it just to make sure it works. In this example, I wanted to set the values to RGB gains = [8%, 0%, 32%] and the master gain to 0% (to not confuse with gain factors 0% normally corresponds to 1x gain factor):