CN115719316A - Image processing method and device, electronic equipment and computer readable storage medium - Google Patents
Image processing method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN115719316A CN115719316A CN202211485144.1A CN202211485144A CN115719316A CN 115719316 A CN115719316 A CN 115719316A CN 202211485144 A CN202211485144 A CN 202211485144A CN 115719316 A CN115719316 A CN 115719316A
- Authority
- CN
- China
- Prior art keywords
- exposure
- image
- information
- area
- images
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 77
- 238000000034 method Methods 0.000 claims abstract description 36
- 230000003287 optical effect Effects 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 10
- 230000009467 reduction Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 9
- 230000008447 perception Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000003384 imaging method Methods 0.000 description 5
- 230000004927 fusion Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
Abstract
Description
技术领域technical field
本公开涉及图像处理技术领域,具体涉及一种图像处理方法、图像处理装置、电子设备和计算机可读存储介质。The present disclosure relates to the technical field of image processing, and in particular to an image processing method, an image processing device, electronic equipment, and a computer-readable storage medium.
背景技术Background technique
随着影像技术的高速发展,影像设备的功能越来越强大,用户对图像质量的要求逐渐提高。但是,由于多种原因,图像中常存在过曝或欠曝的情况,对图像质量造成影响。With the rapid development of imaging technology, the functions of imaging equipment are becoming more and more powerful, and users' requirements for image quality are gradually increasing. However, due to various reasons, overexposure or underexposure often exists in the image, which affects the image quality.
目前,相关技术的图像曝光处理方法仍存在曝光效果不理想的缺点,一定程度影响了用户的观感。At present, the image exposure processing method of the related art still has the disadvantage of unsatisfactory exposure effect, which affects the perception of the user to a certain extent.
发明内容Contents of the invention
本公开的目的在于提供一种图像处理方法、图像处理装置、电子设备和计算机可读存储介质,进而至少在一定程度上提高图像的曝光处理效果。The purpose of the present disclosure is to provide an image processing method, an image processing device, an electronic device, and a computer-readable storage medium, so as to improve the image exposure processing effect at least to a certain extent.
根据本公开的第一方面,提供一种图像处理方法,包括:获取当前场景的第一图像,确定所述第一图像中对应于不同深度信息的多个曝光区域,每一所述曝光区域对应不同的曝光时间和曝光步长;对每一所述曝光区域,在所述曝光时间内按照所述曝光步长生成多个第二图像;从各所述曝光区域对应的第二图像中分别确定出第三图像,并将各所述曝光区域对应的第三图像进行融合得到第四图像;对所述第四图像中各曝光区域按照对应的曝光信息分别进行对比度增强处理,得到目标图像。According to the first aspect of the present disclosure, there is provided an image processing method, including: acquiring a first image of the current scene, determining a plurality of exposure areas corresponding to different depth information in the first image, each of the exposure areas corresponding to Different exposure times and exposure steps; for each of the exposure areas, a plurality of second images are generated according to the exposure steps within the exposure time; respectively determined from the second images corresponding to each of the exposure areas A third image is obtained, and the third image corresponding to each exposure area is fused to obtain a fourth image; contrast enhancement processing is performed on each exposure area in the fourth image according to corresponding exposure information to obtain a target image.
根据本公开的第二方面,提供一种图像处理装置,包括:信息确定模块,用于获取当前场景的第一图像,确定所述第一图像中对应于不同深度信息的多个曝光区域,每一所述曝光区域对应不同的曝光时间和曝光步长;第一处理模块,用于对每一所述曝光区域,在所述曝光时间内按照所述曝光步长生成多个第二图像;第二处理模块,用于从各所述曝光区域对应的第二图像中分别确定出第三图像,并将各所述曝光区域对应的第三图像进行融合得到第四图像;第三处理模块,用于对所述第四图像中各曝光区域按照对应的曝光信息分别进行对比度增强处理,得到目标图像。According to a second aspect of the present disclosure, an image processing device is provided, including: an information determination module, configured to acquire a first image of a current scene, and determine multiple exposure areas corresponding to different depth information in the first image, each One of the exposure areas corresponds to different exposure times and exposure steps; the first processing module is configured to, for each of the exposure areas, generate a plurality of second images according to the exposure steps within the exposure time; the second A second processing module, configured to determine a third image from the second images corresponding to each of the exposure areas, and fuse the third images corresponding to each of the exposure areas to obtain a fourth image; a third processing module, using performing contrast enhancement processing on each exposure area in the fourth image according to corresponding exposure information to obtain a target image.
根据本公开的第三方面,提供一种电子设备,包括:处理器;以及存储器,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现上述的方法。According to a third aspect of the present disclosure, there is provided an electronic device, including: a processor; and a memory for storing one or more programs, and when the one or more programs are executed by the one or more processors, one or more A plurality of processors implement the method described above.
根据本公开的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述的方法。According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented.
本公开实施例所提供的图像处理方案,一方面,利用第一图像的深度信息确定对应于不同深度信息的曝光区域,并分别确定曝光区域的曝光参数,即曝光时间和曝光步长,由于各曝光区域的曝光参数并非均匀分布,而是基于深度信息确定,保证不同深度区域图像的曝光效果的同时,可合理调控曝光时间,提高拍摄速度;另一方面,从各曝光区域对应的多个第二图像中分别确定出第三图像,并将各曝光区域对应的第三图像进行融合得到第四图像,使第四图像的各曝光区域均为高质量曝光,提高曝光效果;再一方面,基于曝光信息分别对各曝光区域进行局部对比度增强处理,在保留图像细节的同时,还原各曝光区域的对比度信息,使得目标图像更能符合人眼对物体的感知。In the image processing solution provided by the embodiments of the present disclosure, on the one hand, the depth information of the first image is used to determine the exposure regions corresponding to different depth information, and the exposure parameters of the exposure regions, namely the exposure time and the exposure step length, are determined respectively. The exposure parameters of the exposure area are not evenly distributed, but are determined based on the depth information. While ensuring the exposure effect of images in different depth areas, the exposure time can be reasonably adjusted to improve the shooting speed; The third image is respectively determined in the two images, and the third image corresponding to each exposure area is fused to obtain a fourth image, so that each exposure area of the fourth image is high-quality exposure, and the exposure effect is improved; on the other hand, based on Exposure information performs local contrast enhancement processing on each exposure area, and restores the contrast information of each exposure area while retaining image details, so that the target image is more in line with the perception of objects by the human eye.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Apparently, the drawings in the following description are only some embodiments of the present disclosure, and those skilled in the art can obtain other drawings according to these drawings without creative efforts. In the attached picture:
图1示出了可以应用本公开实施例的一种图像处理方法及装置所涉及的示例性应用环境的示意图;FIG. 1 shows a schematic diagram of an exemplary application environment involved in an image processing method and device that can be applied to an embodiment of the present disclosure;
图2示意性示出本公开示例性实施例中一种人眼看到景色与拍摄图像的比对示意图;Fig. 2 schematically shows a comparison diagram of a scene seen by human eyes and a captured image in an exemplary embodiment of the present disclosure;
图3示意性示出本公开示例性实施例中一种图像处理方法的流程图;FIG. 3 schematically shows a flowchart of an image processing method in an exemplary embodiment of the present disclosure;
图4示意性示出本公开示例性实施例中一种划分曝光区域的示意图;Fig. 4 schematically shows a schematic diagram of dividing an exposure area in an exemplary embodiment of the present disclosure;
图5示意性示出本公开示例性实施例中一种细分曝光区域的示意图;Fig. 5 schematically shows a schematic diagram of a subdivided exposure area in an exemplary embodiment of the present disclosure;
图6示意性示出本公开示例性实施例中一种确定多个曝光区域的实现方式的流程图;Fig. 6 schematically shows a flowchart of an implementation manner of determining multiple exposure regions in an exemplary embodiment of the present disclosure;
图7示意性示出本公开示例性的图像处理方法的一种获取第四图像的实现方式的流程图;FIG. 7 schematically shows a flowchart of an implementation manner of acquiring a fourth image of an exemplary image processing method of the present disclosure;
图8示意性示出本公开示例性实施例中一种图像增强处理的实现方式的流程图;Fig. 8 schematically shows a flowchart of an implementation manner of image enhancement processing in an exemplary embodiment of the present disclosure;
图9示意性示出本公开示例性实施例中一种获得目标图像涉及阶段的示意图;Fig. 9 schematically shows a schematic diagram of stages involved in obtaining a target image in an exemplary embodiment of the present disclosure;
图10示意性示出本公开示例性实施例中另一种图像处理的流程示意图;Fig. 10 schematically shows a schematic flowchart of another image processing in an exemplary embodiment of the present disclosure;
图11示意性示出本公开示例性实施例中图像处理装置的组成示意图;FIG. 11 schematically shows the composition of an image processing device in an exemplary embodiment of the present disclosure;
图12示出了可以应用本公开实施例的一种电子设备的示意图。Fig. 12 shows a schematic diagram of an electronic device to which the embodiments of the present disclosure can be applied.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and/or processor means and/or microcontroller means.
图1示出了可以应用本公开实施例的一种图像处理方法及装置所涉及的示例性应用环境的示意图。Fig. 1 shows a schematic diagram of an exemplary application environment involved in an image processing method and apparatus to which embodiments of the present disclosure can be applied.
如图1所示,终端设备可以为具有图像处理功能的智能设备,例如可以为智能手机、电脑、平板电脑、智能手表、车载设备、可穿戴设备、监控设备等智能设备,终端设备还可以被称为移动终端、终端、移动设备等,本公开对终端设备的类型不做限制。As shown in Figure 1, the terminal device can be a smart device with image processing functions, such as smart phones, computers, tablets, smart watches, vehicle-mounted devices, wearable devices, monitoring devices and other smart devices, and the terminal device can also be It is referred to as a mobile terminal, a terminal, a mobile device, etc., and the present disclosure does not limit the type of the terminal device.
本公开实施例中,终端设备的图像处理装置可以基于本公开实施例的图像处理方法基于第一图像的深度信息确定多个曝光区域,且每一曝光区域对应不同的曝光时间和曝光步长,对每一曝光区域,在曝光时间内按照曝光步长生成多个第二图像;从各曝光区域对应的第二图像中分别确定出第三图像,并将各曝光区域对应的第三图像进行融合得到第四图像,最后对第四图像中各曝光区域按照对应的曝光信息分别进行对比度增强处理,得到目标图像。In the embodiment of the present disclosure, the image processing apparatus of the terminal device may determine multiple exposure areas based on the depth information of the first image based on the image processing method of the embodiment of the present disclosure, and each exposure area corresponds to a different exposure time and exposure step, For each exposure area, a plurality of second images are generated according to the exposure step within the exposure time; third images are respectively determined from the second images corresponding to each exposure area, and the third images corresponding to each exposure area are fused The fourth image is obtained, and finally the contrast enhancement processing is performed on each exposure area in the fourth image according to the corresponding exposure information to obtain the target image.
需要说明的是,本公开实施例所提供的图像处理方法可以由终端设备来执行。本公开实施例所提供的图像处理方法也可以由服务器来执行,相应的,图像处理装置也可以设置于服务器中。其中,终端设备可以向服务器发送第一图像,以使服务器基于本公开实施例的图像处理方法基于第一图像确定多个曝光区域以及对应的曝光时间和曝光步长发送至终端设备,使终端设备基于曝光时间和曝光步长生成多个第二图像发送至服务器,使服务器从各曝光区域对应的第二图像中分别确定第三图像并进行融合得到第四图像,最后对第四图像中各曝光区域按照曝光信息进行对比度增强处理,将得到的目标图像发送至终端设备。服务器可以为提供本公开实施例中图像处理相关服务的后台系统,可以包括便携式计算机、台式计算机、智能手机等具有计算功能的一台电子设备或多台电子设备形成的集群。本公开实施例中,以图像处理方法由终端设备来执行为例进行说明。It should be noted that the image processing method provided by the embodiment of the present disclosure may be executed by a terminal device. The image processing method provided by the embodiments of the present disclosure may also be executed by a server, and correspondingly, the image processing apparatus may also be set in the server. Wherein, the terminal device may send the first image to the server, so that the server determines multiple exposure areas based on the first image based on the image processing method of the embodiment of the present disclosure, and sends the corresponding exposure time and exposure step to the terminal device, so that the terminal device Generate a plurality of second images based on the exposure time and the exposure step length and send them to the server, so that the server determines the third image from the second images corresponding to each exposure area and fuses them to obtain the fourth image, and finally performs each exposure in the fourth image The area is subjected to contrast enhancement processing according to the exposure information, and the obtained target image is sent to the terminal device. The server may be a background system that provides image processing-related services in the embodiments of the present disclosure, and may include an electronic device or a cluster formed by multiple electronic devices with computing functions such as a portable computer, a desktop computer, and a smart phone. In the embodiments of the present disclosure, an image processing method is executed by a terminal device as an example for description.
在相关技术中,HDR(High Dynamic Range Imaging,高动态范围成像)等技术,在如逆光等极端场景下仍效果不佳,难以拍出理想图像,可能存在背景光源严重过曝,或者近景对应的拍摄主体欠曝。举例而言,人眼看到画面中的白色细节区域对应的拍照图像可能惨白,人眼看到的黑色细节区域可能拍摄出来漆黑,极大影响图像质量。如图2分别示出了人眼看到的景色(a)和拍摄得到的图像(b),拍摄获得的图像中亮处惨白,暗处漆黑。In related technologies, HDR (High Dynamic Range Imaging, high dynamic range imaging) and other technologies are still not effective in extreme scenes such as backlighting, and it is difficult to take ideal images. There may be severe overexposure of background light sources, or close-range corresponding The subject is underexposed. For example, the photographed image corresponding to the white detail area in the screen may be pale to the human eye, and the black detail area seen by the human eye may be shot in pitch black, which greatly affects the image quality. Figure 2 shows the scenery (a) seen by the human eye and the captured image (b) respectively. In the captured image, the bright part is pale and the dark part is pitch black.
然而,相关技术中通过采集多帧原始图像,并在各原始图像中选取曝光合适的多个区域,最后将多帧原始图像对应的多个区域进行融合处理产生最终的目标图像。但是,该方法生成多帧的曝光处理方式存在曝光时间过长的问题,仍无法解决存在轻微过曝或欠曝的情况,获得的目标图像质量无法达到要求,只是将不同亮度的区域之间的图像差距拉平,但仍与人眼感知的实际拍摄场景存在差异。However, in the related art, multiple frames of original images are collected, multiple regions with proper exposure are selected in each original image, and finally the multiple regions corresponding to multiple frames of original images are fused to generate a final target image. However, the exposure processing method for generating multiple frames by this method has the problem that the exposure time is too long, and it still cannot solve the situation of slight overexposure or underexposure, and the quality of the obtained target image cannot meet the requirements. The image gap is flattened, but there is still a difference from the actual shooting scene perceived by the human eye.
基于上述一个或多个问题,本公开示例性实施例提供了一种图像处理方法。参考图3所示,该图像处理方法可以包括以下步骤S310至步骤S340:Based on one or more of the above problems, an exemplary embodiment of the present disclosure provides an image processing method. Referring to Fig. 3, the image processing method may include the following steps S310 to S340:
在步骤S310中,获取当前场景的第一图像,确定第一图像中对应于不同深度信息的多个曝光区域,每一曝光区域对应不同的曝光时间和曝光步长。In step S310, the first image of the current scene is acquired, and multiple exposure areas corresponding to different depth information in the first image are determined, and each exposure area corresponds to a different exposure time and exposure step.
在本公开的示例性实施例中,当前场景为待拍摄的场景,深度信息是指终端与被拍摄对象在深度方向上的距离检测信息,指示传感器(如图像传感器、深度传感器)与拍摄对象的距离,不同对象分别有对应的深度信息,从深度信息反映图像中不同对象距离设备的位置。其中,第一图像可以是从预览图像中随机获取的一帧raw图像,本公开实施例可以在图像预览过程中定期选取一帧raw图像,利用该raw图确定深度信息,以基于该深度信息进行后续的图像处理操作。In an exemplary embodiment of the present disclosure, the current scene is the scene to be photographed, and the depth information refers to the distance detection information between the terminal and the photographed object in the depth direction, indicating the distance between the sensor (such as an image sensor, a depth sensor) and the photographed object. Distance, different objects have corresponding depth information, and the depth information reflects the position of different objects in the image from the device. Wherein, the first image may be a frame of raw image randomly obtained from the preview image. In the embodiment of the present disclosure, a frame of raw image may be regularly selected during the image preview process, and the depth information may be determined by using the raw image, so as to perform operations based on the depth information. Subsequent image processing operations.
在获得第一图像后,根据深度信息在第一图像中确定多个曝光区域,该曝光区域是指符合预设曝光条件的具有不同景深的区域,如根据深度信息,分别选取远景区域、近景区域的曝光符合预设曝光条件的区域,得到多个曝光区域。After obtaining the first image, determine multiple exposure areas in the first image according to the depth information. The exposure areas refer to areas with different depths of field that meet the preset exposure conditions. For example, according to the depth information, select the distant view area and the near view area. Expose the areas that meet the preset exposure conditions, and get multiple exposure areas.
其中,每一曝光区域对应不同的曝光时间和曝光步长。如图4示出了根据本公开示例性实施例的一种划分曝光区域的示意图。如图4所示,各曝光区域分别对应不同的深度信息,且各曝光区域的曝光时间可以相同,也可以不同,本公开实施例对此不做特殊限定。进一步的,参见图5示出了根据本公开示例性实施例的一种细分曝光区域的示意图,如图5,对每一曝光区域中分别按照曝光步长进行细分曝光等级,值得说明的是,各曝光区域的曝光步长可以相同,也可以不同,可根据实际曝光需要设定。Wherein, each exposure area corresponds to a different exposure time and exposure step. FIG. 4 shows a schematic diagram of dividing exposure areas according to an exemplary embodiment of the present disclosure. As shown in FIG. 4 , each exposure area corresponds to different depth information, and the exposure time of each exposure area may be the same or different, which is not specifically limited in this embodiment of the present disclosure. Further, referring to FIG. 5, a schematic diagram of a subdivided exposure area according to an exemplary embodiment of the present disclosure is shown. As shown in FIG. 5, the exposure level is subdivided according to the exposure step in each exposure area. It is worth explaining Yes, the exposure steps of each exposure area can be the same or different, and can be set according to actual exposure needs.
本公开实施例先基于深度信息确定多个曝光区域,且各曝光区域具有各自的曝光时间和曝光步长,基于此,可以在不影响拍摄图像质量的情况下,限定不同曝光区域的曝光时间和曝光步长,以缩减拍摄的时间,提高拍摄速度。In the embodiment of the present disclosure, multiple exposure areas are first determined based on depth information, and each exposure area has its own exposure time and exposure step. Based on this, the exposure time and exposure time of different exposure areas can be limited without affecting the quality of the captured image Exposure steps to reduce the shooting time and increase the shooting speed.
在步骤S320中,对每一曝光区域,在曝光时间内按照曝光步长生成多个第二图像。In step S320, for each exposure region, a plurality of second images are generated according to the exposure step within the exposure time.
在本公开的示例性实施例中,在确定曝光区域、曝光区域对应的曝光时间和曝光步长后,可针对每一曝光区域,在对应的曝光时间内按照曝光步长获得多个第二图像,也就是说,对每一曝光区域,生成多个raw图。继续参见图5所示,在每一曝光区域对应的曝光时间中,每一曝光步长生成对应的一帧raw图。In an exemplary embodiment of the present disclosure, after determining the exposure area, the exposure time corresponding to the exposure area, and the exposure step length, for each exposure area, a plurality of second images may be obtained within the corresponding exposure time according to the exposure step length , that is to say, for each exposure area, multiple raw images are generated. Continuing to refer to FIG. 5 , in the exposure time corresponding to each exposure area, each exposure step generates a corresponding frame of raw image.
在步骤S330中,从各曝光区域对应的第二图像中分别确定出第三图像,并将各曝光区域对应的第三图像进行融合得到第四图像。In step S330, third images are respectively determined from the second images corresponding to each exposure area, and the third images corresponding to each exposure area are fused to obtain a fourth image.
在本公开的示例性实施例中,由于各曝光区域获得多个第二图像,为了将不同深度信息对应的曝光区域生成的第二图像进行融合,先从各曝光区域中分别确定出第三图像,从而将各曝光区域对应的第三图像进行融合,得到第四图像。In an exemplary embodiment of the present disclosure, since each exposure area obtains a plurality of second images, in order to fuse the second images generated by the exposure areas corresponding to different depth information, the third image is firstly determined from each exposure area , so that the third images corresponding to the exposure regions are fused to obtain a fourth image.
可选地,可以在曝光区域对应的多个第二图像中随机确定第三图像;可选地,也可以根据图像清晰程度、纹理信息等从第二图像中确定第三图像,本公开实施例可根据实际需要选择确定第三图像的方式,对此不做特殊限制。Optionally, the third image may be randomly determined from the plurality of second images corresponding to the exposure area; optionally, the third image may also be determined from the second images according to image clarity, texture information, etc., the embodiment of the present disclosure The manner of determining the third image can be selected according to actual needs, and there is no special limitation on this.
通过将各不同曝光区域对应的第三图像进行融合得到第四图像,使获得的第四图像在不同深度信息对应的区域均符合预设曝光条件,如达到预设的曝光要求,从而提高第四图像的曝光效果。The fourth image is obtained by fusing the third images corresponding to different exposure areas, so that the obtained fourth image meets the preset exposure conditions in the areas corresponding to different depth information, such as meeting the preset exposure requirements, thereby improving the fourth image. The exposure effect of the image.
在步骤S340中,对第四图像中各曝光区域按照对应的曝光信息分别进行对比度增强处理,得到目标图像。In step S340, contrast enhancement processing is performed on each exposure area in the fourth image according to the corresponding exposure information to obtain a target image.
在本公开的示例性实施例中,利用不同曝光参数(曝光时间、曝光步长)对应的第三图像融合获得第四图像,为了进一步提升第四图像中各区域的对比度,对第四图像进行对比度增强过程。其中,采用的对比比增强算法可以为ACE(Automatic ColorEnhancement,自动色彩均衡)算法,当然,本公开实施例还可以采用其它考虑局部信息的对比度增强算法,对此不做特殊限定。In an exemplary embodiment of the present disclosure, a fourth image is obtained by fusion of third images corresponding to different exposure parameters (exposure time, exposure step length). In order to further improve the contrast of each area in the fourth image, the fourth image is Contrast enhancement process. Wherein, the contrast enhancement algorithm adopted may be an ACE (Automatic Color Enhancement, automatic color equalization) algorithm, of course, the embodiments of the present disclosure may also adopt other contrast enhancement algorithms considering local information, which is not specifically limited.
其中,可以针对每一曝光区域,根据该曝光区域的曝光信息进行对比度增强处理。如曝光越小的区域,增加对比度增强程度,曝光越大的区域,减少对比度增强程度,从而对于整张图像,在保留图像细节的情况下,整体画面更具层次感,以还原各曝光区域对应的人眼对物体的感知。Wherein, for each exposure area, contrast enhancement processing may be performed according to the exposure information of the exposure area. For example, for the area with smaller exposure, increase the degree of contrast enhancement, and for the area with greater exposure, reduce the degree of contrast enhancement, so that for the entire image, while retaining the details of the image, the overall picture has a more layered sense to restore the corresponding exposure of each exposure area. perception of objects by the human eye.
通过本公开示例性实施例的图像处理方法,利用第一图像的深度信息确定对应于不同深度信息的曝光区域,并分别确定曝光区域的曝光参数,即曝光时间和曝光步长,由于各曝光区域的曝光参数并非均匀分布,而是基于深度信息确定,保证不同深度区域图像的曝光的同时,可合理调控曝光时间,提高拍摄速度;从各曝光区域对应的多个第二图像中分别确定出第三图像,并将各曝光区域对应的第三图像进行融合得到第四图像,使第四图像的各曝光区域均为高质量曝光,提高曝光效果;此外,基于曝光信息分别对各曝光区域进行局部对比度增强处理,在保留图像细节的同时,还原各曝光区域的对比度信息,使得目标图像更能符合人眼对物体的感知。Through the image processing method of the exemplary embodiment of the present disclosure, the depth information of the first image is used to determine the exposure regions corresponding to different depth information, and the exposure parameters of the exposure regions, namely, the exposure time and the exposure step length, are determined respectively. Since each exposure region The exposure parameters are not evenly distributed, but are determined based on depth information. While ensuring the exposure of images in different depth regions, the exposure time can be reasonably adjusted to improve the shooting speed; Three images, and the third image corresponding to each exposure area is fused to obtain the fourth image, so that each exposure area of the fourth image is high-quality exposure, and the exposure effect is improved; in addition, based on the exposure information, each exposure area is partially processed. Contrast enhancement processing, while retaining image details, restores the contrast information of each exposure area, making the target image more in line with the human eye's perception of objects.
在一示例性实施例中,提供一种确定多个曝光区域的实现方式。如图6所示,确定第一图像中对应于不同深度信息的多个曝光区域包括步骤S610至步骤S630:In an exemplary embodiment, an implementation manner of determining a plurality of exposure regions is provided. As shown in FIG. 6, determining a plurality of exposure regions corresponding to different depth information in the first image includes steps S610 to S630:
步骤S610:根据深度信息在第一图像中确定符合预设曝光条件的多个景深不同的区域,作为多个曝光区域。Step S610: Determine a plurality of regions with different depths of field that meet preset exposure conditions in the first image according to the depth information, as a plurality of exposure regions.
本公开实施例可根据深度信息,在第一图像中选取符合预设曝光条件的多个景深不同的区域,其中,多个景深不同的区域至少包括第一图像的不同景深的多个近景区域、远景区域,在第一图像中分别选取符合预设曝光条件的近景区域和远景区域。预设曝光条件包括指示曝光效果的相关条件,如图像清晰程度符合设定条件、图像纹理的丰富程度符合设定条件等,可根据实际情况设定,对此不做特殊限制。In an embodiment of the present disclosure, multiple regions with different depths of field that meet preset exposure conditions may be selected in the first image according to the depth information, wherein the multiple regions with different depths of field include at least multiple near-field regions with different depths of field in the first image, For the foreground area, the foreground area and the foreground area that meet the preset exposure conditions are respectively selected in the first image. The preset exposure conditions include relevant conditions indicating the exposure effect, such as the clarity of the image meeting the setting conditions, the richness of the image texture meeting the setting conditions, etc., which can be set according to the actual situation, and there are no special restrictions on this.
步骤S620:基于预设的深度信息与曝光时间的对应关系,利用每一曝光区域的深度信息确定每一曝光区域的曝光时间。Step S620: Based on the preset correspondence between the depth information and the exposure time, use the depth information of each exposure area to determine the exposure time of each exposure area.
在确定对应于不同深度信息的曝光区域后,根据曝光区域的深度信息确定该曝光区域对应的曝光时间,其中,预设的深度信息与曝光时间的对应关系是根据历史深度信息与曝光时间确定的。After determining the exposure area corresponding to different depth information, determine the exposure time corresponding to the exposure area according to the depth information of the exposure area, wherein the preset correspondence between the depth information and the exposure time is determined according to the historical depth information and the exposure time .
步骤S630:确定每一曝光时间对应的曝光步长。Step S630: Determine the exposure step corresponding to each exposure time.
在获得每一曝光区域的曝光时间后,本公开实施例对每一曝光时间范围进行细分曝光等级,即确定每一曝光时间对应的曝光步长,以基于该曝光步长在曝光时间范围内生成多个第二图像。After obtaining the exposure time of each exposure area, the embodiment of the present disclosure subdivides the exposure level for each exposure time range, that is, determines the exposure step corresponding to each exposure time, so that the exposure step is within the exposure time range A plurality of second images are generated.
在一些可能的实施例中,可以根据预设的曝光时间与曝光步长的关系,确定曝光时间对应的曝光步长。其中,曝光时间较短,曝光步长较密集;相反,若曝光时间较长,曝光步长较稀疏,基于此可以从整体上限制图像拍摄时间。In some possible embodiments, the exposure step corresponding to the exposure time may be determined according to a preset relationship between the exposure time and the exposure step. Wherein, if the exposure time is short, the exposure steps are dense; on the contrary, if the exposure time is long, the exposure steps are sparse, and based on this, the image shooting time can be limited as a whole.
在一些可能的实施例中,可以获取曝光时间对应的曝光区域的像素点数量,并根据像素点数量相对于第一图像的总像素点的占比,确定曝光时间对应的曝光步长。其中,当像素点数量相对于第一图像的总像素点的占比较高,曝光步长较密集,若像素点数量相对于第一图像的总像素点的占比较低,曝光步长较稀疏,即将较大曝光区域采用更密集的曝光步长,以保留更多图像细节。In some possible embodiments, the number of pixels in the exposure area corresponding to the exposure time may be obtained, and the exposure step corresponding to the exposure time may be determined according to the ratio of the number of pixels to the total number of pixels in the first image. Wherein, when the ratio of the number of pixels to the total pixels of the first image is relatively high, the exposure step length is relatively dense; if the ratio of the number of pixels to the total pixels of the first image is relatively low, the exposure step is relatively sparse, That is, a denser exposure step is adopted for a larger exposure area to preserve more image details.
在一些可能的实施例中,还可以获取第一图像对应的抖动信息,并基于预设的抖动信息与曝光步长的对应关系,确定抖动信息对应的曝光步长。在实际实施时,可获取设备抖动或图像抖动的相关信息,如通过传感器检测到的设备抖动,如通过光流信息等获取的图像内容对应的运动检测结果,等等,本公开包括但不限于以上获取抖动信息的方式。例如,若图像内容抖动较多,曝光步长可选择较稀疏,确保获得的第二图像有效可用。In some possible embodiments, the shake information corresponding to the first image may also be acquired, and based on the preset correspondence between the shake information and the exposure step, the exposure step corresponding to the shake information may be determined. In actual implementation, information related to device shake or image shake can be obtained, such as device shake detected by sensors, such as motion detection results corresponding to image content obtained through optical flow information, etc. The present disclosure includes but is not limited to The above methods for obtaining jitter information. For example, if there is a lot of jitter in the image content, the exposure step size can be selected to be relatively sparse, so as to ensure that the obtained second image is valid and usable.
在一示例性实施例中,提供一种获取第四图像的实现方式。如图7所示,从各曝光区域对应的第二图像中分别确定出第三图像,并将各曝光区域对应的第三图像进行融合得到第四图像可以包括步骤S710和步骤S720:In an exemplary embodiment, an implementation manner of acquiring a fourth image is provided. As shown in FIG. 7 , determining a third image from the second images corresponding to each exposure area, and fusing the third images corresponding to each exposure area to obtain a fourth image may include steps S710 and S720:
步骤S710:对每一曝光区域,获取曝光区域对应的第二图像的图像纹理信息,根据图像纹理信息从第二图像中确定第三图像。Step S710: For each exposure area, acquire image texture information of the second image corresponding to the exposure area, and determine a third image from the second image according to the image texture information.
每一曝光区域包括多个第二图像,可以从多个第二图像中获取选取纹理细节保留最多的作为第三图像。Each exposure area includes a plurality of second images, and the third image with the most preserved texture details may be selected from the plurality of second images.
在一些可能的实施例中,可以对各第二图像进行降噪处理,然后根据降噪处理后的第二图像的对比度信息从第二图像中确定第三图像,则获取清晰程度最高且保留图像细节最多的作为第三图像,以确保最终融合结果能保留更多的图像细节。In some possible embodiments, noise reduction processing can be performed on each second image, and then the third image can be determined from the second image according to the contrast information of the second image after noise reduction processing, then the image with the highest degree of clarity can be obtained and the image can be preserved. The image with the most details is used as the third image to ensure that the final fusion result can retain more image details.
步骤S720:将各曝光区域对应的第三图像进行融合,得到第四图像。Step S720: Fusion the third images corresponding to the exposure areas to obtain a fourth image.
在得到各曝光区域对应的第三图像后,基于各个曝光区域将各第三图像进行融合得到第四图像。After obtaining the third image corresponding to each exposure area, the third images are fused based on each exposure area to obtain a fourth image.
在一示例性实施例中,提供一种图像增强处理的实现方式。如图8所示,对第四图像中各曝光区域按照对应的曝光信息分别进行对比度增强处理,得到目标图像可以包括步骤S810至步骤S830:In an exemplary embodiment, an implementation manner of image enhancement processing is provided. As shown in FIG. 8 , performing contrast enhancement processing on each exposure area in the fourth image according to the corresponding exposure information, and obtaining the target image may include steps S810 to S830:
步骤S810:针对第四图像中的每一曝光区域,对曝光区域中的像素点进行对比度增强,得到增强后的像素点。Step S810: For each exposure area in the fourth image, perform contrast enhancement on the pixels in the exposure area to obtain enhanced pixels.
第四图像是将具有不同曝光参数(曝光时间、曝光步长)的图像融合得到的,为进一步还原图像不同区域的对比度信息,使最终图像符合人眼对当前场景的真实感知,针对第一图像中的每一曝光区域中的像素点进行对比度增强处理,得到增强后的像素点。The fourth image is obtained by fusing images with different exposure parameters (exposure time, exposure step length). In order to further restore the contrast information of different regions of the image, so that the final image conforms to the real perception of the current scene by the human eye, the first image The pixels in each exposure area in the image are subjected to contrast enhancement processing to obtain enhanced pixels.
其中,可以选用自适应对比度增强ACE算法对第四图像进行对比度增强处理。当然,本公开实施例还可以根据实际需要选择其它增强算法,对此不做特殊限制。Wherein, an adaptive contrast enhancement ACE algorithm may be selected to perform contrast enhancement processing on the fourth image. Of course, other enhancement algorithms may also be selected according to actual needs in the embodiment of the present disclosure, which is not specifically limited.
下面以采用ACE算法对第四图像进行对比度增强处理为例进行说明。The following uses the ACE algorithm to perform contrast enhancement processing on the fourth image as an example for illustration.
首先设第四图像中像素点为x(i,j),以x(i,j)为中心,窗口大小为(2n+1)×(2n+1),获得该像素点的局部均值和局部方差分别为:First, set the pixel point in the fourth image as x(i,j), take x(i,j) as the center, and the window size is (2n+1)×(2n+1), and obtain the local mean and local The variances are:
其中,mx(i,j)为x(i,j)的局部均值,为局部方差,则x(i,j)对应的增强后的像素值f(i,j)为:Among them, m x (i, j) is the local mean of x (i, j), is the local variance, then the enhanced pixel value f(i,j) corresponding to x(i,j) is:
其中,为增益系数,D为常数,通常设置为全局图像的平局像素值。in, Is the gain coefficient, D is a constant, usually set to the average pixel value of the global image.
在本公开示例性实施例中,通过上述公式(3)对第四图像中的每一像素点进行对比度增强,获得对应的增强后的像素点。当然,本公开实施例还可以将增益系数设置为常数,基于该常数值利用公式(3)分别对第四图像中的每一曝光区域中的像素点进行对比度增强。基于此,通过采用ACE算法还原了图像各个曝光区域采用不同的曝光时间带来的图像整体对比度差距缩小的问题。In an exemplary embodiment of the present disclosure, contrast enhancement is performed on each pixel in the fourth image through the above formula (3), to obtain a corresponding enhanced pixel. Certainly, in the embodiment of the present disclosure, the gain coefficient may also be set as a constant, and the contrast enhancement is performed on the pixels in each exposure area in the fourth image by using the formula (3) based on the constant value. Based on this, the ACE algorithm is used to restore the problem of narrowing the overall contrast gap of the image caused by using different exposure times for each exposure area of the image.
步骤S820:基于曝光区域的曝光信息,利用增强后的像素点对曝光区域中的像素点进行替换处理。Step S820: Based on the exposure information of the exposure area, replace the pixels in the exposure area with the enhanced pixels.
如图9示出了根据本公开示例性实施例的一种获得目标图像涉及阶段的示意图,如图9所示,对第四图像中的每一像素点进行对比度增强后,根据增强后的像素点形成增强图像。FIG. 9 shows a schematic diagram of the stages involved in obtaining a target image according to an exemplary embodiment of the present disclosure. As shown in FIG. 9 , after contrast enhancement is performed on each pixel in the fourth image, according to the enhanced pixel Dots form enhanced images.
在本步骤中,为了分别对第四图像中不同曝光区域进行不同程度的对比度增强,还可以根据曝光区域的曝光信息,利用增强后的像素点对曝光区域中的像素点进行替换处理,得到替换处理后的曝光区域。In this step, in order to perform different degrees of contrast enhancement on different exposure areas in the fourth image, the pixels in the exposure area can also be replaced with the enhanced pixels according to the exposure information of the exposure area to obtain the replacement Processed exposure area.
在一些可能的实施例中,可以根据预设的曝光信息与像素替换比例的对应关系,确定曝光区域的曝光信息对应的目标替换比例,该目标替换比例用于指示利用增强后的像素点替换曝光区域中像素点的比例,然后根据目标替换比例对曝光区域中的像素点进行替换处理。其中,曝光信息可以为曝光时间、曝光度等用于反映曝光区域的曝光情况的相关信息。In some possible embodiments, the target replacement ratio corresponding to the exposure information of the exposure area can be determined according to the preset correspondence between the exposure information and the pixel replacement ratio, and the target replacement ratio is used to indicate that the exposure is replaced by the enhanced pixel The proportion of pixels in the area, and then replace the pixels in the exposure area according to the target replacement ratio. Wherein, the exposure information may be related information used to reflect the exposure situation of the exposure area, such as exposure time and exposure degree.
示例性的,继续参见图9所示,若曝光区域A的曝光时间较小,曝光区域A本身较为明亮,需要增强图像细节,则增加对比度增强程度,即目标替换比例较高;而曝光区域B的曝光时间较长,曝光区域B本身较为暗淡,减少对比度增强程度,即目标替换比例较低。基于此,通过对不同曝光区域采用不同的曝光时间设置不同曝光区域的对比度增强程度(像素替换程度),可还原图像的对比度信息。Exemplarily, continue to refer to Fig. 9, if the exposure time of the exposure area A is short, the exposure area A itself is relatively bright, and image details need to be enhanced, then increase the degree of contrast enhancement, that is, the target replacement ratio is higher; while the exposure area B The exposure time of is longer, the exposure area B itself is darker, and the degree of contrast enhancement is reduced, that is, the target replacement ratio is lower. Based on this, the contrast information of the image can be restored by setting the contrast enhancement degree (pixel replacement degree) of different exposure regions by using different exposure time for different exposure regions.
在一些可能的实施例中,预设的曝光信息与像素替换比例的对应关系可以是曝光时间与像素替换比例的线性映射关系,基于线性映射关系获取各曝光区域的曝光时间的目标替换比例。例如,曝光时间(a-b)与像素替换比例(0-1)的线性映射,若曝光区域A的曝光时间为a,则该曝光区域A不进行像素替换,保留第四图像的原始的曝光区域A,若曝光区域B的曝光时间为b,则该曝光区域B完全利用增强后的像素点替换该曝光区域的像素点,即利用增强图像中的曝光区域B完全替换第四图像中的曝光区域B。当然,其他替换比例的具体操作类似,均按照相应的目标替换比例进行像素替换,在此不再一一列举。In some possible embodiments, the preset correspondence between exposure information and pixel replacement ratio may be a linear mapping relationship between exposure time and pixel replacement ratio, and the target replacement ratio of exposure time for each exposure area is obtained based on the linear mapping relationship. For example, the linear mapping between the exposure time (a-b) and the pixel replacement ratio (0-1), if the exposure time of the exposure area A is a, then the exposure area A does not perform pixel replacement, and the original exposure area A of the fourth image is retained , if the exposure time of the exposure area B is b, then the exposure area B completely replaces the pixels of the exposure area with the enhanced pixels, that is, the exposure area B in the enhanced image is completely replaced with the exposure area B in the fourth image . Of course, the specific operations of other replacement ratios are similar, and pixel replacement is performed according to the corresponding target replacement ratios, which will not be listed here.
步骤S830:根据替换处理后的各曝光区域确定目标图像。Step S830: Determine the target image according to each exposure area after replacement processing.
将各曝光区域分别进行像素替换处理后,根据全部的替换处理后的曝光区域确定目标图像。由于各曝光区域分别根据曝光时间设置不同的对比度增强程度,使目标图像能够在明晰亮暗区域的同时,亮部区域保留更多图像细节,暗部区域的图像细节稍显模糊,整个目标图像更加富含层次感,符合人眼对当前场景的感知。After pixel replacement processing is performed on each exposure area, the target image is determined according to all the replacement-processed exposure areas. Since different contrast enhancement levels are set for each exposure area according to the exposure time, the target image can retain more image details in the bright area while clearing the bright and dark areas, while the image details in the dark area are slightly blurred, and the entire target image is richer. Contains a sense of layering, which is in line with the perception of the current scene by the human eye.
在一示例性实施例中,通过融合第三图像得到的第四图像虽然图像具有足够清晰程度,但图像明暗层次变化一定程度被掩盖,为进一步在进行对比度增强之前明晰第四图像的明暗层次变化,还可以基于第一图像对应的曝光信息,对第四图像中各曝光区域的亮度进行调整,以改变第四图像的明暗对比程度,在此之后再对第四图像进行对比度增强处理,保留图像细节,使得目标图像从明暗对比程度、图像层次感符合人眼感知。In an exemplary embodiment, although the fourth image obtained by fusing the third image has a sufficient degree of clarity, the changes in the light and dark levels of the image are covered to a certain extent, in order to further clarify the changes in the light and dark levels of the fourth image before performing contrast enhancement , it is also possible to adjust the brightness of each exposure area in the fourth image based on the exposure information corresponding to the first image, so as to change the degree of contrast between light and dark in the fourth image, and then perform contrast enhancement processing on the fourth image to retain the image Details, so that the target image conforms to human perception in terms of light and dark contrast and image layering.
其中,可以根据曝光时间与亮度调整值的对应关系对各曝光区域的亮度进行调整。例如,基于第一图像对应的曝光信息,调整第四图像中不同曝光区域的亮度,使得低曝光时间对应的区域更亮,高曝光时间对应的区域更暗,提高第四图像的明暗对比程度。Wherein, the brightness of each exposure area may be adjusted according to the corresponding relationship between the exposure time and the brightness adjustment value. For example, based on the exposure information corresponding to the first image, the brightness of different exposure areas in the fourth image is adjusted, so that the area corresponding to the low exposure time is brighter, and the area corresponding to the high exposure time is darker, so as to improve the contrast between light and dark in the fourth image.
在一示例性实施例中,为了保证曝光参数(曝光时间、曝光步长等)的实时准确性,还提供一种更新深度信息的实现方式。在获取当前场景的第一图像,并确定第一图像中对应于不同深度信息的多个曝光区域之前,还可以从多张预览图像中确定第一图像以及第一图像的深度信息,并基于拍摄当前场景时的光流变化信息,对第一图像的深度信息进行更新。In an exemplary embodiment, in order to ensure the real-time accuracy of exposure parameters (exposure time, exposure step, etc.), an implementation manner of updating depth information is also provided. Before acquiring the first image of the current scene and determining multiple exposure areas corresponding to different depth information in the first image, the first image and the depth information of the first image can also be determined from multiple preview images, and based on the shooting The optical flow change information of the current scene updates the depth information of the first image.
实际实施时,在图像预览过程中,从多张预览图像中确定第一图像以及生成第一图像的深度信息。其中,可以随机选取第一图像,当然,也可以根据实际需要设置选取第一图像的时间,如在图像预览过程中定期选取第一图像,对此不做特殊限定。During actual implementation, during the image preview process, the first image is determined from multiple preview images and the depth information of the first image is generated. Wherein, the first image may be randomly selected, and of course, the time for selecting the first image may also be set according to actual needs, such as regularly selecting the first image during the image preview process, which is not specifically limited.
其中,由于用户拍摄时的光流信息相比于在先确定的第一图像的光流信息产生变化,且变化信息大于设定阈值,则第一图像的深度信息可能不具备参考价值,为进一步提高深度信息的准确性,若用户拍摄时的光流变化信息大于设定阈值,则重新更新深度信息;相反,若用户拍摄时的光流变化信息小于设定阈值,则采用当前时刻的最近时刻预览图像的深度信息作为第一图像的深度信息。其中,重新更新深度信息可以是重新从预览图像中获取距离当前时刻较近的图像以及对应的深度信息,并更新第一图像及对应的深度信息。Wherein, since the optical flow information when the user shoots is changed compared with the previously determined optical flow information of the first image, and the change information is greater than the set threshold, the depth information of the first image may not have reference value, for further Improve the accuracy of depth information. If the optical flow change information when the user shoots is greater than the set threshold, the depth information will be updated again; on the contrary, if the optical flow change information when the user shoots is less than the set threshold, the most recent moment at the current moment will be used. The depth information of the preview image is used as the depth information of the first image. Wherein, re-updating the depth information may be reacquiring an image closer to the current moment and corresponding depth information from the preview image, and updating the first image and corresponding depth information.
图10示出了根据本公开示例性实施例的一种图像处理的流程示意图。下面结合图10对本公开实施例的图像处理进行说明。Fig. 10 shows a schematic flow chart of image processing according to an exemplary embodiment of the present disclosure. The image processing of the embodiment of the present disclosure will be described below with reference to FIG. 10 .
步骤S1010:开启设备并启动图像预览。Step S1010: Turn on the device and start image preview.
步骤S1020:确定深度信息以及对应于不同深度信息的曝光区域。Step S1020: Determining depth information and exposure regions corresponding to different depth information.
其中,从多张预览图像中确定第一图像以及第一图像的深度信息,并基于拍摄当前场景时的光流变化信息,对第一图像的深度信息进行更新。在确定第一图像的深度信息后,根据深度信息,选取不同深度下符合预设曝光条件的多个曝光区域。Wherein, the first image and the depth information of the first image are determined from the plurality of preview images, and the depth information of the first image is updated based on the optical flow change information when shooting the current scene. After the depth information of the first image is determined, a plurality of exposure regions meeting preset exposure conditions at different depths are selected according to the depth information.
步骤S1030:确定不同深度信息对应的曝光区域的曝光时间。Step S1030: Determine the exposure time of the exposure area corresponding to different depth information.
如,各曝光区域对应的曝光时间为rang[p1曝光开始时间,p1曝光结束时间],[p2曝光开始时间,p2曝光结束时间],…,[pn曝光开始时间,pn曝光结束时间]。For example, the exposure time corresponding to each exposure area is rang[p1 exposure start time, p1 exposure end time], [p2 exposure start time, p2 exposure end time],...,[pn exposure start time, pn exposure end time].
步骤S1040:设置不同曝光时间对应的曝光步长。Step S1040: Setting exposure steps corresponding to different exposure times.
其中,可以根据预设的曝光时间与曝光步长的关系,确定曝光时间对应的曝光步长;或者,根据曝光区域的像素点数量相对于第一图像的总像素点的占比,确定曝光时间对应的曝光步长;或者,基于预设的抖动信息与曝光步长的对应关系,确定第一图像对应的抖动信息对应的曝光步长。Wherein, the exposure step corresponding to the exposure time can be determined according to the preset relationship between the exposure time and the exposure step; or, the exposure time can be determined according to the ratio of the number of pixels in the exposure area to the total pixels of the first image The corresponding exposure step; or, based on the preset correspondence between the shake information and the exposure step, determine the exposure step corresponding to the shake information corresponding to the first image.
步骤S1050:获得各曝光区域对应的第三图像并进行融合。Step S1050: Obtain the third image corresponding to each exposure area and perform fusion.
其中,先对每一曝光区域,在曝光时间内按照曝光步长生成多个第二图像,然后针对每一曝光区域,从多个第二图像中获取第三图像,最后将各曝光区域的第三图像进行融合,得到第四图像。Wherein, for each exposure area, a plurality of second images are generated according to the exposure step length within the exposure time, and then for each exposure area, a third image is obtained from the plurality of second images, and finally the first image of each exposure area is The three images are fused to obtain a fourth image.
步骤S1060:对第四图像中各曝光区域按照对应的曝光信息分别进行对比度增强处理。Step S1060: Perform contrast enhancement processing on each exposure area in the fourth image according to the corresponding exposure information.
对不同深度信息对应的曝光区域,分别按照对应的曝光信息进行对比度增强处理,并将处理后的第四图像输出,得到目标图像。For exposure regions corresponding to different depth information, contrast enhancement processing is performed according to the corresponding exposure information, and the processed fourth image is output to obtain a target image.
需要说明的是,上述步骤S1010至步骤S1060的具体实施细节已在上述方法实施例中记载,在此不再赘述。It should be noted that, the specific implementation details of the above steps S1010 to S1060 have been recorded in the above method embodiments, and will not be repeated here.
由以上可知,本公开实施例的图像处理方法,调整了生成深度信息和设置曝光参数的先后顺序,利用第一图像的深度信息确定对应于不同深度信息的曝光区域,并分别确定曝光区域的曝光参数,即曝光时间和曝光步长,由于各曝光区域的曝光参数并非均匀分布,而是基于深度信息确定,保证不同深度区域图像的曝光效果的同时,可合理调控曝光时间,提高拍摄速度;从各曝光区域对应的多个第二图像中分别确定出第三图像,并将各曝光区域对应的第三图像进行融合得到第四图像,使第四图像的各曝光区域均为高质量曝光,提高曝光效果;基于曝光信息分别对各曝光区域进行局部对比度增强处理,在保留图像细节的同时,还原各曝光区域的对比度信息,使得目标图像更能符合人眼对物体的感知。As can be seen from the above, the image processing method of the embodiment of the present disclosure adjusts the sequence of generating depth information and setting exposure parameters, uses the depth information of the first image to determine the exposure regions corresponding to different depth information, and determines the exposure of the exposure regions respectively. Parameters, that is, exposure time and exposure step length, because the exposure parameters of each exposure area are not evenly distributed, but determined based on depth information, while ensuring the exposure effect of images in different depth areas, the exposure time can be reasonably adjusted to increase the shooting speed; from A third image is respectively determined from a plurality of second images corresponding to each exposure area, and the third images corresponding to each exposure area are fused to obtain a fourth image, so that each exposure area of the fourth image is exposed with high quality, improving Exposure effect: Based on the exposure information, local contrast enhancement processing is performed on each exposure area, and the contrast information of each exposure area is restored while retaining image details, so that the target image is more in line with the perception of objects by the human eye.
需要注意的是,上述附图仅是根据本公开示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。It should be noted that the above-mentioned figures are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not imply or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.
进一步的,参考图11所示,本公开的示例性实施方式中提供一种图像处理装置1100,包括信息确定模块1110、第一处理模块1120、第二处理模块1130和第三处理模块1140。其中:Further, referring to FIG. 11 , an exemplary embodiment of the present disclosure provides an
信息确定模块1110,用于获取当前场景的第一图像,确定第一图像中对应于不同深度信息的多个曝光区域,每一曝光区域对应不同的曝光时间和曝光步长;An
第一处理模块1120,用于对每一曝光区域,在曝光时间内按照曝光步长生成多个第二图像;The
第二处理模块1130,用于从各曝光区域对应的第二图像中分别确定出第三图像,并将各曝光区域对应的第三图像进行融合得到第四图像;The
第三处理模块1140,用于对第四图像中各曝光区域按照对应的曝光信息分别进行对比度增强处理,得到目标图像。The
在一示例性实施例中,信息确定模块1110被配置为:In an exemplary embodiment, the
根据深度信息在第一图像中确定符合预设曝光条件的多个景深不同的区域,作为多个曝光区域;基于预设的深度信息与曝光时间的对应关系,利用每一曝光区域的深度信息确定每一曝光区域的曝光时间;确定每一曝光时间对应的曝光步长。According to the depth information, in the first image, a plurality of regions with different depths of field that meet the preset exposure conditions are determined as a plurality of exposure regions; based on the corresponding relationship between the preset depth information and exposure time, the depth information of each exposure region is used to determine The exposure time of each exposure area; determine the exposure step corresponding to each exposure time.
在一示例性实施例中,信息确定模块1110被配置为:In an exemplary embodiment, the
根据预设的曝光时间与曝光步长的关系,确定曝光时间对应的曝光步长。An exposure step corresponding to the exposure time is determined according to a preset relationship between the exposure time and the exposure step.
在一示例性实施例中,信息确定模块1110被配置为:In an exemplary embodiment, the
获取曝光时间对应的曝光区域的像素点数量;根据像素点数量相对于第一图像的总像素点的占比,确定曝光时间对应的曝光步长。The number of pixels in the exposure area corresponding to the exposure time is obtained; and the exposure step corresponding to the exposure time is determined according to the ratio of the number of pixels to the total pixels of the first image.
在一示例性实施例中,信息确定模块1110被配置为:In an exemplary embodiment, the
获取第一图像对应的抖动信息,并基于预设的抖动信息与曝光步长的对应关系,确定抖动信息对应的曝光步长。The shake information corresponding to the first image is acquired, and based on the preset correspondence between the shake information and the exposure step, the exposure step corresponding to the shake information is determined.
在一示例性实施例中,第二处理模块1120被配置为:In an exemplary embodiment, the
对每一曝光区域,获取曝光区域对应的第二图像的图像纹理信息,根据图像纹理信息从第二图像中确定第三图像;将各曝光区域对应的第三图像进行融合,得到第四图像。For each exposure area, the image texture information of the second image corresponding to the exposure area is obtained, and the third image is determined from the second image according to the image texture information; the third image corresponding to each exposure area is fused to obtain a fourth image.
在一示例性实施例中,第二处理模块1120被配置为:In an exemplary embodiment, the
对各第二图像进行降噪处理;根据降噪处理后的第二图像的对比度信息从第二图像中确定第三图像。performing noise reduction processing on each second image; determining a third image from the second image according to contrast information of the second image after noise reduction processing.
在一示例性实施例中,第三处理模块1130被配置为:In an exemplary embodiment, the
针对第四图像中的每一曝光区域,对曝光区域中的像素点进行对比度增强,得到增强后的像素点;基于曝光区域的曝光信息,利用增强后的像素点对曝光区域中的像素点进行替换处理;根据替换处理后的各曝光区域确定目标图像。For each exposure area in the fourth image, contrast enhancement is performed on the pixels in the exposure area to obtain enhanced pixels; based on the exposure information of the exposure area, the enhanced pixels are used to perform contrast enhancement on the pixels in the exposure area. Replacement processing: determine the target image according to each exposure area after the replacement processing.
在一示例性实施例中,第三处理模块1130被配置为:In an exemplary embodiment, the
根据预设的曝光信息与像素替换比例的对应关系,确定曝光区域的曝光信息对应的目标替换比例,目标替换比例用于指示利用增强后的像素点替换曝光区域中像素点的比例;根据目标替换比例对曝光区域中的像素点进行替换处理。According to the preset corresponding relationship between exposure information and pixel replacement ratio, determine the target replacement ratio corresponding to the exposure information of the exposure area, and the target replacement ratio is used to indicate the ratio of pixels in the exposure area to be replaced by enhanced pixels; according to the target replacement Scale replaces pixels in the exposed area.
在一示例性实施例中,图像处理装置1100还包括:In an exemplary embodiment, the
第四处理模块,被配置为基于第一图像对应的曝光信息,对第四图像中各曝光区域的亮度进行调整,以改变第四图像的明暗对比程度。The fourth processing module is configured to adjust the brightness of each exposure area in the fourth image based on the exposure information corresponding to the first image, so as to change the degree of light and dark contrast of the fourth image.
在一示例性实施例中,图像处理装置1100还包括:In an exemplary embodiment, the
信息更新模块,被配置为从多张预览图像中确定第一图像以及第一图像的深度信息;基于拍摄当前场景时的光流变化信息,对第一图像的深度信息进行更新。The information update module is configured to determine the first image and the depth information of the first image from multiple preview images; and update the depth information of the first image based on the optical flow change information when shooting the current scene.
上述装置中各模块的具体细节在方法部分实施方式中已经详细说明,未披露的细节内容可以参见方法部分的实施方式内容,因而不再赘述。The specific details of each module in the above device have been described in detail in the implementation of the method, and details not disclosed can be found in the implementation of the method, so details are not repeated here.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, method or program product. Therefore, various aspects of the present disclosure can be embodied in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which can be collectively referred to herein as "circuit", "module" or "system".
本公开的示例性实施方式中还提供一种用于上述方法的电子设备,该电子设备可以是上述影像设备或服务器。一般的,该电子设备至少包括处理器和存储器,存储器用于存储处理器的可执行指令,处理器配置为经由执行可执行指令来执行上述方法。An exemplary embodiment of the present disclosure also provides an electronic device used in the above method, and the electronic device may be the above-mentioned imaging device or server. Generally, the electronic device includes at least a processor and a memory, the memory is used to store executable instructions of the processor, and the processor is configured to execute the above method by executing the executable instructions.
下面以图12中的移动终端1200为例,对本公开实施例中的电子设备的构造进行示例性说明。本领域技术人员应当理解,除了特别用于移动目的的部件之外,图12中的构造也能够应用于固定类型的设备。在另一些实施方式中,移动终端1200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件、软件或软件和硬件的组合实现。各部件间的接口连接关系只是示意性示出,并不构成对移动终端1200的结构限定。在另一些实施方式中,移动终端也可以采用与图12不同的接口连接方式,或多种接口连接方式的组合。The following uses the mobile terminal 1200 in FIG. 12 as an example to illustrate the structure of the electronic device in the embodiment of the present disclosure. Those skilled in the art will appreciate that, in addition to components specifically intended for mobile purposes, the configuration in Fig. 12 can also be applied to equipment of a stationary type. In some other implementations, the mobile terminal 1200 may include more or fewer components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be realized in hardware, software, or a combination of software and hardware. The interface connection relationship among the various components is only schematically shown, and does not constitute a structural limitation on the
如图12所示,移动终端1200具体可以包括:处理器1201、存储器1202、总线1203、移动通信模块1204、天线1、无线通信模块1205、天线2、显示屏1206、摄像模块1207、音频模块1208、电源模块1209、传感器模块1210。As shown in Figure 12, the mobile terminal 1200 may specifically include: a
处理器1201可以包括一个或多个处理单元,例如:处理器1201可以包括AP(Application Processor,应用处理器)、调制解调处理器、GPU(Graphics ProcessingUnit,图形处理器)、ISP(Image Signal Processor,图像信号处理器)、控制器、编码器、解码器、DSP(Digital Signal Processor,数字信号处理器)、基带处理器和/或NPU(Neural-Network Processing Unit,神经网络处理器)等。The
编码器可以对图像或视频进行编码(即压缩),以减小数据大小,便于存储或发送。解码器可以对图像或视频的编码数据进行解码(即解压缩),以还原出图像或视频数据。移动终端1200可以支持一种或多种编码器和解码器,例如:JPEG(Joint PhotographicExperts Group,联合图像专家组)、PNG(Portable Network Graphics,便携式网络图形)、BMP(Bitmap,位图)等图像格式,MPEG(Moving Picture Experts Group,动态图像专家组)1、MPEG10、H.1063、H.1064、HEVC(High Efficiency Video Coding,高效率视频编码)等视频格式。An encoder encodes (i.e. compresses) an image or video to reduce the data size for storage or transmission. The decoder can decode (ie decompress) the coded data of the image or video to restore the image or video data. Mobile terminal 1200 can support one or more encoders and decoders, for example: images such as JPEG (Joint Photographic Experts Group, Joint Photographic Experts Group), PNG (Portable Network Graphics, portable network graphics), BMP (Bitmap, bitmap) Format, video formats such as MPEG (Moving Picture Experts Group) 1, MPEG10, H.1063, H.1064, HEVC (High Efficiency Video Coding, high-efficiency video coding).
处理器1201可以通过总线1203与存储器1202或其他部件形成连接。The
存储器1202可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器1201通过运行存储在存储器1202的指令,执行移动终端1200的各种功能应用以及数据处理。存储器1202还可以存储应用数据,例如存储图像,视频等文件。The
移动终端1200的通信功能可以通过移动通信模块1204、天线1、无线通信模块1205、天线2、调制解调处理器以及基带处理器等实现。天线1和天线2用于发射和接收电磁波信号。移动通信模块1204可以提供应用在移动终端1200上3G、4G、5G等移动通信解决方案。无线通信模块1205可以提供应用在移动终端1200上的无线局域网、蓝牙、近场通信等无线通信解决方案。The communication function of the mobile terminal 1200 can be realized by the
显示屏1206用于实现显示功能,如显示用户界面、图像、视频等,以及显示异常提示信息。摄像模块1207用于实现拍摄功能,如拍摄图像、视频等,以采集场景图像。音频模块1208用于实现音频功能,如播放音频,采集语音等。电源模块1209用于实现电源管理功能,如为电池充电、为设备供电、监测电池状态等。传感器模块1210可以包括一种或多种传感器,用于实现相应的感应检测功能。The
此外,本公开的示例性实施方式还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。In addition, the exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above-mentioned method in this specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product runs on the terminal device, the program code is used to make the terminal device execute the above-mentioned Steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section.
需要说明的是,本公开所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
此外,可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Additionally, program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming language - such as "C" or a similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider). business to connect via the Internet).
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施例。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with the true scope and spirit of the disclosure indicated by the appended claims.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211485144.1A CN115719316A (en) | 2022-11-24 | 2022-11-24 | Image processing method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211485144.1A CN115719316A (en) | 2022-11-24 | 2022-11-24 | Image processing method and device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115719316A true CN115719316A (en) | 2023-02-28 |
Family
ID=85256352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211485144.1A Pending CN115719316A (en) | 2022-11-24 | 2022-11-24 | Image processing method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115719316A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116309191A (en) * | 2023-05-18 | 2023-06-23 | 山东恒昇源智能科技有限公司 | Intelligent gas inspection display method based on image enhancement |
-
2022
- 2022-11-24 CN CN202211485144.1A patent/CN115719316A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116309191A (en) * | 2023-05-18 | 2023-06-23 | 山东恒昇源智能科技有限公司 | Intelligent gas inspection display method based on image enhancement |
CN116309191B (en) * | 2023-05-18 | 2023-07-28 | 山东恒昇源智能科技有限公司 | Intelligent gas inspection display method based on image enhancement |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111885294B (en) | Shooting method, device and equipment | |
JP6081726B2 (en) | HDR video generation apparatus and method with ghost blur removed on multiple exposure fusion base | |
CN110198417A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN111445392B (en) | Image processing method and device, computer readable storage medium and electronic equipment | |
CN111696039B (en) | Image processing method and device, storage medium and electronic equipment | |
CN113810596B (en) | Time-delay shooting method and device | |
CN110889809B (en) | Image processing method and device, electronic equipment and storage medium | |
CN115471435A (en) | Image fusion method and device, computer readable medium and electronic equipment | |
CN115767262B (en) | Photographing method and electronic equipment | |
CN115719316A (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN115330633A (en) | Image tone mapping method and device, electronic equipment and storage medium | |
CN113409209B (en) | Image deblurring method, device, electronic equipment and storage medium | |
CN113038010A (en) | Video processing method, video processing device, storage medium and electronic equipment | |
CN115278189B (en) | Image tone mapping method and device, computer readable medium and electronic device | |
CN115861121A (en) | Model training method, image processing method, device, electronic device and medium | |
CN113658070B (en) | Image processing method, image processing device, storage medium and electronic device | |
CN116668773B (en) | Method for enhancing video image quality and electronic equipment | |
CN116033274B (en) | 3D-noise-reduction-compatible image width dynamic method | |
CN115278191B (en) | Image white balance method and device, computer readable medium and electronic equipment | |
WO2024164736A1 (en) | Video processing method and apparatus, and computer-readable medium and electronic device | |
CN115409737A (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN118552560A (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN118197192A (en) | Image display method and device, computer readable medium and electronic equipment | |
CN118200739A (en) | Image information processing method, device, storage medium and electronic equipment | |
WO2024129062A1 (en) | Method and apparatus for unified multi-stage artificial intelligence-based image signal processing pipeline |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20241014 Address after: 6th Floor, No.1 Chongqing Road, Banqiao District, Xinbei City, Taiwan, China, China Applicant after: Weiguang Co.,Ltd. Country or region after: Samoa Address before: Room 01, 8th floor, No.1 Lane 61, shengxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 200120 Applicant before: Zheku Technology (Shanghai) Co.,Ltd. Country or region before: China |
|
TA01 | Transfer of patent application right |