CN112822425B - Method and equipment for generating high dynamic range image - Google Patents

Method and equipment for generating high dynamic range image Download PDF

Info

Publication number
CN112822425B
CN112822425B CN202011623261.0A CN202011623261A CN112822425B CN 112822425 B CN112822425 B CN 112822425B CN 202011623261 A CN202011623261 A CN 202011623261A CN 112822425 B CN112822425 B CN 112822425B
Authority
CN
China
Prior art keywords
category
image information
vector
target
exposure
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.)
Active
Application number
CN202011623261.0A
Other languages
Chinese (zh)
Other versions
CN112822425A (en
Inventor
陈文涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zongzhang Technology Group Co ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN202011623261.0A priority Critical patent/CN112822425B/en
Publication of CN112822425A publication Critical patent/CN112822425A/en
Application granted granted Critical
Publication of CN112822425B publication Critical patent/CN112822425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • H04N25/57Control of the dynamic range
    • H04N25/58Control of the dynamic range involving two or more exposures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)

Abstract

本申请的目的是提供一种用于生成高动态范围图像的方法与设备,该方法包括:获取待处理的图像信息;根据至少一个第一对象类别生成图像信息的第一目标向量;将第一目标向量输入目标向量回归模型,以输出图像信息的第二目标向量,其中,目标向量回归模型为图像信息所属的目标风格类型所对应的向量回归模型;根据每个第一对象类别在图像信息中所对应的第一对象区域的目标曝光度生成图像信息的高动态范围图像。本申请基于所述图像信息的图像特点(例如,风格类型、所述图像信息中出现的第一对象、第一对象类别)合成图像信息的高动态范围图像,使得合成的高动态范围图像符合对应的目标风格类型的像素特点,效果更加真实。

Figure 202011623261

The purpose of this application is to provide a method and device for generating a high dynamic range image, the method comprising: acquiring image information to be processed; generating a first object vector of the image information according to at least one first object category; The target vector is input into the target vector regression model to output the second target vector of the image information, wherein the target vector regression model is a vector regression model corresponding to the target style type to which the image information belongs; according to each first object category in the image information The corresponding target exposure of the first object area generates a high dynamic range image of the image information. This application synthesizes the high dynamic range image of the image information based on the image characteristics of the image information (for example, style type, the first object appearing in the image information, the first object category), so that the synthesized high dynamic range image conforms to the corresponding The pixel characteristics of the target style type, the effect is more realistic.

Figure 202011623261

Description

一种用于生成高动态范围图像的方法与设备A method and device for generating high dynamic range images

技术领域technical field

本申请涉及图像处理领域,尤其涉及一种用于生成高动态范围图像的技术。The present application relates to the field of image processing, and in particular to a technique for generating high dynamic range images.

背景技术Background technique

高动态范围成像(High Dynamic Range Imaging),是用来实现比普通数字图像技术更大曝光动态范围(即更大的明暗差别)的一种技术。能使明处的景物不致过曝,而使得暗处的景物不致欠曝。譬如逆光环境下拍人物,可以将人物和环境都能拍清晰。使得整张照片不至于太暗或太亮。High dynamic range imaging (High Dynamic Range Imaging) is a technology used to achieve a larger exposure dynamic range (that is, a larger difference between light and dark) than ordinary digital image technology. It can prevent the scene in the bright place from being overexposed and the scene in the dark place from being underexposed. For example, if you shoot people in a backlit environment, you can capture both the characters and the environment clearly. Make the whole photo not too dark or too bright.

发明内容Contents of the invention

本申请的一个目的是提供一种用于生成高动态范围图像的方法与设备。An object of the present application is to provide a method and apparatus for generating high dynamic range images.

根据本申请的一个方面,提供了一种用于生成高动态范围图像的方法,该方法包括:According to one aspect of the present application, a method for generating a high dynamic range image is provided, the method comprising:

获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别;acquiring image information to be processed, wherein the image information includes one or more first objects, and the one or more first objects belong to at least one first object category;

根据所述至少一个第一对象类别生成所述图像信息的第一目标向量;generating a first object vector of the image information based on the at least one first object category;

将所述第一目标向量输入目标向量回归模型,以输出所述图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型,所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度;inputting the first target vector into a target vector regression model to output a second target vector of the image information, wherein the target vector regression model is a vector regression model corresponding to the target style type to which the image information belongs, The second target vector includes the target exposure of the first object region corresponding to each first object category in the at least one first object category in the image information;

根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像。A high dynamic range image of the image information is generated according to the target exposure of the first object region corresponding to each first object category in the image information.

根据本申请的一个方面,提供了一种用于生成高动态范围图像的设备,该设备包括:According to one aspect of the present application, there is provided a device for generating a high dynamic range image, the device comprising:

一一模块,用于获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别;A module, configured to acquire image information to be processed, wherein the image information includes one or more first objects, and the one or more first objects belong to at least one first object category;

一二模块,用于根据所述至少一个第一对象类别生成所述图像信息的第一目标向量;A two-module, configured to generate a first target vector of the image information according to the at least one first object category;

一三模块,用于将所述第一目标向量输入目标向量回归模型,以输出所述图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型,所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度;A three-module, configured to input the first target vector into a target vector regression model to output a second target vector of the image information, wherein the target vector regression model is defined by the target style type to which the image information belongs A corresponding vector regression model, wherein the second target vector includes the target exposure of the first object region corresponding to each first object category in the image information in the at least one first object category;

一四模块,用于根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像。A module, configured to generate a high dynamic range image of the image information according to the target exposure of the first object region corresponding to each first object category in the image information.

根据本申请的一个方面,提供了一种用于生成高动态范围图像的设备,其中,该设备包括:According to one aspect of the present application, there is provided a device for generating a high dynamic range image, wherein the device includes:

处理器;以及processor; and

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如上所述任一方法的操作。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform the operations of any of the methods described above.

根据本申请的一个方面,提供了一种存储指令的计算机可读介质,所述指令在被执行时使得系统进行如上所述任一方法的操作。According to one aspect of the present application, there is provided a computer-readable medium storing instructions which, when executed, cause a system to perform operations of any one of the methods described above.

根据本申请的一个方面,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如上所述任一方法的步骤。According to one aspect of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned methods are realized.

与现有技术相比,本申请根据出现在图像信息中的一个或多个第一对象所属于的至少一个第一对象类别,生成该图像信息的第一目标向量,通过将所述第一目标向量输入目标向量回归模型,得到该图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型。以基于输出的所述第二目标向量得到所述图像信息中每个第一对象类别在该图像信息中所对应的第一对象区域的目标曝光度,并且,所述目标曝光度是该第一对象区域在该图像信息所述的目标风格类型的前提下得到的。从而基于每个第一对象区域的目标曝光度合成所述图像信息的高动态范围图像。本申请基于所述图像信息的图像特点(例如,风格类型、所述图像信息中出现的第一对象、第一对象类别)得到每个第一对象区域的目标曝光度,基于每个第一对象区域本身所对应的目标曝光度合成图像信息的高动态范围图像,使得合成的高动态范围图像符合对应的目标风格类型的像素特点,效果更加真实。Compared with the prior art, the present application generates a first target vector of the image information according to at least one first object category to which one or more first objects appearing in the image information belong, by adding the first target The vector is input into a target vector regression model to obtain a second target vector of the image information, wherein the target vector regression model is a vector regression model corresponding to the target style type to which the image information belongs. Obtain the target exposure of the first object region corresponding to each first object category in the image information based on the output-based second target vector, and the target exposure is the first The object area is obtained on the premise of the target style type described in the image information. Thus, a high dynamic range image of the image information is synthesized based on the target exposure of each first object area. The present application obtains the target exposure of each first object area based on the image characteristics of the image information (for example, style type, first object appearing in the image information, first object category), and based on each first object The high dynamic range image of the image information is synthesized with the target exposure corresponding to the area itself, so that the synthesized high dynamic range image conforms to the pixel characteristics of the corresponding target style type, and the effect is more realistic.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1示出根据本申请一个实施例的一种用于生成高动态范围图像的方法流程图;Fig. 1 shows a flow chart of a method for generating a high dynamic range image according to an embodiment of the present application;

图2示出根据本申请一个实施例的一种用于生成高动态范围图像的设备结构图;FIG. 2 shows a structural diagram of a device for generating a high dynamic range image according to an embodiment of the present application;

图3示出可被用于实施本申请中所述的各个实施例的示例性系统。FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described in this application.

附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings represent the same or similar components.

具体实施方式detailed description

下面结合附图对本申请作进一步详细描述。The application will be described in further detail below in conjunction with the accompanying drawings.

在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(例如,中央处理器(Central Processing Unit,CPU))、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party all include one or more processors (for example, a central processing unit (Central Processing Unit, CPU)), an input/output interface, a network interface and Memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RandomAccess Memory,RAM)和/或非易失性内存等形式,如只读存储器(Read Only Memory,ROM)或闪存(Flash Memory)。内存是计算机可读介质的示例。Memory may include non-permanent memory in computer-readable media, random access memory (Random Access Memory, RAM) and/or non-volatile memory, such as read-only memory (Read Only Memory, ROM) or flash memory (Flash Memory). Memory is an example of computer readable media.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-Change Memory,PCM)、可编程随机存取存储器(Programmable Random Access Memory,PRAM)、静态随机存取存储器(Static Random-Access Memory,SRAM)、动态随机存取存储器(Dynamic Random AccessMemory,DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(Digital Versatile Disc,DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. The example of the storage medium of computer includes, but not limited to Phase-Change Memory (Phase-Change Memory, PCM), Programmable Random Access Memory (Programmable Random Access Memory, PRAM), Static Random-Access Memory (Static Random-Access Memory, SRAM), Dynamic Random Access Memory (Dynamic Random Access Memory, DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (Electrically-Erasable Programmable Read- Only Memory, EEPROM), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory, CD-ROM), Digital Versatile Disc (Digital Versatile Disc, DVD) or other optical storage, Magnetic tape cartridge, tape disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

本申请所指设备包括但不限于终端、网络设备、或终端与网络设备通过网络相集成所构成的设备。所述终端包括但不限于任何一种可与用户进行人机交互(例如通过触摸板进行人机交互)的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如Android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Field ProgrammableGate Array,FPGA)、数字信号处理器(Digital Signal Processor,DSP)、嵌入式设备等。所述网络设备包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,所述设备还可以是运行于所述终端、网络设备、或终端与网络设备、网络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的设备上的程序。The devices referred to in this application include but are not limited to terminals, network devices, or devices formed by integrating terminals and network devices through a network. The terminal includes but is not limited to any mobile electronic product that can perform human-computer interaction (such as human-computer interaction through a touch panel) with the user, such as a smart phone, a tablet computer, etc., and the mobile electronic product can use any operating system , such as Android operating system, iOS operating system, etc. Wherein, the network device includes an electronic device that can automatically perform numerical calculation and information processing according to preset or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) ), Programmable Logic Device (PLD), Field Programmable Gate Array (Field ProgrammableGate Array, FPGA), Digital Signal Processor (Digital Signal Processor, DSP), embedded devices, etc. The network equipment includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud composed of multiple servers; here, the cloud is composed of a large number of computers or network servers based on Cloud Computing, Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network) and the like. Preferably, the device may also be a program running on the terminal, network device, or a device formed by integrating a terminal and a network device, a network device, a touch terminal, or a network device and a touch terminal through a network.

当然,本领域技术人员应能理解上述设备仅为举例,其他现有的或今后可能出现的设备如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Of course, those skilled in the art should understand that the above-mentioned equipment is only an example, and other existing or future equipment that may be applicable to this application should also be included in the scope of protection of this application, and it is included in this application by reference. this.

在本申请的描述中,“多个”的含义是两个或者更多,除非另有明确具体的限定。In the description of the present application, "plurality" means two or more, unless otherwise specifically defined.

在此,本申请所述的一种用于生成高动态范围图像的方法的执行主体包括但不限于网络设备、包括摄像装置的用户设备。优选为所述用户设备,以下从所述用户设备的角度对本申请所述的方法进行解释说明。为方便说明,以下统称为“设备”或者“一种用于生成高动态范围图像的设备”。Here, the subject of execution of the method for generating a high dynamic range image described in this application includes, but is not limited to, network equipment and user equipment including a camera device. It is preferably the user equipment, and the method described in this application is explained below from the perspective of the user equipment. For the convenience of description, the following are collectively referred to as "device" or "a device for generating high dynamic range images".

在一些实施例中,所述用户设备包括但不限于手机、电脑、平板电脑等计算设备。例如,当执行主体为所述用户设备时,所述用户设备通过摄像装置获取所述待处理的图像信息,并基于本申请所述的方法生成该图像信息的高动态范围图像。再例如,当执行主体为所述网络设备时,由所述用户设备获取图像信息,并将所述图像信息等信息发送给所述网络设备,由所述网络设备基于本申请所述的方法生成该图像信息的高动态范围图像。In some embodiments, the user equipment includes, but is not limited to, computing equipment such as mobile phones, computers, and tablet computers. For example, when the execution subject is the user equipment, the user equipment obtains the image information to be processed through a camera device, and generates a high dynamic range image of the image information based on the method described in this application. For another example, when the executor is the network device, the user equipment acquires image information, and sends information such as the image information to the network device, and the network device generates the image information based on the method described in this application A high dynamic range image of the image information.

图1示出了根据本申请一个方面的一种用于生成高动态范围图像的方法流程图,该方法包括步骤S11、步骤S12、步骤S13以及步骤S14。在步骤S11中,设备获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别;在步骤S12中,设备根据所述至少一个第一对象类别生成所述图像信息的第一目标向量;在步骤S13中,设备将所述第一目标向量输入目标向量回归模型,以输出所述图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型,所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度;在步骤S14中,设备根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像。Fig. 1 shows a flowchart of a method for generating a high dynamic range image according to one aspect of the present application, and the method includes step S11, step S12, step S13 and step S14. In step S11, the device acquires image information to be processed, wherein the image information includes one or more first objects, and the one or more first objects belong to at least one first object category; in step S12, The device generates a first target vector of the image information according to the at least one first object category; in step S13, the device inputs the first target vector into a target vector regression model to output a second target vector of the image information vector, wherein the target vector regression model is a vector regression model corresponding to the target style type to which the image information belongs, and the second target vector includes each first object category in the at least one first object category The target exposure of the first object area corresponding to the image information; in step S14, the device generates the target exposure of the first object area corresponding to each first object category in the image information. A high dynamic range image of the image information described above.

具体而言,在步骤S11中,设备获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别。在一些实施例中,所述图像信息包括但不限于用户设备的取景器获取到的图像信息。例如,用户设备(例如手机)通过取景器进行取景时,即可采集到所述图像信息,以便所述设备对所述图像信息进行分析处理。在一些实施例中,所述第一对象包括但不限于出现在所述图像信息中的物品(例如,杯子、书本、电脑、天空等)。在一些实施例中,对所述图像信息中出现的第一对象进行归类,以确定所述一个或多个第一对象所对应的至少一个第一对象类别。例如,图像信息A中出现有第一对象:小猫、书本、电脑、天空,其中,小猫属于动物,书本、电脑属于办公用品,天空属于其他类别,则该图像信息A中的一个或多个第一对象属于动物、办公用品、其他类这三个第一对象类别。Specifically, in step S11, the device acquires image information to be processed, wherein the image information includes one or more first objects, and the one or more first objects belong to at least one first object category. In some embodiments, the image information includes, but is not limited to, image information acquired by a viewfinder of the user equipment. For example, when a user device (such as a mobile phone) takes a view through a viewfinder, the image information can be collected, so that the device can analyze and process the image information. In some embodiments, the first object includes, but is not limited to, items appearing in the image information (eg, cups, books, computers, sky, etc.). In some embodiments, first objects appearing in the image information are classified to determine at least one first object category corresponding to the one or more first objects. For example, there are first objects in the image information A: kitten, book, computer, and sky, wherein, the kitten belongs to animals, books and computers belong to office supplies, and the sky belongs to other categories, then one or more objects in the image information A A first object belongs to the three first object categories of animals, office supplies, and others.

