WO2021217623A1 - Multimedia data processing method and device, and storage medium - Google Patents

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

Info

Publication number
WO2021217623A1
WO2021217623A1 PCT/CN2020/088431 CN2020088431W WO2021217623A1 WO 2021217623 A1 WO2021217623 A1 WO 2021217623A1 CN 2020088431 W CN2020088431 W CN 2020088431W WO 2021217623 A1 WO2021217623 A1 WO 2021217623A1
Authority
WO
WIPO (PCT)
Prior art keywords
image data
data
offset
multimedia data
image
Prior art date
Application number
PCT/CN2020/088431
Other languages
French (fr)
Chinese (zh)
Inventor
龙余斌
罗飞
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/088431 priority Critical patent/WO2021217623A1/en
Publication of WO2021217623A1 publication Critical patent/WO2021217623A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock

Definitions

  • the embodiments of the present invention provide a multimedia data processing method, equipment, and storage medium, which can effectively reduce the storage space and transmission time of multimedia data, and improve the efficiency of multimedia data processing.
  • Fig. 7 is a schematic structural diagram of a multimedia data processing device provided by an embodiment of the present invention.
  • the multimedia data processing method, equipment and storage medium provided by the embodiments of the present invention can be applied to temperature measurement through infrared cameras, cameras, mobile phones and other shooting devices mounted on drones, unmanned vehicles, robots, and other equipment. Scenes such as inspections, photos and videos.
  • the embodiments of the present invention can also be applied to other scenarios than the above-mentioned job scenarios, and there is no specific limitation here.
  • the multimedia data processing system provided by the embodiment of the present invention will be schematically described below by taking a scene of a photographing device mounted on a drone as an example with reference to FIG. 1.
  • the drone 12 and the multimedia data processing device 11 are independent of each other, and the multimedia data processing device 11 may include one of a remote control device, a smart phone, a tablet computer, a laptop computer, and a wearable device, or Among them, the multimedia data processing device 11 may even be another terminal device independent of the remote control device of the drone 12, and the terminal device can be communicatively connected with the remote control device of the drone 12.
  • the multimedia data processing device 11 may be independent of the drone 12, for example, the multimedia data processing device 11 is set in a cloud server and establishes a communication connection with the drone 12 through a wireless communication connection. It should be understood that Figure 1 and the related description in this article only use drones as an application example of the multimedia data processing method, which should not be regarded as a specific limitation on the application of the multimedia data processing method.
  • the multimedia data processing device may encode the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data.
  • the multimedia data processing device may acquire the image coordinates of the abnormal image data of the image to be processed, and determine the image data corresponding to the image coordinates of the abnormal image data Compose the first image data set.
  • the multimedia data processing device when the multimedia data processing device determines the position information of the first image data in the first image data set according to the image resolution, it may determine the position information according to the image resolution The image coordinates of the first image data, and the position information of the first image data in the first image data set is determined according to the image coordinates of the first image data.
  • the multimedia data further includes audio data; the multimedia data processing device is encoding the first multimedia data in the first multimedia data set to determine the first multimedia data When determining the offset of the data, the first audio data in the first audio data set to be processed may be acquired, and the first audio data may be encoded to determine the offset of the first audio data.
  • the multimedia data processing device when the multimedia data processing device encodes the first audio data to determine the offset of the first audio data, it can obtain the volume value of the first audio data, and according to the The volume value of the first audio data determines the offset of the first audio data.
  • the multimedia data processing device when the multimedia data processing device determines the offset of the first audio data according to the volume value of the first audio data, it may determine the first volume value of the first audio data in a preset order Is the offset of the first audio data, and the second volume value of the next audio data of the first audio data is determined according to the preset order, and the second volume value and the The difference of the first volume value is the offset value of the next volume data.
  • the multimedia data processing device may determine the second multimedia data set according to the offset of the first multimedia data, so as to compare the first multimedia data according to the second multimedia data set.
  • Media data is processed.
  • FIG. 4 and the related description in this article only take the correction grid table as an example of multimedia data processing, which should not be regarded as a specific limitation on multimedia data processing.
  • the offset between two dead pixels is 19'h4FFF0
  • the offset exceeds the predefined range 18'h00001 ⁇ 18'h3FFEF
  • two data are needed to represent 19'h4FFF0, according to Table 1.
  • the multimedia data processing device detects that the dead point data (for example, offset) of the current point does not match the predefined data representing the dead point, it can detect the dead point data (for example, offset) of the current point. Quantity) Whether it matches the offset of the next dead point in the first dead point table and the current dead point. If it matches, you can jump to the number of pixels corresponding to the offset of the current point according to the offset of the current point, And correct the current point.
  • the dead point data for example, offset
  • the multimedia data processing method of the present invention can effectively reduce the storage space and transmission time of the multimedia data, which helps to improve the processing efficiency of the multimedia data.
  • the memory 701 may include a volatile memory (volatile memory); the memory 701 may also include a non-volatile memory (non-volatile memory); the memory 701 may also include a combination of the foregoing types of memories.
  • the processor 702 may be a central processing unit (CPU).
  • the processor 702 may further include a hardware multimedia data processing device.
  • the foregoing hardware multimedia data processing device may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. For example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • FPGA field-programmable gate array
  • processor 702 encodes the first image data in the first image data set according to the image resolution to determine the offset of the first image data, it is specifically configured to:
  • processor 702 determines the offset of the first image data according to the position mark of the first image data, it is specifically configured to:
  • the offset of the first audio data is determined according to the volume value of the first audio data.
  • the first multimedia data is processed according to the offset of the first multimedia data, the address jump data, and the end identifier of the second multimedia data set.
  • the address jump data is configured to handle an offset exceeding a predefined value.

Abstract

A multimedia data processing method and device, and a storage medium. Said method comprises: acquiring a first multimedia data set to be processed; encoding first multimedia data in the first multimedia data set, so as to determine an offset of the first multimedia data; and determining a second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set. By means of the embodiment, the storage space and transmission time of the multimedia data can be effectively reduced, and the efficiency of processing the multimedia data is improved.

Description

