[go: up one dir, main page]

CN117425086A - Multimedia data processing method and device, electronic equipment and storage medium - Google Patents

Multimedia data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117425086A
CN117425086A CN202311415449.XA CN202311415449A CN117425086A CN 117425086 A CN117425086 A CN 117425086A CN 202311415449 A CN202311415449 A CN 202311415449A CN 117425086 A CN117425086 A CN 117425086A
Authority
CN
China
Prior art keywords
multimedia data
reference image
image
original multimedia
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311415449.XA
Other languages
Chinese (zh)
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202311415449.XA priority Critical patent/CN117425086A/en
Publication of CN117425086A publication Critical patent/CN117425086A/en
Priority to PCT/CN2024/127406 priority patent/WO2025087392A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/86Camera processing pipelines; Components thereof for processing colour signals for controlling the colour saturation of colour signals, e.g. automatic chroma control circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/85Camera processing pipelines; Components thereof for processing colour signals for matrixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/88Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control

Landscapes

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

Abstract

The embodiment of the disclosure provides a method and a device for processing multimedia data, electronic equipment and a storage medium. The method comprises the steps of obtaining original multimedia data; acquiring a reference image; and adjusting the image frames in the original multimedia data according to the display attributes of the reference images to obtain target multimedia data, and displaying the target multimedia data, wherein the target multimedia data comprises an image frame sequence which is adjusted based on the display attributes of the reference images in the original multimedia data. According to the embodiment of the disclosure, the display style of the original multimedia data is adjusted based on the color style of the reference image, so that the target multimedia data presents a display effect similar to that of the reference image, the step of manually adjusting the display attribute is omitted, and the color mixing efficiency is improved. Because the reference image can intuitively present the color matching result wanted by the user, the adjustment accuracy can be improved by adjusting the original multimedia data based on the display attribute of the reference image, and repeated parameter modification is avoided.

Description

一种多媒体数据的处理方法、装置、电子设备及存储介质Multimedia data processing method, device, electronic equipment and storage medium

技术领域Technical field

本公开实施例涉及图像技术,尤其涉及一种多媒体数据的处理方法、装置、电子设备及存储介质。Embodiments of the present disclosure relate to image technology, and in particular, to a multimedia data processing method, device, electronic device, and storage medium.

背景技术Background technique

随着移动终端以及互联网的普及应用,越来越多的用户可以拍摄多媒体数据,并通过互联网分享多媒体数据。With the popularization of mobile terminals and the Internet, more and more users can capture multimedia data and share multimedia data through the Internet.

在分享之前,用户可能需要对多媒体数据的色彩风格进行调整,以得到一个满足要求的调色结果。目前的调色方式主要通过手动设置参数调整,难以快速、准确地得到满足调色要求的调色结果。Before sharing, users may need to adjust the color style of the multimedia data to obtain a color grading result that meets the requirements. The current color grading method mainly adjusts parameters through manual settings, which makes it difficult to quickly and accurately obtain color grading results that meet color grading requirements.

发明内容Contents of the invention

本公开实施例提供一种多媒体数据的处理方法、装置、电子设备及存储介质,可以提升调色效率和准确率。Embodiments of the present disclosure provide a multimedia data processing method, device, electronic device, and storage medium, which can improve color grading efficiency and accuracy.

第一方面,本公开实施例提供了一种多媒体数据的处理方法,包括:In a first aspect, embodiments of the present disclosure provide a multimedia data processing method, including:

获取原始多媒体数据;Obtain original multimedia data;

获取参考图像;Get reference image;

根据所述参考图像的显示属性调整所述原始多媒体数据中的图像帧,得到目标多媒体数据,显示所述目标多媒体数据,其中,所述目标多媒体数据包括所述原始多媒体数据中基于所述参考图像的显示属性调整后的图像帧序列。Adjust the image frames in the original multimedia data according to the display attributes of the reference image, obtain target multimedia data, and display the target multimedia data, wherein the target multimedia data includes the original multimedia data based on the reference image. A sequence of image frames whose display properties are adjusted.

第二方面,本公开实施例还提供了一种多媒体数据的处理装置,该装置包括:In a second aspect, embodiments of the present disclosure also provide a multimedia data processing device, which includes:

数据获取模块,用于获取原始多媒体数据;Data acquisition module, used to obtain original multimedia data;

图像获取模块,用于获取参考图像;Image acquisition module, used to acquire reference images;

图像调整模块,用于根据所述参考图像的显示属性调整所述原始多媒体数据中的图像帧,得到目标多媒体数据,显示所述目标多媒体数据,其中,所述目标多媒体数据包括所述原始多媒体数据中基于所述参考图像的显示属性调整后的图像帧序列。An image adjustment module, configured to adjust image frames in the original multimedia data according to the display attributes of the reference image, obtain target multimedia data, and display the target multimedia data, wherein the target multimedia data includes the original multimedia data. A sequence of image frames adjusted based on the display attributes of the reference image.

第三方面,本公开实施例还提供了一种电子设备,所述电子设备包括:In a third aspect, embodiments of the present disclosure also provide an electronic device, where the electronic device includes:

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

存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开任意实施例所述的多媒体数据的处理方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the multimedia data processing method described in any embodiment of the present disclosure.

第四方面,本公开实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如本公开任意实施例所述的多媒体数据的处理方法。In a fourth aspect, embodiments of the present disclosure further provide a storage medium containing computer-executable instructions that, when executed by a computer processor, are used to perform processing of multimedia data as described in any embodiment of the present disclosure. Approach.

本公开实施例提供了一种多媒体数据的处理方法、装置、电子设备及存储介质,通过参考图像的显示属性调整原始多媒体数据中的图像帧,得到目标多媒体数据,并显示目标多媒体数据,实现了基于参考图像的色彩风格调整原始多媒体数据的显示风格,使目标多媒体数据呈现与参考图像相似的显示效果,省略了手动调整显示属性的步骤,提高了调色效率。由于参考图像能够直观的呈现用户想要的调色结果,因此基于参考图像的显示属性调整原始多媒体数据可以提高调整准确率,避免反复修改参数。Embodiments of the present disclosure provide a multimedia data processing method, device, electronic device and storage medium. By adjusting the image frames in the original multimedia data with reference to the display attributes of the image, the target multimedia data is obtained and the target multimedia data is displayed, thereby achieving The display style of the original multimedia data is adjusted based on the color style of the reference image, so that the target multimedia data presents a display effect similar to that of the reference image, omitting the step of manually adjusting the display attributes, and improving the color adjustment efficiency. Since the reference image can intuitively present the color grading results desired by the user, adjusting the original multimedia data based on the display attributes of the reference image can improve the adjustment accuracy and avoid repeated modification of parameters.

附图说明Description of the drawings

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages, and aspects of various embodiments of the present disclosure will become more apparent with reference to the following detailed description taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It is to be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.

图1为本公开实施例所提供的一种多媒体数据的处理方法的流程示意图;Figure 1 is a schematic flowchart of a multimedia data processing method provided by an embodiment of the present disclosure;

图2为本公开实施例所提供的另一种多媒体数据的处理方法的流程示意图;Figure 2 is a schematic flowchart of another multimedia data processing method provided by an embodiment of the present disclosure;

图3为本公开实施例提供的一种原始多媒体数据的图像帧中叠加显示参考图像的示意图;Figure 3 is a schematic diagram of a reference image superimposed on an image frame of original multimedia data provided by an embodiment of the present disclosure;

图4为本公开实施例提供的一种参考图像叠加线条素材的示意图;Figure 4 is a schematic diagram of superimposing line material on a reference image provided by an embodiment of the present disclosure;

图5为本公开实施例提供的一种色块特效的示意图;Figure 5 is a schematic diagram of a color block special effect provided by an embodiment of the present disclosure;

图6为本公开实施例提供的一种色块移位的示意图;Figure 6 is a schematic diagram of a color block shift provided by an embodiment of the present disclosure;

图7为本公开实施例所提供的一种多媒体数据的处理装置结构示意图;Figure 7 is a schematic structural diagram of a multimedia data processing device provided by an embodiment of the present disclosure;

图8为本公开实施例所提供的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, which rather are provided for A more thorough and complete understanding of this disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that various steps described in the method implementations of the present disclosure may be executed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performance of illustrated steps. The scope of the present disclosure is not limited in this regard.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "include" and its variations are open-ended, ie, "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as “first” and “second” mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units. Or interdependence.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in this disclosure are illustrative and not restrictive. Those skilled in the art will understand that unless the context clearly indicates otherwise, it should be understood as "one or Multiple”.

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.

可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。It can be understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of corresponding laws, regulations and related regulations.

图1为本公开实施例所提供的一种多媒体数据的处理方法的流程示意图,本公开实施例适用于视频调色的情形,该方法可以由多媒体数据的处理装置来执行,该装置可以通过软件和/或硬件的形式实现,可选的,通过电子设备来实现,该电子设备可以是移动终端、PC端或服务器等。Figure 1 is a schematic flowchart of a multimedia data processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation of video color grading. The method can be executed by a multimedia data processing device, and the device can be executed through software. And/or implemented in the form of hardware, optionally, implemented through electronic equipment. The electronic equipment may be a mobile terminal, PC or server, etc.

如图1所示,所述方法包括:As shown in Figure 1, the method includes:

S110、获取原始多媒体数据。S110. Obtain original multimedia data.

其中,原始多媒体数据可以为用户选定的待进行调色的视频或图像等。The original multimedia data may be videos or images selected by the user to be color-corrected.

一些实施例中,可以指定客户端中的历史视频作为原始多媒体数据。或者,可以获取用户实时拍摄的多媒体数据作为原始多媒体数据。或者,还可以获取用户从本地相册选择的多媒体数据作为原始多媒体数据。In some embodiments, historical videos in the client may be specified as original multimedia data. Alternatively, the multimedia data captured by the user in real time can be obtained as the original multimedia data. Alternatively, the multimedia data selected by the user from the local photo album can also be obtained as the original multimedia data.