在步骤S12中,设备根据所述至少一个第一对象类别生成所述图像信息的第一目标向量。在一些实施例中,所述第一目标向量是基于所述至少一个第一对象类别生成的。在一些实施例中,所述第一目标向量包括多个第一分量,例如,所述第一目标向量为[0,1,0,1,0,0,1],其中,所述第一目标向量中的“0”“1”等数据作为所述第一目标向量的第一分量。例如,图像信息A包括第一对象:小猫、办公桌、电脑、天空,对所述小猫、办公桌、电脑、天空归类后,可以得到该图像信息A中的第一对象所属于至少一个第一对象类别(例如,动物、办公用品、其他类)。所述设备基于“动物、办公用品、其他类”这三个第一对象类别生成对应的第一目标向量(例如,[0,1,0,1,0,0,1]),以将所述图像信息A向量化。In step S12, the device generates a first target vector of the image information according to the at least one first object category. In some embodiments, the first target vector is generated based on the at least one first object category. In some embodiments, the first target vector includes a plurality of first components, for example, the first target vector is [0,1,0,1,0,0,1], wherein the first Data such as "0" and "1" in the target vector are used as the first component of the first target vector. For example, the image information A includes the first object: a kitten, a desk, a computer, and the sky. After classifying the kitten, desk, computer, and sky, it can be obtained that the first object in the image information A belongs to at least A first object class (eg, animals, office supplies, other classes). The device generates corresponding first object vectors (for example, [0,1,0,1,0,0,1]) based on the three first object categories of "animals, office supplies, and others", so that all The above image information A is vectorized.

在步骤S13中,设备将所述第一目标向量输入目标向量回归模型,以输出所述图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型,所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度。在一些实施例中,所述设备中包括多个风格类型以及每个风格类型所对应的向量回归模型(例如,每个风格类型与其对应的向量回归模型存在映射关系)。例如,所述设备根据所述图像信息所属的目标风格类型,将该图像信息的第一目标向量输入该目标风格类型所对应的目标向量回归模型,以输出该图像信息的第二目标向量。在一些实施例中,所述风格类型包括但不限于生活风格、风景风格、运动风格、脸部特写风格、宠物特写风格等风格类型。在一些实施例中,可以根据所述图像信息中的至少一个第一对象类别确定该图像信息所属的目标风格类型,例如,设备中预设多个风格类型中每个风格类型包括的对象类别,根据所述图像信息中的至少一个第一对象类别确定该图像信息所属的目标风格类型(例如,所述至少一个第一对象类别中超过半数的第一对象类别包含于某风格类型中所包括的对象类别中时,确定该图像信息属于该风格类型)。在另一些实施例中,基于风格分类模型得到该图像信息所属的目标风格类型,关于本实施例的具体介绍请参见下面的实施例,在此不做赘述。在一些实施例中,所述目标向量回归模型用于基于输入的第一目标向量输出对应的第二目标向量。在一些实施例中,所述第二目标向量包括多个第二分量,例如,所述第二目标向量为[0,100,0,80,0,0,90],所述第二向量中的“80”“100”“90”“0”等数据作为所述第二目标向量的第二分量。在一些实施例中,通过所述向量回归模型输出的所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度。例如,图像信息A中的第一对象所属于至少一个第一对象类别包括:动物、办公用品、其他类,得到的第二目标向量为[0,100,0,80,0,0,90],将所述第二目标向量中的第二分量“100”作为第一对象类别“动物”对应的第一对象区域的目标曝光度,将第二分量“80”作为第一对象类别“办公用品”对应的第一对象区域的目标曝光度,将第二分量“90”作为第一对象类别“其他类别”对应的第一对象区域的目标曝光度。在一些实施例中,所述设备基于所述第二目标向量中各第二分量的排列顺序确定每个第二分量所对应的第一对象类别,从而确定每个第一对象类别在所述图像信息中对应的第一对象区域的目标曝光度,具体说明请参见下面的实施例,在此不做赘述。在一些实施例中,所述第一对象类别在所述图像信息中对应的第一对象区域包括属于该第一对象类别的一个或多个第一对象所在的区域之和,例如,在图像信息A中,第一对象类别办公用品包括办公桌、电脑,则所述第一对象类别“办公用品”在所述图像信息A中对应的第一对象区域包括办公桌、电脑所对应的区域之和。在一些实施例中,设备基于YOLO算法将图像信息划分为一个或多个区域,并检测每个区域对应的第一对象,以便对所述第一对象进行归类,并确定每个第一对象类别所对应的第一对象区域(例如,将属于同一第一对象类别的第一对象所在的区域归为该第一对象类别所对应的第一对象区域)。在一些实施例中,也可以基于图像分割技术将所述图像信息分割为一个或多个区域,然后识别每个区域对应的第一对象(例如,基于图像识别技术进行识别),以便对所述第一对象进行归类,并确定每个第一对象类别所对应的第一对象区域。当然,本领域技术人员可以理解,上述识别、分割所述图像信息的具体操作仅为举例,其他现有的或今后可能出现的具体操作如能适用于本申请,也在本申请的保护范围内,并以引用的方式包含于此。在一些实施例中,对象区域的曝光度是基于该对象区域内的像素信息计算得到的。例如,将对象区域灰度化之后,计算该对象区域内所有像素信息的平均值,以得到该对象区域的曝光度。在一些实施例中,所述第一对象区域的曝光度为其对应的目标曝光度时曝光效果最好。In step S13, the device inputs the first target vector into the target vector regression model to output the second target vector of the image information, wherein the target vector regression model is defined by the target style type to which the image information belongs In a corresponding vector regression model, the second target vector includes the target exposure of the first object region corresponding to each first object category in the at least one first object category in the image information. In some embodiments, the device includes multiple style types and a vector regression model corresponding to each style type (for example, each style type has a mapping relationship with its corresponding vector regression model). For example, according to the target style type to which the image information belongs, the device inputs the first target vector of the image information into the target vector regression model corresponding to the target style type, so as to output the second target vector of the image information. In some embodiments, the style types include but are not limited to life style, landscape style, sports style, face close-up style, pet close-up style and other style types. In some embodiments, the target style type to which the image information belongs may be determined according to at least one first object category in the image information, for example, the object category included in each style type among multiple style types preset in the device, According to at least one first object category in the image information, determine the target style type to which the image information belongs (for example, more than half of the first object categories in the at least one first object category are included in a certain style type When it is in the object category, it is determined that the image information belongs to the style type). In some other embodiments, the target style type to which the image information belongs is obtained based on the style classification model. For the specific introduction of this embodiment, please refer to the following embodiments, and details are not repeated here. In some embodiments, the target vector regression model is used to output a corresponding second target vector based on the input first target vector. In some embodiments, the second target vector includes a plurality of second components, for example, the second target vector is [0, 100, 0, 80, 0, 0, 90], and the " 80", "100", "90", "0" and other data are used as the second component of the second target vector. In some embodiments, the second target vector output by the vector regression model includes the first object region corresponding to each first object category in the at least one first object category in the image information target exposure. For example, the first object in the image information A belongs to at least one first object category including: animals, office supplies, and other categories, and the obtained second target vector is [0, 100, 0, 80, 0, 0, 90]. The second component "100" in the second target vector is used as the target exposure of the first object area corresponding to the first object category "animal", and the second component "80" is corresponding to the first object category "office supplies". The target exposure of the first object area, the second component "90" is used as the target exposure of the first object area corresponding to the first object category "other categories". In some embodiments, the device determines the first object category corresponding to each second component based on the arrangement order of each second component in the second target vector, thereby determining that each first object category is in the image For the target exposure of the first object area corresponding to the information, please refer to the following embodiments for specific description, and details are not repeated here. In some embodiments, the first object area corresponding to the first object category in the image information includes the sum of the areas where one or more first objects belonging to the first object category are located, for example, in the image information In A, the first object category of office supplies includes desks and computers, and the first object area corresponding to the first object category "office supplies" in the image information A includes the sum of the areas corresponding to desks and computers . In some embodiments, the device divides the image information into one or more regions based on the YOLO algorithm, and detects the first object corresponding to each region, so as to classify the first objects, and determine each first object The first object area corresponding to the category (for example, the area where the first object belonging to the same first object category is classified as the first object area corresponding to the first object category). In some embodiments, the image information can also be divided into one or more regions based on image segmentation technology, and then the first object corresponding to each region can be identified (for example, based on image recognition technology), so that the The first objects are classified, and the first object area corresponding to each first object category is determined. Of course, those skilled in the art can understand that the above-mentioned specific operations of identifying and segmenting the image information are only examples, and other existing or future specific operations that can be applied to this application are also within the scope of protection of this application , and is incorporated herein by reference. In some embodiments, the exposure of the object area is calculated based on pixel information in the object area. For example, after the object area is grayscaled, the average value of all pixel information in the object area is calculated to obtain the exposure of the object area. In some embodiments, the exposure effect of the first object area is the best when the exposure of the first object area is the corresponding target exposure.

在步骤S14中,设备根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像。例如,在得到每个第一对象区域的目标曝光度之后,基于目标曝光度合成所述图像信息的高动态范围图像,充分考虑了所述图像信息的风格类型、自身图像特点,使得最终得到的高动态范围图像更加真实,效果更好。In step S14, the device generates a high dynamic range image of the image information according to the target exposure of the first object area corresponding to each first object category in the image information. For example, after the target exposure of each first object area is obtained, the high dynamic range image of the image information is synthesized based on the target exposure, fully considering the style type of the image information and its own image characteristics, so that the finally obtained High dynamic range images are more realistic and look better.

在一些实施例中,在根据所述图像信息中的至少一个第一对象类别生成该图像信息的第一目标向量之前,通过判断所述图像信息所属的目标风格类型确定拍摄用户的意图。例如,该拍摄用户想拍摄风景风格类型、亲子装风格类型或者运动装风格类型的照片,然后根据所述图像信息所属的目标风格类型获取该目标风格类型对应的目标向量回归模型,使得最终合成的高动态范围图像的效果与该图像信息所属的目标风格类型相匹配,增加高动态范围图像的真实性、图像效果。在一些实施例中,所述方法还包括步骤S15(未示出)。在步骤S15中,将所述图像信息的特征信息输入风格分类模型,以根据输出结果确定所述图像信息所属的目标风格类型;获取所述目标风格类型所对应的目标向量回归模型。在一些实施例中,通过将所述图像信息的特征信息输入所述风格分类模型中,得到该图像信息所属的目标风格类型。本实施例具体介绍了基于风格类型模型得到所述图像信息所属的目标风格类型的过程。例如,所述风格分类模型是基于VGGNet、resNet等训练而成的模型。通过将所述图像信息输入所述风格分类模型中,输出该图像信息所属的目标风格类型。在一些实施例中,对于每个风格类型单独训练有一个向量回归模型,例如,设备中包括多条映射关系,每条映射关系用于关联风格类型与该风格类型所对应的目标向量回归模型,以便基于所述图像信息所属的目标风格类型查询获取该目标风格类型对应的目标向量回归模型。In some embodiments, before the first target vector of the image information is generated according to at least one first object category in the image information, the user's intention to shoot is determined by judging the target style type to which the image information belongs. For example, the shooting user wants to take photos of landscape style, parent-child outfit style, or sportswear style, and then obtain the target vector regression model corresponding to the target style type according to the target style type to which the image information belongs, so that the final synthesized The effect of the high dynamic range image matches the target style type to which the image information belongs, increasing the authenticity and image effect of the high dynamic range image. In some embodiments, the method further includes step S15 (not shown). In step S15, the characteristic information of the image information is input into the style classification model, so as to determine the target style type of the image information according to the output result; and the target vector regression model corresponding to the target style type is obtained. In some embodiments, the target style type to which the image information belongs is obtained by inputting the feature information of the image information into the style classification model. This embodiment specifically introduces the process of obtaining the target style type to which the image information belongs based on the style type model. For example, the style classification model is a model trained based on VGGNet, resNet and the like. By inputting the image information into the style classification model, the target style type to which the image information belongs is output. In some embodiments, a vector regression model is trained separately for each style type, for example, the device includes multiple mapping relationships, and each mapping relationship is used to associate the style type with the target vector regression model corresponding to the style type, In order to query and obtain the target vector regression model corresponding to the target style type based on the target style type to which the image information belongs.

在一些实施例中,所述方法还包括步骤S16(未示出),在步骤S16中,基于多张图片以及每张图片的风格类型标签构建所述风格分类模型。例如,基于大量图片以及每张图片的风格类型标签训练所述风格分类模型,以便在向所述风格分类模型中输入图像信息时,可以根据输出结果确定所述图像信息所属的目标风格类型。In some embodiments, the method further includes step S16 (not shown). In step S16, the style classification model is constructed based on a plurality of pictures and a style type label of each picture. For example, the style classification model is trained based on a large number of pictures and the style type labels of each picture, so that when image information is input into the style classification model, the target style type to which the image information belongs can be determined according to the output result.

在一些实施例中,所述步骤S11包括:设备获取待处理的图像信息;确定出现在所述图像信息中的一个或多个第一对象;根据所述一个或多个第一对象中每个第一对象所属的第一对象类别确定所述一个或多个第一对象属于的至少一个第一对象类别。在一些实施例中,用户设备响应于用户的取景操作获取所述图像信息。在一些实施例中,设备基于图像识别技术识别所述图像信息中出现的第一对象。在一些实施例中,所述设备也可以基于YOLO算法检测所述图像信息中出现的第一对象。在一些实施例中,所述设备确定每个第一对象所属的的第一对象类别,以确定所述至少一个第一对象类别。例如,图像信息A包括第一对象:小猫、办公桌、电脑、天空,其中,第一对象小猫属于动物,第一对象办公桌属于办公用品,第一对象电脑属于办公用品,第一对象天空属于其他类别,则确定所述图像信息中的第一对象属于“动物、办公用品、其他类别”这三个第一对象类别。在一些实施例中,所述设备中建立有多个对象类别中每个对象类别与其对应的对象之间的映射关系,以便基于确定出的对象确定该对象所属的对象类别。在一些实施例中,对于识别失败的第一对象归为其他类别。In some embodiments, the step S11 includes: the device acquires image information to be processed; determines one or more first objects appearing in the image information; according to each of the one or more first objects The first object category to which the first object belongs determines at least one first object category to which the one or more first objects belong. In some embodiments, the user equipment acquires the image information in response to a user's viewfinding operation. In some embodiments, the device identifies the first object appearing in the image information based on an image recognition technology. In some embodiments, the device may also detect the first object appearing in the image information based on the YOLO algorithm. In some embodiments, the device determines a first object class to which each first object belongs to determine the at least one first object class. For example, the image information A includes the first objects: kitten, desk, computer, sky, wherein, the first object kitten belongs to animals, the first object desk belongs to office supplies, the first object computer belongs to office supplies, and the first object If the sky belongs to other categories, it is determined that the first object in the image information belongs to the three first object categories of "animal, office supplies, and other categories". In some embodiments, a mapping relationship between each of the multiple object categories and its corresponding object is established in the device, so as to determine the object category to which the object belongs based on the determined object. In some embodiments, the first object that fails to be recognized is classified into other categories.

在一些实施例中,所述步骤S12包括:设备根据所述至少一个第一对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成所述图像信息的第一目标向量,其中,所述第一初始向量对应于所述类别集合。在一些实施例中,所述第一目标向量包括多个第一分量,设备通过对第一初始向量进行赋值以生成所述图像信息的第一目标向量。在一些实施例中,设备基于确定出的、所述图像信息中的第一对象类别以及类别集合确定所述第一初始向量中对应的第一分量的赋值,以生成所述图像信息的第一目标向量。例如,将重新赋值后的所述第一初始向量作为所述图像信息的第一目标向量。在一些实施例中,所述第一初始向量对应于所述类别集合,以便基于所述类别集合对所述第一初始向量进行赋值。In some embodiments, the step S12 includes: the device determines the assignment of each first component in the first initial vector according to the at least one first object category and the category set, so as to generate the first target vector of the image information, Wherein, the first initial vector corresponds to the category set. In some embodiments, the first target vector includes multiple first components, and the device generates the first target vector of the image information by assigning a value to the first initial vector. In some embodiments, the device determines the assignment of the corresponding first component in the first initial vector based on the determined first object category and category set in the image information, so as to generate the first object category of the image information. target vector. For example, the reassigned first initial vector is used as the first target vector of the image information. In some embodiments, the first initial vector corresponds to the class set, so that the first initial vector is assigned a value based on the class set.

