Method for camera to photograph night scene sky color, device for camera to photograph night scene sky color, terminal and storage medium
The invention relates to a method for a camera to photograph night scene sky color, and the method comprise the following implementation steps: acquiring a night scene image containing the sky; dividing the night scene image into a flat area and a texture area; judging the sky in the flat area accor...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
19.02.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a method for a camera to photograph night scene sky color, and the method comprise the following implementation steps: acquiring a night scene image containing the sky; dividing the night scene image into a flat area and a texture area; judging the sky in the flat area according to gray and color comparison; and performing B gain adjustment only for the sky area. The nightscene sky part is treated independently, firstly, the image is divided, then, judgement is executed for the sky, bluish treatment is only executed for the sky part, thus, a problem of being reddish,yellowish or bluish of the whole picture caused by the existing bulk treatment can be mitigated. Imaging effects of other sceneries cannot be influenced while the sky is represented well.
本发明涉及相机拍摄夜景天空色彩的方法,其实现方法如下,获取带有天空的夜景图像,将夜景图像分割为平坦区和纹理区,根据灰色和色彩比对判断平坦区中天空区,仅对天空区进行B增益调整,针对夜景天空部分进行单独处理,先对图像进行分割,再通过对天空的判断,只针对天空部分进行偏蓝处理,这会改善现有的整体处理带来的整体照片偏红黄或者偏蓝的问题。在天空有良好表现的同时不会影响其它部分的景物成像效果。 |
---|---|
Bibliography: | Application Number: CN201811369488 |