CN109993722B - Image processing method, image processing device, storage medium and electronic equipment - Google Patents
Image processing method, image processing device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN109993722B CN109993722B CN201910280476.8A CN201910280476A CN109993722B CN 109993722 B CN109993722 B CN 109993722B CN 201910280476 A CN201910280476 A CN 201910280476A CN 109993722 B CN109993722 B CN 109993722B
- Authority
- CN
- China
- Prior art keywords
- image
- raw
- images
- electronic device
- frames
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 30
- 239000002131 composite material Substances 0.000 claims abstract description 149
- 239000000872 buffer Substances 0.000 claims abstract description 93
- 230000009467 reduction Effects 0.000 claims abstract description 32
- 238000000034 method Methods 0.000 claims description 20
- 230000015572 biosynthetic process Effects 0.000 claims description 12
- 238000003786 synthesis reaction Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002194 synthesizing effect Effects 0.000 claims description 7
- 238000005457 optimization Methods 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 12
- 238000003707 image sharpening Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000003384 imaging method Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000003705 background correction Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/268—Signal distribution or switching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20208—High dynamic range [HDR] image processing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
本申请公开了一种图像处理方法,包括:获取RAW图像包,RAW图像包中包括至少两帧RAW图像,该至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间;对RAW图像包进行解包处理,得到至少两帧RAW图像;对至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像;获取电子设备的运行参数值,运行参数值用于表示电子设备的计算能力;根据运行参数值,确定在目标场景下将所述RAW合成图像存入预设图像缓存队列,或是将RAW合成图像转换为YUV合成图像后存入预设图像缓存队列;当接收到拍照指令时,从预设图像缓存队列中获取目标场景的多帧历史缓存图像,并对多帧历史缓存图像进行多帧降噪处理,得到降噪图像;根据降噪图像,响应所述拍照指令。
The present application discloses an image processing method, comprising: acquiring a RAW image package, the RAW image package includes at least two frames of RAW images, the at least two frames of RAW images are images acquired in a target scene and have different exposure times; The RAW image package is unpacked to obtain at least two frames of RAW images; at least two frames of RAW images are synthesized to obtain a RAW composite image with a high dynamic range; the operating parameter value of the electronic device is obtained, and the operating parameter value is used to represent the electronic device. The computing power of the device; according to the operating parameter value, it is determined that the RAW composite image is stored in the preset image buffer queue in the target scene, or the RAW composite image is converted into a YUV composite image and then stored in the preset image cache queue; when When a photographing instruction is received, obtain a multi-frame historical cache image of the target scene from the preset image cache queue, and perform multi-frame noise reduction processing on the multi-frame historical cache image to obtain a noise-reduced image; according to the noise-reduced image, respond to the Take pictures command.
Description
技术领域technical field
本申请属于图像技术领域,尤其涉及一种图像处理方法、装置、存储介质及电子设备。The present application belongs to the field of image technology, and in particular relates to an image processing method, device, storage medium and electronic equipment.
背景技术Background technique
由于电子设备本身的硬件限制,目前的电子设备只能拍摄亮度范围比较小的场景,若在场景明暗相差太大时进行拍摄,则拍摄出来的图像容易丢失明处和/或暗处的细节。即,电子设备处理得到的图像的成像效果较差。Due to the hardware limitation of the electronic device itself, the current electronic device can only shoot scenes with a relatively small brightness range. If the scene is shot when the difference between light and dark is too large, the captured image will easily lose details in bright and/or dark places. That is, the imaging effect of the image processed by the electronic device is poor.
发明内容Contents of the invention
本申请实施例提供一种图像处理方法、装置、存储介质及电子设备,可以提高图像的成像效果。Embodiments of the present application provide an image processing method, device, storage medium, and electronic equipment, which can improve the imaging effect of an image.
本申请实施例提供一种图像处理方法,包括:An embodiment of the present application provides an image processing method, including:
获取RAW图像包,所述RAW图像包中包括至少两帧RAW图像,所述至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间;Acquire a RAW image package, the RAW image package includes at least two frames of RAW images, the at least two frames of RAW images are images acquired in the target scene and have different exposure times;
对所述RAW图像包进行解包处理,得到所述至少两帧RAW图像;Unpacking the RAW image packet to obtain the at least two frames of RAW image;
对所述至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像;Synthesizing the at least two frames of RAW images to obtain a RAW composite image with a high dynamic range;
获取电子设备的运行参数值,所述运行参数值用于表示所述电子设备的计算能力;Acquiring an operating parameter value of the electronic device, where the operating parameter value is used to represent the computing capability of the electronic device;
根据所述运行参数值,确定在所述目标场景下将所述RAW合成图像存入预设图像缓存队列,或是将所述RAW合成图像转换为YUV合成图像后存入预设图像缓存队列;According to the operating parameter value, it is determined to store the RAW composite image in the preset image buffer queue in the target scene, or convert the RAW composite image into a YUV composite image and store it in the preset image cache queue;
当接收到拍照指令时,从所述预设图像缓存队列中获取目标场景的多帧历史缓存图像,并对所述多帧历史缓存图像进行多帧降噪处理,得到降噪图像;When a photographing instruction is received, acquire a multi-frame historical buffer image of the target scene from the preset image buffer queue, and perform multi-frame noise reduction processing on the multi-frame historical buffer image to obtain a noise-reduced image;
根据所述降噪图像,响应所述拍照指令。Responding to the photographing instruction according to the noise-reduced image.
本申请实施例提供一种图像处理装置,包括:An embodiment of the present application provides an image processing device, including:
第一获取模块,用于获取RAW图像包,所述RAW图像包中包括至少两帧RAW图像,所述至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间;The first acquisition module is configured to acquire a RAW image package, the RAW image package includes at least two frames of RAW images, and the at least two frames of RAW images are images acquired in a target scene and have different exposure times;
解包模块,用于对所述RAW图像包进行解包处理,得到所述至少两帧RAW图像;An unpacking module, configured to unpack the RAW image packets to obtain the at least two frames of RAW images;
合成模块,用于对所述至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像;A synthesis module, configured to perform synthesis processing on the at least two frames of RAW images to obtain a RAW synthesis image with a high dynamic range;
第二获取模块,用于获取电子设备的运行参数值,所述运行参数值用于表示所述电子设备的计算能力;The second acquisition module is used to acquire the operating parameter value of the electronic device, and the operating parameter value is used to represent the computing capability of the electronic device;
缓存模块,用于根据所述运行参数值,确定在所述目标场景下将所述RAW合成图像存入预设图像缓存队列,或是将所述RAW合成图像转换为YUV合成图像后存入预设图像缓存队列;A cache module, configured to determine, according to the operating parameter value, whether to store the RAW composite image in the preset image cache queue in the target scene, or convert the RAW composite image into a YUV composite image and store it in the preset image cache queue. Set the image cache queue;
处理模块,用于当接收到拍照指令时,从所述预设图像缓存队列中获取目标场景的多帧历史缓存图像,并对所述多帧历史缓存图像进行多帧降噪处理,得到降噪图像;A processing module, configured to obtain a multi-frame historical buffer image of the target scene from the preset image buffer queue when a photographing instruction is received, and perform multi-frame noise reduction processing on the multi-frame historical buffer image to obtain a noise reduction image;
响应模块,用于根据所述降噪图像,响应所述拍照指令。The response module is configured to respond to the photographing instruction according to the noise-reduced image.
本申请实施例提供一种存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行本申请实施例提供的图像处理方法。An embodiment of the present application provides a storage medium on which a computer program is stored, and when the computer program is executed on a computer, the computer executes the image processing method provided in the embodiment of the present application.
本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本申请实施例提供的图像处理方法。The embodiment of the present application also provides an electronic device, including a memory and a processor, and the processor is used to execute the image processing method provided in the embodiment of the present application by invoking a computer program stored in the memory.
本实施例中,电子设备可以先将具有不同曝光时间的RAW图像进行合成,得到具有高动态范围的RAW合成图像,并将RAW合成图像或者RAW合成图像转换得到的YUV合成图像存入预设图像缓存队列中。当拍照时,电子设备可以从该预设图像缓存队列中获取多帧具有高动态范围的图像进行多帧降噪,得到降噪图像,并根据该降噪图像响应拍照指令。因此,本实施例得到的拍照图像具有高动态范围效果且噪声较小,即本实施例可以提高图像的成像效果。In this embodiment, the electronic device can first synthesize RAW images with different exposure times to obtain a RAW composite image with a high dynamic range, and store the RAW composite image or the YUV composite image converted from the RAW composite image into the preset image in the buffer queue. When taking a picture, the electronic device can acquire multiple frames of images with high dynamic range from the preset image buffer queue to perform multiple frame noise reduction to obtain a noise-reduced image, and respond to the camera-taking instruction according to the noise-reduced image. Therefore, the photographed image obtained in this embodiment has a high dynamic range effect and less noise, that is, this embodiment can improve the imaging effect of the image.
附图说明Description of drawings
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其有益效果显而易见。The technical solutions and beneficial effects of the present application will be apparent through the detailed description of the specific embodiments of the present application below in conjunction with the accompanying drawings.
图1是本申请实施例提供的图像处理方法的流程示意图。FIG. 1 is a schematic flowchart of an image processing method provided by an embodiment of the present application.
图2是本申请实施例提供的RAW图像包的示意图。Fig. 2 is a schematic diagram of a RAW image package provided by an embodiment of the present application.
图3是本申请实施例提供的图像处理方法的另一流程示意图。FIG. 3 is another schematic flowchart of the image processing method provided by the embodiment of the present application.
图4至图6是本申请实施例提供的图像处理方法的场景示意图。4 to 6 are schematic diagrams of scenes of the image processing method provided by the embodiment of the present application.
图7是本申请实施例提供的图像处理装置的结构示意图。FIG. 7 is a schematic structural diagram of an image processing device provided by an embodiment of the present application.
图8是本申请实施例提供的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图9是本申请实施例提供的电子设备的另一结构示意图。FIG. 9 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
图10是本申请实施例提供的图像处理电路的结构示意图。FIG. 10 is a schematic structural diagram of an image processing circuit provided by an embodiment of the present application.
具体实施方式Detailed ways
请参照图示,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Referring to the drawings, where the same reference numerals represent the same components, the principle of the present application is illustrated by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application, which should not be construed as limiting other specific embodiments of the present application that are not described in detail here.
可以理解的是,本申请实施例的执行主体可以是诸如智能手机或平板电脑等的电子设备。It can be understood that, the execution subject of the embodiment of the present application may be an electronic device such as a smart phone or a tablet computer.
请参阅图1,图1是本申请实施例提供的图像处理方法的流程示意图,流程可以包括:Please refer to Fig. 1, Fig. 1 is a schematic flow diagram of the image processing method provided by the embodiment of the present application, the flow may include:
在101中,获取RAW图像包,该RAW图像包中包括至少两帧RAW图像,该至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间。In 101, a RAW image package is acquired, the RAW image package includes at least two frames of RAW images, and the at least two frames of RAW images are images acquired in a target scene and have different exposure times.
本实施例提供的图像处理方法可以应用于具有摄像模组的电子设备。电子设备的摄像模组由透镜和图像传感器构成,其中透镜用于采集外部的光源信号提供给图像传感器,图像传感器感应来自于透镜的光源信号,将其转换为数字化的原始图像数据,即RAW图像数据。RAW是未经处理、也未经压缩的格式,可以将其形象地称为“数字底片”。电子设备的摄像模组的图像传感器可以具有第一工作模式和第二工作模式。The image processing method provided in this embodiment can be applied to an electronic device with a camera module. The camera module of electronic equipment is composed of a lens and an image sensor. The lens is used to collect external light source signals and provide them to the image sensor. The image sensor senses the light source signals from the lens and converts them into digitized original image data, that is, RAW images. data. RAW is an unprocessed and uncompressed format, which can be vividly called "digital negative". The image sensor of the camera module of the electronic device can have a first working mode and a second working mode.
需要说明的是,在该第一工作模式下,图像传感器将在一帧的时间内产生至少两个曝光时间不同的RAW图像,并以RAW图像包的形式输出。例如,图像传感器的帧率为30fps,则图像传感器会在三十分之一秒内产生两个曝光时间不同的RAW图像,并以RAW图像包的形式输出。比如,请参照图2,工作在第一工作模式的图像传感器输出的RAW图像包中可以包括两个RAW图像的数据,且其中一个RAW图像的曝光时间为另一个RAW图像曝光时间的两倍。当然这两帧RAW图像的曝光时间长度的比值也可以是其它数值,如3:1或者4:1或者3:2等等,本实施例对此不做具体限定。例如,图像传感器在第一个三十分之一秒内产生两个曝光时间不同的RAW图像,比如为第一RAW图像L1和第二RAW图像S1。即,图像传感器在进行完较长曝光得到L1图像帧后,并不会马上输出L1图像帧,而是将L1图像帧存入图像传感器的缓存器中,并马上清空图像传感器上积累的电荷,再进行较短曝光得到S1图像帧。在读取出S1图像帧之后,电子设备可以将L1图像帧和S1图像帧的数据打包处理成RAW图像包并输出。图像传感器在第二个三十分之一秒内也产生两个曝光时间不同的RAW图像,比如为第一RAW图像L2和第二RAW图像S2。图像传感器在第三个三十分之一秒内产生第一RAW图像L3和第二RAW图像S3。图像传感器在第四个三十分之一秒内产生第一RAW图像L4和第二RAW图像S4,等等。需要说明的是,本实施例中将RAW图像包中曝光时间较长的图像统一记为第一RAW图像,将曝光时间较短的图像统一记为第二RAW图像。在本实施例中,所有第一RAW图像的曝光时间可以相同,例如均为T1。所有第二RAW图像的曝光时间可以相同,例如均为T2。It should be noted that, in the first working mode, the image sensor will generate at least two RAW images with different exposure times within one frame, and output them in the form of RAW image packets. For example, if the frame rate of the image sensor is 30fps, the image sensor will generate two RAW images with different exposure times within one-thirtieth of a second, and output them in the form of RAW image packets. For example, referring to FIG. 2 , the RAW image packet output by the image sensor working in the first working mode may include data of two RAW images, and the exposure time of one RAW image is twice the exposure time of the other RAW image. Of course, the ratio of the exposure time of the two frames of RAW images may also be other values, such as 3:1 or 4:1 or 3:2, etc., which is not specifically limited in this embodiment. For example, the image sensor generates two RAW images with different exposure times in the first one-thirtieth second, such as the first RAW image L1 and the second RAW image S1 . That is, the image sensor does not output the L1 image frame immediately after performing a long exposure to obtain the L1 image frame, but stores the L1 image frame in the buffer of the image sensor, and immediately clears the charge accumulated on the image sensor, A shorter exposure is then performed to obtain an S1 image frame. After reading out the S1 image frame, the electronic device may pack and process the data of the L1 image frame and the S1 image frame into a RAW image packet and output it. The image sensor also generates two RAW images with different exposure times in the second one-thirtieth second, such as the first RAW image L2 and the second RAW image S2. The image sensor generates the first Raw image L3 and the second Raw image S3 within the third one-thirtieth second. The image sensor generates the first Raw image L4 and the second Raw image S4 within the fourth one-thirtieth second, and so on. It should be noted that in this embodiment, images with a longer exposure time in the RAW image package are collectively recorded as the first RAW image, and images with a shorter exposure time are collectively recorded as the second RAW image. In this embodiment, the exposure time of all the first RAW images may be the same, for example, they are all T1. The exposure time of all the second RAW images may be the same, eg T2.
可以理解的是,由于拍摄时间间隔很短,因此可以认为RAW图像包中的RAW图像是在同一场景下拍摄得到的图像。例如,RAW图像包中包括第一RAW图像和第二RAW图像的数据,则可以认为第一RAW图像和第二RAW图像是在同一场景(例如为目标场景)下拍摄得到的图像。It can be understood that, since the shooting time interval is very short, it can be considered that the RAW images in the RAW image package are images obtained by shooting in the same scene. For example, if the RAW image package includes data of the first RAW image and the second RAW image, it can be considered that the first RAW image and the second RAW image are images captured in the same scene (for example, the target scene).
上述第二工作模式为普通工作模式。在该第二工作模式下,图像传感器在一帧图像的时间内将产生一个单独的RAW图像,而不是RAW图像包。例如,普通工作模式下,图像传感器的帧率为60fps,则图像传感器会在每个六十分之一秒内产生一帧RAW图像并输出。The above-mentioned second working mode is a normal working mode. In this second working mode, the image sensor will generate a single RAW image instead of a RAW image package within the time of one frame of image. For example, in the normal working mode, if the frame rate of the image sensor is 60fps, the image sensor will generate and output a frame of RAW image every sixtieth of a second.
在本申请实施例中,电子设备可以先通过工作在第一工作模式的图像传感器获取一RAW图像包。其中,来源于当前场景的光信号经过摄像头的透镜后汇聚到图像传感器上,图像传感器将进行具有不同曝光时间的交替曝光,持续输出包括至少两帧RAW图像的RAW图像包。可以理解的是,该RAW图像包中包括的至少两帧RAW图像是在相同场景下获取的且具有不同的曝光时间。In this embodiment of the present application, the electronic device may first acquire a RAW image package through an image sensor working in a first working mode. Wherein, the light signal from the current scene converges on the image sensor after passing through the lens of the camera, and the image sensor will perform alternate exposures with different exposure times, and continuously output a RAW image package including at least two frames of RAW images. It can be understood that at least two frames of RAW images included in the RAW image package are acquired under the same scene and have different exposure times.
比如,当用户操作电子设备开启相机应用后,电子设备使能图像传感器,并使其工作在第一工作模式。若用户操作电子设备的摄像头对准某一场景,则电子设备将通过工作在第一工作模式的图像传感器持续获取到该场景下的RAW图像包,该RAW图像包中至少包括两帧具有不同曝光时间的RAW图像。For example, after the user operates the electronic device to start the camera application, the electronic device enables the image sensor and makes it work in the first working mode. If the user operates the camera of the electronic device to aim at a certain scene, the electronic device will continuously acquire the RAW image package in the scene through the image sensor working in the first working mode, and the RAW image package includes at least two frames with different exposures RAW image of time.
在102中,对RAW图像包进行解包处理,得到至少两帧RAW图像。In 102, unpack the RAW image packet to obtain at least two frames of RAW image.
在103中,对该至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像。In 103, composite processing is performed on the at least two frames of RAW images to obtain a composite RAW image with a high dynamic range.
比如,102和103可以包括:For example, 102 and 103 could include:
在获取到RAW图像包之后,电子设备可以对该RAW图像包进行解包处理,从而得到至少两帧RAW图像。After acquiring the RAW image package, the electronic device may unpack the RAW image package, so as to obtain at least two frames of RAW images.
在对RAW图像包进行解包处理后,电子设备可以对解包得到的至少两帧RAW图像进行HDR合成处理,从而得到具有高动态范围的RAW合成图像。After performing unpacking processing on the RAW image package, the electronic device may perform HDR compositing processing on at least two frames of RAW images obtained by unpacking, so as to obtain a RAW composite image with a high dynamic range.
在104中,获取电子设备的运行参数值,该运行参数值用于表示该电子设备的计算能力。In 104, the operating parameter value of the electronic device is acquired, and the operating parameter value is used to represent the computing capability of the electronic device.
比如,得到具有高动态范围的RAW合成图像后,电子设备可以获取其运行参数值,其中,该运行参数值可以是用于表示电子设备的计算能力(处理能力)的参数的数值。For example, after obtaining a RAW composite image with a high dynamic range, the electronic device may acquire its operating parameter value, where the operating parameter value may be a numerical value of a parameter representing computing capability (processing capability) of the electronic device.
在105中,根据运行参数值,确定在目标场景下将RAW合成图像存入预设图像缓存队列,或是将该RAW合成图像转换为YUV合成图像后存入该预设图像缓存队列。In 105, according to the value of the running parameter, it is determined to store the RAW composite image in the preset image buffer queue in the target scene, or to convert the RAW composite image into a YUV composite image and store it in the preset image cache queue.
比如,在获取到运行参数值之后,电子设备可以根据该运行参数值,来确定在目标场景下是将RAW合成图像存入预设图像缓存队列中,或者是将该RAW合成图像转换为YUV合成图像后再存入该预设图像缓存队列中。For example, after obtaining the operating parameter value, the electronic device can determine whether to store the RAW composite image in the preset image buffer queue in the target scene according to the operating parameter value, or convert the RAW composite image to YUV composite The image is then stored in the preset image cache queue.
例如,根据运行参数值,电子设备确定出在目标场景下将RAW合成图像存入预设图像缓存队列中,那么该电子设备就可以将该RAW合成图像存入预设图像缓存队列中。For example, if the electronic device determines that the RAW composite image is stored in the preset image buffer queue in the target scene according to the operating parameter value, then the electronic device can store the RAW composite image in the preset image buffer queue.
或者,根据运行参数值,电子设备确定出在目标场景下将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列中。那么,电子设备可以先将该RAW合成图像转换为YUV格式,从而得到YUV合成图像,再将该YUV合成图像存入预设图像缓存队列中。Alternatively, according to the operating parameter value, the electronic device determines that the RAW composite image is converted into a YUV composite image in the target scene and then stored in the preset image buffer queue. Then, the electronic device may first convert the RAW composite image into a YUV format to obtain a YUV composite image, and then store the YUV composite image in a preset image buffer queue.
需要说明的是,在105的流程中,电子设备确定出的结果(即在目标场景下将RAW合成图像存入预设图像缓存队列,或是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列)在该目标场景下(即场景未发生改变时)有效。It should be noted that in the process of 105, the result determined by the electronic device (that is, storing the RAW composite image in the preset image buffer queue in the target scene, or converting the RAW composite image into a YUV composite image and then storing it in The preset image cache queue) is valid under the target scene (that is, when the scene does not change).
例如,用户打开相机应用后,将摄像头对准场景A,此时电子设备可以快速地、不断地获取RAW图像包。若根据运行参数值,电子设备确定出是将RAW合成图像存入预设图像缓存队列中,那么在摄像头对准场景A的过程中所获取到的所有RAW图像包都是将RAW合成图像存入预设图像缓存队列中。比如,在摄像头对准场景A的过程中,电子设备获取到第一个RAW图像包后,根据电子设备的运行参数确定出是将RAW合成图像存入预设图像缓存队列中,那么接下来获取到的场景A的RAW图像包都是将RAW合成图像存入预设图像缓存队列中。例如,电子设备在场景A中获取到10个RAW图像包,那么关于这10个RAW图像包都是将RAW合成图像存入预设图像缓存队列中。For example, after the user opens the camera application and points the camera at scene A, the electronic device can quickly and continuously acquire RAW image packets. If the electronic device determines to store the RAW composite image in the preset image buffer queue according to the operating parameter value, then all the RAW image packets obtained during the process of the camera aiming at scene A will store the RAW composite image in the Preset image cache queue. For example, in the process of aiming the camera at scene A, after the electronic device obtains the first RAW image packet, it determines according to the operating parameters of the electronic device that the RAW composite image is stored in the preset image buffer queue, and then obtains The received RAW image package of scene A stores the RAW composite image in the preset image buffer queue. For example, if the electronic device acquires 10 RAW image packages in scene A, then the 10 RAW image packages all store the RAW composite images in the preset image buffer queue.
之后,例如用户移动了摄像头,将摄像头对准了场景B,那么电子设备可以重新根据运行参数确定是在场景B下是将RAW合成图像存入预设图像缓存队列,或是将该RAW合成图像转换为YUV合成图像后存入该预设图像缓存队列。例如,电子设备确定出是将RAW合成图像转换为YUV合成图像后存入该预设图像缓存队列。例如,在摄像头对准场景B的过程中,电子设备获取到第一个RAW图像包后,根据电子设备的运行参数确定出是将RAW合成图像转换为YUV合成图像后存入预设图像缓存队列中,那么接下来获取到的场景B的RAW图像包都是将RAW合成图像转换为YUV合成图像后存入预设图像缓存队列中。例如,电子设备在场景B中获取到15个RAW图像包,那么关于这15个RAW图像包都是将RAW合成图像转换为YUV合成图像后存入预设图像缓存队列中。After that, for example, the user moves the camera and points the camera at scene B, then the electronic device can determine whether to store the RAW composite image in the preset image buffer queue in scene B according to the operating parameters, or to store the RAW composite image Converted to a YUV composite image and stored in the preset image cache queue. For example, the electronic device determines to convert the RAW composite image into the YUV composite image and store it in the preset image buffer queue. For example, in the process of aiming the camera at scene B, after the electronic device obtains the first RAW image packet, it determines according to the operating parameters of the electronic device whether to convert the RAW composite image into a YUV composite image and store it in the preset image buffer queue , then the RAW image package of scene B obtained next is to convert the RAW composite image into a YUV composite image and store it in the preset image cache queue. For example, if the electronic device acquires 15 RAW image packets in scene B, the 15 RAW image packets are converted from RAW composite images into YUV composite images and then stored in the preset image buffer queue.
也就是说,每当场景发生改变时,电子设备需要重新根据运行参数来确定是将RAW合成图像存入预设图像缓存队列中,还是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列中。例如,在场景B之后,用户又将摄像头对准场景A,则此时电子设备需要重新根据运行参数来确定是将RAW合成图像存入预设图像缓存队列中,还是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列中。例如,此时电子设备可能确定出是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列中,等等。That is to say, whenever the scene changes, the electronic device needs to re-determine according to the operating parameters whether to store the RAW composite image in the preset image buffer queue, or convert the RAW composite image to a YUV composite image and then store it in the preset Image cache queue. For example, after scene B, the user points the camera at scene A again, then the electronic device needs to determine whether to store the RAW composite image in the preset image buffer queue or convert the RAW composite image to YUV according to the operating parameters The combined image is then stored in the preset image cache queue. For example, at this time, the electronic device may determine to convert the RAW composite image into a YUV composite image and then store it in the preset image buffer queue, and so on.
在106中,当接收到拍照指令时,从预设图像缓存队列中获取目标场景的多帧历史缓存图像,并对该多帧历史缓存图像进行多帧降噪处理,得到降噪图像。In 106, when a photographing instruction is received, a multi-frame historical buffer image of the target scene is obtained from a preset image buffer queue, and multi-frame noise reduction processing is performed on the multi-frame historical buffer image to obtain a noise-reduced image.
比如,在将RAW合成图像或者YUV合成图像存入预设图像缓存队列之后,当接收到对目标场景进行拍照的拍照指令时,电子设备可以从该预设图像缓存队列中获取关于该目标场景的多帧历史缓存图像,并对这多帧历史缓存图像进行多帧降噪处理,得到降噪图像。For example, after storing the RAW synthesized image or the YUV synthesized image in the preset image buffer queue, when receiving a photographing instruction for taking pictures of the target scene, the electronic device can obtain information about the target scene from the preset image buffer queue. Multi-frame history buffer images, and performing multi-frame noise reduction processing on the multi-frame history buffer images to obtain a noise-reduced image.
在107中,根据降噪图像,响应拍照指令。In 107, respond to the camera instruction according to the noise-reduced image.
比如,在得到降噪图像后,电子设备可以根据该降噪图像响应拍照指令。例如,电子设备可以将该降噪图像作为在目标场景下拍照得到的图像显示在相机应用的界面上供用户查看。For example, after obtaining the noise-reduced image, the electronic device may respond to a camera instruction according to the noise-reduced image. For example, the electronic device may display the noise-reduced image as an image obtained by taking pictures in a target scene on an interface of a camera application for the user to view.
例如,用户打开相应应用,并将摄像头对准场景A,则电子设备可以使能图像传感器并使其工作在第一工作模式下。此时,电子设备可以开始快速地获取到RAW图像包。电子设备获取到第一个RAW图像包后,可以对该RAW图像包进行解包处理,得到至少两帧RAW图像,并对这至少两帧RAW图像进行合成处理,从而得到具有高动态范围的RAW合成图像。之后,电子设备可以获取其运行参数值,该运行参数值可以用于表示该电子设备当前计算能力的强弱。并且,电子设备可以根据该运行参数值,确定在场景A下是将RAW合成图像存入预设图像缓存队列,还是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列。例如,电子设备确定出在场景A下将RAW合成图像存入预设图像缓存队列中,则在场景A下获取到的RAW图像包的RAW合成图像都会存入预设图像缓存队列中。例如,在场景A下,电子设备获取到10个RAW图像包,则关于这10个RAW图像包的RAW合成图像都将存入预设图像缓存队列中。当接收到对场景A进行拍照的指令时,电子设备可以从预设图像缓存队列中获取关于场景A的多帧历史RAW合成图像,并对这多帧历史RAW合成图像进行多帧降噪处理,得到降噪图像,并根据该降噪图像响应场景A下的拍照指令。For example, the user opens the corresponding application and points the camera at the scene A, then the electronic device can enable the image sensor and make it work in the first working mode. At this point, the electronic device can quickly acquire the RAW image package. After the electronic device obtains the first RAW image packet, it can unpack the RAW image packet to obtain at least two frames of RAW images, and perform synthesis processing on the at least two frames of RAW images, so as to obtain a RAW image with a high dynamic range. composite image. Afterwards, the electronic device can obtain its operating parameter value, and the operating parameter value can be used to indicate the strength of the electronic device's current computing capability. In addition, the electronic device may determine whether to store the RAW composite image in the preset image buffer queue in scenario A, or convert the RAW composite image into a YUV composite image and then store it in the preset image buffer queue according to the operating parameter value. For example, if the electronic device determines that the RAW composite image is stored in the preset image buffer queue in scene A, then the RAW composite images of the RAW image packets acquired in scene A will all be stored in the preset image buffer queue. For example, in scenario A, if the electronic device acquires 10 RAW image packets, the RAW composite images of the 10 RAW image packets will be stored in the preset image buffer queue. When receiving an instruction to take a picture of scene A, the electronic device may obtain multiple frames of historical RAW composite images of scene A from the preset image cache queue, and perform multi-frame noise reduction processing on the multiple frames of historical RAW composite images, Obtain the noise-reduced image, and respond to the camera instruction in scene A according to the noise-reduced image.
之后,例如用户移动了摄像头,将摄像头对准了场景B,那么电子设备也可以快速地获取到关于场景B的RAW图像包。电子设备获取到场景B下的第一个RAW图像包后,可以对该RAW图像包进行解包处理,得到至少两帧RAW图像,并对这至少两帧RAW图像进行合成处理,从而得到具有高动态范围的RAW合成图像。之后,电子设备可以获取其运行参数值。并且,电子设备可以根据该运行参数值,确定在场景B下是将RAW合成图像存入预设图像缓存队列,还是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列。例如,电子设备确定出在场景B下将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列中,则在场景B下获取到的YUV合成图像都会存入预设图像缓存队列中。例如,在场景B下,电子设备获取到15个RAW图像包,则关于这15个RAW图像包的YUV合成图像都将存入预设图像缓存队列中。当接收到对场景B进行拍照的指令时,电子设备可以从预设图像缓存队列中获取关于场景B的多帧历史YUV合成图像,并对这对阵历史YUV合成图像进行多帧降噪处理,得到降噪图像,并根据该降噪图像响应场景B下的拍照指令。After that, for example, the user moves the camera and points the camera at scene B, then the electronic device can also quickly acquire the RAW image package of scene B. After the electronic device acquires the first RAW image packet in scene B, it may unpack the RAW image packet to obtain at least two frames of RAW images, and perform synthesis processing on the at least two frames of RAW images, so as to obtain a RAW composite images with dynamic range. Afterwards, the electronic device can obtain its operating parameter values. In addition, the electronic device can determine whether to store the RAW composite image in the preset image buffer queue in scene B, or convert the RAW composite image into a YUV composite image and then store it in the preset image buffer queue according to the operating parameter value. For example, if the electronic device determines that the RAW synthesized image is converted into a YUV synthesized image in scene B and then stored in the preset image buffer queue, the YUV synthesized image acquired in scene B will be stored in the preset image buffer queue . For example, in scenario B, if the electronic device acquires 15 RAW image packets, the YUV composite images of the 15 RAW image packets will be stored in the preset image buffer queue. When receiving an instruction to take a photo of scene B, the electronic device can obtain multiple frames of historical YUV composite images of scene B from the preset image buffer queue, and perform multi-frame noise reduction processing on the pair of historical YUV composite images to obtain Denoise the image, and respond to the camera instruction in scene B according to the denoised image.
可以理解的是,本实施例中,电子设备可以先将具有不同曝光时间的RAW图像进行合成,得到具有高动态范围的RAW合成图像,并将RAW合成图像或者RAW合成图像转换得到的YUV合成图像存入预设图像缓存队列中。当拍照时,电子设备可以从该预设图像缓存队列中获取多帧具有高动态范围的图像进行多帧降噪,得到降噪图像,并根据该降噪图像响应拍照指令。因此,本实施例得到的拍照图像具有高动态范围效果且噪声较小,即本实施例可以提高图像的成像效果。It can be understood that, in this embodiment, the electronic device may first synthesize RAW images with different exposure times to obtain a RAW composite image with a high dynamic range, and convert the RAW composite image or the RAW composite image into a YUV composite image Stored in the preset image cache queue. When taking a picture, the electronic device can acquire multiple frames of images with high dynamic range from the preset image buffer queue to perform multiple frame noise reduction to obtain a noise-reduced image, and respond to the camera-taking instruction according to the noise-reduced image. Therefore, the photographed image obtained in this embodiment has a high dynamic range effect and less noise, that is, this embodiment can improve the imaging effect of the image.
请参阅图3,图3为本申请实施例提供的图像处理方法的另一流程示意图,流程可以包括:Please refer to FIG. 3. FIG. 3 is another schematic flow diagram of the image processing method provided in the embodiment of the present application. The flow may include:
在201中,电子设备获取RAW图像包,该RAW图像包中包括依次曝光的第一RAW图像和第二RAW图像,该第一RAW图像和该第二RAW图像是在目标场景下获取的图像,且该第一RAW图像的曝光时间长于该第二RAW图像的曝光时间。In 201, the electronic device acquires a RAW image package, the RAW image package includes a first RAW image and a second RAW image exposed in sequence, the first RAW image and the second RAW image are images acquired in a target scene, And the exposure time of the first RAW image is longer than the exposure time of the second RAW image.
在202中,电子设备对RAW图像包进行解包处理,得到第一RAW图像和第二RAW图像。In 202, the electronic device unpacks the RAW image packet to obtain the first RAW image and the second RAW image.
在203中,电子设备对第一RAW图像和第二RAW图像进行合成处理,得到具有高动态范围的RAW合成图像。In 203, the electronic device performs composite processing on the first RAW image and the second RAW image to obtain a RAW composite image with a high dynamic range.
比如,201、202和203可以包括:For example, 201, 202, and 203 could include:
当用户操作电子设备开启相机应用后,电子设备使能图像传感器,并使其工作在第一工作模式。若用户操作电子设备的摄像头对准某一场景(例如电子设备将该某一场景确定为目标场景),则电子设备将通过工作在第一工作模式的图像传感器持续获取到该目标场景下的RAW图像包,该RAW图像包中包括依次曝光的第一RAW图像和第二RAW图像。其中,该第一RAW图像的曝光时间长于该第二RAW图像。After the user operates the electronic device to start the camera application, the electronic device enables the image sensor and makes it work in the first working mode. If the user operates the camera of the electronic device to aim at a certain scene (for example, the electronic device determines that the certain scene is the target scene), the electronic device will continuously acquire the RAW image of the target scene through the image sensor working in the first working mode. An image package, the RAW image package includes the first RAW image and the second RAW image exposed in sequence. Wherein, the exposure time of the first RAW image is longer than that of the second RAW image.
之后,电子设备可以对获取到的RAW图像包进行解包处理,从而得到第一RAW图像和第二RAW图像,并对该第一RAW图像和第二RAW图像进行合成处理,从而得到具有高动态范围的RAW合成图像。Afterwards, the electronic device may unpack the obtained RAW image package to obtain the first RAW image and the second RAW image, and perform composite processing on the first RAW image and the second RAW image, thereby obtaining a high dynamic range of RAW composite images.
也就是说,每当获取到一个RAW图像包,电子设备就可以对该RAW图像包进行解包处理,从而得到其中包括的第一RAW图像和第二RAW图像。需要说明的是,本实施例中将各RAW图像包中包括的曝光较长的RAW图像记为第一RAW图像,将其中包括的曝光时间较短的RAW图像记为第二RAW图像。That is to say, whenever a RAW image packet is acquired, the electronic device may unpack the RAW image packet, so as to obtain the first RAW image and the second RAW image included therein. It should be noted that, in this embodiment, a RAW image with a longer exposure time included in each RAW image package is recorded as a first RAW image, and a RAW image with a shorter exposure time included therein is recorded as a second RAW image.
在204中,电子设备获取运行参数值,该运行参数值用于表示该电子设备的计算能力。In 204, the electronic device acquires an operating parameter value, where the operating parameter value is used to represent the computing capability of the electronic device.
比如,在得到目标场景A下的第一个RAW合成图像后,电子设备可以获取其运行参数值,其中,该运行参数值可以是用于表示电子设备的计算能力的参数的数值。For example, after obtaining the first RAW composite image in the target scene A, the electronic device may obtain its operating parameter value, where the operating parameter value may be a numerical value of a parameter representing the computing capability of the electronic device.
在一种实施方式中,204中电子设备获取运行参数值,该运行参数值用于表示该电子设备的计算能力的流程,可以包括:In one embodiment, the electronic device obtains the operation parameter value in 204, and the operation parameter value is used to represent the process of computing capability of the electronic device, which may include:
电子设备获取剩余运行内存容量与运行内存总容量的比值,该比值用于表示该电子设备的计算能力。The electronic device obtains a ratio of the remaining running memory capacity to the total running memory capacity, and the ratio is used to represent the computing capability of the electronic device.
比如,当需要确定电子设备的计算能力时,电子设备可以获取其剩余运行内存容量与运行内存总容量的比值,并将该比值作为电子设备的计算能力。其中,该比值越大可以表示电子设备的计算能力越强。For example, when the computing capability of the electronic device needs to be determined, the electronic device may obtain the ratio of its remaining running memory capacity to the total running memory capacity, and use the ratio as the computing capability of the electronic device. Wherein, a larger value of the ratio may indicate a stronger computing capability of the electronic device.
例如,电子设备获取到其剩余运行内存容量为3GB,而其运行内存总容量为4GB,则剩余运行内存容量与运行内存总容量的比值为75%。例如,电子设备可以预先设置一预设阈值40%。当剩余运行内存容量与运行内存总容量的比值大于该预设阈值40%时,可以认为电子设备当前的计算能力强。当剩余运行内存容量与运行内存总容量的比值小于或等于该预设阈值40%时,可以认为电子设备当前的计算能力弱。For example, if the electronic device obtains that its remaining operating memory capacity is 3GB, and its total operating memory capacity is 4GB, the ratio of the remaining operating memory capacity to the total operating memory capacity is 75%. For example, the electronic device may preset a preset threshold of 40%. When the ratio of the remaining running memory capacity to the total running memory capacity is greater than 40% of the preset threshold, it can be considered that the current computing capability of the electronic device is strong. When the ratio of the remaining running memory capacity to the total running memory capacity is less than or equal to 40% of the preset threshold, it can be considered that the current computing capability of the electronic device is weak.
在205中,若运行参数值表示电子设备的计算能力高于预设阈值,则电子设备确定出在目标场景下将RAW合成图像存入预设图像缓存队列;若运行参数值表示电子设备的计算能力不高于预设阈值,则电子设备确定出在目标场景下将RAW合成图像转换为YUV合成图像后存入预设图像缓存队列。In 205, if the operating parameter value indicates that the computing capability of the electronic device is higher than the preset threshold, the electronic device determines that the RAW composite image is stored in the preset image buffer queue in the target scene; if the operating parameter value indicates that the computing capability of the electronic device If the capability is not higher than the preset threshold, the electronic device determines that the RAW composite image is converted into a YUV composite image in the target scene and then stored in the preset image buffer queue.
比如,在获取到电子设备的运行参数值之后,该电子设备可以根据该运行参数值,来确定在目标场景下是将RAW合成图像存入预设图像缓存队列中,或者是将该RAW合成图像转换为YUV合成图像后再存入该预设图像缓存队列中。For example, after acquiring the operating parameter value of the electronic device, the electronic device can determine whether to store the RAW composite image in the preset image buffer queue in the target scene according to the operating parameter value, or to store the RAW composite image After converting to a YUV composite image, it is stored in the preset image cache queue.
例如,本实施例中,若运行参数值表示电子设备的计算能力高于预设阈值,则电子设备可以确定出在目标场景下将RAW合成图像存入预设图像缓存队列。若运行参数值表示电子设备的计算能力不高于预设阈值,则电子设备可以确定出在目标场景下将将RAW合成图像转换为YUV合成图像后存入预设图像缓存队列。For example, in this embodiment, if the operating parameter value indicates that the computing capability of the electronic device is higher than the preset threshold, the electronic device may determine to store the RAW composite image in the preset image buffer queue in the target scene. If the operating parameter value indicates that the computing capability of the electronic device is not higher than the preset threshold, the electronic device may determine that the RAW composite image is converted into a YUV composite image in the target scene and stored in the preset image buffer queue.
在一种实施方式中,预设图像缓存队列可以为定长队列。例如,预设图像缓存队列可以缓存30帧图像。即,预设图像缓存队列可以缓存最近获取到的30帧图像。比如,按照存入预设图像缓存队列的时间先后顺序,预设图像缓存队列中缓存了第1帧图像,第2帧图像,……,第30帧图像。那么,当缓存第31帧图像时,预设图像缓存队列可以将其中包括的最早存入的第1帧图像清除,再将第31帧图像存入该预设图像缓存队列。In an implementation manner, the preset image buffer queue may be a fixed-length queue. For example, the preset image buffer queue can buffer 30 frames of images. That is, the preset image cache queue can cache the latest 30 frames of images. For example, according to the chronological order stored in the preset image buffer queue, the first frame image, the second frame image, . . . , the 30th frame image are cached in the preset image buffer queue. Then, when the image of the 31st frame is buffered, the preset image buffer queue may clear the earliest stored image of the first frame included therein, and then store the image of the 31st frame into the preset image buffer queue.
在206中,当接收到拍照指令时,电子设备根据运行参数值确定目标数量,该目标数量大于或等于2。In 206, when receiving the photographing instruction, the electronic device determines the target number according to the operating parameter value, and the target number is greater than or equal to 2.
在207中,电子设备从预设图像缓存队列中获取目标数量的历史缓存图像,该历史缓存图像为目标场景的图像。In 207, the electronic device acquires a target number of historical cached images from the preset image cache queue, where the historical cached images are images of the target scene.
比如,206和207可以包括:For example, 206 and 207 may include:
在将RAW合成图像或者YUV合成图像存入预设图像缓存队列之后,当接收到对目标场景进行拍照的拍照指令时,电子设备可以根据204中获取的运行参数值来确定一目标数量。其中,该目标数量的数值可以大于或等于2。After storing the RAW composite image or the YUV composite image in the preset image buffer queue, when receiving a photographing instruction for photographing a target scene, the electronic device may determine a target number according to the operating parameter value acquired in 204 . Wherein, the value of the target quantity may be greater than or equal to 2.
在确定出目标数量后,电子设备可以从该预设图像缓存队列中获取关于该目标场景的多帧历史缓存图像。After the number of targets is determined, the electronic device may acquire multiple frames of historical cached images of the target scene from the preset image cache queue.
例如,电子设备根据运行参数值确定出目标数量为4,则该电子设备可以从预设图像缓存队列中获取关于目标场景的4帧历史缓存图像。For example, if the electronic device determines that the target number is 4 according to the value of the operating parameter, the electronic device may acquire 4 frames of historical cached images of the target scene from the preset image cache queue.
在一种实施方式中,电子设备可以预先设置至少两个数值,例如为4和2。其中,当运行参数值表示电子设备的计算能力高于预设阈值时,电子设备可以将数值4确定为目标数量。当运行参数值表示电子设备的计算能力不高于预设阈值时,电子设备可以将数值2确定为目标数量,等等。In an implementation manner, the electronic device may preset at least two numerical values, such as 4 and 2. Wherein, when the operating parameter value indicates that the computing capability of the electronic device is higher than the preset threshold, the electronic device may determine the
例如,电子设备可以预先设置三个数值,例如为4、3和2。其中,当剩余运行内存容量与运行内存总容量的比值处于[75%,100%]时,电子设备可以将数值4确定为目标数量。当剩余运行内存容量与运行内存总容量的比值处于[40%,75%)时,电子设备可以将数值3确定为目标数量。当剩余运行内存容量与运行内存总容量的比值低于40%时,电子设备可以将数值2确定为目标数量。For example, the electronic device may preset three numerical values, such as 4, 3 and 2. Wherein, when the ratio of the remaining running memory capacity to the total running memory capacity is [75%, 100%], the electronic device may determine the
在208中,电子设备对多帧历史缓存图像进行多帧降噪处理,得到降噪图像。In 208, the electronic device performs multi-frame noise reduction processing on the multi-frame history buffer image to obtain a noise-reduced image.
比如,在获取到关于目标场景的多帧历史缓存图像后,电子设备可以对这多帧历史缓存图像进行多帧降噪处理,从而得到降噪图像。For example, after acquiring multiple frames of historical cached images about the target scene, the electronic device may perform multiple frames of noise reduction processing on the multiple frames of historical cached images, thereby obtaining a noise-reduced image.
下面以图像P1、P2、P3、P4为例说明多帧降噪。例如,在对图像P1、图像P2、图像P3和图像P4进行多帧降噪处理时,电子设备可以从图像P1、图像P2、图像P3和图像P4中确定出一帧基础帧,例如将图像P1确定为基础帧,然后电子设备可以将图像P1、图像P2、图像P3和图像P4进行图像对齐。之后,电子设备可以基于对齐后的各图像,计算得到各像素点的平均像素值,比如,某位置的像素点在四帧图像P1、P2、P3、P4中的像素值依次为:101,102,103,102,则可计算得到该位置的像素点的平均像素值为102。那么,电子设备可以将该位置的像素点的像素值确定为102,将基础帧图像P1在该位置的像素值由101改为102。同理,将基础帧图像P1中各位置的像素值改为对应的平均像素值后即可以得到降噪图像。The following describes multi-frame noise reduction by taking images P1, P2, P3, and P4 as examples. For example, when performing multi-frame noise reduction processing on image P1, image P2, image P3, and image P4, the electronic device may determine a basic frame from image P1, image P2, image P3, and image P4, for example, image P1 Determined as the basic frame, then the electronic device can perform image alignment on the image P1, the image P2, the image P3 and the image P4. After that, the electronic device can calculate the average pixel value of each pixel based on the aligned images. For example, the pixel values of a pixel at a certain position in four frames of images P1, P2, P3, and P4 are: 101, 102 , 103, 102, then the average pixel value of the pixel at this position can be calculated to be 102. Then, the electronic device can determine the pixel value of the pixel point at this position as 102, and change the pixel value of the basic frame image P1 at this position from 101 to 102. Similarly, the noise-reduced image can be obtained by changing the pixel value of each position in the basic frame image P1 to the corresponding average pixel value.
在209中,电子设备对降噪图像进行图像优化处理,得到处理后的图像。In 209, the electronic device performs image optimization processing on the noise-reduced image to obtain a processed image.
在210中,电子设备根据处理后的图像响应拍照指令,以将该处理后的图像作为拍照得到的图像进行展示。In 210, the electronic device responds to the photographing instruction according to the processed image, so as to display the processed image as an image obtained by photographing.
比如,209和210可以包括:For example, 209 and 210 may include:
在得到降噪图像后,电子设备可以对该降噪图像进行诸如图像锐化等优化处理,得到处理后的图像。之后,电子设备可以根据处理后的图像响应拍照指令,以将该处理后的图像作为拍照得到的图像进行展示。After obtaining the noise-reduced image, the electronic device may perform optimization processing such as image sharpening on the noise-reduced image to obtain a processed image. Afterwards, the electronic device may respond to the photographing instruction according to the processed image, so as to display the processed image as an image obtained by photographing.
在一种实施方式中,在203之后,即电子设备得到具有高动态范围的RAW合成图像后,可以对该RAW合成图像进行诸如YUV格式转换、图像锐化、图像降噪等美化处理,从而得到美化处理后的图像。该美化处理后的图像可以用于预览或录像。In one embodiment, after
例如,在得到RAW合成图像后,电子设备可以获取显示屏的分辨率,并根据该分辨率对该RAW合成图像进行降采样处理,降采样处理后的图像再经过诸如YUV格式转换、图像锐化、图像降噪等美化处理后用于预览。For example, after obtaining the RAW composite image, the electronic device can obtain the resolution of the display screen, and perform down-sampling processing on the RAW composite image according to the resolution, and then the down-sampled image undergoes such as YUV format conversion, image sharpening, etc. , image noise reduction and other beautification processing for preview.
又如,在得到RAW合成图像后,电子设备可以获取录像的视频分辨率,并根据该录像的视频分辨率对该RAW合成图像进行降采样处理,降采样处理后的图像再经过诸如YUV格式转换、图像锐化、图像降噪等美化处理后用于作为录像对应的视频中的一帧保存起来。For another example, after obtaining the RAW composite image, the electronic device can obtain the video resolution of the recording, and perform down-sampling processing on the RAW composite image according to the video resolution of the recording, and the down-sampling processed image is converted into a format such as YUV , Image sharpening, image noise reduction and other beautification processes are used to save as a frame in the video corresponding to the recording.
例如,录像的视频分辨率可由用户预先设置,包括但不限于1080P、2K以及4K等。比如,录像的视频分辨率被用户预先设置为2K,则电子设备在合成得到RAW合成图像(比如分辨率为4K)之后,可以对该RAW合成图像进行降采样处理,得到2K分辨率的高动态范围图像。For example, the video resolution of the recording can be preset by the user, including but not limited to 1080P, 2K, and 4K. For example, if the video resolution of the recording is preset to 2K by the user, after the electronic device synthesizes a RAW composite image (for example, the resolution is 4K), it can perform down-sampling processing on the RAW composite image to obtain a high dynamic resolution of 2K resolution. range image.
请参阅图4至图6,图4至图6为本申请实施例提供的图像处理方法的场景示意图。Please refer to FIG. 4 to FIG. 6 . FIG. 4 to FIG. 6 are schematic diagrams of scenes of the image processing method provided by the embodiment of the present application.
比如,用户打开相机应用,此时电子设备进入相机的预览界面。电子设备可以使能图像传感器,并使该图像传感器工作在第一工作模式。在该第一工作模式下,图像传感器将在一帧图像的时间内依次产生两帧曝光时间不同的RAW图像,并以RAW图像包的形式输出。For example, the user opens the camera application, and at this moment, the electronic device enters the preview interface of the camera. The electronic device can enable the image sensor and make the image sensor work in the first working mode. In the first working mode, the image sensor will sequentially generate two frames of RAW images with different exposure times within the time of one frame of images, and output them in the form of RAW image packets.
例如,如图4所示,用户将摄像头对准场景A,场景A中包括一个人物,则电子设备可以开始快速地获取到关于该场景A的RAW图像包。电子设备获取到第一个RAW图像包后,可以对该RAW图像包进行解包处理,得到两帧RAW图像,并对这两帧RAW图像进行合成处理,从而得到具有高动态范围的RAW合成图像。For example, as shown in FIG. 4 , the user points the camera at the scene A, and the scene A includes a person, and the electronic device can quickly acquire the RAW image package of the scene A. After the electronic device obtains the first RAW image packet, it can unpack the RAW image packet to obtain two frames of RAW images, and then synthesize the two frames of RAW images to obtain a RAW composite image with a high dynamic range .
之后,电子设备可以获取其运行参数值,该运行参数值可以用于表示该电子设备当前计算能力的强弱。并且,电子设备可以根据该运行参数值,确定在场景A下是将RAW合成图像存入预设图像缓存队列,还是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列。例如,电子设备当前的计算能力较强,则可以确定出在场景A下将RAW合成图像存入预设图像缓存队列中,则在场景A下获取到的RAW图像包的RAW合成图像都会存入预设图像缓存队列中。例如,在场景A下,电子设备获取到10个RAW图像包,则关于这10个RAW图像包的RAW合成图像都将存入预设图像缓存队列中。Afterwards, the electronic device can obtain its operating parameter value, and the operating parameter value can be used to indicate the strength of the electronic device's current computing capability. In addition, the electronic device may determine whether to store the RAW composite image in the preset image buffer queue in scenario A, or convert the RAW composite image into a YUV composite image and then store it in the preset image buffer queue according to the operating parameter value. For example, if the current computing capability of the electronic device is relatively strong, it can be determined that the RAW composite image is stored in the preset image buffer queue in scene A, and the RAW composite images of the RAW image package obtained in scene A will be stored in the Preset image cache queue. For example, in scenario A, if the electronic device acquires 10 RAW image packets, the RAW composite images of the 10 RAW image packets will be stored in the preset image buffer queue.
在处于相机应用的预览界面时,每当电子设备获取一帧RAW合成图像,电子设备可以在对该RAW合成图像进行诸如YUV格式转换、图像锐化和降噪等处理后,显示在预览界面上供用户预览。When in the preview interface of the camera application, whenever the electronic device acquires a frame of RAW composite image, the electronic device can display it on the preview interface after processing the RAW composite image such as YUV format conversion, image sharpening and noise reduction. for users to preview.
在预览之后,例如用户按下拍照按钮,如图4所示,则电子设备可以接收到对场景A进行拍照的指令。此时,电子设备可以从预设图像缓存队列中获取关于场景A的4帧历史RAW合成图像,并对这4帧历史RAW合成图像进行多帧降噪处理,得到降噪图像。例如,如图5所示,电子设备从预设图像缓存队列中获取的4帧关于场景A的RAW合成图像分别为P1、P2、P3、P4。电子设备可以将图像P1确定为基础帧,再利用图像P2、P3、P4对P1进行多帧降噪。电子设备可以将图像P1、图像P2、图像P3和图像P4进行图像对齐。之后,电子设备可以基于对齐后的各图像,计算得到各像素点的平均像素值,比如,L位置的像素点在四帧图像P1、P2、P3、P4中的像素值依次为:101,102,103,102,则可计算得到该位置的像素点的平均像素值为102。那么,电子设备可以将该位置的像素点的像素值确定为102,将基础帧图像P1在该L位置的像素值由101改为102。同理,将基础帧图像P1中各位置的像素值改为对应的平均像素值后即可以得到降噪图像。After the preview, for example, the user presses the camera button, as shown in FIG. 4 , the electronic device may receive an instruction to take a photo of scene A. At this point, the electronic device can acquire 4 frames of historical RAW composite images of scene A from the preset image cache queue, and perform multi-frame noise reduction processing on the 4 frames of historical RAW composite images to obtain a noise-reduced image. For example, as shown in FIG. 5 , the four frames of RAW synthesized images related to scene A obtained by the electronic device from the preset image buffer queue are respectively P1, P2, P3, and P4. The electronic device may determine the image P1 as a basic frame, and then use the images P2, P3, and P4 to perform multi-frame noise reduction on P1. The electronic device can perform image alignment on the image P1, the image P2, the image P3, and the image P4. After that, the electronic device can calculate the average pixel value of each pixel based on the aligned images. For example, the pixel values of the pixel at position L in the four frames of images P1, P2, P3, and P4 are: 101, 102 , 103, 102, then the average pixel value of the pixel at this position can be calculated to be 102. Then, the electronic device can determine the pixel value of the pixel at this position as 102, and change the pixel value of the basic frame image P1 at the L position from 101 to 102. Similarly, the noise-reduced image can be obtained by changing the pixel value of each position in the basic frame image P1 to the corresponding average pixel value.
在得到降噪图像后,电子设备可以对该降噪图像进行图像锐化等处理,得到美化处理后的降噪图像。之后,电子设备可以将该美化处理后的降噪图像发送至JPEG编码器,经JPEG编码器处理后输出至相机应用界面进行显示,以供用户查看拍照得到图像。After obtaining the noise-reduced image, the electronic device may perform processing such as image sharpening on the noise-reduced image to obtain a beautified noise-reduced image. Afterwards, the electronic device can send the beautified and noise-reduced image to the JPEG encoder, and after being processed by the JPEG encoder, it can be output to the camera application interface for display, so that the user can check and take pictures to obtain the image.
又如,之后用户又将摄像头对准了场景B,场景B中包括两个人物,如图6所示,则电子设备可以开始快速地获取到关于该场景B的RAW图像包。电子设备获取到场景B下的第一个RAW图像包后,可以对该RAW图像包进行解包处理,得到两帧RAW图像,并对这两帧RAW图像进行合成处理,从而得到具有高动态范围的RAW合成图像。For another example, the user then points the camera at the scene B, and the scene B includes two characters, as shown in FIG. 6 , the electronic device can quickly acquire the RAW image package of the scene B. After the electronic device obtains the first RAW image packet in scene B, it can unpack the RAW image packet to obtain two frames of RAW images, and then synthesize the two frames of RAW images to obtain a high dynamic range RAW composite image.
之后,电子设备可以获取其运行参数值,该运行参数值可以用于表示该电子设备当前计算能力的强弱。并且,电子设备可以根据该运行参数值,确定在场景B下是将RAW合成图像存入预设图像缓存队列,还是将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列。例如,电子设备当前的计算能力较弱,则可以确定出在场景B下将RAW合成图像转换为YUV合成图像后再存入预设图像缓存队列中,则在场景B下获取到的由RAW图像包得到的RAW合成图像都会在转换为YUV格式的YUV合成图像后存入预设图像缓存队列中。例如,在场景B下,电子设备获取到15个RAW图像包,则关于这15个RAW图像包的YUV合成图像都将存入预设图像缓存队列中。Afterwards, the electronic device can obtain its operating parameter value, and the operating parameter value can be used to indicate the strength of the electronic device's current computing capability. In addition, the electronic device can determine whether to store the RAW composite image in the preset image buffer queue in scene B, or convert the RAW composite image into a YUV composite image and then store it in the preset image buffer queue according to the operating parameter value. For example, if the current computing power of the electronic device is weak, it can be determined that the RAW composite image is converted into a YUV composite image in scene B and then stored in the preset image buffer queue, then the RAW image obtained in scene B The RAW composite image obtained by the package will be stored in the preset image cache queue after being converted into a YUV composite image in YUV format. For example, in scenario B, if the electronic device acquires 15 RAW image packets, the YUV composite images of the 15 RAW image packets will be stored in the preset image buffer queue.
同样的,在处于相机应用的预览界面时,每当电子设备获取一帧关于场景B的RAW合成图像,电子设备都可以在对该RAW合成图像进行诸如YUV格式转换、图像锐化和降噪等处理后,显示在预览界面上供用户预览。Similarly, when the electronic device is in the preview interface of the camera application, whenever the electronic device acquires a frame of RAW composite image about scene B, the electronic device can perform such functions as YUV format conversion, image sharpening and noise reduction on the RAW composite image. After processing, it is displayed on the preview interface for users to preview.
在预览之后,例如用户按下拍照按钮,如图6所示,则电子设备可以接收到对场景B进行拍照的指令。此时,电子设备可以从预设图像缓存队列中获取关于场景B的2帧历史YUV合成图像,并对这2帧历史YUV合成图像进行多帧降噪处理,得到降噪图像。例如,电子设备从预设图像缓存队列中获取的2帧关于场景B的YUV合成图像分别为P5和P6。电子设备可以对图像P5和P6进行多帧降噪,得到降噪图像。After the preview, for example, the user presses the camera button, as shown in FIG. 6 , the electronic device may receive an instruction to take a photo of scene B. At this time, the electronic device can acquire 2 frames of historical YUV composite images of scene B from the preset image buffer queue, and perform multi-frame noise reduction processing on the 2 frames of historical YUV composite images to obtain a noise-reduced image. For example, the two frames of YUV synthesized images related to scene B obtained by the electronic device from the preset image buffer queue are P5 and P6 respectively. The electronic device can perform multi-frame noise reduction on the images P5 and P6 to obtain a noise-reduced image.
在得到降噪图像后,电子设备可以对该降噪图像进行图像锐化等处理,得到美化处理后的降噪图像。之后,电子设备可以将该美化处理后的降噪图像发送至JPEG编码器,经JPEG编码器处理后输出至相机应用界面进行显示,以供用户查看拍照得到图像。After obtaining the noise-reduced image, the electronic device may perform processing such as image sharpening on the noise-reduced image to obtain a beautified noise-reduced image. Afterwards, the electronic device can send the beautified and noise-reduced image to the JPEG encoder, and after being processed by the JPEG encoder, it can be output to the camera application interface for display, so that the user can check and take pictures to obtain the image.
请参阅图7,图7为本申请实施例提供的图像处理装置的结构示意图。图像处理装置300可以包括:第一获取模块301,解包模块302,合成模块303,第二获取模块304,缓存模块305,处理模块306,响应模块307。Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of an image processing device provided by an embodiment of the present application. The
第一获取模块301,用于获取RAW图像包,所述RAW图像包中包括至少两帧RAW图像,所述至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间。The
解包模块302,用于对所述RAW图像包进行解包处理,得到所述至少两帧RAW图像。The
合成模块303,用于对所述至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像。The
第二获取模块304,用于获取电子设备的运行参数值,所述运行参数值用于表示所述电子设备的计算能力。The second acquiring
缓存模块305,用于根据所述运行参数值,确定在所述目标场景下将所述RAW合成图像存入预设图像缓存队列,或是将所述RAW合成图像转换为YUV合成图像后存入预设图像缓存队列。The
处理模块306,用于当接收到拍照指令时,从所述预设图像缓存队列中获取目标场景的多帧历史缓存图像,并对所述多帧历史缓存图像进行多帧降噪处理,得到降噪图像。The
响应模块307,用于根据所述降噪图像,响应所述拍照指令。The
在一种实施方式中,缓存模块305可以用于:In one embodiment, the
若运行参数值表示所述电子设备的计算能力高于预设阈值,则确定出在所述目标场景下将所述RAW合成图像存入预设图像缓存队列;If the operating parameter value indicates that the computing capability of the electronic device is higher than a preset threshold, it is determined that the RAW composite image is stored in a preset image buffer queue under the target scene;
若运行参数值表示所述电子设备的计算能力不高于预设阈值,则确定出在所述目标场景下将将所述RAW合成图像转换为YUV合成图像后存入所述预设图像缓存队列。If the operating parameter value indicates that the computing capability of the electronic device is not higher than the preset threshold, it is determined that the RAW composite image will be converted into a YUV composite image in the target scene and stored in the preset image buffer queue .
在一种实施方式中,所述第二获取模块304可以用于:In an implementation manner, the second acquiring
获取电子设备的剩余运行内存容量与运行内存总容量的比值,所述比值用于表示所述电子设备的计算能力。A ratio of the remaining running memory capacity of the electronic device to the total running memory capacity is obtained, and the ratio is used to represent the computing capability of the electronic device.
在一种实施方式中,所述响应模块307可以用于:In one embodiment, the
对所述降噪图像进行图像优化处理,得到处理后的图像;performing image optimization processing on the noise-reduced image to obtain a processed image;
根据所述处理后的图像响应所述拍照指令,以将所述处理后的图像作为拍照得到的图像进行展示。Responding to the photographing instruction according to the processed image, so as to display the processed image as an image obtained by photographing.
在一种实施方式中,所述第一获取模块301可以用于:获取RAW图像包,所述RAW图像包中包括依次曝光的第一RAW图像和第二RAW图像,所述第一RAW图像和所述第二RAW图像是在目标场景下获取的图像,且所述第一RAW图像的曝光时间长于所述第二RAW图像的曝光时间。In one embodiment, the
那么,所述解包模块302可以用于:对所述RAW图像包进行解包处理,得到所述第一RAW图像和所述第二RAW图像。Then, the
所述合成模块303可以用于:对所述第一RAW图像和所述第二RAW图像进行合成处理,得到具有高动态范围的RAW合成图像。The
在一种实施方式中,所述处理模块306可以用于:In one embodiment, the
当接收到拍照指令时,根据所述运行参数值确定目标数量,所述目标数量大于或等于2;When a photographing instruction is received, the target number is determined according to the operating parameter value, and the target number is greater than or equal to 2;
从所述预设图像缓存队列中获取所述目标数量的历史缓存图像,所述历史缓存图像为所述目标场景的图像。Acquiring the target number of historical cache images from the preset image cache queue, where the historical cache images are images of the target scene.
在一种实施方式中,所述预设图像缓存队列为定长队列。In an implementation manner, the preset image buffer queue is a fixed-length queue.
本申请实施例提供一种计算机可读的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上执行时,使得所述计算机执行如本实施例提供的图像处理方法中的流程。An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is made to execute the procedures in the image processing method provided in this embodiment.
本申请实施例还提供一种电子设备,包括存储器,处理器,所述处理器通过调用所述存储器中存储的计算机程序,用于执行本实施例提供的图像处理方法中的流程。The embodiment of the present application also provides an electronic device, including a memory and a processor, and the processor is used to execute the procedures in the image processing method provided in the present embodiment by invoking a computer program stored in the memory.
例如,上述电子设备可以是诸如平板电脑或者智能手机等移动终端。请参阅图8,图8为本申请实施例提供的电子设备的结构示意图。For example, the above-mentioned electronic device may be a mobile terminal such as a tablet computer or a smart phone. Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
该电子设备400可以包括摄像模组401、存储器402、处理器403等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The
摄像模组401可以包括透镜和图像传感器,其中透镜用于采集外部的光源信号提供给图像传感器,图像传感器感应来自于透镜的光源信号,将其转换为数字化的原始图像数据,即RAW图像数据。RAW是未经处理、也未经压缩的格式,可以将其形象地称为“数字底片”。电子设备的摄像模组的图像传感器可以具有第一工作模式和第二工作模式。The
存储器402可用于存储应用程序和数据。存储器402存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器403通过运行存储在存储器402的应用程序,从而执行各种功能应用以及数据处理。
处理器403是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The
在本实施例中,电子设备中的处理器403会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器402中,并由处理器403来运行存储在存储器402中的应用程序,从而执行:In this embodiment, the
获取RAW图像包,所述RAW图像包中包括至少两帧RAW图像,所述至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间;Acquire a RAW image package, the RAW image package includes at least two frames of RAW images, the at least two frames of RAW images are images acquired in the target scene and have different exposure times;
对所述RAW图像包进行解包处理,得到所述至少两帧RAW图像;Unpacking the RAW image packet to obtain the at least two frames of RAW image;
对所述至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像;Synthesizing the at least two frames of RAW images to obtain a RAW composite image with a high dynamic range;
获取电子设备的运行参数值,所述运行参数值用于表示所述电子设备的计算能力;Acquiring an operating parameter value of the electronic device, where the operating parameter value is used to represent the computing capability of the electronic device;
根据所述运行参数值,确定在所述目标场景下将所述RAW合成图像存入预设图像缓存队列,或是将所述RAW合成图像转换为YUV合成图像后存入预设图像缓存队列;According to the operating parameter value, it is determined to store the RAW composite image in the preset image buffer queue in the target scene, or convert the RAW composite image into a YUV composite image and store it in the preset image buffer queue;
当接收到拍照指令时,从所述预设图像缓存队列中获取目标场景的多帧历史缓存图像,并对所述多帧历史缓存图像进行多帧降噪处理,得到降噪图像;When a photographing instruction is received, acquire a multi-frame historical buffer image of the target scene from the preset image buffer queue, and perform multi-frame noise reduction processing on the multi-frame historical buffer image to obtain a noise-reduced image;
根据所述降噪图像,响应所述拍照指令。Responding to the photographing instruction according to the noise-reduced image.
请参阅图9,电子设备500可以包括摄像模组501、存储器502、处理器503、触摸显示屏504、扬声器505、麦克风506等部件。Referring to FIG. 9 , an
摄像模组501可以包括图像处理电路,图像处理电路可以利用硬件和/或软件组件实现,可包括定义图像信号处理(Image Signal Processing)管线的各种处理单元。图像处理电路至少可以包括:摄像头、图像信号处理器(Image Signal Processor,ISP处理器)、控制逻辑器、图像存储器以及显示器等。其中摄像头至少可以包括一个或多个透镜和图像传感器。图像传感器可包括色彩滤镜阵列(如Bayer滤镜)。图像传感器可获取用图像传感器的每个成像像素捕捉的光强度和波长信息,并提供可由图像信号处理器处理的一组原始图像数据。The
图像信号处理器可以按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,图像信号处理器可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。原始图像数据经过图像信号处理器处理后可存储至图像存储器中。图像信号处理器还可从图像存储器处接收图像数据。Image signal processors can process raw image data on a pixel-by-pixel basis in a variety of formats. For example, each image pixel may have a bit depth of 8, 10, 12 or 14 bits, and the image signal processor may perform one or more image processing operations on the raw image data, gather statistical information about the image data. Among other things, image processing operations can be performed with the same or different bit depth precision. The original image data can be stored in the image memory after being processed by the image signal processor. The image signal processor may also receive image data from the image memory.
图像存储器可为存储器装置的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。The image memory may be a part of a memory device, a storage device, or an independent dedicated memory in an electronic device, and may include a DMA (Direct Memory Access) feature.
当接收到来自图像存储器的图像数据时,图像信号处理器可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器,以便在被显示之前进行另外的处理。图像信号处理器还可从图像存储器接收处理数据,并对所述处理数据进行原始域中以及RGB和YCbCr颜色空间中的图像数据处理。处理后的图像数据可输出给显示器,以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,图像信号处理器的输出还可发送给图像存储器,且显示器可从图像存储器读取图像数据。在一种实施方式中,图像存储器可被配置为实现一个或多个帧缓冲器。When receiving image data from the image memory, the image signal processor may perform one or more image processing operations, such as temporal filtering. The processed image data can be sent to an image memory for additional processing before being displayed. The image signal processor may also receive processed data from the image memory and subject the processed data to image data processing in the raw domain and in the RGB and YCbCr color spaces. The processed image data can be output to a display for viewing by a user and/or further processed by a graphics engine or a GPU (Graphics Processing Unit, graphics processing unit). In addition, the output of the image signal processor can also be sent to the image memory, and the display can read the image data from the image memory. In one embodiment, the image memory may be configured to implement one or more frame buffers.
图像信号处理器确定的统计数据可发送给控制逻辑器。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、透镜阴影校正等图像传感器的统计信息。Statistical data determined by the image signal processor may be sent to the control logic. For example, statistics may include image sensor statistics for auto exposure, auto white balance, auto focus, flicker detection, black level compensation, lens shading correction, etc.
控制逻辑器可包括执行一个或多个例程(如固件)的处理器和/或微控制器。一个或多个例程可根据接收的统计数据,确定摄像头的控制参数以及ISP控制参数。例如,摄像头的控制参数可包括照相机闪光控制参数、透镜的控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵等。Control logic may include a processor and/or microcontroller executing one or more routines (eg, firmware). One or more routines may determine camera control parameters and ISP control parameters based on the received statistical data. For example, camera control parameters may include camera flash control parameters, lens control parameters (such as focal length for focus or zoom), or a combination of these parameters. ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (eg, during RGB processing), among others.
请参阅图10,图10为本实施例中图像处理电路的结构示意图。如图10所示,为便于说明,仅示出与本发明实施例相关的图像处理技术的各个方面。Please refer to FIG. 10 . FIG. 10 is a schematic structural diagram of the image processing circuit in this embodiment. As shown in FIG. 10 , for ease of description, only various aspects of the image processing technology related to the embodiment of the present invention are shown.
例如图像处理电路可以包括:摄像头、图像信号处理器、控制逻辑器、图像存储器、显示器。其中,摄像头可以包括一个或多个透镜和图像传感器。在一些实施例中,摄像头可为长焦摄像头或广角摄像头中的任一者。For example, the image processing circuit may include: a camera, an image signal processor, a control logic, an image memory, and a display. Wherein, the camera may include one or more lenses and image sensors. In some embodiments, the camera can be any one of a telephoto camera or a wide-angle camera.
摄像头采集的第一图像传输给图像信号处理器进行处理。图像信号处理器处理第一图像后,可将第一图像的统计数据(如图像的亮度、图像的反差值、图像的颜色等)发送给控制逻辑器。控制逻辑器可根据统计数据确定摄像头的控制参数,从而摄像头可根据控制参数进行自动对焦、自动曝光等操作。第一图像经过图像信号处理器进行处理后可存储至图像存储器中。图像信号处理器也可以读取图像存储器中存储的图像以进行处理。另外,第一图像经过图像信号处理器进行处理后可直接发送至显示器进行显示。显示器也可以读取图像存储器中的图像以进行显示。The first image collected by the camera is transmitted to the image signal processor for processing. After processing the first image, the image signal processor can send statistical data of the first image (such as brightness of the image, contrast value of the image, color of the image, etc.) to the control logic. The control logic can determine the control parameters of the camera according to the statistical data, so that the camera can perform operations such as automatic focus and automatic exposure according to the control parameters. The first image can be stored in the image memory after being processed by the image signal processor. The image signal processor can also read images stored in the image memory for processing. In addition, the first image can be directly sent to the display for display after being processed by the image signal processor. The display can also read images from the image memory for display.
此外,图中没有展示的,电子设备还可以包括CPU和供电模块。CPU和逻辑控制器、图像信号处理器、图像存储器和显示器均连接,CPU用于实现全局控制。供电模块用于为各个模块供电。In addition, not shown in the figure, the electronic device may also include a CPU and a power supply module. The CPU is connected to the logic controller, image signal processor, image memory and display, and the CPU is used to realize overall control. The power supply module is used to supply power to each module.
存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器503通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。The application programs stored in the
处理器503是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The
触摸显示屏504可以用于接收用户对电子设备的触摸控制操作。扬声器505可以播放声音信号。麦克风506可以用于拾取声音信号。The
在本实施例中,电子设备中的处理器503会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器502中,并由处理器503来运行存储在存储器502中的应用程序,从而执行:In this embodiment, the
获取RAW图像包,所述RAW图像包中包括至少两帧RAW图像,所述至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间;Acquire a RAW image package, the RAW image package includes at least two frames of RAW images, the at least two frames of RAW images are images acquired in the target scene and have different exposure times;
对所述RAW图像包进行解包处理,得到所述至少两帧RAW图像;Unpacking the RAW image packet to obtain the at least two frames of RAW image;
对所述至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像;Synthesizing the at least two frames of RAW images to obtain a RAW composite image with a high dynamic range;
获取电子设备的运行参数值,所述运行参数值用于表示所述电子设备的计算能力;Acquiring an operating parameter value of the electronic device, where the operating parameter value is used to represent the computing capability of the electronic device;
根据所述运行参数值,确定在所述目标场景下将所述RAW合成图像存入预设图像缓存队列,或是将所述RAW合成图像转换为YUV合成图像后存入预设图像缓存队列;According to the operating parameter value, it is determined to store the RAW composite image in the preset image buffer queue in the target scene, or convert the RAW composite image into a YUV composite image and store it in the preset image buffer queue;
当接收到拍照指令时,从所述预设图像缓存队列中获取目标场景的多帧历史缓存图像,并对所述多帧历史缓存图像进行多帧降噪处理,得到降噪图像;When a photographing instruction is received, acquire a multi-frame historical buffer image of the target scene from the preset image buffer queue, and perform multi-frame noise reduction processing on the multi-frame historical buffer image to obtain a noise-reduced image;
根据所述降噪图像,响应所述拍照指令。Responding to the photographing instruction according to the noise-reduced image.
在一种实施方式中,处理器503执行根据所述运行参数值,确定在所述目标场景下将所述RAW合成图像存入预设图像缓存队列,或是将所述RAW合成图像转换为YUV合成图像后存入预设图像缓存队列时,可以执行:若运行参数值表示所述电子设备的计算能力高于预设阈值,则确定出在所述目标场景下将所述RAW合成图像存入预设图像缓存队列;若运行参数值表示所述电子设备的计算能力不高于预设阈值,则确定出在所述目标场景下将将所述RAW合成图像转换为YUV合成图像后存入所述预设图像缓存队列。In one embodiment, the
在一种实施方式中,处理器503执行所述获取电子设备的运行参数值,所述运行参数值用于表示所述电子设备的计算能力时,可以执行:获取电子设备的剩余运行内存容量与运行内存总容量的比值,所述比值用于表示所述电子设备的计算能力。In one embodiment, when the
在一种实施方式中,处理器503执行根据所述降噪图像,响应所述拍照指令时,可以执行:对所述降噪图像进行图像优化处理,得到处理后的图像;根据所述处理后的图像响应所述拍照指令,以将所述处理后的图像作为拍照得到的图像进行展示。In one embodiment, the
在一种实施方式中,处理器503执行所述获取RAW图像包,所述RAW图像包中包括至少两帧RAW图像,所述至少两帧RAW图像是在目标场景下获取的图像且具有不同的曝光时间时,可以执行:获取RAW图像包,所述RAW图像包中包括依次曝光的第一RAW图像和第二RAW图像,所述第一RAW图像和所述第二RAW图像是在目标场景下获取的图像,且所述第一RAW图像的曝光时间长于所述第二RAW图像的曝光时间。In one embodiment, the
那么,处理器503执行对所述RAW图像包进行解包处理,得到所述至少两帧RAW图像时,可以执行:对所述RAW图像包进行解包处理,得到所述第一RAW图像和所述第二RAW图像。Then, when the
处理器503执行对所述至少两帧RAW图像进行合成处理,得到具有高动态范围的RAW合成图像时,可以执行:对所述第一RAW图像和所述第二RAW图像进行合成处理,得到具有高动态范围的RAW合成图像。When the
在一种实施方式中,处理器503执行所述当接收到拍照指令时,从所述预设图像缓存队列中获取目标场景的多帧历史缓存的图像时,可以执行:当接收到拍照指令时,根据所述运行参数值确定目标数量,所述目标数量大于或等于2;从所述预设图像缓存队列中获取所述目标数量的历史缓存图像,所述历史缓存图像为所述目标场景的图像。In one embodiment, when the
在一种实施方式中,所述预设图像缓存队列为定长队列。In an implementation manner, the preset image buffer queue is a fixed-length queue.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对图像处理方法的详细描述,此处不再赘述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases. For the parts not described in detail in a certain embodiment, please refer to the detailed description of the image processing method above, which will not be repeated here.
本申请实施例提供的所述图像处理装置与上文实施例中的图像处理方法属于同一构思,在所述图像处理装置上可以运行所述图像处理方法实施例中提供的任一方法,其具体实现过程详见所述图像处理方法实施例,此处不再赘述。The image processing device provided in the embodiment of the present application belongs to the same concept as the image processing method in the above embodiment, and any method provided in the embodiment of the image processing method can be run on the image processing device, and its specific For the implementation process, refer to the embodiment of the image processing method, and details are not repeated here.
需要说明的是,对本申请实施例所述图像处理方法而言,本领域普通技术人员可以理解实现本申请实施例所述图像处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在存储器中,并被至少一个处理器执行,在执行过程中可包括如所述图像处理方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)等。It should be noted that, for the image processing method described in the embodiment of the present application, those skilled in the art can understand that all or part of the flow of the image processing method described in the embodiment of the present application can be controlled by computer programs. To complete, the computer program can be stored in a computer-readable storage medium, such as stored in a memory, and executed by at least one processor, and the execution process can include the flow of the embodiment of the image processing method . Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), etc.
对本申请实施例的所述图像处理装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the image processing device in the embodiment of the present application, its various functional modules may be integrated into one processing chip, or each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium, such as read-only memory, magnetic disk or optical disk, etc. .
以上对本申请实施例所提供的一种图像处理方法、装置、存储介质以及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。An image processing method, device, storage medium, and electronic equipment provided by the embodiments of the present application have been described above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only It is used to help understand the method and its core idea of this application; at the same time, for those skilled in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. In summary, this specification The content should not be construed as a limitation of the application.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910280476.8A CN109993722B (en) | 2019-04-09 | 2019-04-09 | Image processing method, image processing device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910280476.8A CN109993722B (en) | 2019-04-09 | 2019-04-09 | Image processing method, image processing device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109993722A CN109993722A (en) | 2019-07-09 |
CN109993722B true CN109993722B (en) | 2023-04-18 |
Family
ID=67132528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910280476.8A Expired - Fee Related CN109993722B (en) | 2019-04-09 | 2019-04-09 | Image processing method, image processing device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109993722B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110969587A (en) * | 2019-11-29 | 2020-04-07 | 联想(北京)有限公司 | Image acquisition method and device and electronic equipment |
CN111385475B (en) * | 2020-03-11 | 2021-09-10 | Oppo广东移动通信有限公司 | Image acquisition method, photographing device, electronic equipment and readable storage medium |
CN112003996B (en) * | 2020-08-12 | 2023-04-18 | Oppo广东移动通信有限公司 | Video generation method, terminal and computer storage medium |
CN111988526B (en) * | 2020-08-27 | 2021-07-27 | Oppo(重庆)智能科技有限公司 | Mobile terminal and image data processing method |
CN114979500B (en) * | 2021-02-26 | 2023-08-08 | Oppo广东移动通信有限公司 | Image processing method, image processing device, electronic device, and readable storage medium |
CN113038004B (en) * | 2021-02-26 | 2022-09-23 | 展讯通信(天津)有限公司 | Multi-window image previewing method and device, computer equipment and storage medium |
CN116029914B (en) * | 2022-07-27 | 2023-10-20 | 荣耀终端有限公司 | Image processing method and electronic equipment |
CN116389898B (en) * | 2023-02-27 | 2024-03-19 | 荣耀终端有限公司 | Image processing methods, equipment and storage media |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833471A (en) * | 2011-06-15 | 2012-12-19 | 奥林巴斯映像株式会社 | Imaging device and imaging method |
JP2015082675A (en) * | 2013-10-21 | 2015-04-27 | 三星テクウィン株式会社Samsung Techwin Co., Ltd | Image processing device and image processing method |
CN105376473A (en) * | 2014-08-25 | 2016-03-02 | 中兴通讯股份有限公司 | Photographing method, device and equipment |
JP2017112462A (en) * | 2015-12-15 | 2017-06-22 | キヤノン株式会社 | Imaging device and control method, program therefor and storage medium |
CN107222669A (en) * | 2017-06-30 | 2017-09-29 | 维沃移动通信有限公司 | The method and mobile terminal of a kind of shooting |
WO2017215501A1 (en) * | 2016-06-15 | 2017-12-21 | 深圳市万普拉斯科技有限公司 | Method and device for image noise reduction processing and computer storage medium |
CN108198189A (en) * | 2017-12-28 | 2018-06-22 | 广东欧珀移动通信有限公司 | Picture definition obtaining method and device, storage medium and electronic equipment |
CN108353130A (en) * | 2015-11-24 | 2018-07-31 | 索尼公司 | Image processor, image processing method and program |
CN108401110A (en) * | 2018-03-18 | 2018-08-14 | 广东欧珀移动通信有限公司 | Image acquisition method and device, storage medium and electronic equipment |
CN108419023A (en) * | 2018-03-26 | 2018-08-17 | 华为技术有限公司 | A method for generating high dynamic range images and related equipment |
CN108520493A (en) * | 2018-03-30 | 2018-09-11 | 广东欧珀移动通信有限公司 | Image replacement processing method, device, storage medium and electronic equipment |
CN109167930A (en) * | 2018-10-11 | 2019-01-08 | Oppo广东移动通信有限公司 | Image display method, image display device, electronic equipment and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6604297B2 (en) * | 2016-10-03 | 2019-11-13 | 株式会社デンソー | Imaging device |
-
2019
- 2019-04-09 CN CN201910280476.8A patent/CN109993722B/en not_active Expired - Fee Related
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102833471A (en) * | 2011-06-15 | 2012-12-19 | 奥林巴斯映像株式会社 | Imaging device and imaging method |
JP2015082675A (en) * | 2013-10-21 | 2015-04-27 | 三星テクウィン株式会社Samsung Techwin Co., Ltd | Image processing device and image processing method |
CN105376473A (en) * | 2014-08-25 | 2016-03-02 | 中兴通讯股份有限公司 | Photographing method, device and equipment |
CN108353130A (en) * | 2015-11-24 | 2018-07-31 | 索尼公司 | Image processor, image processing method and program |
JP2017112462A (en) * | 2015-12-15 | 2017-06-22 | キヤノン株式会社 | Imaging device and control method, program therefor and storage medium |
WO2017215501A1 (en) * | 2016-06-15 | 2017-12-21 | 深圳市万普拉斯科技有限公司 | Method and device for image noise reduction processing and computer storage medium |
CN107222669A (en) * | 2017-06-30 | 2017-09-29 | 维沃移动通信有限公司 | The method and mobile terminal of a kind of shooting |
CN108198189A (en) * | 2017-12-28 | 2018-06-22 | 广东欧珀移动通信有限公司 | Picture definition obtaining method and device, storage medium and electronic equipment |
CN108401110A (en) * | 2018-03-18 | 2018-08-14 | 广东欧珀移动通信有限公司 | Image acquisition method and device, storage medium and electronic equipment |
CN108419023A (en) * | 2018-03-26 | 2018-08-17 | 华为技术有限公司 | A method for generating high dynamic range images and related equipment |
CN108520493A (en) * | 2018-03-30 | 2018-09-11 | 广东欧珀移动通信有限公司 | Image replacement processing method, device, storage medium and electronic equipment |
CN109167930A (en) * | 2018-10-11 | 2019-01-08 | Oppo广东移动通信有限公司 | Image display method, image display device, electronic equipment and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
基于多曝光的高动态图像合成的噪声处理;刘宗等;《电子科技》;20161115(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109993722A (en) | 2019-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109993722B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN109040609B (en) | Exposure control method, exposure control device, electronic equipment and computer-readable storage medium | |
CN110445988B (en) | Image processing method, device, storage medium and electronic device | |
CN110213502B (en) | Image processing method, device, storage medium and electronic device | |
CN110198417A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
WO2020057199A1 (en) | Imaging method and device, and electronic device | |
CN110198418B (en) | Image processing method, device, storage medium and electronic device | |
CN110445989B (en) | Image processing method, device, storage medium and electronic device | |
CN110012227B (en) | Image processing method, device, storage medium and electronic device | |
CN108833802B (en) | Exposure control method and device and electronic equipment | |
CN110381263A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110198419A (en) | Image processing method, device, storage medium and electronic device | |
CN110445986B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110430370B (en) | Image processing method, device, storage medium and electronic device | |
CN110266954A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110290325B (en) | Image processing method, device, storage medium and electronic device | |
CN108833803A (en) | Imaging method, device and electronic equipment | |
CN108401110B (en) | Image acquisition method and device, storage medium and electronic equipment | |
CN108900785A (en) | Exposure control method and device and electronic equipment | |
CN110572585B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110266967B (en) | Image processing method, device, storage medium and electronic device | |
CN110278375B (en) | Image processing method, device, storage medium and electronic device | |
CN110049254B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN110581957A (en) | Image processing method, device, storage medium and electronic device | |
CN110266965B (en) | Image processing method, image processing device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20230418 |
|
CF01 | Termination of patent right due to non-payment of annual fee |