示例性地,获取原始多媒体数据,并播放原始多媒体数据,并在不中断播放的情况下调整原始多媒体数据的显示属性。For example, the original multimedia data is obtained, the original multimedia data is played, and the display attributes of the original multimedia data are adjusted without interrupting the playback.

S120、获取参考图像。S120. Obtain the reference image.

其中,参考图像表征调整原始多媒体数据的图像帧的显示属性的参照图像。本公开实施例中,参考图像可以为用户上传的满足调色要求的图像。所述参考图像可以为用户拍摄的图像,也可以为从互联网下载的图像,本公开实施例并不限定参考图像的来源。Wherein, the reference image represents a reference image for adjusting the display attribute of the image frame of the original multimedia data. In the embodiment of the present disclosure, the reference image may be an image uploaded by the user that meets the color grading requirements. The reference image may be an image taken by a user or an image downloaded from the Internet. The embodiment of the present disclosure does not limit the source of the reference image.

示例性地,检测到调色功能开启,并获取到用户选定的待调色的原始多媒体数据之后,获取用户上传的参考图像。由于参考图像的显示风格满足用户的调色需求,可以避免手动调色过程中,为了得到满足调色需求的调色结果而反复修改参数的步骤,提升的调色效率。For example, after detecting that the color correction function is turned on and obtaining the original multimedia data selected by the user to be color corrected, the reference image uploaded by the user is obtained. Since the display style of the reference image meets the user's color grading needs, it is possible to avoid the steps of repeatedly modifying parameters in the manual color grading process in order to obtain a color grading result that meets the color grading requirements, thereby improving the color grading efficiency.

S130、根据所述参考图像的显示属性调整所述原始多媒体数据中的图像帧,得到目标多媒体数据,显示所述目标多媒体数据。S130. Adjust the image frames in the original multimedia data according to the display attributes of the reference image to obtain target multimedia data, and display the target multimedia data.

其中,所述显示属性表征所述参考图像在色彩和亮度等方面的显示效果。例如,显示属性可以包括亮度属性和色彩属性等。Wherein, the display attribute represents the display effect of the reference image in aspects such as color and brightness. For example, display attributes may include brightness attributes, color attributes, etc.

目标多媒体数据可以表征原始多媒体数据的调色结果,所述目标多媒体数据包括所述原始多媒体数据中基于所述参考图像的显示属性调整后的图像帧序列,所述目标多媒体数据呈现与参考图像相似的显示效果。The target multimedia data can represent the color correction result of the original multimedia data, the target multimedia data includes a sequence of image frames in the original multimedia data adjusted based on the display attributes of the reference image, and the target multimedia data appears similar to the reference image. display effect.

示例性地,对于所述参考图像和原始多媒体数据中的图像帧,分别根据所述显示属性确定图像对应的目标像素区间。For example, for the reference image and the image frame in the original multimedia data, the target pixel interval corresponding to the image is determined according to the display attribute respectively.

对于每个所述目标像素区间,基于所述参考图像的像素的显示属性对所述原始多媒体数据中的图像帧进行属性匹配,融合每个所述目标像素区间对应的属性匹配结果,得到所述图像帧对应的多媒体数据处理结果。其中,属性匹配可以包括对色彩和亮度等属性进行匹配。属性匹配结果表征将参考图像的属性特征迁移到原始多媒体数据的图像帧的处理结果。通过将参考图像的属性特征迁移到原始多媒体数据的图像帧,使得原始多媒体数据的图像帧呈现与参考图像相似的显示属性。For each target pixel interval, perform attribute matching on the image frames in the original multimedia data based on the display attributes of the pixels of the reference image, and fuse the attribute matching results corresponding to each target pixel interval to obtain the Multimedia data processing results corresponding to image frames. Among them, attribute matching may include matching attributes such as color and brightness. The attribute matching result represents the processing result of transferring the attribute characteristics of the reference image to the image frame of the original multimedia data. By migrating the attribute features of the reference image to the image frames of the original multimedia data, the image frames of the original multimedia data present display attributes similar to those of the reference image.

对于所述原始多媒体数据的图像帧中肤色区域中的每个像素,根据所述参考图像的显示属性调整所述像素的显示属性,得到所述图像帧对应的肤色调整结果。For each pixel in the skin color area in the image frame of the original multimedia data, adjust the display attribute of the pixel according to the display attribute of the reference image to obtain the skin color adjustment result corresponding to the image frame.

对于所述原始多媒体数据中的图像帧,根据肤色权重融合所述肤色调整结果和多媒体数据处理结果,得到目标多媒体数据。其中,所述肤色权重表征原始多媒体数据的图像帧中每个像素属于肤色区域的概率。For the image frames in the original multimedia data, the skin color adjustment result and the multimedia data processing result are fused according to the skin color weight to obtain target multimedia data. Wherein, the skin color weight represents the probability that each pixel in the image frame of the original multimedia data belongs to the skin color area.

本公开实施例中,分别对参考图像和原始多媒体数据的图像帧进行颜色空间转换。基于颜色空间转换结果分别得到参考图像和原始多媒体数据的图像帧的亮度通道数据。根据所述亮度通道数据分别确定参考图像和原始多媒体数据的图像帧对应的直方图。根据参考图像的直方图中每个亮度值对应的像素数量,确定参考图像对应的亮度分割点,然后,根据参考图像对应的亮度分割点将所述参考图像分割为多个目标像素区间。根据原始多媒体数据的图像帧的直方图中每个亮度值对应的像素数量,确定原始多媒体数据中图像帧对应的亮度分割点,然后,根据所述图像帧对应的亮度分割点将所述图像帧分割为多个目标像素区间。例如,目标像素区间包括阴影区间、中间调区间和高光区间等。In the embodiment of the present disclosure, color space conversion is performed on the reference image and the image frame of the original multimedia data respectively. Based on the color space conversion results, the brightness channel data of the image frame of the reference image and the original multimedia data are obtained respectively. Histograms corresponding to the image frames of the reference image and the original multimedia data are respectively determined according to the brightness channel data. According to the number of pixels corresponding to each brightness value in the histogram of the reference image, the brightness segmentation points corresponding to the reference image are determined, and then the reference image is segmented into multiple target pixel intervals according to the brightness segmentation points corresponding to the reference image. According to the number of pixels corresponding to each brightness value in the histogram of the image frame of the original multimedia data, determine the brightness segmentation point corresponding to the image frame in the original multimedia data, and then divide the image frame according to the brightness segmentation point corresponding to the image frame. Divide it into multiple target pixel intervals. For example, the target pixel interval includes shadow interval, midtone interval, highlight interval, etc.

一些实施例中,按照亮度属性对所述参考图像的像素进行统计,根据像素统计结果确定亮度分割点,然后,根据亮度分割点将参考图像分割为若干个目标像素区间。其中,目标像素区间的数量基于亮度分割点的数量确定,且相邻的目标像素区间具有重叠区域。In some embodiments, the pixels of the reference image are counted according to the brightness attributes, the brightness division points are determined according to the pixel statistics results, and then the reference image is divided into several target pixel intervals according to the brightness division points. The number of target pixel intervals is determined based on the number of brightness division points, and adjacent target pixel intervals have overlapping areas.

一些实施例中,将参考图像转换为YUV颜色空间,确定Y通道数据为亮度属性,通过Y通道数据生成参考图像的Y通道的直方图。根据Y通道的直方图中的每个亮度值确定阴影、中间调和高光的像素。确定备选分割点以使阴影、中间调和高光对应的像素数量相同。或者,确定备选分割点以使阴影区间、中间调区间和高光区间的面积均相同。In some embodiments, the reference image is converted into a YUV color space, the Y channel data is determined as a brightness attribute, and a histogram of the Y channel of the reference image is generated through the Y channel data. Determine the pixels for shadows, midtones, and highlights based on each brightness value in the histogram of the Y channel. Determine alternative split points so that shadows, midtones, and highlights have the same number of pixels. Alternatively, determine alternative split points so that the shadow, midtone, and highlight intervals are all the same area.

为了避免在备份分割点对应的像素出现颜色跳变,可以在相邻区间之间错开一定范围,使相邻区间存在重叠区域,重叠区域的面积可以根据实际应用场景设定。例如,可以将重叠区域设置为参考图像对应的颜色区域的面积的n倍,且0<n<1。In order to avoid color jumps in the pixels corresponding to the backup split points, a certain range can be staggered between adjacent intervals so that adjacent intervals have overlapping areas. The area of the overlapping areas can be set according to the actual application scenario. For example, the overlapping area can be set to n times the area of the color area corresponding to the reference image, and 0<n<1.

根据每个重叠区域的起点对应的亮度值和终点对应的亮度值,确定亮度分割点。以目标像素区间包括阴影区间、中间调区间和高光区间为例,则存在两个重叠区域,即阴影区间与中间调区间的重叠区域和中间调区间和高光区间的重叠区域,存在四个亮度分割点,分别为S1,S2,S3和S4,且S1<S2<S3<S4,阴影区间的范围[0,S2],中间调区间的范围[S1,S4],高光区间的范围[S3,255]。The brightness segmentation point is determined based on the brightness value corresponding to the starting point and the brightness value corresponding to the end point of each overlapping area. Taking the target pixel interval as an example, including the shadow interval, midtone interval and highlight interval, there are two overlapping areas, namely the overlapping area between the shadow interval and the midtone interval and the overlapping area between the midtone interval and the highlight interval. There are four brightness divisions. Points are S1, S2, S3 and S4 respectively, and S1<S2<S3<S4, the range of shadow interval [0, S2], the range of midtone interval [S1, S4], the range of highlight interval [S3, 255 ].

采用与上述方式相似的方式确定原始多媒体数据中的图像帧的亮度分割点和目标像素区间的范围,此处不再赘述。A method similar to the above method is used to determine the brightness segmentation point and the range of the target pixel interval of the image frame in the original multimedia data, which will not be described again here.

