[go: up one dir, main page]

CN105141857B - Image processing method and device - Google Patents

Image processing method and device Download PDF

Info

Publication number
CN105141857B
CN105141857B CN201510602756.8A CN201510602756A CN105141857B CN 105141857 B CN105141857 B CN 105141857B CN 201510602756 A CN201510602756 A CN 201510602756A CN 105141857 B CN105141857 B CN 105141857B
Authority
CN
China
Prior art keywords
noise
imaging data
value
brightness
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510602756.8A
Other languages
Chinese (zh)
Other versions
CN105141857A (en
Inventor
李小朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510602756.8A priority Critical patent/CN105141857B/en
Publication of CN105141857A publication Critical patent/CN105141857A/en
Application granted granted Critical
Publication of CN105141857B publication Critical patent/CN105141857B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The embodiment of the invention discloses a kind of image processing method and devices.Described image processing method the following steps are included: A, during dark-state scene is imaged, sensitivity is promoted to predetermined value, wherein the predetermined value is in preset range;B, the first imaging data of the dark-state scene is received;C, first imaging data is carried out dropping hot-tempered processing, and exports the second imaging data by noise reduction process.The present invention can promote the imaging effect of the image of dark-state scene.

Description

图像处理方法和装置Image processing method and device

【技术领域】【Technical field】

本发明涉及计算机技术领域,特别涉及一种图像处理方法和装置。The invention relates to the field of computer technology, in particular to an image processing method and device.

【背景技术】【Background technique】

传统的成像技术(图像处理技术)中,针对夜景光亮照度不足的情况所采用的技术方案为:把感光度拉高。光线亮度越低的场景,感光度拉得越高。对于一些非常暗的场景,感光度甚至达到3600。In the traditional imaging technology (image processing technology), the technical solution adopted for the insufficient illumination of the night scene is: increase the sensitivity. The lower the brightness of the scene, the higher the sensitivity will be. For some very dark scenes, ISO even reaches 3600.

在实践中,发明人发现现有技术至少存在以下问题:In practice, the inventors found that the prior art has at least the following problems:

这样会提高增益,同时会放大躁点,特别是彩色躁点。This will increase the gain and at the same time amplify the noise, especially the color noise.

因此,上述传统的技术方案不利于提升夜景图像的细节的质量。Therefore, the above-mentioned traditional technical solutions are not conducive to improving the quality of details of night scene images.

【发明内容】【Content of invention】

本发明的目的在于提供一种图像处理方法和装置,其能提升暗态场景的图像的成像效果。The object of the present invention is to provide an image processing method and device, which can improve the imaging effect of images of dark scenes.

为解决上述问题,本发明的技术方案如下:In order to solve the above problems, the technical solution of the present invention is as follows:

一种图像处理方法,所述方法包括以下步骤:A、在对暗态场景进行成像的过程中,将感光度提升至预定值,其中,所述预定值处于预定范围内;B、接收所述暗态场景的第一成像数据;C、对所述第一成像数据进行降躁处理,并输出经过降噪处理的第二成像数据。An image processing method, the method comprising the following steps: A. in the process of imaging a dark scene, increasing the sensitivity to a predetermined value, wherein the predetermined value is within a predetermined range; B. receiving the The first imaging data of a dark scene; C, performing noise reduction processing on the first imaging data, and outputting second imaging data subjected to noise reduction processing.

在上述图像处理方法中,在所述步骤A之前,所述方法还包括以下步骤:D、根据所述成像数据判断所述暗态场景的亮度,并生成亮度判断结果;所述步骤A包括:a1、根据所述亮度判断结果,将所述感光度提升至所述预定值。In the above image processing method, before the step A, the method further includes the following steps: D, judging the brightness of the dark scene according to the imaging data, and generating a brightness judging result; the step A includes: a1. Raise the photosensitivity to the predetermined value according to the brightness judgment result.

在上述图像处理方法中,所述预定值包括第一数值;所述步骤a1包括:a11、在所述亮度判断结果为所述暗态场景的亮度值处于第一范围内的情况下,将所述感光度提升至所述第一数值。In the above image processing method, the predetermined value includes a first value; the step a1 includes: a11, when the brightness judgment result is that the brightness value of the dark scene is within the first range, the The sensitivity is increased to the first numerical value.

在上述图像处理方法中,所述步骤C包括:c1、从所述第一成像数据所对应的图像中识别出躁点;c2、利用靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点。In the above image processing method, the step C includes: c1, identifying noise points from the image corresponding to the first imaging data; c2, using pixels close to the noise points to process the noise points Blurring to blur the noise or remove the noise.

在上述图像处理方法中,所述预定值包括第二数值;所述步骤a1包括:a12、在所述亮度判断结果为所述暗态场景的亮度值处于第二范围内的情况下,将所述感光度提升至所述第二数值;在所述步骤B之后,以及在所述步骤C之前,所述方法还包括以下步骤:E、将所述第一成像数据所对应的饱和度值降低至第三数值,以减少所述第一成像数据所对应的图像中的彩色躁点。In the above image processing method, the predetermined value includes a second value; the step a1 includes: a12, when the brightness judgment result is that the brightness value of the dark scene is within the second range, the The sensitivity is raised to the second value; after the step B, and before the step C, the method further includes the following steps: E, reducing the saturation value corresponding to the first imaging data to a third value to reduce color noise in the image corresponding to the first imaging data.

一种图像处理装置,所述装置包括:感光度控制模块,用于在对暗态场景进行成像的过程中,将感光度提升至预定值,其中,所述预定值处于预定范围内;成像数据接收模块,用于接收所述暗态场景的第一成像数据;降噪处理模块,用于对所述第一成像数据进行降躁处理,并输出经过降噪处理的第二成像数据。An image processing device, the device comprising: a sensitivity control module, configured to raise the sensitivity to a predetermined value during imaging of a dark scene, wherein the predetermined value is within a predetermined range; the imaging data The receiving module is configured to receive the first imaging data of the dark scene; the noise reduction processing module is configured to perform noise reduction processing on the first imaging data, and output second imaging data that has undergone noise reduction processing.

在上述图像处理装置中,所述装置还包括:亮度判断模块,用于根据所述成像数据判断所述暗态场景的亮度,并生成亮度判断结果;所述感光度控制模块还用于根据所述亮度判断结果,将所述感光度提升至所述预定值。In the above image processing device, the device further includes: a brightness judgment module, configured to judge the brightness of the dark scene according to the imaging data, and generate a brightness judgment result; the sensitivity control module is also configured to judge the brightness according to the Raise the sensitivity to the predetermined value based on the brightness judgment result.

在上述图像处理装置中,所述预定值包括第一数值;所述感光度控制模块还用于在所述亮度判断结果为所述暗态场景的亮度值处于第一范围内的情况下,将所述感光度提升至所述第一数值。In the above image processing device, the predetermined value includes a first value; the sensitivity control module is further configured to set The photosensitivity is increased to the first numerical value.

在上述图像处理装置中,所述降噪处理模块包括:躁点识别模块,用于从所述第一成像数据所对应的图像中识别出躁点;躁点模糊化处理模块,用于利用靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点。In the above image processing device, the noise reduction processing module includes: a noise point identification module, configured to identify noise points from the image corresponding to the first imaging data; a noise point blurring processing module, configured to utilize The pixels of the noise point are used to blur the noise point, so as to blur the noise point or eliminate the noise point.

在上述图像处理装置中,所述预定值包括第二数值;所述感光度控制模块还用于在所述亮度判断结果为所述暗态场景的亮度值处于第二范围内的情况下,将所述感光度提升至所述第二数值;所述装置还包括:饱和度控制模块,用于将所述第一成像数据所对应的饱和度值降低至第三数值,以减少所述第一成像数据所对应的图像中的彩色躁点。In the above image processing device, the predetermined value includes a second value; the sensitivity control module is further configured to set The sensitivity is increased to the second value; the device further includes: a saturation control module, configured to reduce the saturation value corresponding to the first imaging data to a third value, so as to reduce the first Color noise in the image corresponding to the imaging data.

相对现有技术,本发明能提升暗态场景的图像的成像效果。Compared with the prior art, the present invention can improve the imaging effect of images of dark scenes.

为让本发明的上述内容能更明显易懂,下文特举优选实施例,并配合所附图式,作详细说明如下:In order to make the above content of the present invention more obvious and understandable, the preferred embodiments are specifically cited below, and in conjunction with the accompanying drawings, the detailed description is as follows:

【附图说明】【Description of drawings】

图1为本发明的图像处理方法的框图;Fig. 1 is the block diagram of image processing method of the present invention;

图2为图1中降噪处理模块的框图;Fig. 2 is a block diagram of the noise reduction processing module in Fig. 1;

图3为本发明的图像处理装置的流程图;Fig. 3 is the flowchart of the image processing device of the present invention;

图4为图3中对所述第一成像数据进行降躁处理进行降噪处理的步骤的流程图。FIG. 4 is a flow chart of the steps of performing noise reduction processing on the first imaging data in FIG. 3 .

【具体实施方式】【Detailed ways】

以下各实施例的说明是参考附加的图式,用以例示本发明可用以实施的特定实施例。The following descriptions of the various embodiments refer to the accompanying drawings to illustrate specific embodiments in which the present invention can be practiced.

本发明的图像处理方法及装置可以运行于计算机或安装有目前常用的便携式可移动智能设备的操作系统平台的用户设备中,该计算机可以是个人电脑、服务器等等中的一种或者一种以上组合而成的系统,该用户设备可以是移动终端、掌上电脑、平板电脑等等中的任意一种。该计算机或者该用户设备中可以包括处理器、存储器、传感器、开关器件、电源、时钟信号生成器、输入输出设备等中的任意组合,上述计算机或者用户设备中的处理器、存储器、传感器、开关器件、电源、时钟信号生成器、输入输出设备等中的任意组合用于实现本发明的图像处理方法中的步骤及图像处理装置中的功能。The image processing method and device of the present invention can run on a computer or a user device installed with an operating system platform of a currently commonly used portable and mobile smart device, and the computer can be one or more than one of a personal computer, a server, etc. A combined system, the user equipment may be any one of a mobile terminal, a palmtop computer, a tablet computer, and the like. The computer or the user equipment may include any combination of processors, memory, sensors, switching devices, power supplies, clock signal generators, input and output devices, etc., the processors, memory, sensors, switches in the above computers or user equipment Any combination of devices, power supplies, clock signal generators, input and output devices, etc. is used to realize the steps in the image processing method and the functions in the image processing device of the present invention.

本发明的图像处理装置和/或方法可应用于诸如手机、照相机、摄像机等具有拍摄功能的设备中。The image processing device and/or method of the present invention can be applied to devices with shooting functions such as mobile phones, cameras, and video cameras.

参考图1和图2,图1为本发明的图像处理方法的框图,图2为图1中降噪处理模块105的框图。Referring to FIG. 1 and FIG. 2 , FIG. 1 is a block diagram of the image processing method of the present invention, and FIG. 2 is a block diagram of the noise reduction processing module 105 in FIG. 1 .

本发明的图像处理装置包括感光度控制模块102、成像数据接收模块103和降噪处理模块105。The image processing device of the present invention includes a sensitivity control module 102 , an imaging data receiving module 103 and a noise reduction processing module 105 .

所述感光度控制模块102用于在对暗态场景进行成像的过程中,将感光度(ISO)提升至预定值,其中,所述预定值处于预定范围内。所述暗态场景可例如为夜景、漆黑的室内场景等光线较暗的场景。The sensitivity control module 102 is configured to increase the sensitivity (ISO) to a predetermined value during imaging of a dark scene, wherein the predetermined value is within a predetermined range. The dark scene may be, for example, a dark scene such as a night scene or a dark indoor scene.

所述成像数据接收模块103用于接收所述暗态场景的第一成像数据。例如,所述成像数据接收模块103用于从图像传感器中接收所述第一成像数据。The imaging data receiving module 103 is configured to receive the first imaging data of the dark scene. For example, the imaging data receiving module 103 is configured to receive the first imaging data from an image sensor.

所述降噪处理模块105用于对所述第一成像数据进行降躁处理,并输出经过降噪处理的第二成像数据。The noise reduction processing module 105 is used for performing noise reduction processing on the first imaging data, and outputting the second imaging data after noise reduction processing.

其中,所述降噪处理模块105对所述第一成像数据进行降躁处理是为了提高所拍摄的图像的细节的质量。Wherein, the noise reduction processing module 105 performs noise reduction processing on the first imaging data to improve the detail quality of the captured image.

作为一种改进,所述装置还包括亮度判断模块101。所述亮度判断模块101用于根据所述成像数据判断所述暗态场景的亮度,并生成亮度判断结果。所述感光度控制模块102还用于根据所述亮度判断结果,将所述感光度提升至所述预定值。由于不同的场景的亮度不同,因此,在对具有不同亮度的场景(暗态场景)进行拍摄时,所述亮度判断模块101判断所述场景的亮度,以使所述感光度控制模块102能够据此有针对性地调整所述感光度(例如,将所述感光度提升至所述预定值,或者将所述感光度降低至所述预定值)。As an improvement, the device further includes a brightness judging module 101 . The brightness judgment module 101 is configured to judge the brightness of the dark scene according to the imaging data, and generate a brightness judgment result. The sensitivity control module 102 is further configured to increase the sensitivity to the predetermined value according to the brightness judgment result. Since the brightness of different scenes is different, when shooting a scene with different brightness (dark state scene), the brightness judging module 101 judges the brightness of the scene, so that the sensitivity control module 102 can This adjusts the sensitivity in a targeted manner (for example, increasing the sensitivity to the predetermined value, or decreasing the sensitivity to the predetermined value).

进一步地,所述预定值包括第一数值。所述感光度控制模块102还用于在所述亮度判断结果为所述暗态场景的亮度值处于第一范围内的情况下,将所述感光度提升至所述第一数值。其中,所述第一数值是预先设定的第一平衡点的数值,例如,2400。所述感光度控制模块102将所述感光度提升至所述第一数值是为了抑制(或者降低、减少)彩色躁点的出现。Further, the predetermined value includes a first numerical value. The sensitivity control module 102 is further configured to increase the sensitivity to the first value when the brightness judgment result is that the brightness value of the dark scene is within a first range. Wherein, the first value is a preset value of the first balance point, for example, 2400. The sensitivity control module 102 increases the sensitivity to the first value to suppress (or reduce, reduce) the appearance of color noise.

作为一种改进,所述降噪处理模块105包括躁点识别模块202和躁点模糊化处理模块203。其中,所述躁点识别模块202用于从所述第一成像数据所对应的图像中识别出躁点。所述躁点模糊化处理模块203用于利用靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点。As an improvement, the noise reduction processing module 105 includes a noise point identification module 202 and a noise point blurring processing module 203 . Wherein, the noise point identification module 202 is used for identifying noise points from the image corresponding to the first imaging data. The noise point blurring processing module 203 is used for blurring the noise point by utilizing the pixels close to the noise point, so as to blur the noise point or eliminate the noise point.

具体地,所述躁点识别模块202用于从所述第一成像数据中选择出多帧辅助图像,以利用多帧所述辅助图像中的躁点信息来精确地查找出目标图像中的躁点。所述躁点模糊化处理模块203用于利用所述目标图像中靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点。Specifically, the noise recognition module 202 is configured to select multiple frames of auxiliary images from the first imaging data, so as to accurately find out the noise in the target image by using the noise information in multiple frames of the auxiliary images. point. The noise point blurring processing module 203 is configured to use pixels close to the noise point in the target image to perform blurring processing on the noise point, so as to blur the noise point or eliminate the noise point.

其中,所述辅助图像为小尺寸图像,所述小尺寸图像的尺寸小于所述目标图像的尺寸,这样有利于加快所述躁点识别模块202识别所述躁点的速度。Wherein, the auxiliary image is a small-size image, and the size of the small-size image is smaller than the size of the target image, which is beneficial to speed up the noise point identification module 202 to identify the noise point.

优选地,所述降噪处理模块105还包括辅助图像裁剪模块201,所述辅助图像裁剪模块201用于将至少一所述辅助图像裁剪为所述小尺寸图像。Preferably, the noise reduction processing module 105 further includes an auxiliary image cropping module 201, and the auxiliary image cropping module 201 is configured to crop at least one of the auxiliary images into the small-sized image.

进一步地,所述预定值包括第二数值。所述感光度控制模块102还用于在所述亮度判断结果为所述暗态场景的亮度值处于第二范围内的情况下,将所述感光度提升至所述第二数值。其中,所述第二数值是预先设定的第二平衡点的数值,例如,3600。所述感光度控制模块102将所述感光度提升至所述第二数值是为了适应亮度过低的场景,以使所述场景的图像成功生成。Further, the predetermined value includes a second numerical value. The sensitivity control module 102 is further configured to increase the sensitivity to the second value when the brightness judgment result is that the brightness value of the dark scene is within a second range. Wherein, the second value is a preset value of the second balance point, for example, 3600. The photosensitivity control module 102 increases the photosensitivity to the second value to adapt to scenes with too low brightness, so that images of the scenes can be successfully generated.

所述装置还包括饱和度控制模块104。所述饱和度控制模块104用于将所述第一成像数据所对应的饱和度值降低至第三数值,以减少所述第一成像数据所对应的图像中的彩色躁点。其中,所述饱和度控制模块104降低所述饱和度值是为了弱化所述彩色躁点(使得所述彩色躁点不明显),从而提升成像效果。The apparatus also includes a saturation control module 104 . The saturation control module 104 is configured to reduce the saturation value corresponding to the first imaging data to a third value, so as to reduce color noise in the image corresponding to the first imaging data. Wherein, the saturation control module 104 reduces the saturation value to weaken the color noise (so that the color noise is not obvious), so as to improve the imaging effect.

参考图3和图4,图3为本发明的图像处理装置的流程图,图4为图3中对所述第一成像数据进行降躁处理进行降噪处理的步骤的流程图。Referring to FIG. 3 and FIG. 4 , FIG. 3 is a flow chart of the image processing device of the present invention, and FIG. 4 is a flow chart of the steps of performing noise reduction processing on the first imaging data in FIG. 3 .

本发明的图像处理方法包括以下步骤:Image processing method of the present invention comprises the following steps:

A、在对暗态场景进行成像的过程中,所述感光度控制模块102将感光度提升至预定值,其中,所述预定值处于预定范围内。所述暗态场景可例如为夜景、漆黑的室内场景等光线较暗的场景。A. In the process of imaging a dark scene, the sensitivity control module 102 increases the sensitivity to a predetermined value, wherein the predetermined value is within a predetermined range. The dark scene may be, for example, a dark scene such as a night scene or a dark indoor scene.

B、所述成像数据接收模块103接收所述暗态场景的第一成像数据。例如,所述成像数据接收模块103从图像传感器中接收所述第一成像数据。B. The imaging data receiving module 103 receives the first imaging data of the dark scene. For example, the imaging data receiving module 103 receives the first imaging data from an image sensor.

C、所述降噪处理模块105对所述第一成像数据进行降躁处理,并输出经过降噪处理的第二成像数据。C. The noise reduction processing module 105 performs noise reduction processing on the first imaging data, and outputs second imaging data subjected to noise reduction processing.

其中,所述降噪处理模块105对所述第一成像数据进行降躁处理是为了提高所拍摄的图像的细节的质量。Wherein, the noise reduction processing module 105 performs noise reduction processing on the first imaging data to improve the detail quality of the captured image.

作为一种改进,在所述步骤A之前,所述方法还包括以下步骤:As an improvement, before the step A, the method also includes the following steps:

D、亮度判断模块101根据所述成像数据判断所述暗态场景的亮度,并生成亮度判断结果。其中,所述亮度判断结果包括至少两种情况,第一种情况是所述亮度所对应的亮度值处于第一范围内,第二种情况是所述亮度值处于第二范围内。所述第一范围和所述第二范围可以是根据预先测量的数据来设定的。D. The brightness judgment module 101 judges the brightness of the dark scene according to the imaging data, and generates a brightness judgment result. Wherein, the brightness judgment result includes at least two cases, the first case is that the brightness value corresponding to the brightness is within the first range, and the second case is that the brightness value is within the second range. The first range and the second range may be set according to pre-measured data.

其中,所述步骤A包括:Wherein, the step A includes:

a1、所述感光度控制模块102根据所述亮度判断结果,将所述感光度提升至所述预定值。a1. The sensitivity control module 102 increases the sensitivity to the predetermined value according to the brightness judgment result.

由于不同的场景的亮度不同,因此,在对具有不同亮度的场景(暗态场景)进行拍摄时,所述亮度判断模块101判断所述场景的亮度,以使所述感光度控制模块102能够据此有针对性地调整所述感光度(例如,将所述感光度提升至所述预定值,或者将所述感光度降低至所述预定值)。Since the brightness of different scenes is different, when shooting a scene with different brightness (dark state scene), the brightness judging module 101 judges the brightness of the scene, so that the sensitivity control module 102 can This adjusts the sensitivity in a targeted manner (for example, increasing the sensitivity to the predetermined value, or decreasing the sensitivity to the predetermined value).

进一步地,所述预定值包括第一数值。其中,所述步骤a1包括:Further, the predetermined value includes a first numerical value. Wherein, the step a1 includes:

a11、所述感光度控制模块102在所述亮度判断结果为所述暗态场景的亮度值处于所述第一范围内的情况下,将所述感光度提升至所述第一数值。a11. The sensitivity control module 102 increases the sensitivity to the first value when the brightness judgment result is that the brightness value of the dark scene is within the first range.

其中,所述第一数值是预先设定的第一平衡点的数值,例如,2400。所述感光度控制模块102将所述感光度提升至所述第一数值是为了抑制(或者降低、减少)彩色躁点的出现。Wherein, the first value is a preset value of the first balance point, for example, 2400. The sensitivity control module 102 increases the sensitivity to the first value to suppress (or reduce, reduce) the appearance of color noise.

作为一种改进,所述步骤C包括:As an improvement, the step C includes:

c1、所述躁点识别模块202从所述第一成像数据所对应的图像中识别出躁点。c1. The noise point identification module 202 identifies noise points from the image corresponding to the first imaging data.

c2、所述躁点模糊化处理模块203利用靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点。c2. The noisy point blurring processing module 203 uses pixels close to the noisy point to perform blurring processing on the noisy point, so as to blur the noise point or eliminate the noise point.

具体地,所述步骤c1包括:Specifically, the step c1 includes:

c11、所述躁点识别模块202从所述第一成像数据中选择出多帧辅助图像,以利用多帧所述辅助图像中的躁点信息来精确地查找出目标图像中的躁点。c11. The noise spot identification module 202 selects multiple frames of auxiliary images from the first imaging data, so as to accurately find out the noise points in the target image by using the noise information in the multiple frames of the auxiliary images.

所述步骤c2包括:Said step c2 comprises:

c2、所述躁点模糊化处理模块203利用所述目标图像中靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点。c2. The noise point blurring processing module 203 uses pixels close to the noise point in the target image to perform blurring processing on the noise point, so as to blur the noise point or eliminate the noise point.

其中,所述辅助图像为小尺寸图像,所述小尺寸图像的尺寸小于所述目标图像的尺寸,这样有利于加快所述躁点识别模块202识别所述躁点的速度。Wherein, the auxiliary image is a small-size image, and the size of the small-size image is smaller than the size of the target image, which is beneficial to speed up the noise point identification module 202 to identify the noise point.

优选地,所述步骤C还包括:Preferably, said step C also includes:

c3、所述降噪处理模块105中的辅助图像裁剪模块201将至少一所述辅助图像裁剪为所述小尺寸图像。c3. The auxiliary image cropping module 201 in the noise reduction processing module 105 crops at least one of the auxiliary images into the small-size image.

作为一种改进,所述预定值包括第二数值。其中,所述步骤a1包括:As an improvement, the predetermined value includes a second numerical value. Wherein, the step a1 includes:

a12、所述感光度控制模块102在所述亮度判断结果为所述暗态场景的亮度值处于所述第二范围内的情况下,将所述感光度提升至所述第二数值。其中,所述第二数值是预先设定的第二平衡点的数值,例如,3600。所述感光度控制模块102将所述感光度提升至所述第二数值是为了适应亮度过低的场景,以使所述场景的图像成功生成。a12. The sensitivity control module 102 increases the sensitivity to the second value when the brightness judgment result is that the brightness value of the dark scene is within the second range. Wherein, the second value is a preset value of the second balance point, for example, 3600. The photosensitivity control module 102 increases the photosensitivity to the second value to adapt to scenes with too low brightness, so that images of the scenes can be successfully generated.

在所述步骤B之后,以及在所述步骤C之前,所述方法还包括以下步骤:After said step B, and before said step C, said method also includes the following steps:

E、所述饱和度控制模块104将所述第一成像数据所对应的饱和度值降低至第三数值,以减少所述第一成像数据所对应的图像中的彩色躁点。其中,所述饱和度控制模块104降低所述饱和度值是为了弱化所述彩色躁点(使得所述彩色躁点不明显),从而提升成像效果。E. The saturation control module 104 reduces the saturation value corresponding to the first imaging data to a third value, so as to reduce color noise in the image corresponding to the first imaging data. Wherein, the saturation control module 104 reduces the saturation value to weaken the color noise (so that the color noise is not obvious), so as to improve the imaging effect.

通过上述技术方案,有利于提升暗态场景的图像的成像效果。Through the above technical solution, it is beneficial to improve the imaging effect of the image of the dark scene.

实施例Example

在对所述暗态场景进行成像的过程中,亮度判断模块101判断所述暗态场景的亮度,在所述亮度判断结果为所述暗态场景的亮度值处于第一范围内的情况下,所述感光度控制模块102不将所述感光度拉得太高,最大只拉到2400。此时,所述暗态场景的所述第一成像数据的彩色躁点将会得到有效控制。In the process of imaging the dark scene, the brightness judgment module 101 judges the brightness of the dark scene, and when the brightness judgment result is that the brightness value of the dark scene is within the first range, The photosensitivity control module 102 does not raise the photosensitivity too high, and only pulls it to 2400 at the maximum. At this time, the color noise of the first imaging data of the dark scene will be effectively controlled.

在对所述彩色躁点有了比较大的抑制的情况下,为了成像得更好,需要对成像的躁点进一步作处理。相应的技术方案是:In the case of relatively large suppression of the color noise, further processing of the imaging noise is required for better imaging. The corresponding technical solutions are:

选择三方的多帧合成降躁的方式来对躁点进行进一步抵制,提升成像的对比度,从而提升成像效果。Choose the three-party multi-frame synthesis method to further resist the noise, improve the contrast of the imaging, and improve the imaging effect.

如果某些场景的亮度非常暗,例如在所述亮度判断结果为所述暗态场景的亮度值处于第二范围内的情况下,需要感光度达到3600以上才能成像,此时则需要进一步处理。为了抑制彩色躁点,需要将整个场景的饱和度降低,这样彩色躁点将会变得不那么明显,有利于提升成像效果。If the brightness of some scenes is very dark, for example, if the brightness judgment result is that the brightness value of the dark scene is within the second range, the imaging needs to be made with a sensitivity of more than 3600, and further processing is required at this time. In order to suppress the color noise, it is necessary to reduce the saturation of the entire scene, so that the color noise will become less obvious, which is conducive to improving the imaging effect.

尽管已经相对于一个或多个实现方式示出并描述了本发明,但是本领域技术人员基于对本说明书和附图的阅读和理解将会想到等价变型和修改。本发明包括所有这样的修改和变型,并且仅由所附权利要求的范围限制。特别地关于由上述组件(例如元件、资源等)执行的各种功能,用于描述这样的组件的术语旨在对应于执行所述组件的指定功能(例如其在功能上是等价的)的任意组件(除非另外指示),即使在结构上与执行本文所示的本说明书的示范性实现方式中的功能的公开结构不等同。此外,尽管本说明书的特定特征已经相对于若干实现方式中的仅一个被公开,但是这种特征可以与如可以对给定或特定应用而言是期望和有利的其他实现方式的一个或多个其他特征组合。而且,就术语“包括”、“具有”、“含有”或其变形被用在具体实施方式或权利要求中而言,这样的术语旨在以与术语“包含”相似的方式包括。While the invention has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art upon the reading and understanding of this specification and the annexed drawings. The present invention includes all such modifications and variations and is limited only by the scope of the appended claims. With particular regard to the various functions performed by the above-described components (eg, elements, resources, etc.), terminology used to describe such components is intended to correspond to Any component (unless otherwise indicated), even if not structurally equivalent to the disclosed structure that performs the function in the exemplary implementations of the specification presented herein. Furthermore, although a particular feature of this specification has been disclosed with respect to only one of several implementations, such feature may be combined with one or more other implementations as may be desirable and advantageous for a given or particular application. other feature combinations. Moreover, to the extent the terms "comprises", "has", "comprising" or variations thereof are used in the detailed description or the claims, such terms are intended to be encompassed in a manner similar to the term "comprising".

综上所述,虽然本发明已以优选实施例揭露如上,但上述优选实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。In summary, although the present invention has been disclosed above with preferred embodiments, the above preferred embodiments are not intended to limit the present invention, and those of ordinary skill in the art can make various modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be determined by the scope defined in the claims.

Claims (2)

1.一种图像处理方法,其特征在于,所述方法包括以下步骤:1. An image processing method, characterized in that the method comprises the following steps: D、根据成像数据判断暗态场景的亮度,并生成亮度判断结果;D. Judging the brightness of the dark scene according to the imaging data, and generating a brightness judgment result; A、在对暗态场景进行成像的过程中,根据所述亮度判断结果,将感光度提升至预定值,其中,所述预定值处于预定范围内,所述预定值包括第一数值和第二数值,在所述亮度判断结果为所述暗态场景的亮度值处于第一范围内的情况下,将所述感光度提升至所述第一数值,在所述亮度判断结果为所述暗态场景的亮度值处于第二范围内的情况下,将所述感光度提升至所述第二数值;A. In the process of imaging a dark scene, according to the brightness judgment result, increase the sensitivity to a predetermined value, wherein the predetermined value is within a predetermined range, and the predetermined value includes the first value and the second value. numerical value, if the brightness judgment result is that the brightness value of the dark state scene is within the first range, increase the sensitivity to the first numerical value, and if the brightness judgment result is the dark state scene When the brightness value of the scene is within the second range, increasing the sensitivity to the second value; B、接收所述暗态场景的第一成像数据;B. receiving the first imaging data of the dark scene; E、将所述第一成像数据所对应的饱和度值降低至第三数值,以减少所述第一成像数据所对应的图像中的彩色躁点;E. Decreasing the saturation value corresponding to the first imaging data to a third value, so as to reduce color noise in the image corresponding to the first imaging data; C、对所述第一成像数据进行降躁处理,并输出经过降噪处理的第二成像数据,包括:从所述第一成像数据所对应的图像中识别出躁点,利用靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点,其中,从所述第一成像数据中选择出多帧辅助图像,以利用多帧所述辅助图像中的躁点信息查找出目标图像中的躁点,所述辅助图像为小尺寸图像,所述小尺寸图像的尺寸小于所述目标图像的尺寸。C. Perform noise reduction processing on the first imaging data, and output second imaging data that has undergone noise reduction processing, including: identifying noise points from the image corresponding to the first imaging data, and using The noise point is blurred by the pixels of the point, so as to blur the noise point or eliminate the noise point, wherein a plurality of frames of auxiliary images are selected from the first imaging data to utilize the multi-frame The noise point information in the auxiliary image finds the noise point in the target image, the auxiliary image is a small-size image, and the size of the small-size image is smaller than the size of the target image. 2.一种图像处理装置,其特征在于,所述装置包括:2. An image processing device, characterized in that the device comprises: 亮度判断模块,用于根据成像数据判断暗态场景的亮度,并生成亮度判断结果;Brightness judging module, used for judging the brightness of the dark state scene according to the imaging data, and generating the brightness judging result; 感光度控制模块,用于在对暗态场景进行成像的过程中,根据所述亮度判断结果,将感光度提升至预定值,其中,所述预定值处于预定范围内,所述预定值包括第一数值和第二数值,将所述感光度提升至所述第一数值,在所述亮度判断结果为所述暗态场景的亮度值处于第二范围内的情况下,将所述感光度提升至所述第二数值;The photosensitivity control module is configured to increase the photosensitivity to a predetermined value according to the brightness judgment result in the process of imaging a dark scene, wherein the predetermined value is within a predetermined range, and the predetermined value includes the first a numerical value and a second numerical value, increasing the sensitivity to the first numerical value, and increasing the sensitivity to to said second value; 成像数据接收模块,用于接收所述暗态场景的第一成像数据;An imaging data receiving module, configured to receive the first imaging data of the dark scene; 饱和度控制模块,用于将所述第一成像数据所对应的饱和度值降低至第三数值,以减少所述第一成像数据所对应的图像中的彩色躁点;A saturation control module, configured to reduce the saturation value corresponding to the first imaging data to a third value, so as to reduce color noise in the image corresponding to the first imaging data; 降噪处理模块,用于对所述第一成像数据进行降躁处理,并输出经过降噪处理的第二成像数据,所述降噪处理模块包括躁点识别模块,所述躁点识别模块用于从所述第一成像数据中选择出多帧辅助图像,以利用多帧所述辅助图像中的躁点信息查找出目标图像中的躁点,所述辅助图像为小尺寸图像,所述小尺寸图像的尺寸小于所述目标图像的尺寸,所述降噪处理模块包括:A noise reduction processing module, configured to perform noise reduction processing on the first imaging data, and output the second imaging data after noise reduction processing, the noise reduction processing module includes a noise point identification module, and the noise point identification module uses Selecting multiple frames of auxiliary images from the first imaging data to find noise points in the target image by using the noise information in the multiple frames of the auxiliary images, the auxiliary images are small-sized images, and the small The size of the size image is smaller than the size of the target image, and the noise reduction processing module includes: 躁点识别模块,用于从所述第一成像数据所对应的图像中识别出躁点;A noise point identification module, configured to identify noise points from the image corresponding to the first imaging data; 躁点模糊化处理模块,用于利用靠近所述躁点的像素点来对所述躁点进行模糊化处理,以模糊化所述躁点或消除所述躁点。The noise point blurring processing module is used to perform blurring processing on the noise point by using pixel points close to the noise point, so as to blur the noise point or eliminate the noise point.
CN201510602756.8A 2015-09-21 2015-09-21 Image processing method and device Expired - Fee Related CN105141857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510602756.8A CN105141857B (en) 2015-09-21 2015-09-21 Image processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510602756.8A CN105141857B (en) 2015-09-21 2015-09-21 Image processing method and device

Publications (2)

Publication Number Publication Date
CN105141857A CN105141857A (en) 2015-12-09
CN105141857B true CN105141857B (en) 2018-12-11

Family

ID=54727055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510602756.8A Expired - Fee Related CN105141857B (en) 2015-09-21 2015-09-21 Image processing method and device

Country Status (1)

Country Link
CN (1) CN105141857B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913403A (en) * 2016-06-27 2016-08-31 乐视控股(北京)有限公司 Image denoising method and system
CN110519485B (en) * 2019-09-09 2021-08-31 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1675919A (en) * 2002-08-22 2005-09-28 奥林巴斯株式会社 Imaging system and image processing program
KR20080113526A (en) * 2007-06-25 2008-12-31 주식회사 코아로직 Image processing apparatus and method
CN101398929A (en) * 2008-10-28 2009-04-01 深圳市迅雷网络技术有限公司 Method and device for restraining night image noise
EP2148499A3 (en) * 2008-07-25 2010-02-17 Fujifilm Corporation Imaging apparatus and method
CN103067661A (en) * 2013-01-07 2013-04-24 华为终端有限公司 Image processing method, image processing device and shooting terminal
CN104883511A (en) * 2015-06-12 2015-09-02 联想(北京)有限公司 Image processing method and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6466906B2 (en) * 1999-01-06 2002-10-15 Dspc Technologies Ltd. Noise padding and normalization in dynamic time warping
US7602438B2 (en) * 2004-10-19 2009-10-13 Eastman Kodak Company Method and apparatus for capturing high quality long exposure images with a digital camera
EP1874043B1 (en) * 2006-02-20 2013-12-04 Panasonic Corporation Image pick up apparatus
CN100578497C (en) * 2006-03-31 2010-01-06 株式会社理光 A document processing system and method
KR101574733B1 (en) * 2008-11-19 2015-12-04 삼성전자 주식회사 Image processing apparatus for obtaining high-definition color image and method therof
CN101833749B (en) * 2009-03-12 2012-03-28 株式会社理光 Device and method for detecting shadow in image
CN103020956B (en) * 2012-11-20 2015-05-20 华中科技大学 Image matching method for judging Hausdorff distance based on decision
CN103051837A (en) * 2012-12-17 2013-04-17 广东欧珀移动通信有限公司 A method and device for improving camera dark shooting effect
CN103973988B (en) * 2013-01-24 2018-02-02 华为终端(东莞)有限公司 scene recognition method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1675919A (en) * 2002-08-22 2005-09-28 奥林巴斯株式会社 Imaging system and image processing program
KR20080113526A (en) * 2007-06-25 2008-12-31 주식회사 코아로직 Image processing apparatus and method
EP2148499A3 (en) * 2008-07-25 2010-02-17 Fujifilm Corporation Imaging apparatus and method
CN101398929A (en) * 2008-10-28 2009-04-01 深圳市迅雷网络技术有限公司 Method and device for restraining night image noise
CN103067661A (en) * 2013-01-07 2013-04-24 华为终端有限公司 Image processing method, image processing device and shooting terminal
CN104883511A (en) * 2015-06-12 2015-09-02 联想(北京)有限公司 Image processing method and electronic equipment

Also Published As

Publication number Publication date
CN105141857A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN111028189B (en) Image processing method, device, storage medium and electronic equipment
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment
JP7266672B2 (en) Image processing method, image processing apparatus, and device
KR102149187B1 (en) Electronic device and control method of the same
EP2854389B1 (en) Scene recognition method and apparatus
US9692959B2 (en) Image processing apparatus and method
CN110060213A (en) Image processing method, image processing device, storage medium and electronic equipment
CN106127698A (en) Image noise reduction treating method and apparatus
CN107147851B (en) Photo processing method, apparatus, computer-readable storage medium, and electronic device
CN109996009A (en) Image processing method, device, storage medium and electronic device
CN110971841B (en) Image processing method, image processing device, storage medium and electronic equipment
CN107690804B (en) Image processing method and user terminal
US10769416B2 (en) Image processing method, electronic device and storage medium
CN107172354A (en) Method for processing video frequency, device, electronic equipment and storage medium
CN110717871A (en) Image processing method, image processing device, storage medium and electronic equipment
CN113810593B (en) Image processing method, device, storage medium and electronic equipment
CN108513069B (en) Image processing method, image processing device, storage medium and electronic equipment
CN110766729B (en) Image processing method, device, storage medium and electronic equipment
WO2022151852A1 (en) Image processing method, apparatus, and system, electronic device, and storage medium
US9076207B1 (en) Image processing method, system and electronic device
CN108427938A (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN105141857B (en) Image processing method and device
US10003814B2 (en) Image processor, display image processing method and associated electronic device
CN114418914A (en) Image processing method, device, electronic device and storage medium
JP7197210B2 (en) Image correction system, image correction method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181211

CF01 Termination of patent right due to non-payment of annual fee