在一些实施例中,所述类别集合包括多个按序排列的第二对象类别,所述第一初始向量包括多个第一分量,所述多个第二对象类别的数量与所述多个第一分量的数量相等,基于所述多个第二对象类别的排列顺序,所述多个第二对象类别中每个第二对象类别在所述第一初始向量中都有其对应的第一分量,每个第一分量的初始赋值为零;所述步骤S12包括:若所述类别集合中存在与所述第一对象类别相同的第二对象类别,根据目标赋值将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值,以生成所述图像信息的第一目标向量。在此,本申请提到的“第一”“第二”“第三”等词语仅用于区别在不同对象(例如,图像信息、图片、类别集合)中的信息,而并不代表任何的顺序。在一些实施例中,所述类别集合中包括多个按序排列的第二对象类别,例如,类别集合B中按序包括:人物、动物、食品、办公用品、学习用品、交通工具、其他类别(对于识别失败或者确定失败的对象可记为其他,并将其归为其他类别)的第二对象类别。当然,本领域技术人员应能理解,上述类别集合仅为举例,其他现有的或今后可能出现的类别集合如能适用于本申请,也在本申请的保护范围内,并以引用的方式包含于此。该类别集合B对应有第一初始向量B,例如,该第一初始向量B为[0,0,0,0,0,0,0],其中,所述类别集合B中的第二对象类别的数量与所述第一初始向量B中的第一分量的数量相等,都是七个。基于所述七个第二对象类别的排列顺序,每个第二对象类别在所述第一初始向量中都有其对应的第一分量,例如,人物对应于第一初始向量B中的第一个第一分量,动物对应于第一初始向量B中的第二个第一分量,食品对应于第一初始向量B中的第三个第一分量,依次类推。在一些实施例中,所述目标赋值包括但不限于1等固定数值。例如,若所述类别集合中存在与所述第一对象类别相同的第二对象类别,将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值为1。例如,类别集合B中包括按序排列的第二对象类别:人物、动物、食品、办公用品、学习用品、交通工具、其他类别,第一初始向量B为[0,0,0,0,0,0,0],所述图像信息中出现的第一对象类别包括动物、办公用品、其他类别,则在所述类别集合中存在动物、办公用品、其他类别与所述第一对象类别相同,对动物、办公用品、其他类别在所述第一初始向量B中对应的第一分量重新赋值为1,则生成该图像信息的第一目标向量[0,1,0,1,0,0,1]。In some embodiments, the class set includes a plurality of second object classes arranged in sequence, the first initial vector includes a plurality of first components, and the number of the plurality of second object classes is the same as the number of the plurality of The numbers of the first components are equal, and based on the arrangement order of the plurality of second object categories, each second object category in the plurality of second object categories has its corresponding first component in the first initial vector. Components, the initial assignment of each first component is zero; the step S12 includes: if there is a second object category identical to the first object category in the category set, according to the target assignment, the second object category is placed in the The corresponding first component in the first initial vector is reassigned to generate a first target vector of the image information. Here, words such as "first", "second", and "third" mentioned in this application are only used to distinguish information in different objects (for example, image information, pictures, category collections), and do not represent any order. In some embodiments, the category set includes a plurality of second object categories arranged in sequence, for example, the category set B includes in sequence: people, animals, food, office supplies, school supplies, vehicles, other categories (The object that fails to be identified or determined can be recorded as other, and it is classified as the second object category of other categories). Of course, those skilled in the art should be able to understand that the above-mentioned class collection is only an example, and other existing or future class collections that can be applied to this application are also within the scope of protection of this application and are included by reference. here. The category set B corresponds to a first initial vector B, for example, the first initial vector B is [0,0,0,0,0,0,0], wherein the second object category in the category set B The number of is equal to the number of the first components in the first initial vector B, which are seven. Based on the arrangement order of the seven second object categories, each second object category has its corresponding first component in the first initial vector, for example, a person corresponds to the first component in the first initial vector B animal corresponds to the second first component in the first initial vector B, food corresponds to the third first component in the first initial vector B, and so on. In some embodiments, the target assignment includes but is not limited to a fixed value such as 1. For example, if there is a second object category identical to the first object category in the category set, the first component corresponding to the second object category in the first initial vector is reassigned to 1. For example, the category set B includes the second object categories arranged in order: people, animals, food, office supplies, school supplies, vehicles, and other categories, and the first initial vector B is [0,0,0,0,0 ,0,0], the first object category appearing in the image information includes animals, office supplies, and other categories, then there are animals, office supplies, and other categories in the category set that are the same as the first object category, Re-assign a value of 1 to the first component corresponding to animals, office supplies, and other categories in the first initial vector B, then generate the first target vector [0,1,0,1,0,0, 1].

在一些实施例中,设备根据所述类别集合中多个第二对象类别的排列顺序依次检测所述一个或多个第一对象类别中是否存在与该第二对象类别相同的第一对象类别,若存在,根据目标赋值对该第二对象类别在所述第一初始向量中对应的第一分量进行重新赋值,以生成所述图像信息的第一目标向量。例如,所述设备按照所述第二对象类别的顺序依次检测所述第一对象类别中是否存在与该第二对象类别相同的第一对象类别,若存在,将该第二对象类别对应的第一分量重新赋值。例如,类别集合B中包括按序排列的第二对象类别:人物、动物、食品、办公用品、学习用品、交通工具、其他类别,第一初始向量B为[0,0,0,0,0,0,0],所述图像信息中出现的第一对象类别包括动物、办公用品、其他类别。所述设备基于所述多个第二对象类别的排列顺序,先检测第一对象类别中是否存在人物,结果为不存在,则无需对人物对应的第一分量重新赋值,人物对应的第一分量依然为初始赋值(例如,0),然后再检测第一对象类别中是否存在动物,结果为存在,则对动物对应的第一分量重新赋值,例如,赋值为所述目标赋值(例如,1),再检测所述第一对象类别中是否存在食品,结果为不存在,则食品对应的第一分量依然为初始赋值(例如,0),依次类推,按照顺序检测完所述第二对象类别后,即可生成所述图像信息的第一目标向量。In some embodiments, the device sequentially detects whether there is a first object category that is the same as the second object category among the one or more first object categories according to the arrangement order of the plurality of second object categories in the category set, If it exists, reassign the first component corresponding to the second object category in the first initial vector according to the target assignment, so as to generate the first target vector of the image information. For example, the device sequentially detects whether there is a first object category that is the same as the second object category in the first object category according to the order of the second object category, and if it exists, the second object category corresponding to the second object category A component reassignment. For example, the category set B includes the second object categories arranged in order: people, animals, food, office supplies, school supplies, vehicles, and other categories, and the first initial vector B is [0,0,0,0,0 ,0,0], the first object category appearing in the image information includes animals, office supplies, and other categories. The device first detects whether there is a person in the first object category based on the arrangement order of the plurality of second object categories, and if the result does not exist, there is no need to re-assign the first component corresponding to the person, and the first component corresponding to the person It is still the initial assignment (for example, 0), and then detects whether there is an animal in the first object category, and the result is existence, then reassigns the first component corresponding to the animal, for example, the assignment is the target assignment (for example, 1) , and then detect whether there is food in the first object category, and the result is that it does not exist, then the first component corresponding to the food is still the initial assignment (for example, 0), and so on, after detecting the second object category in order , the first target vector of the image information can be generated.

在一些实施例中,所述第二目标向量包括多个第二分量,所述多个第二分量的数量与所述多个第二对象类别的数量相等,基于所述第二对象类别的排列顺序,所述多个第二对象类别中每个第二对象类别在所述第二目标向量中都有其对应的第二分量,所述方法还包括步骤S17,在步骤S17中,对于所述图像信息中的至少一个第一对象类别中的每一个第一对象类别,将与该第一对象类别相同的第二对象类别在所述第二目标向量中对应的第二分量的赋值作为该第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度。在一些实施例中,所述第二目标向量与所述类别集合也存在对应关系,以便根据所述第二目标向量中各第二分量的排列顺序确定各第二分量所对应的第一对象类别,从而确定出每个第一对象类别所对应的第一对象区域的目标曝光度。例如,所述第二目标向量包括多个第二分量,所述多个第二分量的数量与所述类别集合中多个第二对象类别的数量相等,并且,基于所述多个第二对象类别的排列顺序,所述多个第二对象类别在所述第二目标分量中都有其对应的第二分量。例如,类别集合B中包括按序排列的第二对象类别:人物、动物、食品、办公用品、学习用品、交通工具、其他类别,基于所述向量回归模型输出的第二目标向量为[0,100,0,80,0,0,90],则基于所述多个第二对象类别的排列顺序,人物对应的第二分量为0,说明所述图像信息中没有人物的第一对象类别,动物对应的第二分量为100,则将100作为第一对象类别“动物”在所述图像信息中对应的第一对象区域的目标曝光度,食品对应的第二分量为0,则说明所述图像信息中没有食品的第一对象类别,依次类推,以确定出每个第一对象类别在所述图像信息中对应的第一对象区域的目标曝光度。In some embodiments, the second object vector includes a plurality of second components, the number of the plurality of second components is equal to the number of the plurality of second object categories, based on the arrangement of the second object categories Sequentially, each second object category in the plurality of second object categories has its corresponding second component in the second target vector, the method also includes step S17, in step S17, for the For each first object category in at least one first object category in the image information, the assignment of the second component corresponding to the second object category that is the same as the first object category in the second target vector is used as the first object category The target exposure of the first object area corresponding to an object category in the image information. In some embodiments, there is also a corresponding relationship between the second target vector and the category set, so as to determine the first object category corresponding to each second component according to the arrangement order of each second component in the second target vector , so as to determine the target exposure of the first object region corresponding to each first object category. For example, the second target vector includes a plurality of second components, the number of the plurality of second components is equal to the number of the plurality of second object categories in the category set, and, based on the plurality of second object The arrangement sequence of categories, the plurality of second object categories all have their corresponding second components in the second target component. For example, the category set B includes the second object categories arranged in order: people, animals, food, office supplies, school supplies, vehicles, and other categories, and the second target vector output based on the vector regression model is [0, 100, 0, 80, 0, 0, 90], based on the arrangement order of the plurality of second object categories, the second component corresponding to the person is 0, indicating that there is no first object category of the person in the image information, and the animal corresponds to The second component of is 100, then 100 is used as the target exposure of the first object area corresponding to the first object category "animal" in the image information, and the second component corresponding to food is 0, then the image information There is no food in the first object category, and so on, so as to determine the target exposure of the first object area corresponding to each first object category in the image information.

在一些实施例中,所述方法还包括步骤S18(未示出),在步骤S18中,获取多个风格类型的多张图片;对于每一个风格类型,根据属于该风格类型的多张图片的第一向量以及第二向量构建该风格类型的向量回归模型,以得到所述多个风格类型中每个风格类型所对应的向量回归模型。在一些实施例中,对于每一个风格类型单独训练一个该风格类型对应的向量回归模型,以便使得最终合成的高动态范围图像符合所述图像信息对应的目标风格类型的像素风格。在一些实施例中,对于每一个风格类型的向量回归模型,都基于大量属于该风格类型的图片的第一向量以及第二向量训练该向量回归模型。在一些实施例中,每个向量回归模型都采用NFM网络进行训练。通过属于大量图片的第一向量以及第二向量进行训练,以得到所述向量回归模型。从而可以通过向所述向量回归模型输入第一目标向量,可以输出对应的第二目标向量。在一些实施例中,对于每一个风格类型所所对应的向量回归模型而言,用于训练该向量回归模型的、该风格类型的多张图片为曝光效果较好的图片,以使得根据输出的第二目标向量中包括的目标曝光度进行高动态范围图像的合成时,效果更好。In some embodiments, the method further includes step S18 (not shown), in step S18, obtaining multiple pictures of multiple style types; for each style type, according to the multiple pictures belonging to the style type, The first vector and the second vector construct the vector regression model of the style type, so as to obtain the vector regression model corresponding to each style type in the plurality of style types. In some embodiments, for each style type, a vector regression model corresponding to the style type is separately trained, so that the final synthesized high dynamic range image conforms to the pixel style of the target style type corresponding to the image information. In some embodiments, for the vector regression model of each style type, the vector regression model is trained based on a large number of first vectors and second vectors of pictures belonging to the style type. In some embodiments, each vector regression model is trained using an NFM network. The vector regression model is obtained by performing training with the first vector and the second vector belonging to a large number of pictures. Therefore, by inputting the first target vector to the vector regression model, the corresponding second target vector can be output. In some embodiments, for the vector regression model corresponding to each style type, the multiple pictures of the style type used to train the vector regression model are pictures with better exposure effects, so that according to the output When the target exposure included in the second target vector is combined with a high dynamic range image, the effect is better.

在一些实施例中,所述方法还包括步骤S19(未示出)以及步骤S10,在步骤S19中,设备对于属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别生成该图片的第一向量;在步骤S10中,设备根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度生成该图片的第二向量。在一些实施例中,对于每一个风格类型的多张图片,确定每一张图片中出现的第三对象(例如,天空、桌子、小猫等物品),例如,通过图像识别技术,或者YOLO算法检测每张图片中的第三对象。基于类别集合生成每张图片的第一向量,例如,图片C包括第三对象:小猫、办公桌、电脑、天空,对所述小猫、办公桌、电脑、天空归类后,可以得到该图片C中的第三对象所属于至少一个第三对象类别(例如,动物、办公用品、其他类)。基于“动物、办公用品、其他类”这三个第三对象类别生成该图片C对应的第一向量(例如,[0,1,0,1,0,0,1]),以将所述图片C向量化。进一步地,根据每个第三对象类别在该图片中所对应的第三对象区域的曝光度生成该图片的第二向量。例如,基于YOLO算法将图片划分为一个或多个区域,并检测每个区域对应的第三对象,以对所述第三对象进行归类,并确定每个第三对象类别所对应的第一对象区域(例如,属于同一第三对象类别的第三对象所在的区域化为该第三对象类别所对应的第三对象区域)。在一些实施例中,也可以基于图像分割技术(例如,resNet、VGGNet、Fast、R-CNN等图像分割算法)将图片分割为一个或多个区域,然后识别每个区域对应的第三对象(例如,基于图像识别技术),以对所述第三对象进行归类,并确定每个第三对象类别所对应的第三对象区域。当然,本领域技术人员可以理解,上述识别、分割所述图片的具体操作仅为举例,其他现有的或今后可能出现的具体操作如能适用于本申请,也在本申请的保护范围内,并以引用的方式包含于此。然后计算每个第三对象区域的曝光度,根据每个第三对象区域的曝光度生成该图片的第二向量。从而得到每张图片的第一向量和第二向量。In some embodiments, the method further includes step S19 (not shown) and step S10. In step S19, the device, for each of the multiple pictures belonging to the style type, according to the At least one third object category to which one or more third objects belong generates a first vector of the picture; in step S10, the device generates a first vector of the picture according to each third object category in the at least one third object category The corresponding exposure of the third object area generates a second vector of the picture. In some embodiments, for multiple pictures of each style type, determine the third object (for example, items such as sky, table, kitten) appearing in each picture, for example, by image recognition technology, or YOLO algorithm Detect the third object in each picture. Generate the first vector of each picture based on the category set, for example, picture C includes the third object: kitten, desk, computer, sky, after classifying described kitten, desk, computer, sky, can get this The third object in picture C belongs to at least one third object category (eg, animals, office supplies, other categories). Generate the first vector (for example, [0,1,0,1,0,0,1]) corresponding to the picture C based on the three third object categories of "animals, office supplies, and other classes", so that the Image C vectorization. Further, the second vector of the picture is generated according to the exposure of the third object region corresponding to each third object category in the picture. For example, based on the YOLO algorithm, the picture is divided into one or more regions, and the third object corresponding to each region is detected to classify the third object, and the first object corresponding to each third object category is determined. The object area (for example, the area where the third objects belonging to the same third object category are located is converted into the third object area corresponding to the third object category). In some embodiments, the picture can also be divided into one or more regions based on image segmentation techniques (for example, image segmentation algorithms such as resNet, VGGNet, Fast, R-CNN), and then identify the third object corresponding to each region ( For example, based on an image recognition technology), the third objects are classified, and the third object area corresponding to each third object category is determined. Of course, those skilled in the art can understand that the above-mentioned specific operations of identifying and segmenting the pictures are only examples, and other existing or future specific operations that can be applied to this application are also within the scope of protection of this application. and is incorporated herein by reference. Then calculate the exposure of each third object area, and generate the second vector of the picture according to the exposure of each third object area. Thus, the first vector and the second vector of each picture are obtained.