对于原始多媒体数据中的图像帧的每一个像素,若所述像素属于目标像素区间的重叠区域,则根据所述像素的亮度属性和所述重叠区域对应的亮度分割点,确定所述像素与每个目标像素区间对应的第一权重。For each pixel of the image frame in the original multimedia data, if the pixel belongs to the overlapping area of the target pixel interval, then according to the brightness attribute of the pixel and the brightness segmentation point corresponding to the overlapping area, determine the distance between the pixel and each pixel. The first weight corresponding to the target pixel interval.

或者,若所述像素属于所述目标像素区间的非重叠区域,则根据所述像素所属的目标像素区间确定所述像素与每个目标像素区间对应的第一权重。Alternatively, if the pixel belongs to a non-overlapping area of the target pixel interval, the first weight corresponding to the pixel and each target pixel interval is determined according to the target pixel interval to which the pixel belongs.

在确定亮度分割点之后,对于原始多媒体数据中的图像帧的每个像素,可以其亮度可以确定若干个第一权重,其中,第一权重的数量与目标像素区间的数量一致。例如,若将原始多媒体数据中的图像帧分为阴影区间、中间调区间和高光区间,可以计算原始多媒体数据中的图像帧中每个像素的三个第一权重,即分别为像素对应阴影区间的阴影权重Wshadow,像素对应中间调区间的中间调权重Wmid,以及像素对应高光区间的高光权重Whighlight,且三个权重的和为1。After determining the brightness dividing point, for each pixel of the image frame in the original multimedia data, several first weights may be determined for its brightness, where the number of first weights is consistent with the number of target pixel intervals. For example, if the image frames in the original multimedia data are divided into shadow intervals, midtone intervals and highlight intervals, the three first weights of each pixel in the image frames in the original multimedia data can be calculated, that is, the pixels correspond to the shadow intervals. The shadow weight W shadow , the midtone weight W mid of the pixel corresponding to the midtone interval, and the highlight weight W highlight of the pixel corresponding to the highlight interval, and the sum of the three weights is 1.

对于原始多媒体数据中的图像帧的每个像素,若所述像素的亮度完全处于阴影区间,则该像素对应阴影区间的第一权重为Wshadow=1,该像素对应中间调区间的第一权重为Wmid=0,该像素对应高光区间的第一权重为Whighlight=0,可以采用相同的方式确定完全处于中间调区间和高光区间的像素的第一权重,此处不再赘述。For each pixel of the image frame in the original multimedia data, if the brightness of the pixel is completely in the shadow interval, the first weight of the pixel corresponding to the shadow interval is W shadow =1, and the first weight of the pixel corresponding to the midtone interval is W mid =0, the first weight corresponding to the highlight interval of this pixel is W highlight =0. The first weight of the pixel completely in the midtone interval and the highlight interval can be determined in the same way, which will not be described again here.

若所述像素的亮度属于阴影区间和中间调区间的重叠区域,则所述像素既有阴影权重,也有中间调权重,根据像素的亮度以及所述重叠区域的亮度分割点(S1和S2)的亮度,确定所述像素对应于阴影区间的第一权重Wshadow,确定所述像素对应于中间调区间的第一权重Wmid,确定所述像素对应于高光区间的第一权重为Whighlight=0。If the brightness of the pixel belongs to the overlapping area of the shadow interval and the midtone interval, the pixel has both a shadow weight and a midtone weight. According to the brightness of the pixel and the brightness dividing points (S1 and S2) of the overlapping area, Brightness, determine the first weight W shadow of the pixel corresponding to the shadow interval, determine the first weight W mid of the pixel corresponding to the midtone interval, determine the first weight W highlight =0 of the pixel corresponding to the highlight interval .

采用上述相似的方法可以确定参考图像对应的第一权重,此处不再赘述。The first weight corresponding to the reference image can be determined using a similar method as described above, which will not be described again here.

一些实施例中,对于每个所述目标像素区间,基于所述参考图像的像素的显示属性对所述原始多媒体数据中的图像帧进行属性匹配,融合每个所述目标像素区间对应的属性匹配结果,得到所述图像帧对应的多媒体数据处理结果,包括:In some embodiments, for each target pixel interval, attribute matching is performed on the image frames in the original multimedia data based on the display attributes of the pixels of the reference image, and the attribute matching corresponding to each target pixel interval is merged. As a result, the multimedia data processing results corresponding to the image frames are obtained, including:

基于所述参考图像的亮度属性对所述原始多媒体数据中的图像帧进行亮度匹配,得到所述原始多媒体数据中的图像帧的亮度匹配结果。为了将图像亮度和色彩分开进行匹配,将原始多媒体数据中的图像帧转换为YUV颜色空间,对UV通道进行色彩匹配,对Y通道进行亮度匹配。例如,采用直方图匹配算法,将原始多媒体数据中的图像帧的Y通道与参考图像的Y通道进行直方图匹配,得到亮度匹配结果。Perform brightness matching on the image frames in the original multimedia data based on the brightness attribute of the reference image to obtain a brightness matching result of the image frames in the original multimedia data. In order to match image brightness and color separately, the image frames in the original multimedia data are converted into YUV color space, the UV channel is color matched, and the Y channel is brightness matched. For example, a histogram matching algorithm is used to perform histogram matching between the Y channel of the image frame in the original multimedia data and the Y channel of the reference image to obtain a brightness matching result.

根据每个所述目标像素区间的色彩属性确定所述目标像素区间对应的色彩特征和变换矩阵,其中,所述色彩特征表征所述原始多媒体数据中的图像帧和参考图像分别对应的所述目标像素区间的像素的色彩分布。本公开实施例,色彩特征可以包括UV通道均值和协方差矩阵等。The color features and transformation matrix corresponding to the target pixel interval are determined according to the color attributes of each target pixel interval, wherein the color features represent the targets respectively corresponding to the image frames and reference images in the original multimedia data. The color distribution of pixels in the pixel interval. In the embodiment of the present disclosure, color features may include UV channel mean, covariance matrix, etc.

对于原始多媒体数据中的图像帧和参考图像,分别获取阴影区间、中间调区间和高光区间中像素的UV通道数据,根据UV通道数据计算UV均值和协方差矩阵,然后,根据UV均值和协方差矩阵确定变换矩阵M。For the image frames and reference images in the original multimedia data, obtain the UV channel data of the pixels in the shadow interval, midtone interval and highlight interval respectively, calculate the UV mean and covariance matrix based on the UV channel data, and then, according to the UV mean and covariance The matrix determines the transformation matrix M.

一些实施例中,根据每个所述目标像素区间的色彩属性确定所述目标像素区间对应的色彩特征和变换矩阵,包括:In some embodiments, determining the color characteristics and transformation matrix corresponding to the target pixel interval according to the color attribute of each target pixel interval includes:

根据所述原始多媒体数据中的图像帧的每个所述目标像素区间的像素的色彩属性,确定所述目标像素区间对应的第一色彩均值和第一协方差矩阵;Determine the first color mean and the first covariance matrix corresponding to the target pixel interval according to the color attributes of the pixels in each target pixel interval of the image frame in the original multimedia data;

根据所述参考图像的每个所述目标像素区间的像素的色彩属性,确定所述目标像素区间对应的第二色彩均值和第二协方差矩阵;Determine the second color mean and the second covariance matrix corresponding to the target pixel interval according to the color attributes of the pixels in each target pixel interval of the reference image;

根据所述第一色彩均值、第二色彩均值、第一协方差矩阵和第二协方差矩阵确定所述目标像素区间对应的变换矩阵,所述色彩特征包括所述第一色彩均值和第二色彩均值。The transformation matrix corresponding to the target pixel interval is determined according to the first color mean, the second color mean, the first covariance matrix and the second covariance matrix, and the color features include the first color mean and the second color mean.

以阴影区间为例,对于所有亮度处于在阴影区间的像素,计算原始多媒体数据中的图像帧所有阴影像素的UV通道均值协方差矩阵∑src,其中,第一色彩均值可以表示为/>和/>第一协方差矩阵可以表示为Σsrc。计算参考图像所有阴影像素的UV通道均值/>协方差矩阵Σref,其中,第二色彩均值可以表示为/>和/>第二协方差矩阵可以表示为∑ref。采用MKL算法基于上述均值和协方差矩阵,确定变换矩阵M。Taking the shadow interval as an example, for all pixels whose brightness is in the shadow interval, calculate the UV channel mean of all shadow pixels in the image frame in the original multimedia data Covariance matrix ∑ src , where the first color mean can be expressed as/> and/> The first covariance matrix can be expressed as Σ src . Calculate the mean UV channel of all shadow pixels in the reference image/> Covariance matrix Σ ref , where the second color mean can be expressed as/> and/> The second covariance matrix can be expressed as ∑ ref . The MKL algorithm is used to determine the transformation matrix M based on the above mean and covariance matrices.

一些实施例中,在确定所述目标像素区间对应的第一色彩均值和第一协方差矩阵之后,还包括:In some embodiments, after determining the first color mean and the first covariance matrix corresponding to the target pixel interval, the method further includes:

确定所述第一协方差矩阵的特征值,其中,所述特征值表征所述原始多媒体数据中的图像帧的像素按照高斯分布呈现的椭圆的形状;Determine the eigenvalues of the first covariance matrix, wherein the eigenvalues represent the shape of an ellipse in which the pixels of the image frame in the original multimedia data are presented according to a Gaussian distribution;

在所述特征值满足设定条件的情况下,将单位矩阵作为所述变换矩阵。When the eigenvalues satisfy the set conditions, the identity matrix is used as the transformation matrix.

其中,预设条件表征原始多媒体数据中的图像帧的像素按照高斯分布呈现的椭圆的形状阈值,对于超过形状阈值的高斯分布进行色彩变换,则可能产生色彩异常点,放弃基于协方差矩阵计算变换矩阵,而是把变换矩阵M设置为单位矩阵。Among them, the preset conditions represent the shape threshold of the ellipse presented by the Gaussian distribution in the pixels of the image frames in the original multimedia data. If the color transformation is performed on the Gaussian distribution that exceeds the shape threshold, color outliers may occur, and the calculation of the transformation based on the covariance matrix is abandoned. matrix, but set the transformation matrix M to the identity matrix.

