有哪些算法可用于检测光和阴影及其参数?
图片 (不是最好的)
所以我想检测 灯光从哪里来以及灯光的类型是什么。什么算法\框架可以对静态图像做这样的事情?
我提到阴影是因为一般来说,如果您可以将阴影与表面分开,那么您就可以确定灯光类型及其其他参数。
我的意思是一般阴影不仅搜索呈现的图像。
So I have picture (not the best one)
I want to detect where the lights come from and what types of lights are they. What algorithm\framework can do such things with static images?
I mentioned shadows because in general if you can separate a shadow from a surface than you can probably determine light type and other its parameters.
I mean general shadows search not only for presented image.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从您提供的图像来看,误差来源如此之多,如果训练有素的人类(更不用说算法)在任何计算上都能做得比 ±20% 更好,我会感到惊讶。问题是:
您希望从这张图片中得到什么?通常在进行照明分析时,有人会将不同的、已知反射率的已知参考目标放置在要分析的空间中。使用袖珍快照相机拍摄未知场景确实限制了您的推断范围。
With the image that you presented, there are so many sources of error that I'd be surprised if a trained human, let alone an algorithm could do better than ±20% on any calculations. Here are the problems:
What are you hoping to derive from this image? Usually when doing lighting analysis, someone will put known reference targets of different, known reflectivity in the space to be analyzed. Working from a pocket snapshot camera on an unknown scene really limits what you can extrapolate.