一种多媒体数据处理方法、设备及存储介质Multimedia data processing method, equipment and storage medium 技术领域Technical field
本发明实施例涉及数据处理领域,尤其涉及一种多媒体数据处理方法、设备及存储介质。The embodiments of the present invention relate to the field of data processing, and in particular, to a multimedia data processing method, device, and storage medium.
背景技术Background technique
随着科技的发展,人们对多媒体数据处理的要求越来越高。例如,由于多媒体数据处理设备的工艺可能存在缺陷,导致多媒体数据处理设备在获取图像数据、视频数据、音频数据等多媒体数据时,可能出现异常的多媒体数据。目前,在对异常的多媒体数据进行处理时,通常需要存储异常多媒体数据。然而,由于多媒体数据的数据量过大,需要消耗的存储空间过大,导致传输时间过长,从而加大了实现难度,影响了数据处理效率,导致产品成本的上升以及用户体验的下降。With the development of science and technology, people have higher and higher requirements for multimedia data processing. For example, due to possible defects in the technology of the multimedia data processing equipment, abnormal multimedia data may occur when the multimedia data processing equipment obtains multimedia data such as image data, video data, and audio data. At present, when processing abnormal multimedia data, it is usually necessary to store abnormal multimedia data. However, because the amount of multimedia data is too large, the storage space that needs to be consumed is too large, resulting in too long transmission time, which increases the difficulty of implementation, affects the efficiency of data processing, and leads to an increase in product costs and a decrease in user experience.
发明内容Summary of the invention
本发明实施例提供了一种多媒体数据处理方法、设备及存储介质,可以有效地降低多媒体数据的存储空间和传输时间,提高对多媒体数据处理的效率。The embodiments of the present invention provide a multimedia data processing method, equipment, and storage medium, which can effectively reduce the storage space and transmission time of multimedia data, and improve the efficiency of multimedia data processing.
第一方面,本发明实施例提供了一种多媒体数据处理方法,包括:In the first aspect, an embodiment of the present invention provides a multimedia data processing method, including:
获取待处理的第一多媒体数据集合;Acquiring the first multimedia data set to be processed;
对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量;Encoding the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data;
根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。Determine a second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set.
第二方面,本发明实施例提供了一种多媒体数据处理设备,包括:存储器和处理器;In the second aspect, an embodiment of the present invention provides a multimedia data processing device, including: a memory and a processor;
所述存储器,用于存储程序;The memory is used to store programs;
所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:The processor is used to call the program, and when the program is executed, it is used to perform the following operations:
获取待处理的第一多媒体数据集合;Acquiring the first multimedia data set to be processed;
对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量;Encoding the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data;
根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。Determine a second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set.
第三方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现如上述第一方面所述的多媒体数据处理方法。In a third aspect, an embodiment of the present invention provides a computer-readable storage medium that stores a computer program that, when executed by a processor, implements the multimedia data processing method described in the first aspect above .
本发明实施例,通过获取待处理的第一多媒体数据集合,并对第一多媒体数据集合中的第一多媒体数据进行编码,以确定第一多媒体数据的偏移量,以及根据第一多媒体数据的偏移量确定第二多媒体数据集合,以根据第二多媒体数据集合对第一多媒体数据进行处理。通过这种实施方式,有效地降低了多媒体数据的存储空间和传输时间,提高了对多媒体数据处理的效率。In the embodiment of the present invention, the first multimedia data set to be processed is acquired, and the first multimedia data in the first multimedia data set is encoded to determine the offset of the first multimedia data , And determining the second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set. Through this implementation, the storage space and transmission time of multimedia data are effectively reduced, and the efficiency of multimedia data processing is improved.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings.
图1是本发明实施例提供的一种多媒体数据处理系统的示意图;Figure 1 is a schematic diagram of a multimedia data processing system provided by an embodiment of the present invention;
图2是本发明实施例提供的一种多媒体数据处理方法的流程示意图;2 is a schematic flowchart of a multimedia data processing method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种图像数据集合的示意图;Fig. 3 is a schematic diagram of an image data set provided by an embodiment of the present invention;
图4是本发明实施例提供的另一种图像数据集合的示意图;4 is a schematic diagram of another image data collection provided by an embodiment of the present invention;
图5是本发明实施例提供的一种坏点表的查询流程图;FIG. 5 is a query flowchart of a dead pixel table provided by an embodiment of the present invention;
图6是本发明实施例提供的一种处理坏点表的模块框图;FIG. 6 is a block diagram of a module for processing a dead pixel table provided by an embodiment of the present invention;
图7是本发明实施例提供的一种多媒体数据处理设备的结构示意图。Fig. 7 is a schematic structural diagram of a multimedia data processing device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。In the following, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本发明实施例提出的多媒体数据处理方法可以应用于一种多媒体数据处理设备。在某些实施例中,所述多媒体数据处理设备可以安装在无人机、无人车等设备上;在某些实施例中,所述多媒体数据处理设备可以在空间上独立于无人机,如所述多媒体数据处理设备可以安装在遥控设备、智能终端(如手机、平板电脑等)等。在某些实施例中,多媒体数据处理设备和无人机之间建立通信连接。The multimedia data processing method proposed in the embodiment of the present invention can be applied to a multimedia data processing device. In some embodiments, the multimedia data processing equipment can be installed on equipment such as drones and unmanned vehicles; in some embodiments, the multimedia data processing equipment can be spatially independent from the drone, For example, the multimedia data processing equipment can be installed in remote control equipment, smart terminals (such as mobile phones, tablet computers, etc.). In some embodiments, a communication connection is established between the multimedia data processing device and the drone.
本发明实施例提供的一种多媒体数据处理方法、设备及存储介质可以应用于通过搭载在无人机、无人车、机器人等设备上的红外相机、照相机、手机等拍摄装置进行测温、行业巡检、拍照摄像等的场景。当然,本发明实施例也可以应用于除上述作业场景以外的其他场景,此处不做具体限定。下面以搭载在无人机上的拍摄装置的场景为例结合附图1对本发明实施例提供的多媒体数据处理系统进行示意性说明。The multimedia data processing method, equipment and storage medium provided by the embodiments of the present invention can be applied to temperature measurement through infrared cameras, cameras, mobile phones and other shooting devices mounted on drones, unmanned vehicles, robots, and other equipment. Scenes such as inspections, photos and videos. Of course, the embodiments of the present invention can also be applied to other scenarios than the above-mentioned job scenarios, and there is no specific limitation here. The multimedia data processing system provided by the embodiment of the present invention will be schematically described below by taking a scene of a photographing device mounted on a drone as an example with reference to FIG. 1.
请参见图1,图1是本发明实施例提供的一种多媒体数据处理系统的示意图。所述多媒体数据处理系统包括:多媒体数据处理设备11、无人机12,所述无人机12上搭载了拍摄装置。其中,无人机12和多媒体数据处理设备11之间可以通过无线通信连接方式建立通信连接。其中,在某些场景下,所述无人机12和多媒体数据处理设备11之间也可以通过有线通信连接方式建立通信连接。在某些实施例中,所述多媒体数据处理设备11可以设置在无人机12上,所述无人机12包括动力系统121,所述动力系统121用于为无人机12提供移动的动力。在其他实施例中,无人机12和多媒体数据处理设备11彼此独立,所述多媒体数据处理设备11可以包括遥控设备、智能手机、平板电脑、膝上型电脑和穿戴式设备中的一种或者多种,其中,多媒体数据处理设备11甚至可以为独立于无人机12的遥控设备的其它终端设备,该终端设备可以与无人机12的遥控设备通信连接。在其他实施例中,多媒体数据处理设备11可以独立于所述无人机12,例如,多媒体数据处理设备11设置在云端服务器中,通过无线通信连接方式与无人机12建立通信连接。应当理解,图1及在本文中的相关描述仅以无人机作为多媒体数据处理方法的一个应用实例,其不 应被视为对多媒体数据处理方法的应用的具体限定。Please refer to FIG. 1, which is a schematic diagram of a multimedia data processing system according to an embodiment of the present invention. The multimedia data processing system includes: a multimedia data processing device 11 and an unmanned aerial vehicle 12 on which a photographing device is mounted. Among them, the unmanned aerial vehicle 12 and the multimedia data processing device 11 may establish a communication connection through a wireless communication connection. Among them, in some scenarios, the UAV 12 and the multimedia data processing device 11 may also establish a communication connection through a wired communication connection. In some embodiments, the multimedia data processing device 11 may be set on the drone 12, and the drone 12 includes a power system 121, and the power system 121 is used to provide power for the drone 12 to move. . In other embodiments, the drone 12 and the multimedia data processing device 11 are independent of each other, and the multimedia data processing device 11 may include one of a remote control device, a smart phone, a tablet computer, a laptop computer, and a wearable device, or Among them, the multimedia data processing device 11 may even be another terminal device independent of the remote control device of the drone 12, and the terminal device can be communicatively connected with the remote control device of the drone 12. In other embodiments, the multimedia data processing device 11 may be independent of the drone 12, for example, the multimedia data processing device 11 is set in a cloud server and establishes a communication connection with the drone 12 through a wireless communication connection. It should be understood that Figure 1 and the related description in this article only use drones as an application example of the multimedia data processing method, which should not be regarded as a specific limitation on the application of the multimedia data processing method.
多媒体数据处理设备11可以获取搭载在无人机12上的拍摄装置采集到的待处理的第一多媒体数据集合,并对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量,以及根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。通过这种实施方式,有效地降低了多媒体数据的存储空间和传输时间,提高了对多媒体数据处理的效率。The multimedia data processing device 11 can obtain the first multimedia data set to be processed collected by the camera mounted on the drone 12, and compare the first multimedia data in the first multimedia data set. Encoding is performed to determine the offset of the first multimedia data, and a second multimedia data set is determined according to the offset of the first multimedia data, so as to determine the offset of the first multimedia data according to the The data set processes the first multimedia data. Through this implementation, the storage space and transmission time of multimedia data are effectively reduced, and the efficiency of multimedia data processing is improved.
下面结合附图对本发明实施例提供的多媒体数据处理方法进行示意性说明。The multimedia data processing method provided by the embodiments of the present invention will be schematically described below with reference to the accompanying drawings.
具体请参见图2,图2是本发明实施例提供的一种多媒体数据处理方法的流程示意图,所述方法可以由多媒体数据处理设备执行,其中,多媒体数据处理设备的具体解释如前所述。具体地,本发明实施例的所述方法包括如下步骤。Please refer to FIG. 2 for details. FIG. 2 is a schematic flowchart of a multimedia data processing method according to an embodiment of the present invention. The method may be executed by a multimedia data processing device, wherein the specific explanation of the multimedia data processing device is as described above. Specifically, the method of the embodiment of the present invention includes the following steps.
S201:获取待处理的第一多媒体数据集合。S201: Acquire a first multimedia data set to be processed.
本发明实施例中,多媒体数据处理设备可以获取待处理的第一多媒体数据集合。在某些实施例中,所述第一多媒体数据集合中的第一多媒体数据包括但不限于图像数据、视频数据、音频数据等,在一个示例中,所述第一多媒体数据可以包括图像中像素点的像素。In the embodiment of the present invention, the multimedia data processing device may obtain the first multimedia data set to be processed. In some embodiments, the first multimedia data in the first multimedia data set includes but is not limited to image data, video data, audio data, etc., in one example, the first multimedia data The data can include the pixels of the pixels in the image.
在一个实施例中,所述多媒体数据可以是通过红外相机、可见光相机、照相机、手机等拍摄装置采集到的。In an embodiment, the multimedia data may be collected by photographing devices such as infrared cameras, visible light cameras, cameras, and mobile phones.
S202:对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量。S202: Encode the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data.
本发明实施例中,多媒体数据处理设备可以对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量。In the embodiment of the present invention, the multimedia data processing device may encode the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data.
在一个实施例中,所述第一多媒体数据包括图像数据,多媒体数据处理设备在对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量时,可以获取待处理的第一图像数据集合的图像分辨率,并根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量。In an embodiment, the first multimedia data includes image data, and the multimedia data processing device is encoding the first multimedia data in the first multimedia data set to determine the first multimedia data. When the multimedia data is offset, the image resolution of the first image data set to be processed can be obtained, and the first image data in the first image data set can be encoded according to the image resolution to Determine the offset of the first image data.
在一个实施例中,多媒体数据处理设备在获取待处理的第一图像数据集合 时,可以获取待处理的图像的异常图像数据的图像坐标,并确定所述异常图像数据的图像坐标对应的图像数据组成所述第一图像数据集合。In one embodiment, when acquiring the first image data set to be processed, the multimedia data processing device may acquire the image coordinates of the abnormal image data of the image to be processed, and determine the image data corresponding to the image coordinates of the abnormal image data Compose the first image data set.
例如,假设多媒体数据处理设备获取到待处理的图像的异常图像数据的图像坐标为(x1,y1)、(x2,y2)、(x3,y3),则可以确定所述异常图像数据的图像坐标(x1,y1)、(x2,y2)、(x3,y3)对应的图像数据组成所述第一图像数据集合。For example, assuming that the image coordinates of the abnormal image data of the image to be processed obtained by the multimedia data processing device are (x1, y1), (x2, y2), (x3, y3), the image coordinates of the abnormal image data can be determined Image data corresponding to (x1, y1), (x2, y2), (x3, y3) constitute the first image data set.
在一个实施例中,多媒体数据处理设备在获取待处理的第一图像数据集合时,可以获取待处理的图像的异常图像数据标记,并确定所述异常图像数据标记对应的图像数据组成所述第一图像数据集合。在某些实施例中,所述异常图像数据标记包括但不限于数字、字母、文字等任意一种或多种字符,在一个示例中,所述异常图像数据标记可以为1。In one embodiment, when acquiring the first image data set to be processed, the multimedia data processing device may acquire the abnormal image data mark of the image to be processed, and determine that the image data corresponding to the abnormal image data mark constitutes the first image data set. A collection of image data. In some embodiments, the abnormal image data mark includes, but is not limited to, any one or more characters such as numbers, letters, and text. In an example, the abnormal image data mark may be 1.
例如,假设异常图像数据为异常像素点,即坏点,如果异常像素点标记为1,则多媒体数据处理设备可以确定异常像素点标记为1的异常像素点组成第一图像数据集合。For example, assuming that the abnormal image data is abnormal pixels, that is, dead pixels, if the abnormal pixels are marked as 1, the multimedia data processing device may determine that abnormal pixels with the abnormal pixels marked as 1 form the first image data set.
在一个实施例中,多媒体数据处理设备在根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量时,可以根据所述图像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息,并根据所述位置信息确定所述第一图像数据的偏移量。In an embodiment, when the multimedia data processing device encodes the first image data in the first image data set according to the image resolution to determine the offset of the first image data, it may be based on The image resolution determines the position information of the first image data in the first image data set, and determines the offset of the first image data according to the position information.
在一个实施例中,多媒体数据处理设备在根据所述图像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息时,可以根据所述图像分辨率,确定所述第一图像数据的图像坐标,并根据所述第一图像数据的图像坐标,确定所述第一图像数据在所述第一图像数据集合中的位置信息。In one embodiment, when the multimedia data processing device determines the position information of the first image data in the first image data set according to the image resolution, it may determine the position information according to the image resolution The image coordinates of the first image data, and the position information of the first image data in the first image data set is determined according to the image coordinates of the first image data.
例如,假设第一图像数据集合的图像分辨率为4x4,则待处理多媒体数据处理设备可以根据该图像分辨率4x4,确定第一图像数据的图像坐标(x1,x2),并根据所述第一图像数据的图像坐标(x1,x2),确定所述第一图像数据在所述第一图像数据集合中的位置信息。For example, assuming that the image resolution of the first image data set is 4x4, the multimedia data processing device to be processed can determine the image coordinates (x1, x2) of the first image data according to the image resolution of 4x4, and according to the first image The image coordinates (x1, x2) of the image data determine the position information of the first image data in the first image data set.
在一个实施例中,多媒体数据处理设备在根据所述位置信息确定所述第一图像数据的偏移量时,可以根据所述位置信息确定所述第一图像数据的位置标记,并根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量。在某些实施例中,所述位置标记包括但不限于数字、字母、文字等任意一种或 多种字符。In one embodiment, when the multimedia data processing device determines the offset of the first image data according to the position information, it may determine the position mark of the first image data according to the position information, and according to the The position mark of the first image data determines the offset of the first image data. In some embodiments, the position mark includes, but is not limited to, any one or more characters such as numbers, letters, and words.
具体可以图3为例进行说明,图3是本发明实施例提供的一种图像数据集合的示意图,如图3所示为图像分辨率为4x4的图像,其中,位置标记分别为0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15,假设待处理的图像的异常图像数据标记为1,则可以确定待处理的图像的异常图像数据标记1所对应的位置信息分别与位置标记0、4、9、11对应,因此多媒体数据处理设备可以确定第一图像数据的位置标记为0、4、9、11。Figure 3 is used as an example for description. Figure 3 is a schematic diagram of an image data collection provided by an embodiment of the present invention. 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, assuming that the abnormal image data of the image to be processed is marked as 1, then the abnormality of the image to be processed can be determined The position information corresponding to the image data mark 1 corresponds to the position marks 0, 4, 9, and 11 respectively, so the multimedia data processing device can determine that the position marks of the first image data are 0, 4, 9, and 11.
在一个实施例中,多媒体数据处理设备在根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量时,可以根据所述位置信息确定所述第一图像数据集合中按照预定位置顺序的第一个图像数据的第一位置标记为所述第一个图像数据的偏移量,并按照所述预定位置顺序确定所述第一个图像数据的下一个图像数据的第二位置标记,以及确定所述第二位置标记与所述第一位置标记的差值为所述下一个图像数据的偏移量。In one embodiment, when the multimedia data processing device determines the offset of the first image data according to the position mark of the first image data, it may determine that the first image data set is in the first image data set according to the position information. The first position of the first image data in the predetermined position sequence is marked as the offset of the first image data, and the first image data of the next image data of the first image data is determined in the predetermined position sequence. Two position markers, and determining that the difference between the second position marker and the first position marker is the offset of the next image data.
具体可以图3为例,假设第一图像数据的位置标记分别为{0、4、9、11},预定位置顺序为从左到右、从上到下的顺序,则多媒体数据处理设备可以确定图3中按照预定位置顺序的第一个图像数据的第一位置标记“0”为第一个图像数据的偏移量,并按照预定位置顺序确定第一个图像数据的下一个图像数据的第二位置标记为“4”,从而可以确定第二位置标记“4”与第一位置标记“0”的差值4-0=4为第一个图像数据的下一个图像数据的偏移量,依次可以计算出图3中第三个图像数据的偏移量为9-4=5,第四个图像数据的偏移量为11-9=2,因此,可以确定出图3中第一图像数据的偏移量分别为{0,4,5,2}。应当理解,在另一个实施例中,预定位置顺序可以根据需要而以其它方式确定。图3及在本文中的相关描述仅以图像的位置标记作为多媒体数据处理的一个实例,其不应被视为对多媒体数据处理的具体限定。Take Figure 3 as an example. Assuming that the position markers of the first image data are {0, 4, 9, 11} respectively, and the predetermined position sequence is from left to right and top to bottom, the multimedia data processing device can determine In FIG. 3, the first position mark "0" of the first image data in the predetermined position sequence is the offset of the first image data, and the second image data of the next image data of the first image data is determined in accordance with the predetermined position sequence. The second position mark is "4", so it can be determined that the difference between the second position mark "4" and the first position mark "0" 4-0=4 is the offset of the next image data of the first image data, In turn, it can be calculated that the offset of the third image data in Figure 3 is 9-4=5, and the offset of the fourth image data is 11-9=2. Therefore, the first image in Figure 3 can be determined The offset of the data is {0, 4, 5, 2} respectively. It should be understood that, in another embodiment, the predetermined position sequence may be determined in other ways as required. FIG. 3 and the related description in this article only use the position mark of the image as an example of multimedia data processing, which should not be regarded as a specific limitation on multimedia data processing.
可见,通过这种实施方式计算出第一图像数据的偏移量,有助于基于偏移量对第一图像数据进行编码,从而降低数据量,节省存储空间和传输耗时。It can be seen that calculating the offset of the first image data through this implementation manner helps to encode the first image data based on the offset, thereby reducing the amount of data, saving storage space and time-consuming transmission.
在一个实施例中,所述多媒体数据还包括音频数据;多媒体数据处理设备在对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量时,可以获取待处理的第一音频数据集合中的第一音频数据,并对所述第一音频数据进行编码,以确定所述第一音频数据的偏移量。In an embodiment, the multimedia data further includes audio data; the multimedia data processing device is encoding the first multimedia data in the first multimedia data set to determine the first multimedia data When determining the offset of the data, the first audio data in the first audio data set to be processed may be acquired, and the first audio data may be encoded to determine the offset of the first audio data.
在一个实施例中,多媒体数据处理设备在对所述第一音频数据进行编码,以确定所述第一音频数据的偏移量时,可以获取所述第一音频数据的音量值,并根据所述第一音频数据的音量值确定所述第一音频数据的偏移量。In one embodiment, when the multimedia data processing device encodes the first audio data to determine the offset of the first audio data, it can obtain the volume value of the first audio data, and according to the The volume value of the first audio data determines the offset of the first audio data.
在一个实施例中,多媒体数据处理设备在根据所述第一音频数据的音量值确定所述第一音频数据的偏移量时,可以按照预设顺序确定第一个音频数据的第一音量值为所述第一个音频数据的偏移量,并按照所述预设顺序确定所述第一个音频数据的下一个音频数据的第二音量值,以及确定所述第二音量值与所述第一音量值的差值为所述下一个音量数据的偏移值。In one embodiment, when the multimedia data processing device determines the offset of the first audio data according to the volume value of the first audio data, it may determine the first volume value of the first audio data in a preset order Is the offset of the first audio data, and the second volume value of the next audio data of the first audio data is determined according to the preset order, and the second volume value and the The difference of the first volume value is the offset value of the next volume data.
例如,假设按照预设顺序确定第一个音频数据的音量值集合为{a,b,c,d},则多媒体数据处理设备可以根据第一音量值a,确定第一个音频数据的偏移量为a,由于第一个音频数据的下一个音频数据的第二音量值为b,则可以确定第二音量值b与第一音量值a的差值b-a为第一个音频数据的下一个音量数据的偏移值,同理可得第三音量值c与第二音量值b的差值c-b,以及第四音量值d与第三音量值c的差值d-c,从而得到第一音频数据的偏移量为{a,b-a,c-b,d-c}。For example, assuming that the volume value set of the first audio data is determined to be {a, b, c, d} in a preset order, the multimedia data processing device can determine the offset of the first audio data according to the first volume value a The amount is a. Since the second volume value of the next audio data of the first audio data is b, it can be determined that the difference between the second volume value b and the first volume value a is the next value of the first audio data. The offset value of the volume data, in the same way, the difference cb between the third volume value c and the second volume value b, and the difference dc between the fourth volume value d and the third volume value c can be obtained, thereby obtaining the first audio data The offset of is {a,ba,cb,dc}.
可见,通过计算偏移量,并基于偏移量对音频数据进行编码,有助于降低数据量,节省存储空间和传输耗时,以提高编码效率。It can be seen that by calculating the offset and encoding the audio data based on the offset, it is helpful to reduce the amount of data, save storage space and time-consuming transmission, and improve encoding efficiency.
S203:根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。S203: Determine a second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set.
本发明实施例中,多媒体数据处理设备可以根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。In the embodiment of the present invention, the multimedia data processing device may determine the second multimedia data set according to the offset of the first multimedia data, so as to compare the first multimedia data according to the second multimedia data set. Media data is processed.
在某些实施例中,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表或矫正网格表,在某些实施例中,所述坏点表或矫正网格表是基于偏移量确定的,通过在坏点表或矫正网格表中存储偏移量,有助于减小坏点表或矫正网格表存储的数据量。In some embodiments, the first multimedia data set and the second multimedia data set include a bad point table or a corrected grid table. In some embodiments, the bad point table or a corrected grid table The table is determined based on the offset. By storing the offset in the dead pixel table or the corrected grid table, it helps to reduce the amount of data stored in the dead pixel table or the corrected grid table.
具体可以图4为例进行说明,图4是本发明实施例提供的另一种图像数据集合的示意图,如图4所示,假设在色差校正(Chromatic Aberration Correction,CAC)中需要对图像的红色及蓝色分量进行像素点替换。以红色分量为例,假设需要在A点周围5x5区域选取一个点来替换A点,首先需要进行标定来判 断图像中各像素点该用哪个点进行替换。假设标定显示坐标为(x,y)的A点标记为1,需要用该区域左上角坐标为(x-2,y-2)的标记为1的P点进行替换,则可以根据A点的坐标(x,y)和P点的坐标(x-2,y-2),计算出偏移量为(-2,-2),因此,可以将偏移量(-2,-2)存储到色差矫正网格表中。同理,对于其他像素点也进行相同的操作,从而将每个像素点的替换点的偏移量存储到色差矫正网格表中。假设图像的红色分量分辨率为2000x1500,现有技术中存储一个坐标值需要消耗22bits,整个色差矫正网格表的数据量大小为:22x2000x1500≈63Mb;而采用本发明中存储偏移量的方案,即不需要存储坐标值(x-2,y-2),而是存储偏移量(-2,-2),由于存储一个坐标的偏移量只需要6bits,整个色差矫正网格表的数据量大小为:6 x 2000 x 1500≈17Mb。由此可见,使用本发明所述的多媒体数据处理方法,色差矫正网格表的存储空间降低了73%。因此,通过这种实施方式可以有效地减小矫正网格表需要存储的数据量,有助于提高多媒体数据的处理效率。Specifically, Figure 4 is used as an example for description. Figure 4 is a schematic diagram of another image data set provided by an embodiment of the present invention. And the blue component is replaced by pixels. Take the red component as an example. Suppose you need to select a point in the 5x5 area around point A to replace point A. First, you need to calibrate to determine which point to replace each pixel in the image. Assuming that the calibration display coordinates (x, y) point A is marked as 1, and it is necessary to replace the point P marked as 1 with the coordinates (x-2, y-2) in the upper left corner of the area. The coordinates (x, y) and the coordinates of point P (x-2, y-2), the calculated offset is (-2, -2), therefore, the offset (-2, -2) can be stored To the chromatic aberration correction grid table. In the same way, the same operation is performed for other pixels, so that the offset of the replacement point of each pixel is stored in the chromatic aberration correction grid table. Assuming that the resolution of the red component of the image is 2000x1500, storing a coordinate value in the prior art requires 22bits, and the data size of the entire chromatic aberration correction grid table is: 22x2000x1500≈63Mb; and the offset storage scheme in the present invention is adopted, That is to say, there is no need to store the coordinate value (x-2, y-2), but the offset (-2, -2). Because the offset of a coordinate only needs 6bits, the data of the entire chromatic aberration correction grid table The amount is: 6 x 2000 x 1500≈17Mb. It can be seen that using the multimedia data processing method of the present invention, the storage space of the chromatic aberration correction grid table is reduced by 73%. Therefore, through this implementation manner, the amount of data that needs to be stored in the correction grid table can be effectively reduced, which helps to improve the processing efficiency of multimedia data.
应当理解,图4及在本文中的相关描述仅以矫正网格表作为多媒体数据处理的一个实例,其不应被视为对多媒体数据处理的具体限定。It should be understood that FIG. 4 and the related description in this article only take the correction grid table as an example of multimedia data processing, which should not be regarded as a specific limitation on multimedia data processing.
在一个实施例中,多媒体数据处理设备在根据所述第二多媒体数据集合对所述第一多媒体数据进行处理时,可以对所述第二多媒体数据集合进行解码,得到所述第一多媒体数据的偏移量,并根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数据集合的结束标识,对所述第一多媒体数据进行处理。In one embodiment, when the multimedia data processing device processes the first multimedia data according to the second multimedia data set, it may decode the second multimedia data set to obtain the The offset of the first multimedia data, and according to the offset of the first multimedia data, the address jump data, and the end identifier of the second multimedia data set, One multimedia data is processed.
在某些实施例中,所述寻址跳转数据被配置用来处理超出预定义值的偏移量,所述第二多媒体数据集合的结束标识用于指示第二多媒体数据集合中的第二多媒体数据结束。In some embodiments, the address jump data is configured to handle an offset that exceeds a predefined value, and the end identifier of the second multimedia data set is used to indicate the second multimedia data set The second multimedia data in the end.
在一个实施例中,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表;多媒体数据处理设备在根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数据集合的结束标识,对所述第一多媒体数据进行处理时,可以对第二坏点表进行解码,得到第一坏点表中的坏点的偏移量,并根据所述第一坏点表中的坏点的偏移量、寻址跳转数据以及所述第二坏点表的结束标识,对所述第一坏点表中的坏点进行矫正处理。在某些实施例中,所述坏点是指异常的像素点。在某些实施例中,所述第一坏点表包括坏点的图像坐标对 应的像素或坏点标记对应的像素,通过对第一坏点表中的坏点进行编码来确定偏移量从而得到第二坏点表。在某些实施例中,所述结束标识包括但不限于数字、字母、文字等任意一种或多种字符,在一个示例中,所述结束标识可以为0。In an embodiment, the first multimedia data set and the second multimedia data set include a dead point table; the multimedia data processing device is configured to jump to the address according to the offset of the first multimedia data. Transfer data and the end identifier of the second multimedia data set. When processing the first multimedia data, the second dead point table can be decoded to obtain the information about the dead points in the first dead point table. Offset, and according to the offset of the dead point in the first dead point table, the address jump data, and the end identifier of the second dead point table, the bad points in the first dead point table are Click for correction processing. In some embodiments, the dead pixels refer to abnormal pixels. In some embodiments, the first dead point table includes pixels corresponding to the image coordinates of the dead points or pixels corresponding to the dead point mark, and the offset is determined by encoding the dead points in the first dead point table. Get the second dead pixel table. In some embodiments, the end identifier includes, but is not limited to, any one or more characters such as numbers, letters, and text. In an example, the end identifier may be 0.
通过偏移量对所述第一坏点表中的坏点进行矫正处理,可以有效降低坏点表的数据量,缩小坏点表的传输时间与存储空间,有助于提高处理效率。Correcting the dead pixels in the first dead point table by the offset can effectively reduce the amount of data in the dead point table, reduce the transmission time and storage space of the dead point table, and help improve processing efficiency.
在一个实施例中,所述坏点表的定义如下表1所示,在某些实施例中,所述坏点数据位宽可以为18bits;在其他实施例中,所述坏点数据位宽可以根据坏点数据与存储空间进行调整,此处不做具体限定。In one embodiment, the definition of the dead pixel table is shown in Table 1 below. In some embodiments, the dead pixel data bit width may be 18 bits; in other embodiments, the dead pixel data bit width It can be adjusted according to the dead pixel data and storage space, and there is no specific limitation here.
表1Table 1
Figure PCTCN2020088431-appb-000001
Figure PCTCN2020088431-appb-000001
如表1所示,设定可以表示偏移量的数据为18'h00001~18'h3FFEF,其余可以作为保留位或者功能标志位。在一个实施例中,若两个坏点之间的偏移量大于18'h3FFEF,则需要利用坏点的寻址跳转数据18'h3FFF0来表示18'h3FFF0内不存在下一个坏点。因此,坏点的寻址跳转数据18'h3FFF0被配置用来处理超出预定义范围的偏移量,也就是用多段偏移量来表示一段超出预定义的偏移量。As shown in Table 1, set the data that can indicate the offset as 18'h00001~18'h3FFEF, and the rest can be used as reserved bits or function flag bits. In one embodiment, if the offset between the two dead pixels is greater than 18'h3FFEF, the address jump data 18'h3FFF0 of the dead pixels needs to be used to indicate that there is no next dead pixel in 18'h3FFF0. Therefore, the addressing jump data 18'h3FFF0 of the dead pixel is configured to process an offset that exceeds a predefined range, that is, multiple offsets are used to represent an offset that exceeds the predefined range.
例如,假设两个坏点之间的偏移量为19'h4FFF0,则该偏移量超出了预定义范围18'h00001~18'h3FFEF,需要用两个数据来表示19'h4FFF0,根据表1可知坏点的寻址跳转数据被设置为18'h3FFF0,因此可以利用表1中的寻址跳转数据计算19'h4FFF0–18'h3FFF0=18'h10000,由此可知,可以用18'h3FFF0和18'h10000来表示19'h4FFF0。For example, assuming that the offset between two dead pixels is 19'h4FFF0, the offset exceeds the predefined range 18'h00001~18'h3FFEF, and two data are needed to represent 19'h4FFF0, according to Table 1. It can be seen that the addressing jump data of the dead pixels is set to 18'h3FFF0, so the addressing jump data in Table 1 can be used to calculate 19'h4FFF0–18'h3FFF0=18'h10000, which shows that 18'h3FFF0 can be used And 18'h10000 to represent 19'h4FFF0.
在某些实施例中,如表1所述的保留位是预留出来用于后续定义其他功能时使用的,有助于为后续扩展其他功能做准备。In some embodiments, the reserved bits as described in Table 1 are reserved for subsequent use when defining other functions, which helps to prepare for the subsequent expansion of other functions.
在表1的实施例中,18'h00000被定义为表示当前点为坏点,18'h3FFFF被定义为坏点表的结束标识。应当理解,表1中对数据的定义可以根据实际需求或偏好来设定,此处不应被视为具体限定。例如,在某些实施例中,可以将0定义为坏点表的结束标识,将18'h3FFFF定义为表示当前点为坏点。In the embodiment of Table 1, 18'h00000 is defined as indicating that the current dot is a dead pixel, and 18'h3FFFF is defined as the end identifier of the dead dot table. It should be understood that the definition of data in Table 1 can be set according to actual needs or preferences, and should not be regarded as a specific limitation here. For example, in some embodiments, 0 can be defined as the end identifier of the bad dot table, and 18'h3FFFF can be defined as indicating that the current dot is a bad dot.
在一个实施例中,多媒体数据处理设备可以对第二坏点表进行解码,得到第一坏点表中的坏点的偏移量,当检测到当前点的偏移量与预定义的坏点表数据匹配时,可以根据当前点的偏移量和寻址跳转数据,对当前点进行矫正处理。In one embodiment, the multimedia data processing device can decode the second dead point table to obtain the offset of the dead point in the first dead point table. When it is detected that the offset of the current point is different from the predefined dead point When the table data matches, the current point can be corrected according to the offset of the current point and the addressing jump data.
在一个实施例中,多媒体数据处理设备可以从当前坏点表地址读取数据,以检测当前点的数据(例如偏移量)是否与预定义的表示坏点的数据匹配,如果匹配,则确定当前点为坏点,并对当前点进行矫正处理,进一步地,将当前点的地址加1,对下一个点进行检测。In one embodiment, the multimedia data processing device can read data from the current dead point table address to detect whether the current point data (for example, the offset) matches the predefined data representing the dead point, and if it matches, then determine The current point is a bad point, and the current point is corrected. Furthermore, the address of the current point is increased by 1, and the next point is detected.
具体可以图5为例进行说明,图5是本发明实施例提供的一种坏点表的查询流程图,如图5所示,通过对第二坏点表进行解码得到坏点表地址,并从当前的坏点表地址开始读取当前点的坏点数据(例如偏移量),如果读取到当前点的坏点数据为18'h00000,则可以确定当前点的坏点数据与表1中所定义的表示当前点为坏点的数据匹配,即确定当前点为第一坏点表中的坏点,并对当前点进行矫正处理。It can be specifically illustrated in FIG. 5 as an example. FIG. 5 is a flowchart of a dead pixel table query provided by an embodiment of the present invention. As shown in FIG. 5, the dead pixel table address is obtained by decoding the second dead pixel table, and Read the current dot data (such as offset) from the current dot table address. If the data of the current dot is 18'h00000, then the data of the current dot can be determined as shown in Table 1. The data matching defined in which indicates that the current point is a dead point is to determine that the current point is a dead point in the first dead point table, and correct the current point.
在一个实施例中,多媒体数据处理设备如果检测到当前点的坏点数据(例如偏移量)与预定义的表示坏点的数据不匹配,则可以检测当前点的坏点数据(例如偏移量)是否匹配第一坏点表中下一坏点与当前坏点的偏移量,如果匹配,则可以根据当前点的偏移量,跳转与当前点的偏移量对应数量的像素,并对当前点进行矫正处理。In one embodiment, if the multimedia data processing device detects that the dead point data (for example, offset) of the current point does not match the predefined data representing the dead point, it can detect the dead point data (for example, offset) of the current point. Quantity) Whether it matches the offset of the next dead point in the first dead point table and the current dead point. If it matches, you can jump to the number of pixels corresponding to the offset of the current point according to the offset of the current point, And correct the current point.
以图5为例,假设下一坏点与当前坏点的偏移量为18'h00001~18'h3FFEF,如果读取到当前点的坏点数据为18'h00002,则可以判断当前点的坏点数据与表1中所定义的表示坏点的数据不匹配,但其满足表1中所定义的18'h00001~18'h3FFEF的范围,因此可以跳转18'h00002个像素,对当前点进行矫正处理。Take Figure 5 as an example, suppose the offset between the next dead pixel and the current dead pixel is 18'h00001~18'h3FFEF. If the dead pixel data of the current point is read as 18'h00002, then the current point can be judged as bad. The point data does not match the data indicating the dead pixels defined in Table 1, but it meets the range of 18'h00001~18'h3FFEF defined in Table 1, so 18'h00002 pixels can be jumped to the current point. Corrective treatment.
在一个实施例中,如果多媒体数据处理设备检测当前点的偏移量不匹配第 一坏点表中下一坏点与当前坏点的偏移量,则可以检测当前点的偏移量是否满足预定义的寻址跳转数据,如果满足,则跳转与寻址跳转数据对应数量的像素,并将当前点的坏点表地址加1,对下一个点进行检测;如果不满足,则检测当前点的坏点数据是否为坏点表的结束标识,如果为坏点表的结束标识,则结束;如果不是坏点表的结束标识,则将当前点的坏点表地址加1,检测下一个点是否为坏点。In one embodiment, if the multimedia data processing device detects that the offset of the current point does not match the offset between the next dead point in the first dead point table and the current dead point, it can detect whether the offset of the current point satisfies Pre-defined addressing jump data, if it is met, jump to the number of pixels corresponding to the addressing jump data, and add 1 to the dead point table address of the current point to detect the next point; if it is not met, then Check whether the dead point data of the current point is the end mark of the dead point table, if it is the end mark of the dead point table, then end; if it is not the end mark of the dead point table, add 1 to the address of the current point dead point table to detect Whether the next point is a dead point.
以图5为例,如果读取到当前点的坏点数据为19'h4FFF0,则可以确定当前点的坏点数据19'h4FFF0不符合18'h00001~18'h3FFEF的范围,进一步检测到当前点的坏点数据19'h4FFF0满足表1中所定义的寻址跳转数据18'h3FFF0,因此根据寻址跳转数据计算19'h4FFF0–18'h3FFF0=18'h10000,得到跳转18'h3FFF0个像素后的坏点数据18'h10000。Taking Figure 5 as an example, if the dead pixel data of the current point is 19'h4FFF0, it can be determined that the dead pixel data 19'h4FFF0 of the current point does not meet the range of 18'h00001~18'h3FFEF, and the current point is further detected The dead pixel data 19'h4FFF0 meets the addressing jump data 18'h3FFF0 defined in Table 1, so according to the addressing jump data, 19'h4FFF0–18'h3FFF0=18'h10000 is calculated, and 18'h3FFF0 jumps are obtained. The dead pixel data after the pixel is 18'h10000.
在一个实施例中,多媒体数据处理设备在对当前点进行矫正处理后,可以将当前点的坏点表地址加1,继续检测下一个点,直到出现第二坏点表的结束标志,则确定完成对第一坏点表中坏点的矫正处理。In one embodiment, after the multimedia data processing device performs correction processing on the current point, it can add 1 to the bad point table address of the current point and continue to detect the next point until the end mark of the second bad point table appears, then confirm Complete the correction processing of the dead pixels in the first dead pixel table.
应当理解,图5及在本文中的相关描述仅作为坏点表的解码处理过程的一个实例,其不应被视为对坏点表的解码处理过程的具体限定,可以通过其他方式进行坏点表的解码处理过程。It should be understood that FIG. 5 and the related description in this article are only used as an example of the decoding process of the dead pixel table, which should not be regarded as a specific limitation on the decoding process of the dead pixel table, and the dead pixels can be performed in other ways. The decoding process of the table.
在一个实施例中,所述第一坏点表编码协议可以应用于变焦相机的静态坏点矫正模块,其中,模块框图如图6所示,图6是本发明实施例提供的一种处理坏点表的模块框图。如图6所示,处理坏点表的模块包括闪存(Flash Memory,flash)模块61、微控制单元(Micro Controller Unit,MCU)模块62、现场可编程门阵列(Field Programmable Gate Array,FPGA)模块63,其中,FPGA模块63中包括块状存储器(Block Ram)模块631和坏点矫正模块632。In an embodiment, the first dead pixel table encoding protocol can be applied to a static dead pixel correction module of a zoom camera. The block diagram of the module is shown in FIG. 6, which is a processing method provided by an embodiment of the present invention. The block diagram of the point table. As shown in Figure 6, the modules for processing the dead pixel table include a flash memory (Flash) module 61, a micro controller unit (MCU) module 62, and a field programmable gate array (Field Programmable Gate Array, FPGA) module. 63. The FPGA module 63 includes a block RAM module 631 and a dead pixel correction module 632.
在一个实施例中,通过微控制单元模块62从闪存模块61提取出原始坏点表,并对其按本发明所定义的协议进行编码,得到存储坏点偏移量的坏点表。微控制单元模块62将编码后的坏点表通过总线传输给现场可编程门阵列模块63,现场可编程门阵列模块63接收到坏点表后,将其存储到自身的块状存储器模块631,坏点矫正模块632从块状存储器模块631中提取出坏点表进行解码,并进行坏点矫正处理。In one embodiment, the micro-control unit module 62 extracts the original dead pixel table from the flash memory module 61, and encodes it according to the protocol defined in the present invention to obtain the dead pixel table storing the offset of the dead pixel. The micro control unit module 62 transmits the encoded dead pixel table to the field programmable gate array module 63 through the bus. After the field programmable gate array module 63 receives the dead pixel table, it stores it in its own block memory module 631. The bad pixel correction module 632 extracts a bad pixel table from the block memory module 631, decodes it, and performs a bad pixel correction process.
应当理解,图6及在本文中的相关描述仅作为坏点表的处理模块的一个实 例,其不应被视为坏点表的处理模块的具体限定,坏点表的处理模块还可以是其它方式。It should be understood that FIG. 6 and the related description in this article are only used as an example of the processing module of the dead-point table, which should not be regarded as a specific limitation of the processing module of the dead-point table. The processing module of the dead-point table may also be other Way.
本发明实施例中,多媒体数据处理设备可以获取待处理的第一多媒体数据集合,并对第一多媒体数据集合中的第一多媒体数据进行编码,以确定第一多媒体数据的偏移量,以及根据第一多媒体数据的偏移量确定第二多媒体数据集合,以根据第二多媒体数据集合对第一多媒体数据进行处理。通过这种实施方式,有效地降低了多媒体数据的存储空间和传输时间,提高了对多媒体数据处理的效率。In the embodiment of the present invention, the multimedia data processing device may obtain the first multimedia data set to be processed, and encode the first multimedia data in the first multimedia data set to determine the first multimedia data set. The offset of the data, and the second multimedia data set is determined according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set. Through this implementation, the storage space and transmission time of multimedia data are effectively reduced, and the efficiency of multimedia data processing is improved.
举例来说,若定义一张与图像相同大小的坏点表,假设图像分辨率为5184x3888,利用IIC传输,传输带宽为400Kbps,则需要的存储空间为5184 x 3888 x 1bit=2.4MB,传输耗时为2.4MB/400Kbps=48秒。在使用本发明所述的多媒体数据处理方法时,坏点表数据位宽采用18bits,假设坏点数为5120个,利用IIC传输,传输带宽为400Kbps,则需要的存储空间为5120 x 18bit=90Kb,传输耗时为90Kb/400Kbps=0.225秒。由此可见,使用本发明所述的多媒体数据处理方法,存储空间与传输耗时降低了99.53%。因此,通过本发明所述的多媒体数据处理方法可以有效地降低多媒体数据的存储空间和传输时间,有助于提高多媒体数据的处理效率。For example, if you define a dead pixel table with the same size as the image, assuming the image resolution is 5184x3888, using IIC transmission, and the transmission bandwidth is 400Kbps, the required storage space is 5184 x 3888 x 1bit=2.4MB, and the transmission consumes It is 2.4MB/400Kbps=48 seconds. When using the multimedia data processing method of the present invention, the data bit width of the dead pixel table is 18bits, assuming that the number of dead pixels is 5120, using IIC transmission, the transmission bandwidth is 400Kbps, and the required storage space is 5120 x 18bit=90Kb, The transmission time is 90Kb/400Kbps=0.225 seconds. It can be seen that by using the multimedia data processing method of the present invention, storage space and transmission time are reduced by 99.53%. Therefore, the multimedia data processing method of the present invention can effectively reduce the storage space and transmission time of the multimedia data, which helps to improve the processing efficiency of the multimedia data.
请参见图7,图7是本发明实施例提供的一种多媒体数据处理设备的结构示意图,具体的,所述多媒体数据处理设备包括:存储器701、处理器702以及数据接口703。应当理解,图7及在本文中的相关描述仅作为多媒体数据处理设备的一个实例,其不应被视为多媒体数据处理设备的具体限定,多媒体数据处理设备还可以包括其它组成方式。Please refer to FIG. 7, which is a schematic structural diagram of a multimedia data processing device according to an embodiment of the present invention. Specifically, the multimedia data processing device includes a memory 701, a processor 702, and a data interface 703. It should be understood that FIG. 7 and the related description in this text are only used as an example of the multimedia data processing device, which should not be regarded as a specific limitation of the multimedia data processing device, and the multimedia data processing device may also include other components.
所述存储器701可以包括易失性存储器(volatile memory);存储器701也可以包括非易失性存储器(non-volatile memory);存储器701还可以包括上述种类的存储器的组合。所述处理器702可以是中央处理器(central processing unit,CPU)。所述处理器702还可以进一步包括硬件多媒体数据处理设备。上述硬件多媒体数据处理设备可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。具体例如可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable  gate array,FPGA)或其任意组合。The memory 701 may include a volatile memory (volatile memory); the memory 701 may also include a non-volatile memory (non-volatile memory); the memory 701 may also include a combination of the foregoing types of memories. The processor 702 may be a central processing unit (CPU). The processor 702 may further include a hardware multimedia data processing device. The foregoing hardware multimedia data processing device may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. For example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
进一步地,所述存储器701用于存储程序,当程序被执行时所述处理器702可以调用存储器701中存储的程序,用于执行如下步骤:Further, the memory 701 is used to store a program, and when the program is executed, the processor 702 can call the program stored in the memory 701 to perform the following steps:
获取待处理的第一多媒体数据集合;Acquiring the first multimedia data set to be processed;
对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量;Encoding the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data;
根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。Determine a second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set.
进一步地,所述第一多媒体数据包括图像数据;所述处理器702对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量时,具体用于:Further, the first multimedia data includes image data; the processor 702 encodes the first multimedia data in the first multimedia data set to determine the first multimedia data When the offset of the data, it is specifically used for:
获取待处理的第一图像数据集合的图像分辨率;Acquiring the image resolution of the first image data set to be processed;
根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量。The first image data in the first image data set is encoded according to the image resolution to determine the offset of the first image data.
进一步地,所述处理器702根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量时,具体用于:Further, when the processor 702 encodes the first image data in the first image data set according to the image resolution to determine the offset of the first image data, it is specifically configured to:
根据所述图像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息;Determine the position information of the first image data in the first image data set according to the image resolution;
根据所述位置信息确定所述第一图像数据的偏移量。The offset of the first image data is determined according to the position information.
进一步地,所述处理器702根据所述图像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息时,具体用于:Further, when the processor 702 determines the position information of the first image data in the first image data set according to the image resolution, it is specifically configured to:
根据所述图像分辨率,确定所述第一图像数据的图像坐标;Determine the image coordinates of the first image data according to the image resolution;
根据所述第一图像数据的图像坐标,确定所述第一图像数据在所述第一图像数据集合中的位置信息。According to the image coordinates of the first image data, the position information of the first image data in the first image data set is determined.
进一步地,所述处理器702根据所述位置信息确定所述第一图像数据的偏移量时,具体用于:Further, when the processor 702 determines the offset of the first image data according to the position information, it is specifically configured to:
根据所述位置信息确定所述第一图像数据的位置标记;Determining a location mark of the first image data according to the location information;
根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量。Determine the offset of the first image data according to the position mark of the first image data.
进一步地,所述处理器702根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量时,具体用于:Further, when the processor 702 determines the offset of the first image data according to the position mark of the first image data, it is specifically configured to:
根据所述位置信息确定所述第一图像数据集合中按照预定位置顺序的第一个图像数据的第一位置标记为所述第一个图像数据的偏移量;Determining, according to the position information, a first position mark of the first image data in a predetermined position sequence in the first image data set as the offset of the first image data;
按照所述预定位置顺序确定所述第一个图像数据的下一个图像数据的第二位置标记;Determining the second position mark of the next image data of the first image data according to the predetermined position sequence;
确定所述第二位置标记与所述第一位置标记的差值为所述下一个图像数据的偏移量。It is determined that the difference between the second position mark and the first position mark is the offset of the next image data.
进一步地,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表或矫正网格表。Further, the first multimedia data set and the second multimedia data set include a bad point table or a corrected grid table.
进一步地,所述多媒体数据包括音频数据;所述处理器702对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量时,具体用于:Further, the multimedia data includes audio data; the processor 702 encodes the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data When measuring, it is specifically used for:
获取待处理的第一音频数据集合中的第一音频数据;Acquiring first audio data in the first audio data set to be processed;
对所述第一音频数据进行编码,以确定所述第一音频数据的偏移量。The first audio data is encoded to determine the offset of the first audio data.
进一步地,所述处理器702对所述第一音频数据进行编码,以确定所述第一音频数据的偏移量时,具体用于:Further, when the processor 702 encodes the first audio data to determine the offset of the first audio data, it is specifically configured to:
获取所述第一音频数据的音量值;Acquiring the volume value of the first audio data;
根据所述第一音频数据的音量值确定所述第一音频数据的偏移量。The offset of the first audio data is determined according to the volume value of the first audio data.
进一步地,所述处理器702根据所述第一音频数据的音量值确定所述第一音频数据的偏移量时,具体用于:Further, when the processor 702 determines the offset of the first audio data according to the volume value of the first audio data, it is specifically configured to:
按照预设顺序确定第一个音频数据的第一音量值为所述第一个音频数据的偏移量;Determining, according to a preset sequence, that the first volume value of the first audio data is the offset of the first audio data;
按照所述预设顺序确定所述第一个音频数据的下一个音频数据的第二音量值;Determining the second volume value of the next audio data of the first audio data according to the preset order;
确定所述第二音量值与所述第一音量值的差值为所述下一个音量数据的偏移值。It is determined that the difference between the second volume value and the first volume value is an offset value of the next volume data.
进一步地,所述处理器702根据所述第二多媒体数据集合对所述第一多媒体数据进行处理时,具体用于:Further, when the processor 702 processes the first multimedia data according to the second multimedia data set, it is specifically configured to:
对所述第二多媒体数据集合进行解码,得到所述第一多媒体数据的偏移量;Decode the second multimedia data set to obtain the offset of the first multimedia data;
根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数 据集合的结束标识,对所述第一多媒体数据进行处理。The first multimedia data is processed according to the offset of the first multimedia data, the address jump data, and the end identifier of the second multimedia data set.
进一步地,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表;所述处理器702根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数据集合的结束标识,对所述第一多媒体数据进行处理时,具体用于:Further, the first multimedia data set and the second multimedia data set include a dead point table; the processor 702 according to the offset of the first multimedia data, addressing jump data, and The end identifier of the second multimedia data set is specifically used when processing the first multimedia data:
对第二坏点表进行解码,得到第一坏点表中的坏点的偏移量;Decoding the second dead point table to obtain the offset of the dead point in the first dead point table;
根据所述第一坏点表中的坏点的偏移量、寻址跳转数据以及所述第二坏点表的结束标识,对所述第一坏点表中的坏点进行矫正处理。According to the offset of the dead point in the first dead point table, the address jump data, and the end identifier of the second dead point table, corrective processing is performed on the dead point in the first dead point table.
进一步地,所述寻址跳转数据被配置用来处理超出预定义值的偏移量。Further, the address jump data is configured to handle an offset exceeding a predefined value.
进一步地,所述处理器702获取待处理的第一图像数据集合时,具体用于:Further, when the processor 702 obtains the first image data set to be processed, it is specifically configured to:
获取待处理的图像的异常图像数据的图像坐标;Acquiring the image coordinates of the abnormal image data of the image to be processed;
确定所述异常图像数据的图像坐标对应的图像数据组成所述第一图像数据集合。It is determined that image data corresponding to the image coordinates of the abnormal image data constitutes the first image data set.
进一步地,所述处理器702获取待处理的第一图像数据集合时,具体用于:Further, when the processor 702 obtains the first image data set to be processed, it is specifically configured to:
获取待处理的图像的异常图像数据标记;Obtain the abnormal image data mark of the image to be processed;
确定所述异常图像数据标记对应的图像数据组成所述第一图像数据集合。It is determined that the image data corresponding to the abnormal image data mark constitutes the first image data set.
本发明实施例中,多媒体数据处理设备可以获取待处理的第一多媒体数据集合,并对第一多媒体数据集合中的第一多媒体数据进行编码,以确定第一多媒体数据的偏移量,以及根据第一多媒体数据的偏移量确定第二多媒体数据集合,以根据第二多媒体数据集合对第一多媒体数据进行处理。通过这种实施方式,有效地降低了多媒体数据的存储空间和传输时间,提高了对多媒体数据处理的效率。In the embodiment of the present invention, the multimedia data processing device may obtain the first multimedia data set to be processed, and encode the first multimedia data in the first multimedia data set to determine the first multimedia data set. The offset of the data, and the second multimedia data set is determined according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set. Through this implementation, the storage space and transmission time of multimedia data are effectively reduced, and the efficiency of multimedia data processing is improved.
在本发明的实施例中还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例图2中描述的多媒体数据处理方法,也可实现图7所述本发明所对应实施例的多媒体数据处理设备,在此不再赘述。In the embodiment of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the multimedia described in the embodiment of the present invention The data processing method can also implement the multimedia data processing device corresponding to the embodiment of the present invention described in FIG. 7, and will not be repeated here.
所述计算机可读存储介质可以是前述任一项实施例所述的设备的内部存储单元,例如设备的硬盘或内存。所述计算机可读存储介质也可以是所述设备的外部存储设备,例如所述设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述设备的内部存储单 元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述设备所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), or a Secure Digital (SD) card. , Flash Card, etc. Further, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium can be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明部分实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above-disclosed are only some embodiments of the present invention, which of course cannot be used to limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (31)

  1. 一种多媒体数据处理方法,其特征在于,包括:A multimedia data processing method, characterized in that it comprises:
    获取待处理的第一多媒体数据集合;Acquiring the first multimedia data set to be processed;
    对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量;Encoding the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data;
    根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。Determine a second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set.
  2. 根据权利要求1所述的方法,其特征在于,所述第一多媒体数据包括图像数据;所述对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量,包括:The method according to claim 1, wherein the first multimedia data includes image data; and the first multimedia data in the first multimedia data set is encoded to determine The offset of the first multimedia data includes:
    获取待处理的第一图像数据集合的图像分辨率;Acquiring the image resolution of the first image data set to be processed;
    根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量。The first image data in the first image data set is encoded according to the image resolution to determine the offset of the first image data.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量,包括:The method according to claim 2, wherein the first image data in the first image data set is encoded according to the image resolution to determine the offset of the first image data ,include:
    根据所述图像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息;Determine the position information of the first image data in the first image data set according to the image resolution;
    根据所述位置信息确定所述第一图像数据的偏移量。The offset of the first image data is determined according to the position information.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述图像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息,包括:The method according to claim 3, wherein the determining the position information of the first image data in the first image data set according to the image resolution comprises:
    根据所述图像分辨率,确定所述第一图像数据的图像坐标;Determine the image coordinates of the first image data according to the image resolution;
    根据所述第一图像数据的图像坐标,确定所述第一图像数据在所述第一图像数据集合中的位置信息。According to the image coordinates of the first image data, the position information of the first image data in the first image data set is determined.
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述位置信息确 定所述第一图像数据的偏移量,包括:The method according to claim 3, wherein the determining the offset of the first image data according to the position information comprises:
    根据所述位置信息确定所述第一图像数据的位置标记;Determining a location mark of the first image data according to the location information;
    根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量。Determine the offset of the first image data according to the position mark of the first image data.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量,包括:The method according to claim 5, wherein the determining the offset of the first image data according to the position mark of the first image data comprises:
    根据所述位置信息确定所述第一图像数据集合中按照预定位置顺序的第一个图像数据的第一位置标记为所述第一个图像数据的偏移量;Determining, according to the position information, a first position mark of the first image data in a predetermined position sequence in the first image data set as the offset of the first image data;
    按照所述预定位置顺序确定所述第一个图像数据的下一个图像数据的第二位置标记;Determining the second position mark of the next image data of the first image data according to the predetermined position sequence;
    确定所述第二位置标记与所述第一位置标记的差值为所述下一个图像数据的偏移量。It is determined that the difference between the second position mark and the first position mark is the offset of the next image data.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表或矫正网格表。The method according to any one of claims 1 to 6, wherein the first multimedia data set and the second multimedia data set include a bad point table or a corrected grid table.
  8. 根据权利要求1所述的方法,其特征在于,所述多媒体数据包括音频数据;所述对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量,包括:The method according to claim 1, wherein the multimedia data includes audio data; and the first multimedia data in the first multimedia data set is encoded to determine the first multimedia data The offset of multimedia data, including:
    获取待处理的第一音频数据集合中的第一音频数据;Acquiring first audio data in the first audio data set to be processed;
    对所述第一音频数据进行编码,以确定所述第一音频数据的偏移量。The first audio data is encoded to determine the offset of the first audio data.
  9. 根据权利要求8所述的方法,其特征在于,所述对所述第一音频数据进行编码,以确定所述第一音频数据的偏移量,包括:The method according to claim 8, wherein the encoding the first audio data to determine the offset of the first audio data comprises:
    获取所述第一音频数据的音量值;Acquiring the volume value of the first audio data;
    根据所述第一音频数据的音量值确定所述第一音频数据的偏移量。The offset of the first audio data is determined according to the volume value of the first audio data.
  10. 根据权利要求8所述的方法,其特征在于,所述根据所述第一音频数据的音量值确定所述第一音频数据的偏移量,包括:The method according to claim 8, wherein the determining the offset of the first audio data according to the volume value of the first audio data comprises:
    按照预设顺序确定第一个音频数据的第一音量值为所述第一个音频数据 的偏移量;Determining the first volume value of the first audio data as the offset of the first audio data according to a preset sequence;
    按照所述预设顺序确定所述第一个音频数据的下一个音频数据的第二音量值;Determining the second volume value of the next audio data of the first audio data according to the preset order;
    确定所述第二音量值与所述第一音量值的差值为所述下一个音量数据的偏移值。It is determined that the difference between the second volume value and the first volume value is an offset value of the next volume data.
  11. 根据权利要求1所述的方法,其特征在于,所述根据所述第二多媒体数据集合对所述第一多媒体数据进行处理,包括:The method according to claim 1, wherein the processing the first multimedia data according to the second multimedia data set comprises:
    对所述第二多媒体数据集合进行解码,得到所述第一多媒体数据的偏移量;Decode the second multimedia data set to obtain the offset of the first multimedia data;
    根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数据集合的结束标识,对所述第一多媒体数据进行处理。The first multimedia data is processed according to the offset of the first multimedia data, the address jump data, and the end identifier of the second multimedia data set.
  12. 根据权利要求11所述的方法,其特征在于,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表;所述根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数据集合的结束标识,对所述第一多媒体数据进行处理,包括:The method according to claim 11, wherein the first multimedia data set and the second multimedia data set include a bad point table; the offset according to the first multimedia data , Addressing the jump data and the end identifier of the second multimedia data set, and processing the first multimedia data, including:
    对第二坏点表进行解码,得到第一坏点表中的坏点的偏移量;Decoding the second dead point table to obtain the offset of the dead point in the first dead point table;
    根据所述第一坏点表中的坏点的偏移量、寻址跳转数据以及所述第二坏点表的结束标识,对所述第一坏点表中的坏点进行矫正处理。According to the offset of the dead point in the first dead point table, the address jump data, and the end identifier of the second dead point table, corrective processing is performed on the dead point in the first dead point table.
  13. 根据权利要求11或12所述的方法,所述寻址跳转数据被配置用来处理超出预定义值的偏移量。According to the method of claim 11 or 12, the address jump data is configured to handle an offset exceeding a predefined value.
  14. 根据权利要求2所述的方法,其特征在于,所述获取待处理的第一图像数据集合,包括:The method according to claim 2, wherein said acquiring the first image data set to be processed comprises:
    获取待处理的图像的异常图像数据的图像坐标;Acquiring the image coordinates of the abnormal image data of the image to be processed;
    确定所述异常图像数据的图像坐标对应的图像数据组成所述第一图像数据集合。It is determined that image data corresponding to the image coordinates of the abnormal image data constitutes the first image data set.
  15. 根据权利要求2所述的方法,其特征在于,所述获取待处理的第一图像数据集合,包括:The method according to claim 2, wherein said acquiring the first image data set to be processed comprises:
    获取待处理的图像的异常图像数据标记;Obtain the abnormal image data mark of the image to be processed;
    确定所述异常图像数据标记对应的图像数据组成所述第一图像数据集合。It is determined that the image data corresponding to the abnormal image data mark constitutes the first image data set.
  16. 一种多媒体数据处理设备,其特征在于,包括:存储器和处理器;A multimedia data processing device, which is characterized by comprising: a memory and a processor;
    所述存储器,用于存储程序;The memory is used to store programs;
    所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:The processor is used to call the program, and when the program is executed, it is used to perform the following operations:
    获取待处理的第一多媒体数据集合;Acquiring the first multimedia data set to be processed;
    对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量;Encoding the first multimedia data in the first multimedia data set to determine the offset of the first multimedia data;
    根据所述第一多媒体数据的偏移量确定第二多媒体数据集合,以根据所述第二多媒体数据集合对所述第一多媒体数据进行处理。Determine a second multimedia data set according to the offset of the first multimedia data, so as to process the first multimedia data according to the second multimedia data set.
  17. 根据权利要求16所述的设备,其特征在于,所述第一多媒体数据包括图像数据;所述处理器对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量时,具体用于:The device according to claim 16, wherein the first multimedia data comprises image data; the processor encodes the first multimedia data in the first multimedia data set, When determining the offset of the first multimedia data, it is specifically used to:
    获取待处理的第一图像数据集合的图像分辨率;Acquiring the image resolution of the first image data set to be processed;
    根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量。The first image data in the first image data set is encoded according to the image resolution to determine the offset of the first image data.
  18. 根据权利要求17所述的设备,其特征在于,所述处理器根据所述图像分辨率对所述第一图像数据集合中的第一图像数据进行编码,以确定所述第一图像数据的偏移量时,具体用于:The device according to claim 17, wherein the processor encodes the first image data in the first image data set according to the image resolution to determine the bias of the first image data When moving, it is specifically used for:
    根据所述图像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息;Determine the position information of the first image data in the first image data set according to the image resolution;
    根据所述位置信息确定所述第一图像数据的偏移量。The offset of the first image data is determined according to the position information.
  19. 根据权利要求18所述的设备,其特征在于,所述处理器根据所述图 像分辨率,确定所述第一图像数据在所述第一图像数据集合中的位置信息时,具体用于:The device according to claim 18, wherein when the processor determines the position information of the first image data in the first image data set according to the image resolution, it is specifically configured to:
    根据所述图像分辨率,确定所述第一图像数据的图像坐标;Determine the image coordinates of the first image data according to the image resolution;
    根据所述第一图像数据的图像坐标,确定所述第一图像数据在所述第一图像数据集合中的位置信息。According to the image coordinates of the first image data, the position information of the first image data in the first image data set is determined.
  20. 根据权利要求18所述的设备,其特征在于,所述处理器根据所述位置信息确定所述第一图像数据的偏移量时,具体用于:The device according to claim 18, wherein when the processor determines the offset of the first image data according to the position information, it is specifically configured to:
    根据所述位置信息确定所述第一图像数据的位置标记;Determining a location mark of the first image data according to the location information;
    根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量。Determine the offset of the first image data according to the position mark of the first image data.
  21. 根据权利要求20所述的设备,其特征在于,所述处理器根据所述第一图像数据的位置标记,确定所述第一图像数据的偏移量时,具体用于:The device according to claim 20, wherein the processor is specifically configured to: when determining the offset of the first image data according to the position mark of the first image data:
    根据所述位置信息确定所述第一图像数据集合中按照预定位置顺序的第一个图像数据的第一位置标记为所述第一个图像数据的偏移量;Determining, according to the position information, a first position mark of the first image data in a predetermined position sequence in the first image data set as the offset of the first image data;
    按照所述预定位置顺序确定所述第一个图像数据的下一个图像数据的第二位置标记;Determining the second position mark of the next image data of the first image data according to the predetermined position sequence;
    确定所述第二位置标记与所述第一位置标记的差值为所述下一个图像数据的偏移量。It is determined that the difference between the second position mark and the first position mark is the offset of the next image data.
  22. 根据权利要求16-21任一项所述的设备,其特征在于,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表或矫正网格表。The device according to any one of claims 16-21, wherein the first multimedia data set and the second multimedia data set comprise a bad point table or a corrected grid table.
  23. 根据权利要求16所述的设备,其特征在于,所述多媒体数据包括音频数据;所述处理器对所述第一多媒体数据集合中的第一多媒体数据进行编码,以确定所述第一多媒体数据的偏移量时,具体用于:The device according to claim 16, wherein the multimedia data comprises audio data; and the processor encodes the first multimedia data in the first multimedia data set to determine the The offset of the first multimedia data is specifically used for:
    获取待处理的第一音频数据集合中的第一音频数据;Acquiring first audio data in the first audio data set to be processed;
    对所述第一音频数据进行编码,以确定所述第一音频数据的偏移量。The first audio data is encoded to determine the offset of the first audio data.
  24. 根据权利要求23所述的设备,其特征在于,所述处理器对所述第一 音频数据进行编码,以确定所述第一音频数据的偏移量时,具体用于:The device according to claim 23, wherein when the processor encodes the first audio data to determine the offset of the first audio data, it is specifically configured to:
    获取所述第一音频数据的音量值;Acquiring the volume value of the first audio data;
    根据所述第一音频数据的音量值确定所述第一音频数据的偏移量。The offset of the first audio data is determined according to the volume value of the first audio data.
  25. 根据权利要求23所述的设备,其特征在于,所述处理器根据所述第一音频数据的音量值确定所述第一音频数据的偏移量时,具体用于:The device according to claim 23, wherein when the processor determines the offset of the first audio data according to the volume value of the first audio data, it is specifically configured to:
    按照预设顺序确定第一个音频数据的第一音量值为所述第一个音频数据的偏移量;Determining, according to a preset sequence, that the first volume value of the first audio data is the offset of the first audio data;
    按照所述预设顺序确定所述第一个音频数据的下一个音频数据的第二音量值;Determining the second volume value of the next audio data of the first audio data according to the preset order;
    确定所述第二音量值与所述第一音量值的差值为所述下一个音量数据的偏移值。It is determined that the difference between the second volume value and the first volume value is an offset value of the next volume data.
  26. 根据权利要求16所述的设备,其特征在于,所述处理器根据所述第二多媒体数据集合对所述第一多媒体数据进行处理时,具体用于:The device according to claim 16, wherein when the processor processes the first multimedia data according to the second multimedia data set, it is specifically configured to:
    对所述第二多媒体数据集合进行解码,得到所述第一多媒体数据的偏移量;Decode the second multimedia data set to obtain the offset of the first multimedia data;
    根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数据集合的结束标识,对所述第一多媒体数据进行处理。The first multimedia data is processed according to the offset of the first multimedia data, the address jump data, and the end identifier of the second multimedia data set.
  27. 根据权利要求26所述的设备,其特征在于,所述第一多媒体数据集合和第二多媒体数据集合包括坏点表;所述处理器根据所述第一多媒体数据的偏移量、寻址跳转数据以及所述第二多媒体数据集合的结束标识,对所述第一多媒体数据进行处理时,具体用于:The device according to claim 26, wherein the first multimedia data set and the second multimedia data set include a bad point table; and the processor is based on the bias of the first multimedia data The shift amount, the addressing jump data, and the end identifier of the second multimedia data set are specifically used when processing the first multimedia data:
    对第二坏点表进行解码,得到第一坏点表中的坏点的偏移量;Decoding the second dead point table to obtain the offset of the dead point in the first dead point table;
    根据所述第一坏点表中的坏点的偏移量、寻址跳转数据以及所述第二坏点表的结束标识,对所述第一坏点表中的坏点进行矫正处理。According to the offset of the dead point in the first dead point table, the address jump data, and the end identifier of the second dead point table, corrective processing is performed on the dead point in the first dead point table.
  28. 根据权利要求26或27所述的设备,所述寻址跳转数据被配置用来处理超出预定义值的偏移量。The device according to claim 26 or 27, the address jump data is configured to handle an offset exceeding a predefined value.
  29. 根据权利要求17所述的设备,其特征在于,所述处理器获取待处理的第一图像数据集合时,具体用于:The device according to claim 17, wherein when the processor obtains the first image data set to be processed, it is specifically configured to:
    获取待处理的图像的异常图像数据的图像坐标;Acquiring the image coordinates of the abnormal image data of the image to be processed;
    确定所述异常图像数据的图像坐标对应的图像数据组成所述第一图像数据集合。It is determined that image data corresponding to the image coordinates of the abnormal image data constitutes the first image data set.
  30. 根据权利要求17所述的设备,其特征在于,所述处理器获取待处理的第一图像数据集合时,具体用于:The device according to claim 17, wherein when the processor obtains the first image data set to be processed, it is specifically configured to:
    获取待处理的图像的异常图像数据标记;Obtain the abnormal image data mark of the image to be processed;
    确定所述异常图像数据标记对应的图像数据组成所述第一图像数据集合。It is determined that the image data corresponding to the abnormal image data mark constitutes the first image data set.
  31. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至15任一项所述方法。A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method according to any one of claims 1 to 15.