例如,根据原始多媒体数据中的图像帧的协方差矩阵∑src确定协方差矩阵的特征值e1和e2,且e1>e2,协方差矩阵的特征值表示了原始多媒体数据中的图像帧的像素按照高斯分布呈现的椭圆形的长轴e1和短轴e2。如果e1/e2>设定形状阈值,则说明高斯分布呈现的椭圆形很扁,此时如果对该高斯分布进行色彩变换,则容易产生色彩异常点。此时,将变换矩阵M设为单位矩阵。For example, the eigenvalues e1 and e2 of the covariance matrix are determined according to the covariance matrix ∑ src of the image frame in the original multimedia data, and e1>e2. The eigenvalues of the covariance matrix represent the pixels of the image frame in the original multimedia data according to The Gaussian distribution presents an ellipse with a major axis e1 and a minor axis e2. If e1/e2>set the shape threshold, it means that the ellipse presented by the Gaussian distribution is very flat. At this time, if the Gaussian distribution is color transformed, it is easy to produce color abnormal points. At this time, the transformation matrix M is set to the unit matrix.

采用上述方式,可以分别计算出原始多媒体数据中的图像帧在阴影区间、中间调区间和高光区间的第一色彩均值,即为和/>和/>和/>以及,分别计算出原始多媒体数据中的图像帧在阴影区间、中间调区间和高光区间的协方差矩阵,即为∑src0、∑src1,∑src2;以及,分别计算出原始多媒体数据中的图像帧在阴影区间、中间调区间和高光区间的变换矩阵M0,M1,和M2Using the above method, the first color average value of the image frame in the original multimedia data in the shadow interval, midtone interval and highlight interval can be calculated respectively, which is and/> and/> and/> And, respectively calculate the covariance matrices of the image frames in the original multimedia data in the shadow interval, midtone interval and highlight interval, which are ∑ src0 , ∑ src1 , ∑ src2 ; and, respectively calculate the image frames in the original multimedia data. Transformation matrices M 0 , M 1 , and M 2 in the shadow interval, midtone interval, and highlight interval.

根据所述色彩特征和变换矩阵分别对所述原始多媒体数据中的图像帧对应的每个所述目标像素区间进行色彩匹配。Color matching is performed on each target pixel interval corresponding to the image frame in the original multimedia data according to the color feature and the transformation matrix.

示例性地,对于所述原始多媒体数据中的图像帧的每个目标像素区间,根据所述目标像素区间中像素的色彩信息和第一色彩均值确定所述像素对应的第二权重。Exemplarily, for each target pixel interval of the image frame in the original multimedia data, the second weight corresponding to the pixel is determined according to the color information and the first color mean of the pixel in the target pixel interval.

其中,第二权重表征像素的色彩与高斯分布中的均值的偏离程度。第二权重越小,表示像素的色彩值偏离高斯分布的均值。第二权重越大,表示像素的色彩值靠近高斯分布的均值。Among them, the second weight represents the degree of deviation of the color of the pixel from the mean value in the Gaussian distribution. The smaller the second weight is, it means that the color value of the pixel deviates from the mean value of the Gaussian distribution. The larger the second weight is, the color value of the pixel is closer to the mean of the Gaussian distribution.

以阴影区间为例,原始多媒体数据中的图像帧的阴影区间的像素在UV通道的色彩信息uv可以表示为二维向量,原始多媒体数据中的图像帧的阴影区间的第一色彩均值/>可以表示为/>根据像素的色彩信息uv、第一色彩均值/>和第一协方差矩阵∑src0计算第二权重。采用相似的方式,计算中间调区间和高光区间中像素对应的第二权重,此处不再赘述。Taking the shadow interval as an example, the color information uv of the pixels in the UV channel of the shadow interval of the image frame in the original multimedia data can be expressed as a two-dimensional vector, The first color mean of the shadow interval of the image frame in the original multimedia data/> It can be expressed as/> According to the color information uv of the pixel, the first color mean/> and the first covariance matrix ∑ src0 to calculate the second weight. A similar method is used to calculate the second weight corresponding to the pixels in the midtone interval and highlight interval, which will not be described again here.

根据所述色彩特征和变换矩阵分别对所述目标像素区间进行色彩匹配,得到所述目标像素区间对应的第一色彩匹配结果和第二色彩匹配结果。例如,可以基于变换矩阵对原始多媒体数据中的图像帧的目标像素区间进行色彩匹配,得到第一色彩匹配结果。其中,第一色彩匹配结果可以为基于变换矩阵对原始多媒体数据中的图像帧的目标像素区间进行色彩变换后,得到的新的色彩信息。基于原始多媒体数据中的图像帧中所述像素的色彩、所述像素所属的目标像素区间对应的第一色彩均值,参考图像中所述目标像素区间对应的第二色彩均值,确定第二色彩匹配结果。其中,第二色彩匹配结果可以为基于原始多媒体数据中的图像帧和参考图像在目标像素区间的色彩均值,调整所述目标像素区间的色彩信息,得到的新的色彩信息。Color matching is performed on the target pixel interval according to the color characteristics and the transformation matrix, and a first color matching result and a second color matching result corresponding to the target pixel interval are obtained. For example, color matching can be performed on the target pixel interval of the image frame in the original multimedia data based on the transformation matrix to obtain the first color matching result. The first color matching result may be new color information obtained after performing color transformation on the target pixel interval of the image frame in the original multimedia data based on the transformation matrix. Based on the color of the pixel in the image frame in the original multimedia data, the first color mean corresponding to the target pixel interval to which the pixel belongs, and the second color mean corresponding to the target pixel interval in the image, the second color matching is determined result. The second color matching result may be new color information obtained by adjusting the color information of the target pixel interval based on the color average of the image frame in the original multimedia data and the reference image in the target pixel interval.

以阴影区间为例,基于变换矩阵对原始多媒体数据中的图像帧在阴影区间中每个像素进行色彩变换,得到新的色彩信息,作为第一色彩匹配结果。基于原始多媒体数据中的图像帧和参考图像在阴影区间的色彩均值调整原始多媒体数据中的图像帧在阴影区间中每个像素的色彩信息,得到新的色彩信息,作为第二色彩匹配结果。例如,原始多媒体数据中的图像帧的像素的色彩信息uv结合阴影区间对应的变换矩阵M0,得到阴影区间对应的第一色彩匹配结果,实现将参考图像的色彩风格迁移至原始多媒体数据中的图像帧。原始多媒体数据中的图像帧的像素的色彩信息uv减去原始多媒体数据中的图像帧的后叠加上参考图像的/>得到阴影区间对应的第二色彩匹配结果。其中,/>表示参考图像的阴影区间的第二色彩均值,可以表示为/> Taking the shadow interval as an example, perform color transformation on each pixel of the image frame in the original multimedia data in the shadow interval based on the transformation matrix to obtain new color information as the first color matching result. Based on the color average of the image frame in the original multimedia data and the reference image in the shadow interval, the color information of each pixel in the shadow interval of the image frame in the original multimedia data is adjusted to obtain new color information as the second color matching result. For example, the color information uv of the pixels of the image frame in the original multimedia data is combined with the transformation matrix M 0 corresponding to the shadow interval to obtain the first color matching result corresponding to the shadow interval, thereby migrating the color style of the reference image to the original multimedia data. image frame. The color information uv of the pixels of the image frame in the original multimedia data minus the uv of the image frame in the original multimedia data Then superimpose the reference image/> Obtain the second color matching result corresponding to the shadow interval. Among them,/> Represents the second color mean value of the shadow interval of the reference image, which can be expressed as/>

根据所述第二权重融合所述第一色彩匹配结果和第二色彩匹配结果,得到所述目标像素区间的色彩匹配结果。The first color matching result and the second color matching result are merged according to the second weight to obtain the color matching result of the target pixel interval.

以阴影区间为例,根据第二权重确定融合系数,根据融合系数融合阴影区间对应的第一色彩匹配结果和第二色彩匹配结果,得到阴影区间的色彩匹配结果。其中,融合系数包括第二权重,且各融合系数的和为1。采用相似方式计算中间调区间的色彩匹配结果和高光区间的色彩匹配结果,此处不再赘述。Taking the shadow interval as an example, the fusion coefficient is determined according to the second weight, and the first color matching result and the second color matching result corresponding to the shadow interval are fused according to the fusion coefficient to obtain the color matching result of the shadow interval. Among them, the fusion coefficient includes the second weight, and the sum of each fusion coefficient is 1. The color matching results of the midtone range and the color matching results of the highlight range are calculated in a similar manner, which will not be described again here.

需要说明的是,对于原始多媒体数据中的图像帧中亮度完全属于阴影区间、中间调区间或高光区间的像素,仅存在阴影区间的色彩匹配结果。对于原始多媒体数据中的图像帧中亮度属于阴影区间和中间调区间的重叠区域的像素,存在阴影区间的色彩匹配结果和中间调区间的色彩匹配结果。对于原始多媒体数据中的图像帧中亮度属于中间调区间和高光调区间的重叠区域的像素,存在中间调区间色彩匹配结果和高光区间的色彩匹配结果。It should be noted that for pixels in the image frames in the original multimedia data whose brightness completely belongs to the shadow interval, midtone interval or highlight interval, only the color matching results of the shadow interval exist. For pixels whose brightness belongs to the overlapping area of the shadow interval and the midtone interval in the image frame in the original multimedia data, there are color matching results for the shadow interval and color matching results for the midtone interval. For pixels in the image frame in the original multimedia data whose brightness belongs to the overlapping area of the midtone interval and the highlight interval, there is a color matching result for the midtone interval and a color matching result for the highlight interval.