在一些实施例中,所述步骤S17包括:对于所述属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成该图片的第一向量,其中,所述第一初始向量对应于所述类别集合。在一些实施例中,基于与实际应用中(例如,上述确定第一目标向量时的类别集合)同样的类别集合,确定该类别集合对应的第一初始向量中各第一分量的赋值,以生成所述属于该风格类型的多张图片中的每一张图片的第一向量。例如,将重新赋值后的所述第一初始向量作为所述图片的第一向量。在一些实施例中,所述第一初始向量对应于所述类别集合,以便基于所述类别集合对所述第一初始向量进行赋值。In some embodiments, the step S17 includes: for each of the multiple pictures belonging to the style type, according to at least one third object to which one or more third objects appearing in the picture belong The object category and the category set determine the assignment of each first component in the first initial vector to generate the first vector of the picture, wherein the first initial vector corresponds to the category set. In some embodiments, based on the same category set as in actual application (for example, the above category set when determining the first target vector), the assignment of each first component in the first initial vector corresponding to the category set is determined to generate The first vector of each of the multiple pictures belonging to the style type. For example, the reassigned first initial vector is used as the first vector of the picture. In some embodiments, the first initial vector corresponds to the class set, so that the first initial vector is assigned a value based on the class set.

在一些实施例中,所述类别集合包括多个按序排列的第二对象类别,所述第一初始向量包括多个第一分量,所述多个第二对象类别的数量与所述多个第一分量的数量相等,以使每个第二对象类别在所述第一初始向量中都有其对应的第一分量,每个第一分量的初始赋值为零;所述步骤S19包括:若所述类别集合中存在与所述第三对象类别相同的第二对象类别,根据目标赋值将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值,以生成该图片的第一向量。在一些实施例中,所述类别集合中包括多个按序排列的第二对象类别,例如,类别集合B中按序包括:人物、动物、食品、办公用品、学习用品、交通工具、其他类别的第二对象类别。当然,本领域技术人员应能理解,上述类别集合仅为举例,其他现有的或今后可能出现的类别集合如能适用于本申请,也在本申请的保护范围内,并以引用的方式包含于此。该类别集合B对应有第一初始向量B,例如,该第一初始向量B为[0,0,0,0,0,0,0],其中,所述类别集合B中的第二对象类别的数量与所述第一初始向量B中的第一分量的数量相等,都是7个。基于所述7个第二对象类别的排列顺序,每个第二对象类别在所述第一初始向量B中都有其对应的第一分量,例如,人物对应于第一初始向量B中的第一个第一分量,动物对应于第一初始向量B中的第二个第一分量,食品对应于第一初始向量B中的第三个第一分量,依次类推。在一些实施例中,所述目标赋值包括但不限于1等固定数值。例如,若所述类别集合中存在与图片中的第三对象类别相同的第二对象类别,将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值为固定数值1。例如,类别集合B中包括按序排列的第二对象类别:人物、动物、食品、办公用品、学习用品、交通工具、其他类别,第一初始向量B为[0,0,0,0,0,0,0],某图片中出现的第三对象包括橘子、香蕉、办公桌、其他(例如,没有识别出的物品可以用其他标记),则在所述类别集合中存在食品、办公用品、其他类别(例如,没有识别出的归为其他类别)与所述第三对象所对应的第三对象类别相同,将食品、办公用品、其他类别在所述第一初始向量B中对应的第一分量重新赋值为1,则生成该图片的第一向量为[0,0,1,1,0,0,1]。在一些实施例中,生成所述图片的第一向量的具体过程包括:设备根据所述类别集合中多个第二对象类别的排列顺序依次检测图片中的一个或多个第三对象类别中是否存在与该第二对象类别相同的第一对象类别,若存在,根据目标赋值对该第二对象类别在所述第一初始向量中对应的第一分量进行重新赋值,以生成所述图像信息的第一目标向量。In some embodiments, the class set includes a plurality of second object classes arranged in sequence, the first initial vector includes a plurality of first components, and the number of the plurality of second object classes is the same as the number of the plurality of The number of the first components is equal, so that each second object category has its corresponding first component in the first initial vector, and the initial assignment of each first component is zero; the step S19 includes: if There is a second object category that is the same as the third object category in the category set, and reassigns the first component corresponding to the second object category in the first initial vector according to the target assignment, so as to generate the first vector. In some embodiments, the category set includes a plurality of second object categories arranged in sequence, for example, the category set B includes in sequence: people, animals, food, office supplies, school supplies, vehicles, other categories The second object class for . Of course, those skilled in the art should be able to understand that the above-mentioned class collection is only an example, and other existing or future class collections that can be applied to this application are also within the scope of protection of this application and are included by reference. here. The category set B corresponds to a first initial vector B, for example, the first initial vector B is [0,0,0,0,0,0,0], wherein the second object category in the category set B The number of is equal to the number of the first components in the first initial vector B, both of which are 7. Based on the arrangement order of the seven second object categories, each second object category has its corresponding first component in the first initial vector B, for example, a character corresponds to the first component in the first initial vector B One first component, animal corresponds to the second first component in the first initial vector B, food corresponds to the third first component in the first initial vector B, and so on. In some embodiments, the target assignment includes but is not limited to a fixed value such as 1. For example, if there is a second object category that is the same as the third object category in the picture in the category set, the first component corresponding to the second object category in the first initial vector is reassigned to a fixed value 1. For example, the category set B includes the second object categories arranged in order: people, animals, food, office supplies, school supplies, vehicles, and other categories, and the first initial vector B is [0,0,0,0,0 , 0, 0], the third object appearing in a certain picture includes orange, banana, desk, others (for example, the items that are not identified can be marked with other), then there are food, office supplies, Other categories (for example, those that are not identified are classified as other categories) are the same as the third object category corresponding to the third object, and food, office supplies, and other categories are in the first initial vector B corresponding to the first If the component is reassigned to 1, the first vector to generate the picture is [0,0,1,1,0,0,1]. In some embodiments, the specific process of generating the first vector of the picture includes: the device sequentially detects whether one or more third object categories in the picture are There is a first object category that is the same as the second object category, and if it exists, reassign the first component corresponding to the second object category in the first initial vector according to the target assignment, so as to generate the image information The first target vector.

在一些实施例中,所述步骤S10包括步骤S101(未示出)、步骤S102、步骤S103。在步骤S101中,设备确定该图片中的至少三个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域;在步骤S102中,设备计算每个第三对象区域的曝光度,以得到所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度;在步骤S103中,设备根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度以及类别集合确定第二初始向量中各第二分量的赋值,以生成该图片的第二向量,其中,所述第二初始向量对应于所述类别集合。在一些实施例中,对于每张图片,需要先确定出每个第三对象类别在该图片中的第三对象区域,然后计算每一个第三对象区域的曝光度,再根据每个第三对象区域的曝光度生成该图片的第二向量。在一些实施例中,在生成所述第二向量时,也需要基于所述类别集合,以确定每个第三对象区域的曝光度在第二初始向量中对应的第二分量,从而根据该第三对象区域的曝光度对该第二分量进行赋值,以生成该图片的第二向量。In some embodiments, the step S10 includes step S101 (not shown), step S102, and step S103. In step S101, the device determines the third object area corresponding to each third object category in the picture of at least three third object categories in the picture; in step S102, the device calculates the third object area of each third object category exposure of the at least one third object category to obtain the exposure of the third object area corresponding to each third object category in the picture; in step S103, the device The exposure of each third object category in the category corresponding to the third object area in the picture and the category set determine the assignment of the second components in the second initial vector to generate the second vector of the picture, wherein the The second initial vector corresponds to the class set. In some embodiments, for each picture, it is necessary to first determine the third object area of each third object category in the picture, then calculate the exposure of each third object area, and then calculate the The exposure of the region generates a second vector for the image. In some embodiments, when generating the second vector, it is also necessary to determine the second component corresponding to the exposure of each third object region in the second initial vector based on the category set, so that according to the first The exposure of the three-object area is assigned to the second component to generate a second vector of the picture.

在一些实施例中,所述步骤S101包括:设备确定出现在该图片中的一个或多个第三对象以及每个第三对象所对应的第三对象子区域;将属于同一第三对象类别的第三对象所对应的第三对象子区域作为该第三对象类别所对应的第三对象区域。在一些实施例中,对于每张图片,基于YOLO算法检测该图片中出现的第三对象,以及每个第三对象所对应的第三对象子区域(例如,所述第三对象所在的区域)。在一些实施例中,也可以基于图像分割技术(例如,resNet、VGGNet、Fast、R-CNN等图像分割算法)以及图像识别技术确定图片中的一个或多个第三对象,以及每个第三对象所对应的第三对象子区域(例如,所述第三对象所在的区域)。在一些实施例中,将属于同一第三对象类别的第三对象所对应的第三对象子区域作为该第三对象类别对应的第三对象区域,例如,小猫、小狗属于动物类别,则将小猫、小狗所在的区域确定为动物这个第三对象类别对应的第三对象区域,换言之,“动物”第三对象类别对应的第三对象区域包括小猫、小狗所在的第三对象子区域之和。In some embodiments, the step S101 includes: the device determines one or more third objects appearing in the picture and the third object sub-regions corresponding to each third object; The third object sub-area corresponding to the third object serves as the third object area corresponding to the third object category. In some embodiments, for each picture, the third object appearing in the picture is detected based on the YOLO algorithm, and the third object sub-area corresponding to each third object (for example, the area where the third object is located) . In some embodiments, one or more third objects in the picture can also be determined based on image segmentation technology (for example, image segmentation algorithms such as resNet, VGGNet, Fast, R-CNN) and image recognition technology, and each third object A third object sub-area corresponding to the object (for example, the area where the third object is located). In some embodiments, the third object sub-area corresponding to the third object belonging to the same third object category is used as the third object area corresponding to the third object category, for example, if a kitten or a puppy belongs to the animal category, then The area where the kitten and the puppy are located is determined as the third object area corresponding to the third object category of animal, in other words, the third object area corresponding to the third object category of "animal" includes the third object where the kitten and the puppy are located sum of subregions.

在一些实施例中,所述步骤S102包括:设备根据每个第三对象区域的像素信息计算该第三对象区域的曝光度,以得到所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度。在一些实施例中,在划分好第三对象区域后,所述设备根据每个第三对象区域内所有的像素信息计算该第三对象区域的曝光度。例如,将所述第三对象区域灰度化之后,计算所述第三对象区域内所有像素信息的平均值,将该平均值作为该第三对象区域的曝光度。In some embodiments, the step S102 includes: the device calculates the exposure of each third object area according to the pixel information of the third object area, so as to obtain the exposure of each third object category in the at least one third object category Exposure of the corresponding third object area in the picture. In some embodiments, after the third object area is divided, the device calculates the exposure of each third object area according to all pixel information in each third object area. For example, after the third object area is grayscaled, an average value of all pixel information in the third object area is calculated, and the average value is used as an exposure degree of the third object area.

在一些实施例中,所述类别集合包括多个按序排列的第二对象类别,所述第二初始向量包括多个第二分量,每个第二分量的初始赋值为零,所述多个第二对象类别的数量与所述多个第二分量的数量相等,以使每个第二对象类别在所述第二初始向量中都有其对应的第二分量,所述步骤S103包括:若所述类别集合中存在与所述第三对象类别相同的第二对象类别,根据该第三对象类别所对应的第三对象区域的曝光度将该第二对象类别在所述第二初始向量中对应的第二分量重新赋值,以生成该图片的第二向量。在一些实施例中,所述类别集合还对应有第二初始向量,所述第二初始向量中各第二分量的初始赋值为零,基于所述类别集合中每个第二对象类别的排列顺序,每个第二对象类别在所述第二初始向量中都有其对应的第二分量,根据第三对象类别以及所述第二对象类别的排列顺序确定第二初始向量中各第二分量的赋值。例如,类别集合B中按序包括:人物、动物、食品、办公用品、学习用品、交通工具、其他类别(例如,对于图像信息或者图片中识别失败或者确定失败的对象都可记为其他,并将其归为其他类别)的第二对象类别。该类别集合B对应有第二初始向量B,例如,该第二初始向量B为[0,0,0,0,0,0,0],其中,所述类别集合B中的第二对象类别的数量与所述第二初始向量B中的第二分量的数量相等,都是7个。基于所述7个第二对象类别的排列顺序,每个第二对象类别在所述第二初始向量中都有其对应的第二分量,例如,人物对应于第二初始向量B中的第一个第二分量,动物对应于第二初始向量B中的第二个第二分量,食品对应于第二初始向量B中的第三个第二分量,依次类推。若所述类别集合中存在与所述第三对象类别相同的第二对象类别,将该第二对象类别在所述第二初始向量中对应的第二分量重新赋值。重新赋值的具体数值为该第三对象类别所对应的第三对象区域的曝光度。例如,类别集合B中包括按序排列的第二对象类别:人物、动物、食品、办公用品、学习用品、交通工具、其他类别,第二初始向量B为[0,0,0,0,0,0,0],所述图片中出现的第三对象类别包括动物、办公用品、其他类别,其中,动物对应的第三对象区域的曝光度为80,办公用品对应的第三对象区域的曝光度为100,其他类别对应的第三对象区域的曝光度为90,根据每个第三对象类别所对应的曝光度对所述第二初始向量B中对应的第二分量进行重新赋值,以生成该图片的第二向量(例如,[0,80,0,100,0,0,90])。In some embodiments, the category set includes a plurality of second object categories arranged in sequence, the second initial vector includes a plurality of second components, each second component is initially assigned a value of zero, and the plurality of The quantity of the second object category is equal to the quantity of the plurality of second components, so that each second object category has its corresponding second component in the second initial vector, and the step S103 includes: if There is a second object category identical to the third object category in the category set, and the second object category is included in the second initial vector according to the exposure of the third object region corresponding to the third object category The corresponding second component is reassigned to generate the second vector of the picture. In some embodiments, the category set also corresponds to a second initial vector, the initial assignment of each second component in the second initial vector is zero, based on the arrangement order of each second object category in the category set , each second object category has its corresponding second component in the second initial vector, according to the arrangement order of the third object category and the second object category, determine the value of each second component in the second initial vector assignment. For example, the category set B includes in order: people, animals, food, office supplies, school supplies, vehicles, other categories (for example, for image information or objects that fail to be recognized or determined in pictures, they can be recorded as other, and Classify it as a second object class of other classes). The category set B corresponds to a second initial vector B, for example, the second initial vector B is [0,0,0,0,0,0,0], wherein the second object category in the category set B The number of is equal to the number of the second components in the second initial vector B, both of which are 7. Based on the arrangement order of the seven second object categories, each second object category has its corresponding second component in the second initial vector, for example, a person corresponds to the first component in the second initial vector B animal corresponds to the second second component in the second initial vector B, food corresponds to the third second component in the second initial vector B, and so on. If there is a second object category identical to the third object category in the category set, reassign a value to a second component corresponding to the second object category in the second initial vector. The specific numerical value reassigned is the exposure degree of the third object area corresponding to the third object category. For example, the category set B includes the second object categories arranged in order: people, animals, food, office supplies, school supplies, vehicles, and other categories, and the second initial vector B is [0,0,0,0,0 ,0,0], the third object category appearing in the picture includes animals, office supplies, and other categories, wherein the exposure of the third object area corresponding to the animal is 80, and the exposure of the third object area corresponding to the office supplies is degree is 100, and the exposure degree of the third object area corresponding to other categories is 90, according to the exposure degree corresponding to each third object category, the corresponding second component in the second initial vector B is reassigned to generate The second vector for this image (for example, [0,80,0,100,0,0,90]).