PCT/CN2020/088431 2020-04-30 2020-04-30 Multimedia data processing method and device, and storage medium WO2021217623A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/088431 WO2021217623A1 (en) 2020-04-30 2020-04-30 Multimedia data processing method and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/088431 WO2021217623A1 (en) 2020-04-30 2020-04-30 Multimedia data processing method and device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021217623A1 true WO2021217623A1 (en) 2021-11-04

Family

ID=78331641

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/088431 WO2021217623A1 (en) 2020-04-30 2020-04-30 Multimedia data processing method and device, and storage medium

Country Status (1)

Country Link
WO (1) WO2021217623A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114722970A (en) * 2022-05-12 2022-07-08 北京瑞莱智慧科技有限公司 Multimedia detection method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013056200A1 (en) * 2011-10-14 2013-04-18 Brightsentry, Inc. Method and apparatus for video compression of stationary scenes
CN106233730A (en) * 2014-04-15 2016-12-14 Arm有限公司 The method and apparatus generating encoded frame
CN108028942A (en) * 2015-06-04 2018-05-11 清华大学 Coding method, coding/decoding method and its device
WO2018196368A1 (en) * 2017-04-28 2018-11-01 华南理工大学 Multimedia data recompression method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013056200A1 (en) * 2011-10-14 2013-04-18 Brightsentry, Inc. Method and apparatus for video compression of stationary scenes
CN106233730A (en) * 2014-04-15 2016-12-14 Arm有限公司 The method and apparatus generating encoded frame
CN108028942A (en) * 2015-06-04 2018-05-11 清华大学 Coding method, coding/decoding method and its device
WO2018196368A1 (en) * 2017-04-28 2018-11-01 华南理工大学 Multimedia data recompression method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114722970A (en) * 2022-05-12 2022-07-08 北京瑞莱智慧科技有限公司 Multimedia detection method, device and storage medium
CN114722970B (en) * 2022-05-12 2022-08-26 北京瑞莱智慧科技有限公司 Multimedia detection method, device and storage medium