对于所述原始多媒体数据中的图像帧的每个像素,根据所述像素与每个目标像素区间对应的第一权重融合所述目标像素区间的色彩匹配结果,得到所述原始多媒体数据中的图像帧的色彩匹配结果;根据所述原始多媒体数据中的图像帧的色彩匹配结果和亮度匹配结果确定所述原始多媒体数据中的图像帧的处理结果图像,作为图像帧对应的多媒体数据处理结果。For each pixel of the image frame in the original multimedia data, the color matching result of the target pixel interval is fused according to the first weight corresponding to the pixel and each target pixel interval to obtain the image in the original multimedia data. The color matching result of the frame; determine the processing result image of the image frame in the original multimedia data according to the color matching result and brightness matching result of the image frame in the original multimedia data, as the multimedia data processing result corresponding to the image frame.

一些实施例中,对于原始多媒体数据中的图像帧的每个像素,根据该像素分别与各个目标像素区间(即阴影区间、中间调区间和高光区间)对应的第一权重(即阴影权重、中间调权重和高光权重),融合该像素在对应的目标像素区间(即阴影权重、中间调权重和高光权重)的色彩匹配结果,得到原始多媒体数据中的图像帧的色彩匹配结果。In some embodiments, for each pixel of the image frame in the original multimedia data, the first weight (i.e., shadow weight, middle) corresponding to each target pixel interval (i.e., shadow interval, midtone interval, and highlight interval) is determined according to the pixel. Adjustment weight and highlight weight), fuse the color matching results of the pixel in the corresponding target pixel interval (ie, shadow weight, midtone weight and highlight weight) to obtain the color matching result of the image frame in the original multimedia data.

例如,对于原始多媒体数据中的图像帧的每个像素,根据所述像素的阴影权重、中间调权重和高光权重,融合该像素在阴影区间的色彩匹配结果、该像素在中间调区间的色彩匹配结果以及该像素在高光调区间的色彩匹配结果,得到原始多媒体数据中的图像帧的色彩匹配结果。For example, for each pixel of the image frame in the original multimedia data, according to the shadow weight, midtone weight and highlight weight of the pixel, the color matching results of the pixel in the shadow interval and the color matching of the pixel in the midtone interval are merged. As a result, and the color matching result of the pixel in the highlight interval, the color matching result of the image frame in the original multimedia data is obtained.

一些实施例中,对于所述原始多媒体数据的图像帧中肤色区域中的像素,根据所述参考图像的肤色区域的显示属性调整所述像素的显示属性,得到所述图像帧对应的肤色调整结果,包括:In some embodiments, for the pixels in the skin color area in the image frame of the original multimedia data, the display attributes of the pixels are adjusted according to the display attributes of the skin color area of the reference image to obtain the skin color adjustment result corresponding to the image frame. ,include:

确定所述原始多媒体数据的图像帧中每个像素属于肤色区域的概率,作为肤色权重,根据所述肤色权重确定所述原始多媒体数据的图像帧中肤色区域包含的像素;Determine the probability that each pixel in the image frame of the original multimedia data belongs to the skin color area, as the skin color weight, determine the pixels included in the skin color area in the image frame of the original multimedia data according to the skin color weight;

根据所述原始多媒体数据的图像帧中肤色区域包含的像素的显示属性,确定所述原始多媒体数据的图像帧中肤色区域的显示属性均值;Determine the display attribute mean value of the skin color area in the image frame of the original multimedia data according to the display attributes of the pixels contained in the skin color area in the image frame of the original multimedia data;

对于所述原始多媒体数据的图像帧中肤色区域中的像素,根据所述图像帧和参考图像分别在肤色区域的显示属性均值调整所述像素的显示属性,得到所述图像帧对应的肤色调整结果。For the pixels in the skin color area in the image frame of the original multimedia data, the display attributes of the pixels are adjusted according to the average display attributes of the image frame and the reference image in the skin color area, and the skin color adjustment result corresponding to the image frame is obtained. .

其中,肤色调整结果表征将参考图像的色彩和亮度特征迁移到原始多媒体数据的图像帧中肤色区域的处理结果。Among them, the skin color adjustment result represents the processing result of migrating the color and brightness characteristics of the reference image to the skin color area in the image frame of the original multimedia data.

示例性地,将原始多媒体数据输入肤色分割模型,采用肤色分割模型分别对原始多媒体数据中的图像帧进行肤色分割,得到所述图像帧中每个像素属于肤色区域的概率,根据所述概率确定原始多媒体数据中的图像帧的肤色区域包含的像素。相似地,将参考图像输入肤色分割模型,采用肤色分割模型对所述参考图像进行肤色分割,得到参考图像中每个像素属于肤色区域的概率,根据所述概率确定所述参考图像的肤色区域包含的像素。Exemplarily, the original multimedia data is input into the skin color segmentation model, and the skin color segmentation model is used to perform skin color segmentation on the image frames in the original multimedia data. The probability that each pixel in the image frame belongs to the skin color area is obtained, and the probability is determined based on the probability. The pixels contained in the skin tone area of the image frame in the original multimedia data. Similarly, the reference image is input into the skin color segmentation model, the skin color segmentation model is used to perform skin color segmentation on the reference image, and the probability that each pixel in the reference image belongs to the skin color area is obtained. Based on the probability, it is determined that the skin color area of the reference image contains of pixels.

根据原始多媒体数据中的图像帧的肤色区域包含的每个像素的亮度,确定所述原始多媒体数据中的图像帧的肤色区域的亮度均值。根据参考图像的肤色区域包含的每个像素的亮度,确定所述参考图像中肤色区域的亮度均值。根据原始多媒体数据中的图像帧的肤色区域包含的每个像素的色度,确定所述原始多媒体数据中的图像帧的肤色区域的色度均值。根据参考图像的肤色区域包含的每个像素的色度,确定所述参考图像中肤色区域的色度均值。According to the brightness of each pixel included in the skin color area of the image frame in the original multimedia data, the average brightness value of the skin color area of the image frame in the original multimedia data is determined. According to the brightness of each pixel included in the skin color area of the reference image, the mean brightness value of the skin color area in the reference image is determined. According to the chromaticity of each pixel contained in the skin color area of the image frame in the original multimedia data, the chromaticity mean value of the skin color area of the image frame in the original multimedia data is determined. According to the chromaticity of each pixel contained in the skin color area of the reference image, the chroma mean value of the skin color area in the reference image is determined.

对于所述原始多媒体数据的图像帧中肤色区域中的每个像素,计算所述像素的亮度与所述肤色区域的亮度均值的差值,将所述差值与所述参考图像的肤色区域的亮度均值进行叠加,得到所述像素的亮度调整结果。For each pixel in the skin color area in the image frame of the original multimedia data, calculate the difference between the brightness of the pixel and the mean brightness of the skin color area, and compare the difference with the mean value of the skin color area in the reference image. The brightness averages are superimposed to obtain the brightness adjustment result of the pixel.

对于所述原始多媒体数据的图像帧中肤色区域中的每个像素,计算所述像素的色度与所述肤色区域的色度均值的差值,将所述差值与所述参考图像的肤色区域的色度均值进行叠加,得到所述像素的色度调整结果。For each pixel in the skin color area in the image frame of the original multimedia data, calculate the difference between the chroma of the pixel and the mean chroma of the skin color area, and compare the difference with the skin color of the reference image. The average chromaticity values of the regions are superimposed to obtain the chromaticity adjustment result of the pixel.

根据所述原始多媒体数据的图像帧中肤色区域中的每个像素的亮度调整结果和色度调整结果,得到所述图像帧对应的肤色调整结果。According to the brightness adjustment result and the chroma adjustment result of each pixel in the skin color area in the image frame of the original multimedia data, the skin color adjustment result corresponding to the image frame is obtained.

基于肤色权重采用线性融合方式对所述图像帧的多媒体数据处理结果和肤色调整结果进行融合,得到目标多媒体数据。例如,根据目标多媒体数据包括的图像帧序列对应的多媒体数据处理结果和肤色调整结果的融合结果,确定目标多媒体数据。Based on the skin color weight, a linear fusion method is used to fuse the multimedia data processing result of the image frame and the skin color adjustment result to obtain the target multimedia data. For example, the target multimedia data is determined based on the fusion result of the multimedia data processing result corresponding to the image frame sequence included in the target multimedia data and the skin color adjustment result.

本公开实施例的技术方案,通过参考图像的显示属性调整原始多媒体数据中图像帧,得到目标多媒体数据,并显示目标多媒体数据,实现了基于参考图像的色彩风格调整原始多媒体数据的显示风格,使目标多媒体数据呈现与参考图像相似的显示效果,省略了手动调整显示属性的步骤,提高了调色效率。由于参考图像能够直观的呈现用户想要的调色结果,因此基于参考图像的显示属性调整原始多媒体数据可以提高调整准确率,避免反复修改参数。The technical solution of the embodiment of the present disclosure adjusts the image frames in the original multimedia data by adjusting the display attributes of the reference image, obtains the target multimedia data, and displays the target multimedia data, thereby realizing the adjustment of the display style of the original multimedia data based on the color style of the reference image, so that The target multimedia data presents a display effect similar to that of the reference image, eliminating the need to manually adjust the display properties and improving color grading efficiency. Since the reference image can intuitively present the color grading results desired by the user, adjusting the original multimedia data based on the display attributes of the reference image can improve the adjustment accuracy and avoid repeated modification of parameters.

图2为本公开实施例所提供的另一种多媒体数据的处理方法的流程示意图,本公开实施例在上述实施例的基础上,附加参考图像和特效元素的显示步骤。如图2所示,所述方法包括:FIG. 2 is a schematic flowchart of another multimedia data processing method provided by an embodiment of the disclosure. Based on the above embodiment, the embodiment of the disclosure adds display steps of reference images and special effect elements. As shown in Figure 2, the method includes:

S210、获取原始多媒体数据。S210. Obtain original multimedia data.

S220、获取参考图像。S220. Obtain the reference image.

