读取和设置屏幕的色彩平衡; [英] Read and Set Color Balance of screens;

查看:55
本文介绍了读取和设置屏幕的色彩平衡;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这正是我需要的。


  1. 我可以从计算机上的每个屏幕读取RGB色温值吗?
  2. 我可以在代码中更改该值吗?

我不是在谈论色彩平衡或白平衡单个位图,我在谈论阅读和修改我的MONITOR设置。


我意识到并非所有的硬件都必然支持这一点,但是,嘿,我想试一试。 我正在使用HDMI(我认为)平板屏幕。




我宁愿生活在虚假的希望而不是虚假的绝望。

解决方案


感谢您在此发帖。


目前为止因为我知道你无法从计算机屏幕的硬件中获取RGB值,你可以从计算机的硬件获得像素深度。


颜色深度颜色深度也称为
位深度
,是
用于
表示
单个
像素<的颜色/ a>,在

位图图片
或视频
帧缓冲区
,或单个像素的每个颜色分量使用的位数。 


从像素深度,我们可以得到一个点的RGB值大小。 关于Pixel深度概念,您可以看到文档。


>>我可以在代码中更改该值吗?


关于图片的RGB值,您可以修改它。 请参阅以下解决方案。


https://stackoverflow.com/questions/41807386/setting-rgb-values-of-pixels-in-a-certain-image-in-opencv


https://stackoverflow.com/questions/28388862/how-to -change-rgb-values-in-c


最好的问候,


Hart



Here's exactly what I need.

  1. Can I read the RGB color temperature values from each Screen on my computer?
  2. Can I alter that value in code?

I am NOT talking about color balancing or white balancing a single bitmap, I am talking about reading and modifying my MONITOR settings.

I realize not all hardware necessarily supports this, but hey, I want to give it a shot.  I am working with HDMI (I think) flat panel screens.


I'd rather live with false hope than with false despair.

解决方案

Hi,

Thank you for posting here.

As far as I know that you cannot get the RGB value from the hardware of computer screen, you can get the pixel depth from hardware of computer.

Color depth or colour depth also known as bit depth, is either the number of bits used to indicate the color of a single pixel, in a bitmapped image or video frame buffer, or the number of bits used for each color component of a single pixel. 

From the pixel depth, we can get the RGB value size for one point.  About the Pixel depth concept, you can see the document.

>>Can I alter that value in code?

About RGB value of picture, you can modify it.  please see the following solution.

https://stackoverflow.com/questions/41807386/setting-rgb-values-of-pixels-in-a-certain-image-in-opencv

https://stackoverflow.com/questions/28388862/how-to-change-rgb-values-in-c

Best Regards,

Hart


这篇关于读取和设置屏幕的色彩平衡;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