Similar Documents

Publication Publication Date Title
US11003891B2 (en) Image processing method and apparatus, and electronic device
EP3373236B1 (en) Image processing system, image generation apparatus, and image generation method
CN109863549B (en) Electronic device, display apparatus, and control method thereof
US9401036B2 (en) Photographing apparatus and method
US10803556B2 (en) Method and apparatus for image processing
US11290641B2 (en) Electronic device and method for correcting image corrected in first image processing scheme in external electronic device in second image processing scheme
CN109672871B (en) White balance information synchronization method, white balance information synchronization device and computer readable medium
CN107704798B (en) Image blurring method and device, computer readable storage medium and computer device
JP2009165106A (en) Image distortion correction
US20220139013A1 (en) Image and Text Typesetting Method and Related Apparatus Thereof
WO2023016320A1 (en) Image processing method and apparatus, and device and medium
US20120062586A1 (en) Projector and color improvement method of the projector
KR102397924B1 (en) Electronic device and method for correcting images based on image feature information and image correction scheme
CN109035134B (en) Panoramic image splicing method and device, electronic equipment and storage medium
CN112215760A (en) Image processing method and device
CN107105124B (en) Protocol for communication between a platform and an image device
WO2021217623A1 (en) Multimedia data processing method and device, and storage medium
US10055823B2 (en) Method for generating a pixel filtering boundary for use in auto white balance calibration
CN113099230B (en) Encoding method, encoding device, electronic equipment and computer readable storage medium
US11025809B2 (en) Dual imaging module cameras
US10970587B2 (en) Electronic device for notifying of update of image signal processing and method for operating the same
CN109785225B (en) Method and device for correcting image
CN111429529A (en) Calibration method for coordinate transformation, electronic equipment and computer storage medium
CN113473101B (en) Color correction method, device, electronic equipment and storage medium
CN102739956A (en) Image processing apparatus, image processing method, and computer program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20934155

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20934155

Country of ref document: EP

Kind code of ref document: A1