S230、根据所述参考图像生成特效元素,在所述原始多媒体数据中叠加显示所述参考图像和特效元素。S230. Generate special effect elements according to the reference image, and superimpose and display the reference image and the special effect element in the original multimedia data.

若在基于参考图像调整原始多媒体数据中图像帧的显示属性的过程中只显示原始多媒体数据,显示效果比较单一,用户体验不佳,甚至可能导致用户误以为未成功上传参考图像而反复操作,导致误处理。通过在原始多媒体数据中叠加显示参考图像和特效元素可以避免显示效果单一及反复上传参考图像的误操作。If only the original multimedia data is displayed during the process of adjusting the display attributes of the image frames in the original multimedia data based on the reference image, the display effect will be relatively simple and the user experience will be poor. It may even cause the user to mistakenly believe that the reference image has not been uploaded successfully and repeat the operation, resulting in Mishandling. By overlaying the display of reference images and special effect elements in the original multimedia data, you can avoid the misoperation of displaying a single effect and repeatedly uploading reference images.

其中,所述特效元素叠加在所述参考图像的设定位置显示并按照设定的方向移动。例如,特效元素包括色块特效等。其中,色块特效可以包括不同颜色的色块。色块的颜色代表通过对参考图像的像素的色彩进行聚类,得到的色彩类别。或者,色块的颜色还可以为固定颜色,本公开实施例对色块的形状和颜色并不作具体限定。Wherein, the special effect element is superimposed and displayed at a set position of the reference image and moves in a set direction. For example, special effect elements include color block special effects, etc. Among them, the color block special effect can include color blocks of different colors. The color of the color patch represents the color category obtained by clustering the colors of the pixels of the reference image. Alternatively, the color of the color block may also be a fixed color. The embodiment of the present disclosure does not specifically limit the shape and color of the color block.

示例性地,根据所述参考图像中像素的色彩属性确定所述参考图像包含的色彩类别;生成与所述色彩类别表征的色彩对应的特效元素。Exemplarily, the color category contained in the reference image is determined according to the color attributes of the pixels in the reference image; special effect elements corresponding to the colors represented by the color category are generated.

一些实施例中,预先设置多个聚类中心,并根据像素的色彩与聚类中心对应像素的色彩对参考图像中像素进行聚类,得到多个像素组。可以将所有组像素的聚类中心对应的颜色作为参考图像包含的色彩类别。In some embodiments, multiple clustering centers are preset, and the pixels in the reference image are clustered according to the color of the pixels and the color of the pixels corresponding to the clustering centers to obtain multiple pixel groups. The colors corresponding to the cluster centers of all groups of pixels can be used as the color categories contained in the reference image.

示例性地,在所述原始多媒体数据的图像帧中叠加显示所述参考图像,并呈现沿设定方向滑入所述原始多媒体数据的显示画面的效果。图3为本公开实施例提供的一种原始多媒体数据的图像帧中叠加显示参考图像的示意图。如图3所示,参考图像在原始多媒体数据的播放过程中,t1时刻参考图像叠加显示在原始多媒体数据的第一位置310,并在t2时刻滑动至第二位置320。For example, the reference image is superimposed and displayed in the image frame of the original multimedia data, and the effect of sliding into the display screen of the original multimedia data along a set direction is presented. FIG. 3 is a schematic diagram of superimposing and displaying a reference image in an image frame of original multimedia data according to an embodiment of the present disclosure. As shown in Figure 3, during the playback of the original multimedia data, the reference image is superimposed and displayed on the first position 310 of the original multimedia data at time t1 , and slides to the second position 320 at time t2 .

在所述参考图像中叠加显示线条素材,所述线条素材在所述参考图像中沿第一方向移动。线条素材在参考图像中沿第一方向移动可以呈现出光线扫描参考图像的效果。通过将线条素材沿第一方向移动的动图叠加至原始多媒体数据中显示的参考图像,呈现出光线扫描参考图像的效果。图4为本公开实施例提供的一种参考图像叠加线条素材的示意图。如图4所示,根据参考图像的宽和高生成设定透明度的遮罩图410,且遮罩图410中存在亮区411和暗区412,根据多张亮区411位置不同的遮罩图410合成动图,将动图叠加至参考图,得到光线扫描参考图像的效果。Line material is superimposed and displayed in the reference image, and the line material moves along the first direction in the reference image. Moving the line material along the first direction in the reference image can present the effect of light scanning the reference image. By superimposing the animation of the line material moving in the first direction onto the reference image displayed in the original multimedia data, the effect of light scanning the reference image is presented. Figure 4 is a schematic diagram of superimposing line material on a reference image provided by an embodiment of the present disclosure. As shown in Figure 4, a mask map 410 with set transparency is generated based on the width and height of the reference image, and there are bright areas 411 and dark areas 412 in the mask map 410. According to multiple mask maps with different positions of the bright areas 411 410 synthesizes animated images, superimposes the animated images onto the reference image, and obtains the effect of light scanning the reference image.

按照设定叠加形式将所述特效元素叠加到所述参考图像中的第一区域。其中,设定叠加形式表征将色块特效叠加到参考图像的形式。例如,设定叠加形式可以是按照色块的颜色依次在参考图像的不同位置显示色块。第一区域可以为参考图像范围内的预设区域。图5为本公开实施例提供的一种色块特效的示意图。如图5所示,在参考图像510中逐个显示各个色块520,直至所有色块均520显示在参考图像510中的第一区域,且在每个色块520的显示过程中,色块的宽度和高度由第一状态变换为第二状态。The special effect element is superimposed on the first area in the reference image according to a set superposition form. Among them, setting the overlay form represents the form of superimposing the color block special effect onto the reference image. For example, setting the overlay mode can be to display color blocks at different positions of the reference image in sequence according to the color of the color blocks. The first area may be a preset area within the range of the reference image. Figure 5 is a schematic diagram of a color block special effect provided by an embodiment of the present disclosure. As shown in FIG. 5 , each color block 520 is displayed one by one in the reference image 510 until all color blocks 520 are displayed in the first area of the reference image 510 , and during the display process of each color block 520 , the color blocks 520 are displayed in the reference image 510 . The width and height are transformed from the first state to the second state.

示例性地,根据所述设定叠加形式确定所述特效元素对应的显示位置和亮度排列顺序;根据所述亮度排列顺序确定所述特效元素的显示顺序;按照所述显示位置和显示顺序,在所述原始多媒体数据中图像帧中的参考图像的第一区域中叠加显示所述特效元素。其中,显示位置表征特效元素在参考图像中的位置,例如,显示位置可以包括色块在参考图像内横向(或纵向或倾斜)排列,且相邻色块的间距相同(或逐渐增多或逐渐减小)。亮度排列顺序可以包括色彩或亮度由深到浅排列,或者,由浅到深排列等。由于每个色块表征参考图像中出现的颜色,且色块的色彩深浅不同,亮度不同。可以根据设定叠加形式中规定的亮度排序顺序确定色块在参考图像中的显示顺序,然后,按照显示顺序在色块对应的显示位置上逐个显示色块。且在每个色块显示时,先在参考图像中显示色块的第一状态,且呈现该色块由第一状态转换为第二状态的过程。例如,首先在参考图像中显示一个小色块,再对小色块进行放大,得到设定宽度和高度的色块。Exemplarily, the display position and brightness arrangement order corresponding to the special effect elements are determined according to the set superposition form; the display order of the special effect elements is determined according to the brightness arrangement order; according to the display position and display order, in The special effect element is superimposed and displayed in the first area of the reference image in the image frame in the original multimedia data. The display position represents the position of the special effect element in the reference image. For example, the display position may include color blocks arranged horizontally (or vertically or obliquely) in the reference image, and the spacing between adjacent color blocks is the same (or gradually increases or gradually decreases). Small). The order of brightness arrangement may include the arrangement of colors or brightness from dark to light, or from light to dark, etc. Because each color block represents the color appearing in the reference image, and the color blocks have different color depths and different brightnesses. The display order of the color blocks in the reference image can be determined according to the brightness sorting order specified in the set overlay form, and then the color blocks are displayed one by one at the display positions corresponding to the color blocks according to the display order. And when each color block is displayed, the first state of the color block is first displayed in the reference image, and the process of converting the color block from the first state to the second state is presented. For example, first display a small color block in the reference image, and then enlarge the small color block to obtain a color block with set width and height.

将所述特效元素从所述参考图像的第一区域沿第二方向移动至所述参考图像对应的第二区域,调整所述特效元素在所述第二区域的显示状态。其中,第二区域表征参考图像外的区域范围。图6为本公开实施例提供的一种色块移位的示意图。如图6所示,在所有色块显示在参考图像的第一区域之后,将所有色块610由横向排列旋转为纵向排列,并移动至参考图像对应的第二区域620。在所有色块610达到第二区域620之后,增大相邻色块之间的间距。The special effect element is moved along the second direction from the first area of the reference image to the second area corresponding to the reference image, and the display state of the special effect element in the second area is adjusted. The second area represents the area outside the reference image. FIG. 6 is a schematic diagram of color block shifting provided by an embodiment of the present disclosure. As shown in FIG. 6 , after all the color blocks are displayed in the first area of the reference image, all the color blocks 610 are rotated from the horizontal arrangement to the vertical arrangement, and moved to the second area 620 corresponding to the reference image. After all color patches 610 reach the second area 620, the spacing between adjacent color patches is increased.

S240、根据所述参考图像的显示属性调整所述原始多媒体数据中的图像帧,得到目标多媒体数据。S240. Adjust the image frames in the original multimedia data according to the display attributes of the reference image to obtain target multimedia data.

S250、在所述特效元素在所述原始多媒体数据中的显示状态满足设定条件时,显示所述目标多媒体数据。S250: When the display state of the special effect element in the original multimedia data meets the set condition, display the target multimedia data.

