如何实现混凝土红蓝浮雕玻璃显示器的红色和青色校准方法? [英] How to implement a procedure of calibration red and cyan colors of monitor for concrete red-cyan anaglyph glasses?

查看:137
本文介绍了如何实现混凝土红蓝浮雕玻璃显示器的红色和青色校准方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发治疗儿童的应用程序。它必须为左右眼显示不同的图像。我决定使用便宜的红-青色眼镜来分开眼睛的视野。第一只眼睛只会看到红色图像,第二只眼睛只能看到青色。

I am developing an application for treatment of children. It must show different images for left and right eyes. I decided to use cheap red-cyan glasses for separating the fields of view of the eyes. The first eye will see only red images the second one - only cyan.

问题是监视器上的颜色并不是真正的红色和青色。眼镜也不理想。我需要执行校准程序,以搜索当前显示器和眼镜的最佳红色和青色。我的意思是我需要在一些更合适的颜色上更改白色(背景颜色),红色和青色类别,以使红色和青色仅对一只眼睛可见。

The problem is that colors on monitor are not really red and cyan. Also glasses are not ideal. I need to implement the calibration procedure for searching the best red and cyan colors for current monitor and glasses. I mean I need to change white (color of background), red and cyan classes on some more suitable colors to make red and cyan colors visible only for one eye.

有人知道任何用于校正浮雕文字颜色的算法吗?我想我需要实现一个特殊的UI来校准颜色。我正在为iOS和Android开发应用程序。

Does anybody know any algorithms for calibrating anaglyph colors? I think I need to implement a special UI for calibrating colors. I am developing an application for iOS and Android.

推荐答案

您显然缺乏背景知识。


  1. 显示器

如今,大多数情况下使用 LCD 会发出 3 基本波长带( R,G,B )。 红色绿色具有相当清晰的光谱,但蓝色相对较宽。它还发出青色橙色波段(不如 R,G 清晰,但比<$ c $清晰) c> B )。

Nowadays are used mostly LCDs these emits 3 basic wavelength bands (R,G,B). Red and green have fairly sharp spectra but blue is relatively wide. It also emits cyan and orange wavelength bands (not as sharp as R,G but sharper then B).

我怀疑这两个是背光源(我测量过的所有设备甚至手机上都有一个)

I suspect these two are from back-light (an is present on all devices I measured even phones)

立体眼镜

这些是带滤光片,因此它们可以阻挡所有波长其范围的最大范围

these are band filters so they block all wavelength out of their range up to a scale

光谱

外观(我的液晶显示器上的白色):

This is how it looks like (White on my LCD):

以及我的查看方式:

波段是近似的(我只有带有非线性刻度的自制光谱仪,光谱仪),而我无法拍摄清晰的光谱图像(只有自动相机)。背光残留物完全被我的眼镜挡住,甚至青色滤光片也通过了,但它降低了亮度,使之达到我当前 LCD 亮度设置中看不到的点。

bands are approximate (I have just homemade spectroscope with nonlinear scale and not spectrograph) and I am unable to take clear image of the spectra (have only automatic cameras). The back-light residue is blocked by my glasses completely and even the cyan filter passes it but it lower the brightness to point that is unseen to me on mine current LCD brightness settings.

校准

您可以使用的波长仅为 R, G,B (无论颜色如何)。

The wavelengths you can use are just R,G,B (no matter the color).

颜色与波长不同,只是主观的人类感知而不是物理变量!!!

所以颜色是不相关的,只需设置所有像素的 R,G <仅/ code>,另一个仅具有 R 并将它们合并在一起。

so the color is irrelevant just filter image for one eye by setting all pixels with R,G only and the other one with R only and merge them together.

唯一的选择校准就是亮度。眼镜中的过滤器应具有相同的阻隔性能,而廉价的过滤器通常没有。这意味着一只眼睛的亮度与另一只眼睛的亮度不同,这会引起不适,因此您可以将像素乘以亮度(左眼和右眼的单独值)。这是校准质量较低的滤镜的唯一方法,

The only thing to calibrate is brightness. The filters in glasses should have the same blocking properties but the cheap one usually have not. That means one eye is getting different brightness then the other one which can cause discomfort so you can multiply pixels by the brightness (separate value for left and right eye). This is the only thing to calibrate the less quality filters the darker image you need.

立体字颜色

您可以使用黑白图像,这些图像看起来最舒适。您也可以使用彩色图像,但是对于某些颜色(例如蓝色水)来说,这是不舒服的,因为一只眼睛看不到,而另一只眼睛看不到。大脑会计算出其余部分,但一段时间后感觉会不舒服。

you can use B/W images these are most comfortable to look at. You can use Color images too but for some colors (like blue water) is this uncomfortable because one eye see it and the other not. Brain computes the rest but the feeling is uncomfortable after time. It is similar to hearing music that is off key.

可以通过在这种颜色中添加白色成分来帮助它,但这会失去其所依赖图像的颜色正确性。关于您需要做什么...

It can be helped by adding white-ish component to such color but that will lose the color correctness of image it depends on what you need to do ...

立体图眼距

我来自中欧,因此所有的数据都来自该地区!


  • 平均距离人眼视轴为 6.5厘米

  • 男性水平 FOV 角度为 90 度(包括周围视力)

  • 男性水平 FOV 角为 60 度(不包括周边视力)

  • average distance of human eyes view axises is 6.5 cm.
  • male horizontal FOV angle is 90 degree (including peripheral vision)
  • male horizontal FOV angle is 60 degree (excluding peripheral vision)

因此,如果立体浮雕渲染具有真实大小,则设置 FOV 和相机的距离。如果不是,那么您还应该将水平相机距离添加到校准中,因为深度感知还受以下因素影响:

so if your anaglyph render has real sizes then set the FOV and cameras distances accordingly. If not then you also should add horizontal camera distance to calibration because the depth perception is affected also by:


  • 查看器到监视器的距离

  • 他们的主观深度感知

  • 渲染对象的比例(也包括监视器/图像大小)

这篇关于如何实现混凝土红蓝浮雕玻璃显示器的红色和青色校准方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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