在一些实施例中,所述类别集合的获取过程包括:确定多张图片中每张图片包括的第二对象,以得到多个第二对象;根据每个第二对象所属的第二对象类别对所述多个第二对象进行归类,以得到多个第二对象类别,其中,每个第二对象类别包括一个或多个第二对象;根据每个第二对象类别包括的第二对象的数量对所述多个第二对象类别进行降序排序,以生成所述类别集合,其中,所述类别集合包括多个按序排列的第二对象类别。在一些实施例中,所述类别集合是通过统计大量图片中出现的第二对象的类别生成的。例如,识别大量图片中出现的第二对象,以得到多个第二对象,对所述多个第二对象进行归类划分,以得到多个第二对象类别。统计每个第二对象类别中所包括的第二对象的数量,基于每个第二对象类别包括的第二对象的数量,对所述多个第二对象类别进行排序,得到按序排列的多个第二对象类别。在一些实施例中,将所述多个按序排列的第二对象类别记录在所述类别集合中。In some embodiments, the process of obtaining the class set includes: determining the second objects included in each of the plurality of pictures to obtain a plurality of second objects; The plurality of second objects are classified to obtain a plurality of second object categories, wherein each second object category includes one or more second objects; according to the number of second objects included in each second object category Quantitatively sort the plurality of second object categories in descending order to generate the category set, wherein the category set includes a plurality of second object categories arranged in order. In some embodiments, the category set is generated by counting categories of the second objects appearing in a large number of pictures. For example, second objects appearing in a large number of pictures are identified to obtain multiple second objects, and the multiple second objects are classified and divided to obtain multiple second object categories. counting the number of second objects included in each second object category, sorting the plurality of second object categories based on the number of second objects included in each second object category, and obtaining a sequence of multiple a second object class. In some embodiments, the plurality of ordered second object categories are recorded in the set of categories.

在一些实施例中,所述方法在步骤S14之前还包括步骤S141(未示出),在步骤S141中,基于不同的曝光参数对所述图像信息进行曝光采样,以得到至少两个备用图像信息;对于每个所述备用图像信息,计算该备用图像信息中各第一对象类别在该备用图像信息中所对应的第一对象区域的曝光度,以得到每个第一对象区域所对应的至少两个曝光度;所述步骤S14包括:对于每一个所述第一对象区域,根据该第一对象区域对应的目标曝光度从该第一对象区域所对应的一个或多个曝光度中确定与所述目标曝光度的差值最小的一个曝光度;根据该曝光度所对应的备用图像信息中该第一对象区域的像素信息生成所述图像信息的高动态范围图像。在一些实施例中,所述设备在生成所述图像信息的高动态范围图像之前,基于不同的曝光参数采集多个备用图像信息,以便基于该备用图像信息进行高动态范围图像的生成。例如,图像信息A包括第一对象:小猫、书本、电脑、天空,其中,小猫属于动物,书本、电脑属于办公用品,天空属于其他类别,则该图像信息A中的一个或多个第一对象属于动物、办公用品、其他类这三个第一对象类别。其中,第一对象类别“动物”所对应的第一对象区域包括“小猫”所在的区域,第一对象类别“办公用品”所对应的第一对象区域包括“书本”“电脑”所在区域之和,第一对象类别“其他类别”所对应的第一对象区域包括“天空”所在的区域。所述设备基于不同的曝光参数(例如,光圈、快门速度、ISO感光度等曝光参数)采集关于该图像信息A的多个备用图像信息,并计算每个备用图像信息中各第一对象类别所对应的第一对象区域的曝光度。例如,得到备用图像信息1、备用图像信息2、备用图像信息3。根据每个第一对象区域内的像素信息计算该第一对象区域的曝光度(例如,计算所述第一对象区域内所有像素值的平均值,将计算得到的平均值作为该第一对象区域的曝光度)。则对于所述图像信息A,则该图像信息A中的每个第一对象类别对应有3个曝光度。对于每个第一对象类别,从这3个曝光度中确定出与该第一对象类别对应的目标曝光度差值最小的一个曝光度(例如,备用图像信息1计算出的该第一对象类别对应的曝光度与该第一对象类别对应的目标曝光度之间的差值最小),则根据该曝光度所对应的备用图像信息(例如,备用图像信息1)中该第一对象类别在该备用图像信息1中的第一对象区域的像素信息生成所述图像信息A的高动态范围图像。在一些实施例中,设备通过提取所述备用图像信息中各第一对象区域合成所述图像信息A的高动态范围图像。例如,备用图像信息1中第一对象类别“动物”对应的曝光度与该第一对象类别对应的目标曝光度的差值最小,则从备用图像信息1中提取该第一对象类别“动物”的第一对象区域。备用图像信息2中第一对象类别“办公用品”对应的曝光度与该第一对象类别对应的目标曝光度的差值最小,则从备用图像信息2中提取该第一对象类别“办公用品”的第一对象区域。备用图像信息3中第一对象类别“其他类别”对应的曝光度与该第一对象类别对应的目标曝光度的差值最小,则从备用图像信息3中提取该第一对象类别“其他类别”的第一对象区域。通过提取各第一对象区域合成所述图像信息A的高动态范围图像。再例如,备用图像信息1中第一对象类别“动物”对应的曝光度与该第一对象类别对应的目标曝光度的差值最小,则根据备用图像信息1中该第一对象类别“动物”所对应的第一对象区域的像素信息处理图像信息A中的该第一对象区域。备用图像信息2中第一对象类别“办公用品”对应的曝光度与该第一对象类别对应的目标曝光度的差值最小,则根据备用图像信息2中该第一对象类别“办公用品”所对应的第一对象区域的像素信息处理图像信息A中的该第一对象区域。备用图像信息3中第一对象类别“其他类别”对应的曝光度与该第一对象类别对应的目标曝光度的差值最小,则根据备用图像信息3中该第一对象类别“其他类别”所对应的第一对象区域的像素信息处理图像信息A中的该第一对象区域。In some embodiments, the method further includes step S141 (not shown) before step S14, in step S141, performing exposure sampling on the image information based on different exposure parameters to obtain at least two spare image information ; For each of the backup image information, calculate the exposure of the first object area corresponding to each first object category in the backup image information in the backup image information, so as to obtain at least Two exposures; the step S14 includes: for each of the first object areas, according to the target exposure corresponding to the first object area, determine the corresponding target exposure from one or more exposures corresponding to the first object area An exposure with the smallest difference between the target exposures; generating a high dynamic range image of the image information according to the pixel information of the first object area in the spare image information corresponding to the exposure. In some embodiments, before generating the high dynamic range image of the image information, the device collects a plurality of backup image information based on different exposure parameters, so as to generate the high dynamic range image based on the backup image information. For example, the image information A includes the first object: a kitten, a book, a computer, and the sky, wherein, the kitten belongs to animals, the book and the computer belong to office supplies, and the sky belongs to other categories, then one or more of the first objects in the image information A An object belongs to three first object classes of animal, office supplies, and others. Wherein, the first object area corresponding to the first object category "animal" includes the area where "kitten" is located, and the first object area corresponding to the first object category "office supplies" includes the area where "book" and "computer" are located. And, the first object area corresponding to the first object category "other categories" includes the area where "sky" is located. The device collects a plurality of backup image information about the image information A based on different exposure parameters (for example, exposure parameters such as aperture, shutter speed, ISO sensitivity, etc.), and calculates the number of first object categories in each backup image information. The corresponding exposure of the first object area. For example, backup image information 1, backup image information 2, and backup image information 3 are obtained. Calculate the exposure of the first object area according to the pixel information in each first object area (for example, calculate the average value of all pixel values in the first object area, and use the calculated average value as the first object area exposure). Then, for the image information A, each first object category in the image information A corresponds to 3 exposure levels. For each first object category, determine an exposure with the smallest target exposure difference corresponding to the first object category from the three exposures (for example, the first object category calculated from the backup image information 1 The difference between the corresponding exposure and the target exposure corresponding to the first object category is the smallest), then according to the backup image information (for example, backup image information 1) corresponding to the exposure, the first object category is in the The pixel information of the first object area in the spare image information 1 generates the high dynamic range image of the image information A. In some embodiments, the device synthesizes the high dynamic range image of the image information A by extracting each first object area in the spare image information. For example, if the difference between the exposure corresponding to the first object category "animal" in the backup image information 1 and the target exposure corresponding to the first object category is the smallest, then the first object category "animal" is extracted from the backup image information 1 The first object area of . The difference between the exposure corresponding to the first object category "office supplies" in the backup image information 2 and the target exposure corresponding to the first object category is the smallest, then extract the first object category "office supplies" from the backup image information 2 The first object area of . The difference between the exposure degree corresponding to the first object category "other category" in the backup image information 3 and the target exposure degree corresponding to the first object category is the smallest, then extract the first object category "other category" from the backup image information 3 The first object area of . The high dynamic range image of the image information A is synthesized by extracting each first object area. For another example, if the difference between the exposure corresponding to the first object category "animal" in the backup image information 1 and the target exposure corresponding to the first object category is the smallest, then according to the first object category "animal" in the backup image information 1 The corresponding pixel information of the first object area processes the first object area in the image information A. The difference between the exposure degree corresponding to the first object category "office supplies" in the backup image information 2 and the target exposure degree corresponding to the first object category is the smallest, then according to the The corresponding pixel information of the first object area processes the first object area in the image information A. The difference between the exposure degree corresponding to the first object category "other category" in the backup image information 3 and the target exposure degree corresponding to the first object category is the smallest, then according to the value of the first object category "other category" in the backup image information 3 The corresponding pixel information of the first object area processes the first object area in the image information A.

图2示出了根据本申请一个方面的一种用于生成高动态范围图像的设备结构图,该设备包括一一模块、一二模块、一三模块以及一四模块。一一模块,用于获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别;一二模块,用于根据所述至少一个第一对象类别生成所述图像信息的第一目标向量;一三模块,用于将所述第一目标向量输入目标向量回归模型,以输出所述图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型,所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度;一四模块,用于根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像。Fig. 2 shows a structural diagram of a device for generating a high dynamic range image according to one aspect of the present application, the device includes a module 1, a module 12, a module 13 and a module 14. - a module for acquiring image information to be processed, wherein the image information includes one or more first objects, and the one or more first objects belong to at least one first object category; module one or two for for generating a first target vector of the image information according to the at least one first object category; a module for inputting the first target vector into a target vector regression model to output a second target of the image information vector, wherein the target vector regression model is a vector regression model corresponding to the target style type to which the image information belongs, and the second target vector includes each first object category in the at least one first object category The target exposure of the first object area corresponding to the image information; a module configured to generate the target exposure of the first object area corresponding to each first object category in the image information A high dynamic range image of the image information described above.

具体而言,一一模块,用于获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别。在一些实施例中,所述图像信息包括但不限于用户设备的取景器获取到的图像信息。例如,用户设备(例如手机)通过取景器进行取景时,即可采集到所述图像信息,以便所述设备对所述图像信息进行分析处理。在一些实施例中,所述第一对象包括但不限于出现在所述图像信息中的物品(例如,杯子、书本、电脑、天空等)。在一些实施例中,对所述图像信息中出现的第一对象进行归类,以确定所述一个或多个第一对象所对应的至少一个第一对象类别。例如,图像信息A中出现有第一对象:小猫、书本、电脑、天空,其中,小猫属于动物,书本、电脑属于办公用品,天空属于其他类别,则该图像信息A中的一个或多个第一对象属于动物、办公用品、其他类这三个第一对象类别。Specifically, a module configured to acquire image information to be processed, wherein the image information includes one or more first objects, and the one or more first objects belong to at least one first object category. In some embodiments, the image information includes, but is not limited to, image information acquired by a viewfinder of the user equipment. For example, when a user device (such as a mobile phone) takes a view through a viewfinder, the image information can be collected, so that the device can analyze and process the image information. In some embodiments, the first object includes, but is not limited to, items appearing in the image information (eg, cups, books, computers, sky, etc.). In some embodiments, first objects appearing in the image information are classified to determine at least one first object category corresponding to the one or more first objects. For example, there are first objects in the image information A: kitten, book, computer, and sky, wherein, the kitten belongs to animals, books and computers belong to office supplies, and the sky belongs to other categories, then one or more objects in the image information A A first object belongs to the three first object categories of animals, office supplies, and others.

一二模块,用于根据所述至少一个第一对象类别生成所述图像信息的第一目标向量。在一些实施例中,所述第一目标向量是基于所述至少一个第一对象类别生成的。在一些实施例中,所述第一目标向量包括多个第一分量,例如,所述第一目标向量为[0,1,0,1,0,0,1],其中,所述第一目标向量中的“0”“1”等数据作为所述第一目标向量的第一分量。例如,图像信息A包括第一对象:小猫、办公桌、电脑、天空,对所述小猫、办公桌、电脑、天空归类后,可以得到该图像信息A中的第一对象所属于至少一个第一对象类别(例如,动物、办公用品、其他类)。所述设备基于“动物、办公用品、其他类”这三个第一对象类别生成对应的第一目标向量(例如,[0,1,0,1,0,0,1]),以将所述图像信息A向量化。A two-module, configured to generate a first target vector of the image information according to the at least one first object category. In some embodiments, the first target vector is generated based on the at least one first object category. In some embodiments, the first target vector includes a plurality of first components, for example, the first target vector is [0,1,0,1,0,0,1], wherein the first Data such as "0" and "1" in the target vector are used as the first component of the first target vector. For example, the image information A includes the first object: a kitten, a desk, a computer, and the sky. After classifying the kitten, desk, computer, and sky, it can be obtained that the first object in the image information A belongs to at least A first object class (eg, animals, office supplies, other classes). The device generates corresponding first object vectors (for example, [0,1,0,1,0,0,1]) based on the three first object categories of "animals, office supplies, and others", so that all The above image information A is vectorized.