其中,设定条件可以表征特效元素从原始多媒体数据中消失的条件,在特效元素从原始多媒体数据中消失时,显示目标多媒体数据。例如,当增大相邻色块之间的间距,使相邻色块之间的间距为设定数值时,确定特效色彩满足设定条件。或者,当增大相邻色块之间的间距,并且色块的显示时间达到设定时间时,确定特效色彩满足设定条件。The set condition can represent the condition under which the special effect element disappears from the original multimedia data. When the special effect element disappears from the original multimedia data, the target multimedia data is displayed. For example, when the distance between adjacent color blocks is increased so that the distance between adjacent color blocks is a set value, it is determined that the special effect color meets the set conditions. Or, when the distance between adjacent color blocks is increased and the display time of the color blocks reaches the set time, it is determined that the special effect color meets the set conditions.

本公开实施例的技术方案,通过生成参考图像对应的特效元素,并在原始多媒体数据中叠加显示参考图像和特效元素,可以直观地展示用户选定的参考图像的色彩风格,并且能够通过生动地展示特效元素,避免在基于参考图像调整原始多媒体数据的显示属性的过程中,存在显示效果单一或反复上传参考图像的误操作,增加互动性和趣味性,提升用户体验。The technical solution of the embodiment of the present disclosure can intuitively display the color style of the reference image selected by the user by generating special effect elements corresponding to the reference image and superimposing the reference image and special effect elements in the original multimedia data, and can vividly display the color style of the reference image selected by the user. Display special effect elements to avoid misoperations such as a single display effect or repeated uploading of reference images in the process of adjusting the display attributes of original multimedia data based on reference images, increase interactivity and interest, and improve user experience.

图7为本公开实施例所提供的一种多媒体数据的处理装置结构示意图,该装置可以通过软件和/或硬件的形式实现,可选的,通过电子设备来实现,该电子设备可以是移动终端、PC端或服务器等。Figure 7 is a schematic structural diagram of a multimedia data processing device provided by an embodiment of the present disclosure. The device can be implemented in the form of software and/or hardware, and optionally, can be implemented through an electronic device. The electronic device can be a mobile terminal. , PC or server, etc.

如图7所示,所述装置包括:图像获取模块710以及图像调整模块720。As shown in Figure 7, the device includes: an image acquisition module 710 and an image adjustment module 720.

数据获取模块710,用于获取原始多媒体数据;Data acquisition module 710, used to acquire original multimedia data;

图像获取模块720,用于获取参考图像;Image acquisition module 720, used to acquire reference images;

图像调整模块730,用于根据所述参考图像的显示属性调整所述原始多媒体数据中的图像帧,得到目标多媒体数据,显示所述目标多媒体数据,其中,所述目标多媒体数据包括所述原始多媒体数据中基于所述参考图像的显示属性调整后的图像帧序列。The image adjustment module 730 is configured to adjust image frames in the original multimedia data according to the display attributes of the reference image, obtain target multimedia data, and display the target multimedia data, wherein the target multimedia data includes the original multimedia data. A sequence of image frames in the data adjusted based on the display attributes of the reference image.

可选地,还包括:Optionally, also includes:

特效元素生成模块,用于在获取参考图像之后,根据所述参考图像生成特效元素,在所述原始多媒体数据中叠加显示所述参考图像和特效元素,其中,所述特效元素叠加在所述参考图像的设定位置显示并按照设定的方向移动;在所述特效元素在所述原始多媒体数据中的显示状态满足设定条件时,执行显示所述目标多媒体数据的步骤。A special effect element generation module, configured to generate special effect elements according to the reference image after obtaining the reference image, and superimpose and display the reference image and the special effect element in the original multimedia data, wherein the special effect element is superimposed on the reference image. The set position of the image is displayed and moved in the set direction; when the display state of the special effect element in the original multimedia data meets the set condition, the step of displaying the target multimedia data is performed.

进一步地,所述根据所述参考图像生成特效元素,包括:Further, generating special effect elements according to the reference image includes:

根据所述参考图像中像素的色彩属性确定所述参考图像包含的色彩类别;Determine the color category contained in the reference image according to the color attributes of the pixels in the reference image;

生成与所述色彩类别表征的色彩对应的特效元素。Special effect elements corresponding to the colors represented by the color categories are generated.

进一步地,所述在所述原始多媒体数据中叠加显示所述参考图像和特效元素,包括:Further, overlaying and displaying the reference image and special effect elements in the original multimedia data includes:

在所述原始多媒体数据的图像帧中叠加显示所述参考图像;Superimposing and displaying the reference image in the image frame of the original multimedia data;

在所述参考图像中叠加显示线条素材,所述线条素材在所述参考图像中沿第一方向移动;Line material is superimposed and displayed in the reference image, and the line material moves along the first direction in the reference image;

按照设定叠加形式将所述特效元素叠加到所述参考图像中的第一区域;Superimpose the special effect element to the first area in the reference image according to the set superposition form;

将所述特效元素从所述参考图像的第一区域沿第二方向移动至所述参考图像对应的第二区域,调整所述特效元素在所述第二区域的显示状态。The special effect element is moved along the second direction from the first area of the reference image to the second area corresponding to the reference image, and the display state of the special effect element in the second area is adjusted.

进一步地,所述按照设定叠加形式将所述特效元素叠加到所述参考图像中的第一区域,包括:Further, superimposing the special effect element to the first area in the reference image according to the set superposition form includes:

根据所述设定叠加形式确定所述特效元素对应的显示位置和亮度排列顺序;Determine the corresponding display position and brightness arrangement sequence of the special effect elements according to the set superposition form;

根据所述亮度排列顺序确定所述特效元素的显示顺序;Determine the display order of the special effect elements according to the brightness arrangement order;

按照所述显示位置和显示顺序,在所述原始多媒体数据的图像帧中的参考图像的第一区域中叠加显示所述特效元素。According to the display position and display order, the special effect element is superimposed and displayed in the first area of the reference image in the image frame of the original multimedia data.

可选地,图像调整模块720具体用于:Optionally, the image adjustment module 720 is specifically used to:

对于所述参考图像和原始多媒体数据中的图像帧,分别根据所述显示属性确定图像对应的目标像素区间;For the reference image and the image frame in the original multimedia data, determine the target pixel interval corresponding to the image according to the display attribute;

对于每个所述目标像素区间,基于所述参考图像的像素的显示属性对所述原始多媒体数据中的图像帧进行属性匹配,融合每个所述目标像素区间对应的属性匹配结果,得到所述图像帧对应的多媒体数据处理结果;For each target pixel interval, perform attribute matching on the image frames in the original multimedia data based on the display attributes of the pixels of the reference image, and fuse the attribute matching results corresponding to each target pixel interval to obtain the Multimedia data processing results corresponding to image frames;

对于所述原始多媒体数据的图像帧中肤色区域中的像素,根据所述参考图像的肤色区域的显示属性调整所述像素的显示属性,得到所述图像帧对应的肤色调整结果;For pixels in the skin color area in the image frame of the original multimedia data, adjust the display attributes of the pixels according to the display attributes of the skin color area of the reference image to obtain the skin color adjustment result corresponding to the image frame;

对于所述原始多媒体数据中的图像帧,根据肤色权重融合所述肤色调整结果和多媒体数据处理结果,得到目标多媒体数据,其中,所述肤色权重表征原始多媒体数据的图像帧中每个像素属于肤色区域的概率。For the image frames in the original multimedia data, the skin color adjustment result and the multimedia data processing result are fused according to the skin color weight to obtain the target multimedia data, where the skin color weight represents that each pixel in the image frame of the original multimedia data belongs to the skin color area probability.

进一步地,所述对于所述原始多媒体数据的图像帧中肤色区域中的像素,根据所述参考图像的肤色区域的显示属性调整所述像素的显示属性,得到所述图像帧对应的肤色调整结果,包括:Further, for the pixels in the skin color area in the image frame of the original multimedia data, the display attributes of the pixels are adjusted according to the display attributes of the skin color area of the reference image to obtain the skin color adjustment result corresponding to the image frame. ,include:

确定所述原始多媒体数据的图像帧中每个像素属于肤色区域的概率,作为肤色权重,根据所述肤色权重确定所述原始多媒体数据的图像帧中肤色区域包含的像素;Determine the probability that each pixel in the image frame of the original multimedia data belongs to the skin color area, as the skin color weight, determine the pixels included in the skin color area in the image frame of the original multimedia data according to the skin color weight;

根据所述原始多媒体数据的图像帧中肤色区域包含的像素的显示属性,确定所述原始多媒体数据的图像帧中肤色区域的显示属性均值;Determine the display attribute mean value of the skin color area in the image frame of the original multimedia data according to the display attributes of the pixels contained in the skin color area in the image frame of the original multimedia data;

对于所述原始多媒体数据的图像帧中肤色区域中的像素,根据所述图像帧和参考图像分别在肤色区域的显示属性均值调整所述像素的显示属性,得到所述图像帧对应的肤色调整结果。For the pixels in the skin color area in the image frame of the original multimedia data, the display attributes of the pixels are adjusted according to the average display attributes of the image frame and the reference image in the skin color area, and the skin color adjustment result corresponding to the image frame is obtained. .

本公开实施例所提供的多媒体数据的处理装置可执行本公开任意实施例所提供的多媒体数据的处理方法,具备执行方法相应的功能模块和有益效果。The multimedia data processing device provided by the embodiments of the present disclosure can execute the multimedia data processing method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.

值得注意的是,上述装置所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。It is worth noting that the various units and modules included in the above-mentioned devices are only divided according to functional logic, but are not limited to the above-mentioned divisions, as long as they can achieve the corresponding functions; in addition, the specific names of each functional unit are just In order to facilitate mutual differentiation, it is not used to limit the protection scope of the embodiments of the present disclosure.

图8为本公开实施例所提供的一种电子设备的结构示意图。下面参考图8,其示出了适于用来实现本公开实施例的电子设备(例如图8中的终端设备或服务器)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图8示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Referring now to FIG. 8 , a schematic structural diagram of an electronic device (such as the terminal device or server in FIG. 8 ) 800 suitable for implementing embodiments of the present disclosure is shown. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablets), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 8 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

