Giter VIP home page Giter VIP logo

Comments (1)

pablo-quilez avatar pablo-quilez commented on July 20, 2024

Hi @philtell,

we have added in devel branch the possibility to configure white-balance in yaml file.

For example in the default yaml, you can uncomment the following variables:

##--White Balance Auto--##
# Automatically corrects color shifts in images acquired. 0 = Off, 1 = Once, 2 = Continuous
# white_balance_auto : 0
##----------------------##

##--White balance--##
# The Balance White camera feature allows you to manually correct color shifts so that white objects appear white in images acquired.
# The increase or decrease in intensity is proportional. For example, if the balance ratio for a color is set to 1.2, the intensity of that color is increased by 20 %.
# Activating these values will turn off the white_balance_auto.
# white_balance_ratio_red : 1.0
# white_balance_ratio_green : 1.0
# white_balance_ratio_blue : 1.0
##--------------##

Also a new ROS service is provided:

rosservice call /pylon_camera_node/set_white_balance "balance_ratio_red: 4.0
balance_ratio_green: 1.0
balance_ratio_blue: 1.0"

This will change the color balance to red:

image

from pylon-ros-camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.