一三模块,用于将所述第一目标向量输入目标向量回归模型,以输出所述图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型,所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度。在一些实施例中,所述设备中包括多个风格类型以及每个风格类型所对应的向量回归模型(例如,每个风格类型与其对应的向量回归模型存在映射关系)。例如,所述设备根据所述图像信息所属的目标风格类型,将该图像信息的第一目标向量输入该目标风格类型所对应的目标向量回归模型,以输出该图像信息的第二目标向量。在一些实施例中,所述风格类型包括但不限于生活风格、风景风格、运动风格、脸部特写风格、宠物特写风格等风格类型。在一些实施例中,可以根据所述图像信息中的至少一个第一对象类别确定该图像信息所属的目标风格类型,例如,设备中预设多个风格类型中每个风格类型包括的对象类别,根据所述图像信息中的至少一个第一对象类别确定该图像信息所属的目标风格类型(例如,所述至少一个第一对象类别中超过半数的第一对象类别包含于某风格类型中所包括的对象类别中时,确定该图像信息属于该风格类型)。在另一些实施例中,基于风格分类模型得到该图像信息所属的目标风格类型,关于本实施例的具体介绍请参见下面的实施例,在此不做赘述。在一些实施例中,所述目标向量回归模型用于基于输入的第一目标向量输出对应的第二目标向量。在一些实施例中,所述第二目标向量包括多个第二分量,例如,所述第二目标向量为[0,100,0,80,0,0,90],所述第二向量中的“80”“100”“90”“0”等数据作为所述第二目标向量的第二分量。在一些实施例中,通过所述向量回归模型输出的所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度。例如,图像信息A中的第一对象所属于至少一个第一对象类别包括:动物、办公用品、其他类,得到的第二目标向量为[0,100,0,80,0,0,90],将所述第二目标向量中的第二分量“100”作为第一对象类别“动物”对应的第一对象区域的目标曝光度,将第二分量“80”作为第一对象类别“办公用品”对应的第一对象区域的目标曝光度,将第二分量“90”作为第一对象类别“其他类别”对应的第一对象区域的目标曝光度。在一些实施例中,所述设备基于所述第二目标向量中各第二分量的排列顺序确定每个第二分量所对应的第一对象类别,从而确定每个第一对象类别在所述图像信息中对应的第一对象区域的目标曝光度,具体说明请参见下面的实施例,在此不做赘述。在一些实施例中,所述第一对象类别在所述图像信息中对应的第一对象区域包括属于该第一对象类别的一个或多个第一对象所在的区域之和,例如,在图像信息A中,第一对象类别办公用品包括办公桌、电脑,则所述第一对象类别“办公用品”在所述图像信息A中对应的第一对象区域包括办公桌、电脑所对应的区域之和。在一些实施例中,设备基于YOLO算法将图像信息划分为一个或多个区域,并检测每个区域对应的第一对象,以便对所述第一对象进行归类,并确定每个第一对象类别所对应的第一对象区域(例如,将属于同一第一对象类别的第一对象所在的区域归为该第一对象类别所对应的第一对象区域)。在一些实施例中,也可以基于图像分割技术将所述图像信息分割为一个或多个区域,然后识别每个区域对应的第一对象(例如,基于图像识别技术进行识别),以便对所述第一对象进行归类,并确定每个第一对象类别所对应的第一对象区域。当然,本领域技术人员可以理解,上述识别、分割所述图像信息的具体操作仅为举例,其他现有的或今后可能出现的具体操作如能适用于本申请,也在本申请的保护范围内,并以引用的方式包含于此。在一些实施例中,对象区域的曝光度是基于该对象区域内的像素信息计算得到的。例如,将对象区域灰度化之后,计算该对象区域内所有像素信息的平均值,以得到该对象区域的曝光度。在一些实施例中,所述第一对象区域的曝光度为其对应的目标曝光度时曝光效果最好。A three-module, configured to input the first target vector into a target vector regression model to output a second target vector of the image information, wherein the target vector regression model is defined by the target style type to which the image information belongs In a corresponding vector regression model, the second target vector includes the target exposure of the first object region corresponding to each first object category in the at least one first object category in the image information. In some embodiments, the device includes multiple style types and a vector regression model corresponding to each style type (for example, each style type has a mapping relationship with its corresponding vector regression model). For example, according to the target style type to which the image information belongs, the device inputs the first target vector of the image information into the target vector regression model corresponding to the target style type, so as to output the second target vector of the image information. In some embodiments, the style types include but are not limited to life style, landscape style, sports style, face close-up style, pet close-up style and other style types. In some embodiments, the target style type to which the image information belongs may be determined according to at least one first object category in the image information, for example, the object category included in each style type among multiple style types preset in the device, According to at least one first object category in the image information, determine the target style type to which the image information belongs (for example, more than half of the first object categories in the at least one first object category are included in a certain style type When it is in the object category, it is determined that the image information belongs to the style type). In some other embodiments, the target style type to which the image information belongs is obtained based on the style classification model. For the specific introduction of this embodiment, please refer to the following embodiments, and details are not repeated here. In some embodiments, the target vector regression model is used to output a corresponding second target vector based on the input first target vector. In some embodiments, the second target vector includes a plurality of second components, for example, the second target vector is [0, 100, 0, 80, 0, 0, 90], and the " 80", "100", "90", "0" and other data are used as the second component of the second target vector. In some embodiments, the second target vector output by the vector regression model includes the first object region corresponding to each first object category in the at least one first object category in the image information target exposure. For example, the first object in the image information A belongs to at least one first object category including: animals, office supplies, and other categories, and the obtained second target vector is [0, 100, 0, 80, 0, 0, 90]. The second component "100" in the second target vector is used as the target exposure of the first object area corresponding to the first object category "animal", and the second component "80" is corresponding to the first object category "office supplies". The target exposure of the first object area, the second component "90" is used as the target exposure of the first object area corresponding to the first object category "other categories". In some embodiments, the device determines the first object category corresponding to each second component based on the arrangement order of each second component in the second target vector, thereby determining that each first object category is in the image For the target exposure of the first object area corresponding to the information, please refer to the following embodiments for specific description, and details are not repeated here. In some embodiments, the first object area corresponding to the first object category in the image information includes the sum of the areas where one or more first objects belonging to the first object category are located, for example, in the image information In A, the first object category of office supplies includes desks and computers, and the first object area corresponding to the first object category "office supplies" in the image information A includes the sum of the areas corresponding to desks and computers . In some embodiments, the device divides the image information into one or more regions based on the YOLO algorithm, and detects the first object corresponding to each region, so as to classify the first objects, and determine each first object The first object area corresponding to the category (for example, the area where the first object belonging to the same first object category is classified as the first object area corresponding to the first object category). In some embodiments, the image information can also be divided into one or more regions based on image segmentation technology, and then the first object corresponding to each region can be identified (for example, based on image recognition technology), so that the The first objects are classified, and the first object area corresponding to each first object category is determined. Of course, those skilled in the art can understand that the above-mentioned specific operations of identifying and segmenting the image information are only examples, and other existing or future specific operations that can be applied to this application are also within the scope of protection of this application , and is incorporated herein by reference. In some embodiments, the exposure of the object area is calculated based on pixel information in the object area. For example, after the object area is grayscaled, the average value of all pixel information in the object area is calculated to obtain the exposure of the object area. In some embodiments, the exposure effect of the first object area is the best when the exposure of the first object area is the corresponding target exposure.

一四模块,用于根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像。例如,在得到每个第一对象区域的目标曝光度之后,基于目标曝光度合成所述图像信息的高动态范围图像,充分考虑了所述图像信息的风格类型、自身图像特点,使得最终得到的高动态范围图像更加真实,效果更好。A module, configured to generate a high dynamic range image of the image information according to the target exposure of the first object region corresponding to each first object category in the image information. For example, after the target exposure of each first object area is obtained, the high dynamic range image of the image information is synthesized based on the target exposure, fully considering the style type of the image information and its own image characteristics, so that the finally obtained High dynamic range images are more realistic and look better.

在一些实施例中,在根据所述图像信息中的至少一个第一对象类别生成该图像信息的第一目标向量之前,通过判断所述图像信息所属的目标风格类型确定拍摄用户的意图。例如,该拍摄用户想拍摄风景风格类型、亲子装风格类型或者运动装风格类型的照片,然后根据所述图像信息所属的目标风格类型获取该目标风格类型对应的目标向量回归模型,使得最终合成的高动态范围图像的效果与该图像信息所属的目标风格类型相匹配,增加高动态范围图像的真实性、图像效果。在一些实施例中,所述设备还包括一五模块(未示出)。一五模块,用于将所述图像信息的特征信息输入风格分类模型,以根据输出结果确定所述图像信息所属的目标风格类型;获取所述目标风格类型所对应的目标向量回归模型。In some embodiments, before the first target vector of the image information is generated according to at least one first object category in the image information, the user's intention to shoot is determined by judging the target style type to which the image information belongs. For example, the shooting user wants to take photos of landscape style, parent-child outfit style, or sportswear style, and then obtain the target vector regression model corresponding to the target style type according to the target style type to which the image information belongs, so that the final synthesized The effect of the high dynamic range image matches the target style type to which the image information belongs, increasing the authenticity and image effect of the high dynamic range image. In some embodiments, the device further includes a module (not shown). A five-module, used to input the feature information of the image information into the style classification model, so as to determine the target style type of the image information according to the output result; obtain the target vector regression model corresponding to the target style type.

在此,所述一五模块对应的具体实施方式与所述步骤S15的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the first and fifth modules is the same as or similar to the specific embodiment of the step S15, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述设备还包括一六模块(未示出),一六模块,用于基于多张图片以及每张图片的风格类型标签构建所述风格分类模型。In some embodiments, the device further includes a six module (not shown), a six module for constructing the style classification model based on a plurality of pictures and a style type label of each picture.

在此,所述一六模块对应的具体实施方式与所述步骤S16的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the six modules is the same as or similar to the specific embodiment of the step S16, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述一一模块,用于获取待处理的图像信息;确定出现在所述图像信息中的一个或多个第一对象;根据所述一个或多个第一对象中每个第一对象所属的第一对象类别确定所述一个或多个第一对象属于的至少一个第一对象类别。In some embodiments, the one-by-one module is configured to acquire image information to be processed; determine one or more first objects appearing in the image information; according to each of the one or more first objects The first object category to which the first objects belong determines at least one first object category to which the one or more first objects belong.

在此,所述一一模块对应的具体实施方式与所述步骤S11的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manners corresponding to the modules one by one are the same as or similar to the specific embodiment of the step S11, so they are not repeated here, and are included here by reference.

在一些实施例中,所述一二模块,用于根据所述至少一个第一对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成所述图像信息的第一目标向量,其中,所述第一初始向量对应于所述类别集合。In some embodiments, the one-two module is configured to determine the assignment of each first component in the first initial vector according to the at least one first object category and the category set, so as to generate the first target vector of the image information , where the first initial vector corresponds to the category set.

在此,所述一二模块对应的具体实施方式与所述步骤S12的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the first and second modules is the same as or similar to the specific embodiment of the step S12, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述类别集合包括多个按序排列的第二对象类别,所述第一初始向量包括多个第一分量,所述多个第二对象类别的数量与所述多个第一分量的数量相等,基于所述多个第二对象类别的排列顺序,所述多个第二对象类别中每个第二对象类别在所述第一初始向量中都有其对应的第一分量,每个第一分量的初始赋值为零;所述一二模块用于:若所述类别集合中存在与所述第一对象类别相同的第二对象类别,根据目标赋值将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值,以生成所述图像信息的第一目标向量。In some embodiments, the class set includes a plurality of second object classes arranged in sequence, the first initial vector includes a plurality of first components, and the number of the plurality of second object classes is the same as the number of the plurality of The numbers of the first components are equal, and based on the arrangement order of the plurality of second object categories, each second object category in the plurality of second object categories has its corresponding first component in the first initial vector. Components, the initial assignment of each first component is zero; the one-two module is used to: if there is a second object category that is the same as the first object category in the category set, assign the second object according to the target value The first component corresponding to the category in the first initial vector is reassigned to generate a first target vector of the image information.

在此,所述一二模块对应的具体实施方式与所述步骤S12的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the first and second modules is the same as or similar to the specific embodiment of the step S12, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述第二目标向量包括多个第二分量,所述多个第二分量的数量与所述多个第二对象类别的数量相等,基于所述第二对象类别的排列顺序,所述多个第二对象类别中每个第二对象类别在所述第二目标向量中都有其对应的第二分量,所述设备还包括一七模块,一七模块用于,对于所述图像信息中的至少一个第一对象类别中的每一个第一对象类别,将与该第一对象类别相同的第二对象类别在所述第二目标向量中对应的第二分量的赋值作为该第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度。In some embodiments, the second object vector includes a plurality of second components, the number of the plurality of second components is equal to the number of the plurality of second object categories, based on the arrangement of the second object categories Sequentially, each second object category in the plurality of second object categories has its corresponding second component in the second target vector, and the device further includes a seven module, and a seven module is used for, for For each first object category in the at least one first object category in the image information, the assignment of the second component corresponding to the second object category that is the same as the first object category in the second target vector is taken as The target exposure of the first object area corresponding to the first object category in the image information.

在此,所述一七模块对应的具体实施方式与所述步骤S17的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the 17th module is the same as or similar to the specific embodiment of the step S17, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述设备还包括一八模块(未示出),一八模块,用于获取多个风格类型的多张图片;对于每一个风格类型,根据属于该风格类型的多张图片的第一向量以及第二向量构建该风格类型的向量回归模型,以得到所述多个风格类型中每个风格类型所对应的向量回归模型。In some embodiments, the device also includes an eighth module (not shown), an eighth module for obtaining multiple pictures of multiple style types; for each style type, according to the multiple pictures belonging to the style type The first vector and the second vector of the picture construct the vector regression model of the style type, so as to obtain the vector regression model corresponding to each style type in the plurality of style types.

在此,所述一八模块对应的具体实施方式与所述步骤S18的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the 18th module is the same as or similar to the specific embodiment of the step S18, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述设备还包括一九模块(未示出)以及一零模块,一九模块,用于对于属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别生成该图片的第一向量;一零模块,用于根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度生成该图片的第二向量。In some embodiments, the device further includes a nine module (not shown) and a zero module, a nine module, for each picture in a plurality of pictures belonging to the style type, according to the At least one third object category to which one or more third objects in the picture belong generates a first vector of the picture; a zero module, configured to be in the at least one third object category according to each third object category in the at least one third object category The exposure of the corresponding third object area in the picture generates the second vector of the picture.

在此,所述一九模块、一零模块对应的具体实施方式与所述步骤S19、步骤S10的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manners corresponding to the one-nine module and one-zero module are the same as or similar to the specific embodiments of the step S19 and the step S10, so they are not repeated here, and are included here by reference.

在一些实施例中,所述一七模块用于:对于所述属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成该图片的第一向量,其中,所述第一初始向量对应于所述类别集合。In some embodiments, the module is configured to: for each of the multiple pictures belonging to the style type, according to at least one of the one or more third objects appearing in the picture belongs to The third object category and the category set determine the assignment of each first component in the first initial vector to generate the first vector of the picture, wherein the first initial vector corresponds to the category set.

在此,所述一七模块对应的具体实施方式与所述步骤S17的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the 17th module is the same as or similar to the specific embodiment of the step S17, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述类别集合包括多个按序排列的第二对象类别,所述第一初始向量包括多个第一分量,所述多个第二对象类别的数量与所述多个第一分量的数量相等,以使每个第二对象类别在所述第一初始向量中都有其对应的第一分量,每个第一分量的初始赋值为零;所述一九模块用于:若所述类别集合中存在与所述第三对象类别相同的第二对象类别,根据目标赋值将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值,以生成该图片的第一向量。In some embodiments, the class set includes a plurality of second object classes arranged in sequence, the first initial vector includes a plurality of first components, and the number of the plurality of second object classes is the same as the number of the plurality of The number of the first components is equal, so that each second object category has its corresponding first component in the first initial vector, and the initial assignment of each first component is zero; the one-nine module is used for : If there is a second object category that is the same as the third object category in the category set, reassign the first component corresponding to the second object category in the first initial vector according to the target assignment, so as to generate the The first vector of images.

在此,所述一九模块对应的具体实施方式与所述步骤S19的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the nineteenth module is the same as or similar to the specific embodiment of the step S19, so it is not repeated here, and is included here by reference.

在一些实施例中,所述一零模块包括一零一模块(未示出)、一零二模块、一零三模块。一零一模块,用于确定该图片中的至少三个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域;一零二模块,用于计算每个第三对象区域的曝光度,以得到所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度;一零三模块,用于根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度以及类别集合确定第二初始向量中各第二分量的赋值,以生成该图片的第二向量,其中,所述第二初始向量对应于所述类别集合。In some embodiments, the zero module includes a zero one module (not shown), a zero two module, and a zero three module. 101 module, used to determine the third object area corresponding to each third object category in the picture in at least three third object categories in the picture; 102 module, used to calculate each third object category The exposure degree of the object area, so as to obtain the exposure degree of the third object area corresponding to each third object category in the picture in the at least one third object category; a zero three module, configured to The exposure of each third object category in the picture corresponding to the third object area in the third object category and the category set determine the assignment of each second component in the second initial vector, so as to generate the second vector of the picture, Wherein, the second initial vector corresponds to the category set.

在此,所述一零一模块、一零二模块、一零三模块对应的具体实施方式与所述步骤S101、步骤S102、步骤S103的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementations corresponding to the 101 module, the 102 module, and the 103 module are the same or similar to the specific embodiments of the step S101, step S102, and step S103, so they will not be described in detail here. method is included here.

在一些实施例中,所述一零一模块用于:确定出现在该图片中的一个或多个第三对象以及每个第三对象所对应的第三对象子区域;将属于同一第三对象类别的第三对象所对应的第三对象子区域作为该第三对象类别所对应的第三对象区域。In some embodiments, the one-zero-one module is used to: determine one or more third objects appearing in the picture and the third object sub-regions corresponding to each third object; will belong to the same third object The third object sub-area corresponding to the third object of the category serves as the third object area corresponding to the third object category.

在此,所述一零一模块对应的具体实施方式与所述步骤S101的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the 101 module is the same as or similar to the specific embodiment of the step S101, so it is not repeated here, and is included here by reference.

在一些实施例中,所述一二模块,用于根据每个第三对象区域的像素信息计算该第三对象区域的曝光度,以得到所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度。In some embodiments, the one-two module is configured to calculate the exposure of each third object region according to the pixel information of the third object region, so as to obtain each third object in the at least one third object category Exposure of the third object area corresponding to the category in the picture.

在此,所述一二模块对应的具体实施方式与所述步骤S12的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manner corresponding to the first and second modules is the same as or similar to the specific embodiment of the step S12, so it will not be repeated here, and is included here by reference.

在一些实施例中,所述类别集合包括多个按序排列的第二对象类别,所述第二初始向量包括多个第二分量,每个第二分量的初始赋值为零,所述多个第二对象类别的数量与所述多个第二分量的数量相等,以使每个第二对象类别在所述第二初始向量中都有其对应的第二分量,所述一三模块用于:若所述类别集合中存在与所述第三对象类别相同的第二对象类别,根据该第三对象类别所对应的第三对象区域的曝光度将该第二对象类别在所述第二初始向量中对应的第二分量重新赋值,以生成该图片的第二向量。In some embodiments, the category set includes a plurality of second object categories arranged in sequence, the second initial vector includes a plurality of second components, each second component is initially assigned a value of zero, and the plurality of The quantity of the second object category is equal to the quantity of the plurality of second components, so that each second object category has its corresponding second component in the second initial vector, and the one-three module is used for : If there is a second object category identical to the third object category in the category set, the second object category is placed in the second initial stage according to the exposure of the third object area corresponding to the third object category The corresponding second component in the vector is reassigned to generate the second vector of the picture.