如图8所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。编辑/输出(I/O)接口805也连接至总线804。As shown in FIG. 8, the electronic device 800 may include a processing device (eg, central processing unit, graphics processor, etc.) 801, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 802 or from a storage device 808. The program in the memory (RAM) 803 executes various appropriate actions and processes. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, ROM 802 and RAM 803 are connected to each other via a bus 804. An editing/output (I/O) interface 805 is also connected to bus 804.

通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 807 such as a computer; a storage device 808 including a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG. 8 illustrates an electronic device 800 having various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication device 809, or from storage device 808, or from ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.

本公开实施例提供的电子设备与上述实施例提供的多媒体数据的处理方法属于同一发明构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。The electronic device provided by the embodiments of the present disclosure and the multimedia data processing method provided by the above embodiments belong to the same inventive concept. Technical details that are not described in detail in this embodiment can be referred to the above embodiments, and this embodiment has the same characteristics as the above embodiments. Same beneficial effects.

本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的多媒体数据的处理方法。Embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the multimedia data processing method provided in the above embodiments is implemented.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmed read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium. (e.g., communications network) interconnection. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or developed in the future network of.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device:

获取原始多媒体数据;Obtain original multimedia data;

获取参考图像;Get reference image;

根据所述参考图像的显示属性调整所述原始多媒体数据中的图像帧,得到目标多媒体数据,显示所述目标多媒体数据,其中,所述目标多媒体数据包括所述原始多媒体数据中基于所述参考图像的显示属性调整后的图像帧序列。Adjust the image frames in the original multimedia data according to the display attributes of the reference image, obtain target multimedia data, and display the target multimedia data, wherein the target multimedia data includes the original multimedia data based on the reference image. A sequence of image frames whose display properties are adjusted.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages—such as "C" or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances.

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a description of the preferred embodiments of the present disclosure and the technical principles applied. Those skilled in the art should understand that the disclosure scope involved in the present disclosure is not limited to technical solutions composed of specific combinations of the above technical features, but should also cover solutions composed of the above technical features or without departing from the above disclosed concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution is formed by replacing the above features with technical features with similar functions disclosed in this disclosure (but not limited to).

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Furthermore, although operations are depicted in a specific order, this should not be understood as requiring that these operations be performed in the specific order shown or performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (10)

1. A method for processing multimedia data, comprising:
acquiring original multimedia data;
acquiring a reference image;
and adjusting the image frames in the original multimedia data according to the display attribute of the reference image to obtain target multimedia data, and displaying the target multimedia data, wherein the target multimedia data comprises an image frame sequence which is adjusted based on the display attribute of the reference image in the original multimedia data.
2. The method of claim 1, further comprising, after acquiring the reference image:
generating special effect elements according to the reference image, and displaying the reference image and the special effect elements in the original multimedia data in a superposition manner, wherein the special effect elements are displayed in a superposition manner at a set position of the reference image and move according to a set direction;
And executing the step of displaying the target multimedia data when the display state of the special effect element in the original multimedia data meets a set condition.
3. The method of claim 2, wherein the generating special effects elements from the reference image comprises:
determining the color category contained in the reference image according to the color attribute of the pixel in the reference image;
and generating special effect elements corresponding to the colors represented by the color categories.
4. The method according to claim 2, wherein the superimposing the reference image and the special effects element in the original multimedia data comprises:
superposing and displaying the reference image in the image frame of the original multimedia data;
superposing and displaying line materials in the reference image, wherein the line materials move along a first direction in the reference image;
superposing the special effect element to a first area in the reference image according to a set superposition form;
and moving the special effect element from the first area of the reference image to a second area corresponding to the reference image along a second direction, and adjusting the display state of the special effect element in the second area.
5. The method of claim 4, wherein superimposing the effect element in the set superimposition format onto the first region in the reference image comprises:
determining the display position and the brightness arrangement sequence corresponding to the special effect elements according to the set superposition form;
determining the display sequence of the special effect elements according to the brightness arrangement sequence;
and superposing and displaying the special effect elements in a first area of a reference image in the image frame of the original multimedia data according to the display position and the display sequence.
6. The method according to claim 1, wherein said adjusting the image frames in the original multimedia data according to the display attribute of the reference image to obtain the target multimedia data comprises:
for the reference image and the image frames in the original multimedia data, determining a target pixel interval corresponding to the image according to the display attribute respectively;
for each target pixel interval, performing attribute matching on the image frames in the original multimedia data based on the display attribute of the pixels of the reference image, and fusing attribute matching results corresponding to each target pixel interval to obtain multimedia data processing results corresponding to the image frames;
For pixels in a skin color area in an image frame of the original multimedia data, adjusting display attributes of the pixels according to display attributes of the skin color area of the reference image to obtain a skin color adjusting result corresponding to the image frame;
and fusing the skin color adjustment result and the multimedia data processing result according to skin color weight for the image frame in the original multimedia data to obtain target multimedia data, wherein the skin color weight represents the probability that each pixel in the image frame of the original multimedia data belongs to a skin color region.
7. The method according to claim 6, wherein for the pixels in the skin color region in the image frame of the original multimedia data, adjusting the display attribute of the pixels according to the display attribute of the skin color region of the reference image to obtain the skin color adjustment result corresponding to the image frame, includes:
determining the probability that each pixel in the image frame of the original multimedia data belongs to a skin color region as skin color weight, and determining the pixel contained in the skin color region in the image frame of the original multimedia data according to the skin color weight;
determining a display attribute mean value of the skin color region in the image frame of the original multimedia data according to the display attribute of the pixel contained in the skin color region in the image frame of the original multimedia data;
And for the pixels in the skin color area in the image frame of the original multimedia data, adjusting the display attribute of the pixels according to the average value of the display attribute of the image frame and the reference image in the skin color area, and obtaining a skin color adjustment result corresponding to the image frame.
8. A processing apparatus for multimedia data, comprising:
the data acquisition module is used for acquiring the original multimedia data;
the image acquisition module is used for acquiring a reference image;
and the image adjustment module is used for adjusting the image frames in the original multimedia data according to the display attribute of the reference image to obtain target multimedia data and displaying the target multimedia data, wherein the target multimedia data comprises an image frame sequence which is adjusted based on the display attribute of the reference image in the original multimedia data.
9. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of processing multimedia data as recited in any one of claims 1-7.
10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of processing multimedia data as claimed in any one of claims 1 to 7.
CN202311415449.XA 2023-10-27 2023-10-27 Multimedia data processing method and device, electronic equipment and storage medium Pending CN117425086A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311415449.XA CN117425086A (en) 2023-10-27 2023-10-27 Multimedia data processing method and device, electronic equipment and storage medium
PCT/CN2024/127406 WO2025087392A1 (en) 2023-10-27 2024-10-25 Multimedia data processing method and apparatus, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311415449.XA CN117425086A (en) 2023-10-27 2023-10-27 Multimedia data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117425086A true CN117425086A (en) 2024-01-19

Family

ID=89529908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311415449.XA Pending CN117425086A (en) 2023-10-27 2023-10-27 Multimedia data processing method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN117425086A (en)
WO (1) WO2025087392A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025087392A1 (en) * 2023-10-27 2025-05-01 北京字跳网络技术有限公司 Multimedia data processing method and apparatus, and electronic device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116758305A (en) * 2023-05-23 2023-09-15 北京字跳网络技术有限公司 Image color adjustment method, device, equipment, readable storage medium and product
CN116703707A (en) * 2023-05-29 2023-09-05 深圳数联天下智能科技有限公司 Method for training skin color migration model, method for generating skin care image and related device
CN116723357A (en) * 2023-07-07 2023-09-08 北京字跳网络技术有限公司 Video special effect adding method, device, equipment, storage medium and program product
CN117425086A (en) * 2023-10-27 2024-01-19 北京字跳网络技术有限公司 Multimedia data processing method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025087392A1 (en) * 2023-10-27 2025-05-01 北京字跳网络技术有限公司 Multimedia data processing method and apparatus, and electronic device and storage medium

Also Published As

Publication number Publication date
WO2025087392A1 (en) 2025-05-01

Similar Documents

Publication Publication Date Title
CN113034348B (en) Image processing method, device, storage medium and equipment
CN111260601B (en) Image fusion method and device, readable medium and electronic equipment
CN112348910B (en) Method, device, apparatus and computer readable medium for acquiring images
CN110211030B (en) Image generation method and device
WO2022142875A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN114022662B (en) Image recognition method, device, equipment and medium
CN114422698B (en) Video generation method, device, equipment and storage medium
JP7592954B2 (en) Method, device, storage medium, and program product for changing background in a screen
US20240297974A1 (en) Method, apparatus, electornic device, and storage medium for video image processing
CN110097520B (en) Image processing method and device
WO2024037556A1 (en) Image processing method and apparatus, and device and storage medium
US11893770B2 (en) Method for converting a picture into a video, device, and storage medium
WO2025087392A1 (en) Multimedia data processing method and apparatus, and electronic device and storage medium
CN114399696A (en) Target detection method and device, storage medium and electronic equipment
CN112241941B (en) Method, apparatus, device and computer readable medium for acquiring image
WO2025087280A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN112258556B (en) Method, device, readable medium and electronic device for tracking designated area in video
US20230360286A1 (en) Image processing method and apparatus, electronic device and storage medium
WO2024131503A1 (en) Special-effect image generation method and apparatus, and device and storage medium
JP7752184B2 (en) Image brightness adjustment method, device, electronic device, and medium
CN117274041A (en) Image processing methods, devices, electronic equipment and storage media
CN114170341B (en) Image processing method, device, equipment and medium
CN117234650A (en) Image display method and device, storage medium and electronic equipment
CN112312200A (en) Video cover generation method and device and electronic equipment
CN110084835B (en) Method and apparatus for processing video

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