在此,所述一三模块对应的具体实施方式与所述步骤S13的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manners corresponding to the first and third modules are the same as or similar to the specific embodiment of step S13, so they are not repeated here, and are included here by reference.

在一些实施例中,所述类别集合的获取过程包括:确定多张图片中每张图片包括的第二对象,以得到多个第二对象;根据每个第二对象所属的第二对象类别对所述多个第二对象进行归类,以得到多个第二对象类别,其中,每个第二对象类别包括一个或多个第二对象;根据每个第二对象类别包括的第二对象的数量对所述多个第二对象类别进行降序排序,以生成所述类别集合,其中,所述类别集合包括多个按序排列的第二对象类别。在一些实施例中,所述类别集合是通过统计大量图片中出现的第二对象的类别生成的。例如,识别大量图片中出现的第二对象,以得到多个第二对象,对所述多个第二对象进行归类划分,以得到多个第二对象类别。统计每个第二对象类别中所包括的第二对象的数量,基于每个第二对象类别包括的第二对象的数量,对所述多个第二对象类别进行排序,得到按序排列的多个第二对象类别。在一些实施例中,将所述多个按序排列的第二对象类别记录在所述类别集合中。In some embodiments, the process of obtaining the class set includes: determining the second objects included in each of the plurality of pictures to obtain a plurality of second objects; The plurality of second objects are classified to obtain a plurality of second object categories, wherein each second object category includes one or more second objects; according to the number of second objects included in each second object category Quantitatively sort the plurality of second object categories in descending order to generate the category set, wherein the category set includes a plurality of second object categories arranged in order. In some embodiments, the category set is generated by counting categories of the second objects appearing in a large number of pictures. For example, second objects appearing in a large number of pictures are identified to obtain multiple second objects, and the multiple second objects are classified and divided to obtain multiple second object categories. counting the number of second objects included in each second object category, sorting the plurality of second object categories based on the number of second objects included in each second object category, and obtaining a sequence of multiple a second object class. In some embodiments, the plurality of ordered second object categories are recorded in the set of categories.

在一些实施例中,所述设备还包括一四一模块(未示出),所述一四一模块,用于基于不同的曝光参数对所述图像信息进行曝光采样,以得到至少两个备用图像信息;对于每个所述备用图像信息,计算该备用图像信息中各第一对象类别在该备用图像信息中所对应的第一对象区域的曝光度,以得到每个第一对象区域所对应的至少两个曝光度;所述一四模块用于:对于每一个所述第一对象区域,根据该第一对象区域对应的目标曝光度从该第一对象区域所对应的一个或多个曝光度中确定与所述目标曝光度的差值最小的一个曝光度;根据该曝光度所对应的备用图像信息中该第一对象区域的像素信息生成所述图像信息的高动态范围图像。In some embodiments, the device further includes a 41 module (not shown), the 141 module is used to perform exposure sampling on the image information based on different exposure parameters, so as to obtain at least two spare Image information; for each of the backup image information, calculate the exposure of the first object area corresponding to each first object category in the backup image information in the backup image information, so as to obtain the corresponding at least two exposures; the one-fourth module is used for: for each of the first object areas, according to the target exposure corresponding to the first object area, one or more exposures corresponding to the first object area determining an exposure degree with the smallest difference from the target exposure degree; generating a high dynamic range image of the image information according to the pixel information of the first object area in the standby image information corresponding to the exposure degree.

在此,所述一四一模块、一四模块对应的具体实施方式与所述步骤S141、步骤S14的具体实施例相同或相似,因而不再赘述,以引用的方式包含于此。Here, the specific implementation manners corresponding to the 141 module and the 14 module are the same as or similar to the specific embodiments of the step S141 and the step S14, so they are not repeated here, and are included here by reference.

除上述各实施例介绍的方法和设备外,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如前任一项所述的方法被执行。In addition to the methods and devices introduced in the above embodiments, the present application also provides a computer-readable storage medium, the computer-readable storage medium stores computer codes, and when the computer codes are executed, as described in any one of the preceding items The described method is carried out.

本申请还提供了一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如前任一项所述的方法被执行。The present application also provides a computer program product, when the computer program product is executed by a computer device, the method described in any one of the preceding items is executed.

本申请还提供了一种计算机设备,所述计算机设备包括:The present application also provides a kind of computer equipment, and described computer equipment comprises:

一个或多个处理器;one or more processors;

存储器,用于存储一个或多个计算机程序;memory for storing one or more computer programs;

当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如前任一项所述的方法。When the one or more computer programs are executed by the one or more processors, the one or more processors are made to implement the method as described in any one of the preceding items.

图3示出了可被用于实施本申请中所述的各个实施例的示例性系统;FIG. 3 illustrates an exemplary system that may be used to implement various embodiments described in this application;

如图3所示在一些实施例中,系统300能够作为各所述实施例中的任意一个设备。在一些实施例中,系统300可包括具有指令的一个或多个计算机可读介质(例如,系统存储器或NVM/存储设备320)以及与该一个或多个计算机可读介质耦合并被配置为执行指令以实现模块从而执行本申请中所述的动作的一个或多个处理器(例如,(一个或多个)处理器305)。As shown in FIG. 3 , in some embodiments, the system 300 can be used as any device in each of the above embodiments. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage device 320 ) having instructions and be coupled to and configured to execute The instructions are one or more processors (eg, processor(s) 305 ) that implement a module to perform the actions described in this application.

对于一个实施例,系统控制模块310可包括任意适当的接口控制器,以向(一个或多个)处理器305中的至少一个和/或与系统控制模块310通信的任意适当的设备或组件提供任意适当的接口。For one embodiment, system control module 310 may include any suitable interface controller to provide at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310 Any suitable interface.

系统控制模块310可包括存储器控制器模块330,以向系统存储器315提供接口。存储器控制器模块330可以是硬件模块、软件模块和/或固件模块。The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315 . The memory controller module 330 may be a hardware module, a software module and/or a firmware module.

系统存储器315可被用于例如为系统300加载和存储数据和/或指令。对于一个实施例,系统存储器315可包括任意适当的易失性存储器,例如,适当的DRAM。在一些实施例中,系统存储器315可包括双倍数据速率类型四同步动态随机存取存储器(DDR4SDRAM)。System memory 315 may be used, for example, to load and store data and/or instructions for system 300 . For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, system memory 315 may include Double Data Rate Type Quad Synchronous Dynamic Random Access Memory (DDR4 SDRAM).

对于一个实施例,系统控制模块310可包括一个或多个输入/输出(I/O)控制器,以向NVM/存储设备320及(一个或多个)通信接口325提供接口。For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide interfaces to NVM/storage devices 320 and communication interface(s) 325 .

例如,NVM/存储设备320可被用于存储数据和/或指令。NVM/存储设备320可包括任意适当的非易失性存储器(例如,闪存)和/或可包括任意适当的(一个或多个)非易失性存储设备(例如,一个或多个硬盘驱动器(HDD)、一个或多个光盘(CD)驱动器和/或一个或多个数字通用光盘(DVD)驱动器)。For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more hard drives ( HDD), one or more compact disc (CD) drives, and/or one or more digital versatile disc (DVD) drives).

NVM/存储设备320可包括在物理上作为系统300被安装在其上的设备的一部分的存储资源,或者其可被该设备访问而不必作为该设备的一部分。例如,NVM/存储设备320可通过网络经由(一个或多个)通信接口325进行访问。NVM/storage device 320 may include a storage resource that is physically part of the device on which system 300 is installed, or it may be accessible by the device without necessarily being part of the device. For example, NVM/storage 320 may be accessed over a network via communication interface(s) 325 .

(一个或多个)通信接口325可为系统300提供接口以通过一个或多个网络和/或与任意其他适当的设备通信。系统300可根据一个或多个无线网络标准和/或协议中的任意标准和/或协议来与无线网络的一个或多个组件进行无线通信。Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.

对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器(例如,存储器控制器模块330)的逻辑封装在一起。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑封装在一起以形成系统级封装(SiP)。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑集成在同一模具上。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑集成在同一模具上以形成片上系统(SoC)。For one embodiment, at least one of processor(s) 305 may be packaged with logic of one or more controllers of system control module 310 (eg, memory controller module 330 ). For one embodiment, at least one of the processor(s) 305 may be packaged with the logic of one or more controllers of the system control module 310 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die as the logic of the one or more controllers of the system control module 310 . For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of the one or more controllers of the system control module 310 to form a system on chip (SoC).

在各个实施例中,系统300可以但不限于是:服务器、工作站、台式计算设备或移动计算设备(例如,膝上型计算设备、手持计算设备、平板电脑、上网本等)。在各个实施例中,系统300可具有更多或更少的组件和/或不同的架构。例如,在一些实施例中,系统300包括一个或多个摄像机、键盘、液晶显示器(LCD)屏幕(包括触屏显示器)、非易失性存储器端口、多个天线、图形芯片、专用集成电路(ASIC)和扬声器。In various embodiments, system 300 may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (eg, laptop computing device, handheld computing device, tablet computer, netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or a different architecture. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), non-volatile memory ports, multiple antennas, graphics chips, application-specific integrated circuits ( ASIC) and speakers.

需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application can be implemented in software and/or a combination of software and hardware, for example, it can be implemented by using an application specific integrated circuit (ASIC), a general-purpose computer or any other similar hardware devices. In one embodiment, the software program of the present application can be executed by a processor to realize the steps or functions described above. Likewise, the software program (including associated data structures) of the present application can be stored in a computer-readable recording medium such as RAM memory, magnetic or optical drive or floppy disk and the like. In addition, some steps or functions of the present application may be implemented by hardware, for example, as a circuit that cooperates with a processor to execute each step or function.

另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。本领域技术人员应能理解,计算机程序指令在计算机可读介质中的存在形式包括但不限于源文件、可执行文件、安装包文件等,相应地,计算机程序指令被计算机执行的方式包括但不限于:该计算机直接执行该指令,或者该计算机编译该指令后再执行对应的编译后程序,或者该计算机读取并执行该指令,或者该计算机读取并安装该指令后再执行对应的安装后程序。在此,计算机可读介质可以是可供计算机访问的任意可用的计算机可读存储介质或通信介质。In addition, a part of the present application can be applied as a computer program product, such as a computer program instruction. When it is executed by a computer, the method and/or technical solution according to the present application can be invoked or provided through the operation of the computer. Those skilled in the art should understand that computer program instructions exist in computer-readable media in forms including but not limited to source files, executable files, installation package files, etc. Limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding post-installation program program. Here, a computer readable medium may be any available computer readable storage medium or communication medium that can be accessed by a computer.

通信介质包括藉此包含例如计算机可读指令、数据结构、程序模块或其他数据的通信信号被从一个系统传送到另一系统的介质。通信介质可包括有导的传输介质(诸如电缆和线(例如,光纤、同轴等))和能传播能量波的无线(未有导的传输)介质,诸如声音、电磁、RF、微波和红外。计算机可读指令、数据结构、程序模块或其他数据可被体现为例如无线介质(诸如载波或诸如被体现为扩展频谱技术的一部分的类似机制)中的已调制数据信号。术语“已调制数据信号”指的是其一个或多个特征以在信号中编码信息的方式被更改或设定的信号。调制可以是模拟的、数字的或混合调制技术。Communication media includes the media whereby communication signals embodying, for example, computer readable instructions, data structures, program modules or other data are transmitted from one system to another. Communication media can include guided transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (unguided transmission) media capable of propagating waves of energy, such as acoustic, electromagnetic, RF, microwave, and infrared . Computer readable instructions, data structures, program modules or other data may be embodied, for example, as a modulated data signal in a wireless medium such as a carrier wave or similar mechanism such as embodied as part of spread spectrum technology. The term "modulated data signal" means a signal that has one or more of its characteristics changed or set in such a manner as to encode information in the signal. Modulation can be analog, digital or mixed modulation techniques.

作为示例而非限制,计算机可读存储介质可包括以用于存储诸如计算机可读指令、数据结构、程序模块或其它数据的信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动的介质。例如,计算机可读存储介质包括,但不限于,易失性存储器,诸如随机存储器(RAM,DRAM,SRAM);以及非易失性存储器,诸如闪存、各种只读存储器(ROM,PROM,EPROM,EEPROM)、磁性和铁磁/铁电存储器(MRAM,FeRAM);以及磁性和光学存储设备(硬盘、磁带、CD、DVD);或其它现在已知的介质或今后开发的能够存储供计算机系统使用的计算机可读信息/数据。By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, volatile, volatile, or Removable and non-removable media. For example, computer-readable storage media include, but are not limited to, volatile memories such as random access memories (RAM, DRAM, SRAM); and nonvolatile memories such as flash memory, various read-only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media known now or developed in the future capable of storing data for computer systems Computer readable information/data used.

在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。Here, an embodiment according to the present application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, triggering The operation of the device is based on the foregoing methods and/or technical solutions according to multiple embodiments of the present application.

对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the exemplary embodiments described above, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be regarded as exemplary and not restrictive in all points of view, and the scope of the application is defined by the appended claims rather than the foregoing description, and it is intended that the scope of the present application be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in this application. Any reference sign in a claim should not be construed as limiting the claim concerned. In addition, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means stated in the device claims may also be realized by one unit or device through software or hardware. The words first, second, etc. are used to denote names and do not imply any particular order.

Claims (19)

1.一种用于生成高动态范围图像的方法,其中,该方法包括:1. A method for generating a high dynamic range image, wherein the method comprises: 获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别;acquiring image information to be processed, wherein the image information includes one or more first objects, and the one or more first objects belong to at least one first object category; 根据所述至少一个第一对象类别生成所述图像信息的第一目标向量;generating a first object vector of the image information based on the at least one first object category; 将所述第一目标向量输入目标向量回归模型,以输出所述图像信息的第二目标向量,其中,所述目标向量回归模型为所述图像信息所属的目标风格类型所对应的向量回归模型,所述第二目标向量中包括所述至少一个第一对象类别中每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度,所述第二目标向量用于确定合成所述图像信息的高动态范围图像所需的所述目标曝光度;inputting the first target vector into a target vector regression model to output a second target vector of the image information, wherein the target vector regression model is a vector regression model corresponding to the target style type to which the image information belongs, The second target vector includes the target exposure of the first object region corresponding to each first object category in the image information in the at least one first object category, and the second target vector is used to determine said target exposure required to synthesize a high dynamic range image of said image information; 根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像。A high dynamic range image of the image information is generated according to the target exposure of the first object region corresponding to each first object category in the image information. 2.根据权利要求1所述的方法,其中,所述方法还包括:2. The method of claim 1, wherein the method further comprises: 将所述图像信息输入风格分类模型,以根据输出结果确定所述图像信息所属的目标风格类型;inputting the image information into a style classification model to determine the target style type to which the image information belongs according to the output result; 获取所述目标风格类型所对应的目标向量回归模型。Obtain the target vector regression model corresponding to the target style type. 3.根据权利要求2所述的方法,其中,所述方法还包括:3. The method of claim 2, wherein the method further comprises: 基于多张图片以及每张图片的风格类型标签构建所述风格分类模型。The style classification model is constructed based on multiple pictures and the style type label of each picture. 4.根据权利要求1所述的方法,其中,所述获取待处理的图像信息,其中,所述图像信息包括一个或多个第一对象,所述一个或多个第一对象属于至少一个第一对象类别,包括:4. The method according to claim 1, wherein said acquiring image information to be processed, wherein said image information includes one or more first objects, said one or more first objects belonging to at least one first object An object class, including: 获取待处理的图像信息;Obtain image information to be processed; 确定出现在所述图像信息中的一个或多个第一对象;determining one or more first objects present in said image information; 根据所述一个或多个第一对象中每个第一对象所属的第一对象类别确定所述一个或多个第一对象属于的至少一个第一对象类别。At least one first object category to which the one or more first objects belong is determined according to the first object category to which each first object of the one or more first objects belongs. 5.根据权利要求1所述的方法,其中,所述根据所述至少一个第一对象类别生成所述图像信息的第一目标向量,包括:5. The method according to claim 1, wherein said generating a first object vector of said image information according to said at least one first object category comprises: 根据所述至少一个第一对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成所述图像信息的第一目标向量,其中,所述第一初始向量对应于所述类别集合。Determine the assignment of each first component in the first initial vector according to the at least one first object category and the category set, so as to generate a first target vector of the image information, wherein the first initial vector corresponds to the category gather. 6.根据权利要求5所述的方法,其中,所述类别集合包括多个按序排列的第二对象类别,所述第一初始向量包括多个第一分量,所述多个第二对象类别的数量与所述多个第一分量的数量相等,基于所述多个第二对象类别的排列顺序,所述多个第二对象类别中每个第二对象类别在所述第一初始向量中都有其对应的第一分量,每个第一分量的初始赋值为零;6. The method according to claim 5, wherein the class set includes a plurality of second object classes arranged in order, the first initial vector includes a plurality of first components, and the plurality of second object classes The number of is equal to the number of the plurality of first components, based on the arrangement order of the plurality of second object categories, each second object category of the plurality of second object categories is in the first initial vector has its corresponding first component, and the initial assignment of each first component is zero; 所述根据所述至少一个第一对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成所述图像信息的第一目标向量,其中,所述第一初始向量对应于所述类别集合,包括:The assignment of each first component in the first initial vector is determined according to the at least one first object category and the category set, so as to generate the first target vector of the image information, wherein the first initial vector corresponds to the A collection of the above categories, including: 若所述类别集合中存在与所述第一对象类别相同的第二对象类别,根据目标赋值将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值,以生成所述图像信息的第一目标向量。If there is a second object category that is the same as the first object category in the category set, reassign the first component corresponding to the second object category in the first initial vector according to the target assignment, so as to generate the The first target vector of image information. 7.根据权利要求5或6所述的方法,其中,所述第二目标向量包括多个第二分量,所述多个第二分量的数量与所述多个第二对象类别的数量相等,基于所述第二对象类别的排列顺序,所述多个第二对象类别中每个第二对象类别在所述第二目标向量中都有其对应的第二分量,所述方法还包括:7. The method according to claim 5 or 6, wherein the second target vector comprises a plurality of second components, the number of the plurality of second components is equal to the number of the plurality of second object categories, Based on the arrangement order of the second object categories, each second object category in the plurality of second object categories has its corresponding second component in the second target vector, and the method further includes: 对于所述图像信息中的至少一个第一对象类别中的每一个第一对象类别,将与该第一对象类别相同的第二对象类别在所述第二目标向量中对应的第二分量的赋值作为该第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度。For each first object category in at least one first object category in the image information, the assignment of the second component corresponding to the second object category that is the same as the first object category in the second target vector As the target exposure of the first object area corresponding to the first object category in the image information. 8.根据权利要求1或2所述的方法,其中,所述方法还包括:8. The method according to claim 1 or 2, wherein the method further comprises: 获取多个风格类型的多张图片;Get multiple pictures of multiple styles; 对于每一个风格类型,根据属于该风格类型的多张图片的第一向量以及第二向量构建该风格类型的向量回归模型,以得到所述多个风格类型中每个风格类型所对应的向量回归模型。For each style type, construct a vector regression model of the style type according to the first vector and the second vector of a plurality of pictures belonging to the style type, so as to obtain a vector regression corresponding to each style type in the plurality of style types Model. 9.根据权利要求8所述的方法,其中,所述方法还包括:9. The method of claim 8, wherein the method further comprises: 对于属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别生成该图片的第一向量;For each of the plurality of pictures belonging to the style type, generating a first vector of the picture according to at least one third object category to which one or more third objects appearing in the picture belong; 根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度生成该图片的第二向量。The second vector of the picture is generated according to the exposure of the third object region corresponding to each third object category in the at least one third object category in the picture. 10.根据权利要求9所述的方法,其中,所述对于属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别生成该图片的第一向量,包括:10. The method according to claim 9, wherein, for each of the plurality of pictures belonging to the style type, according to at least one third object to which one or more third objects appearing in the picture belong Three object categories generate the first vector of this image, including: 对于所述属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成该图片的第一向量,其中,所述第一初始向量对应于所述类别集合。For each picture in the plurality of pictures belonging to the style type, each of the first initial vectors is determined according to at least one third object category and category set to which one or more third objects appearing in the picture belong. assignment of the first component to generate a first vector of the picture, wherein the first initial vector corresponds to the category set. 11.根据权利要求10所述的方法,其中,所述类别集合包括多个按序排列的第二对象类别,所述第一初始向量包括多个第一分量,所述多个第二对象类别的数量与所述多个第一分量的数量相等,以使每个第二对象类别在所述第一初始向量中都有其对应的第一分量,每个第一分量的初始赋值为零;11. The method according to claim 10, wherein the class set includes a plurality of second object classes arranged in order, the first initial vector includes a plurality of first components, and the plurality of second object classes The number of is equal to the number of the plurality of first components, so that each second object category has its corresponding first component in the first initial vector, and the initial assignment of each first component is zero; 所述对于所述属于该风格类型的多张图片中的每一张图片,根据出现在该图片中的一个或多个第三对象所属的至少一个第三对象类别以及类别集合确定第一初始向量中各第一分量的赋值,以生成该图片的第一向量,其中,所述第一初始向量对应于所述类别集合,包括:For each of the multiple pictures belonging to the style type, the first initial vector is determined according to at least one third object category and category set to which one or more third objects appearing in the picture belong The assignment of each first component in to generate the first vector of the picture, wherein the first initial vector corresponds to the category set, including: 若所述类别集合中存在与所述第三对象类别相同的第二对象类别,根据目标赋值将该第二对象类别在所述第一初始向量中对应的第一分量重新赋值,以生成该图片的第一向量。If there is a second object category that is the same as the third object category in the category set, reassign the first component corresponding to the second object category in the first initial vector according to the target assignment, so as to generate the picture The first vector of . 12.根据权利要求9所述的方法,其中,所述根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度生成该图片的第二向量,包括:12. The method according to claim 9, wherein said generating the first image of the picture according to the exposure degree of the third object area corresponding to each third object category in the picture in the at least one third object category Two vectors, including: 确定该图片中的至少三个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域;determining a third object area corresponding to each of the at least three third object categories in the picture in the picture; 计算每个第三对象区域的曝光度,以得到所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度;calculating the exposure of each third object area to obtain the exposure of the third object area corresponding to each third object category in the picture in the at least one third object category; 根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度以及类别集合确定第二初始向量中各第二分量的赋值,以生成该图片的第二向量,其中,所述第二初始向量对应于所述类别集合。Determine the assignment of each second component in the second initial vector according to the exposure of the third object area corresponding to each third object category in the picture in the at least one third object category and the category set, so as to generate the picture The second vector of , wherein the second initial vector corresponds to the category set. 13.根据权利要求12所述的方法,其中,所述确定该图片中的至少三个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域,包括:13. The method according to claim 12, wherein said determining the third object area corresponding to each of the at least three third object categories in the picture in the picture comprises: 确定出现在该图片中的一个或多个第三对象以及每个第三对象所对应的第三对象子区域;determining one or more third objects appearing in the picture and a third object sub-region corresponding to each third object; 将属于同一第三对象类别的第三对象所对应的第三对象子区域作为该第三对象类别所对应的第三对象区域。The third object sub-area corresponding to the third object belonging to the same third object category is used as the third object area corresponding to the third object category. 14.根据权利要求12所述的方法,其中,所述计算每个第三对象区域的曝光度,以得到所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度,包括:14. The method according to claim 12, wherein said calculating the exposure degree of each third object region, so as to obtain the corresponding exposure of each third object category in the picture in the at least one third object category Exposure of third object areas, including: 根据每个第三对象区域的像素信息计算该第三对象区域的曝光度,以得到所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度。Calculate the exposure of the third object area according to the pixel information of each third object area, so as to obtain the exposure of the third object area corresponding to each third object category in the picture in the at least one third object category Spend. 15.根据权利要求12所述的方法,其中,所述类别集合包括多个按序排列的第二对象类别,所述第二初始向量包括多个第二分量,每个第二分量的初始赋值为零,所述多个第二对象类别的数量与所述多个第二分量的数量相等,以使每个第二对象类别在所述第二初始向量中都有其对应的第二分量,所述根据所述至少一个第三对象类别中每个第三对象类别在该图片中所对应的第三对象区域的曝光度以及类别集合确定第二初始向量中各第二分量的赋值,以生成该图片的第二向量,其中,所述第二初始向量对应于所述类别集合,包括:15. The method according to claim 12, wherein the category set comprises a plurality of second object categories arranged in order, the second initial vector comprises a plurality of second components, and the initial assignment of each second component is zero, the number of the plurality of second object categories is equal to the number of the plurality of second components, so that each second object category has its corresponding second component in the second initial vector, The assignment of each second component in the second initial vector is determined according to the exposure of the third object area corresponding to each third object category in the picture in the at least one third object category and the category set, so as to generate The second vector of the picture, wherein the second initial vector corresponds to the set of categories, includes: 若所述类别集合中存在与所述第三对象类别相同的第二对象类别,根据该第三对象类别所对应的第三对象区域的曝光度将该第二对象类别在所述第二初始向量中对应的第二分量重新赋值,以生成该图片的第二向量。If there is a second object category identical to the third object category in the category set, place the second object category in the second initial vector according to the exposure of the third object area corresponding to the third object category The corresponding second component in is reassigned to generate the second vector of the picture. 16.根据权利要求5至15中任一项所述的方法,其中,所述类别集合的获取过程包括:16. The method according to any one of claims 5 to 15, wherein the acquisition process of the category set comprises: 确定多张图片中每张图片包括的第二对象,以得到多个第二对象;determining a second object included in each of the multiple pictures to obtain multiple second objects; 根据每个第二对象所属的第二对象类别对所述多个第二对象进行归类,以得到多个第二对象类别,其中,每个第二对象类别包括一个或多个第二对象;Classifying the plurality of second objects according to the second object category to which each second object belongs to obtain a plurality of second object categories, wherein each second object category includes one or more second objects; 根据每个第二对象类别包括的第二对象的数量对所述多个第二对象类别进行降序排序,以生成所述类别集合,其中,所述类别集合包括多个按序排列的第二对象类别。sort the plurality of second object categories in descending order according to the quantity of second objects included in each second object category, to generate the category set, wherein the category set includes a plurality of second objects arranged in order category. 17.根据权利要求1所述的方法,其中,所述方法在根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像,之前还包括:17. The method according to claim 1, wherein the method generates the high dynamic range of the image information according to the target exposure of the first object region corresponding to each first object category in the image information The image, previously also included: 基于不同的曝光参数对所述图像信息进行曝光采样,以得到至少两个备用图像信息;对于每个所述备用图像信息,计算该备用图像信息中各第一对象类别在该备用图像信息中所对应的第一对象区域的曝光度,以得到每个第一对象区域所对应的至少两个曝光度;Perform exposure sampling on the image information based on different exposure parameters to obtain at least two backup image information; for each of the backup image information, calculate the values of the first object categories in the backup image information in the backup image information the corresponding exposure of the first object area, so as to obtain at least two exposures corresponding to each first object area; 所述根据每个第一对象类别在所述图像信息中所对应的第一对象区域的目标曝光度生成所述图像信息的高动态范围图像,包括:The generating the high dynamic range image of the image information according to the target exposure of the first object area corresponding to each first object category in the image information includes: 对于每一个所述第一对象区域,根据该第一对象区域对应的目标曝光度从该第一对象区域所对应的一个或多个曝光度中确定与所述目标曝光度的差值最小的一个曝光度;根据该曝光度所对应的备用图像信息中该第一对象区域的像素信息生成所述图像信息的高动态范围图像。For each of the first object areas, according to the target exposure corresponding to the first object area, determine one of the one or more exposures corresponding to the first object area that has the smallest difference with the target exposure Exposure: generating a high dynamic range image of the image information according to the pixel information of the first object area in the spare image information corresponding to the exposure. 18.一种用于生成高动态范围图像的设备,其中,该设备包括:18. An apparatus for generating a high dynamic range image, wherein the apparatus comprises: 处理器;以及processor; and 被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如权利要求1至17中任一项所述方法的操作。A memory arranged to store computer-executable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 17. 19.一种存储指令的计算机可读介质,所述指令在被执行时使得系统进行执行如权利要求1至17中任一项所述方法的操作。19. A computer readable medium storing instructions which, when executed, cause a system to perform the operations of the method of any one of claims 1 to 17.
CN202011623261.0A 2020-12-30 2020-12-30 Method and equipment for generating high dynamic range image Active CN112822425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011623261.0A CN112822425B (en) 2020-12-30 2020-12-30 Method and equipment for generating high dynamic range image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011623261.0A CN112822425B (en) 2020-12-30 2020-12-30 Method and equipment for generating high dynamic range image

Publications (2)

Publication Number Publication Date
CN112822425A CN112822425A (en) 2021-05-18
CN112822425B true CN112822425B (en) 2023-01-06

Family

ID=75854647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011623261.0A Active CN112822425B (en) 2020-12-30 2020-12-30 Method and equipment for generating high dynamic range image

Country Status (1)

Country Link
CN (1) CN112822425B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109584257A (en) * 2018-11-28 2019-04-05 中国科学院深圳先进技术研究院 A kind of image processing method and relevant device
CN110100252A (en) * 2016-12-23 2019-08-06 奇跃公司 Techniques for determining settings of a content capture device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4090926B2 (en) * 2002-03-29 2008-05-28 富士フイルム株式会社 Image storage method, registered image retrieval method and system, registered image processing method, and program for executing these methods
US8837820B2 (en) * 2012-05-25 2014-09-16 Xerox Corporation Image selection based on photographic style
US9852499B2 (en) * 2013-12-13 2017-12-26 Konica Minolta Laboratory U.S.A., Inc. Automatic selection of optimum algorithms for high dynamic range image processing based on scene classification
US9858496B2 (en) * 2016-01-20 2018-01-02 Microsoft Technology Licensing, Llc Object detection and classification in images
JP7043191B2 (en) * 2017-06-30 2022-03-29 キヤノン株式会社 Image recognition device, learning device, image recognition method, learning method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110100252A (en) * 2016-12-23 2019-08-06 奇跃公司 Techniques for determining settings of a content capture device
CN109584257A (en) * 2018-11-28 2019-04-05 中国科学院深圳先进技术研究院 A kind of image processing method and relevant device

Also Published As

Publication number Publication date
CN112822425A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN112329762B (en) Image processing method, model training method, device, computer equipment and medium
CN110378218A (en) A kind of image processing method, device and terminal device
CN111242217A (en) Training method and device of image recognition model, electronic equipment and storage medium
CN110705532B (en) Method, device and equipment for identifying copied image
US11348254B2 (en) Visual search method, computer device, and storage medium
CN115659396A (en) Method, apparatus, medium and program product for marking sensitive data
US20240029263A1 (en) System and method for identifying auxiliary areas of interest in an image
CN114064079A (en) Packing method and device of algorithm application element, equipment and storage medium
CN110008698B (en) Virus detection method and device
CN110223320A (en) Object detection tracking and detecting and tracking device
CN112822425B (en) Method and equipment for generating high dynamic range image
CN112822426B (en) Method and equipment for generating high dynamic range image
CN112839181B (en) A method and apparatus for generating high dynamic range images
CN113518217A (en) Object recognition method, device, server and medium
US20230215469A1 (en) System and method for enhancing multimedia content with visual effects automatically based on audio characteristics
CN111159538B (en) Method and device for presenting reading information
CN108536343A (en) Control exposure method, apparatus, terminal and storage medium
CN109657514B (en) Method and equipment for generating and identifying two-dimensional code
CN114049578A (en) Sensitive picture identification method and device
CN116310974B (en) Time sequence action detection method and device, electronic equipment and storage medium
CN110262938A (en) A content monitoring method and device
Nguyen-Xuan et al. A New Method for IP camera based face anti-spoofing systems
CN114550025B (en) Evaluation methods, devices, and media for generative models
CN115641463B (en) Classification of test methods, apparatus, equipment, media and procedures products
CN113837863B (en) A business prediction model creation method, device and computer-readable storage medium

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
CP03 Change of name, title or address

Address after: Room 80536, Shanghai

Patentee after: Shanghai Zongzhang Technology Group Co.,Ltd.

Country or region after: China

Address before: Room 80536, Shanghai

Patentee before: SHANGHAI ZHANGMEN SCIENCE AND TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address