[go: up one dir, main page]

CN112037157A - Data processing method and device, computer readable medium and electronic equipment - Google Patents

Data processing method and device, computer readable medium and electronic equipment Download PDF

Info

Publication number
CN112037157A
CN112037157A CN202010963275.0A CN202010963275A CN112037157A CN 112037157 A CN112037157 A CN 112037157A CN 202010963275 A CN202010963275 A CN 202010963275A CN 112037157 A CN112037157 A CN 112037157A
Authority
CN
China
Prior art keywords
feature map
expansion rate
dilation
rate table
pixel
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.)
Granted
Application number
CN202010963275.0A
Other languages
Chinese (zh)
Other versions
CN112037157B (en
Inventor
张弓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010963275.0A priority Critical patent/CN112037157B/en
Publication of CN112037157A publication Critical patent/CN112037157A/en
Application granted granted Critical
Publication of CN112037157B publication Critical patent/CN112037157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
    • G06N3/061Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using biological neurons, e.g. biological neurons connected to an integrated circuit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20004Adaptive image processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Theoretical Computer Science (AREA)
  • Molecular Biology (AREA)
  • Neurology (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Image Processing (AREA)

Abstract

本公开涉及数据处理技术领域,具体涉及一种数据处理方法、一种数据处理装置、一种计算机可读介质以及一种电子设备。所述方法包括:获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值;将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。本方法能够实现对特征图中各像素的自适应的、精细化的调整感受野,避免特征提取过程中对特征的遗漏;并能提高采样密度,保留细节特征。

Figure 202010963275

The present disclosure relates to the technical field of data processing, and in particular, to a data processing method, a data processing apparatus, a computer-readable medium, and an electronic device. The method includes: acquiring a feature map to be processed, and inputting the feature map into an expansion rate calculation layer to obtain an expansion rate table corresponding to the feature map; wherein the expansion rate table includes each pixel in the feature map The corresponding expansion rate value; input the expansion rate table into the expansion convolution layer, so that the expansion convolution layer combines the expansion rate table to perform expansion convolution processing on the feature map, so as to obtain the corresponding expansion rate of the feature map. characteristic data. The method can realize the adaptive and fine adjustment of the receptive field of each pixel in the feature map, avoid the omission of features in the feature extraction process, and can improve the sampling density and retain the detailed features.

Figure 202010963275

Description

数据处理方法及装置、计算机可读介质及电子设备Data processing method and apparatus, computer readable medium and electronic device

技术领域technical field

本公开涉及数据处理技术领域,具体涉及一种数据处理方法、一种数据处理装置、一种计算机可读介质以及一种电子设备。The present disclosure relates to the technical field of data processing, and in particular, to a data processing method, a data processing apparatus, a computer-readable medium, and an electronic device.

背景技术Background technique

在利用深度学习算法进行图像处理时,扩大感受野有助于神经网络接收到更大范围的信息,提取更复杂的信息。一般来说,常规的扩大感受野的一种方式是增加神经网络的层数,越深的网络层接收到越广的信息。但是,其缺点在于大大增加了网络复杂度,收敛的难度随之提升。另一种膨胀卷积的方式,则是通过扩大滤波器尺寸来实现扩大感受野的目的。但是,其缺陷是卷积运算时有规律地跳过了一些像素,会在生成的特征中形成孔洞,导致特征被遗漏。When using deep learning algorithms for image processing, expanding the receptive field helps the neural network to receive a wider range of information and extract more complex information. In general, a conventional way to expand the receptive field is to increase the number of layers of the neural network, and the deeper the network layer, the wider the information is received. However, its disadvantage is that the network complexity is greatly increased, and the difficulty of convergence is also increased. Another way to dilate convolution is to expand the receptive field by expanding the filter size. However, the disadvantage is that the convolution operation regularly skips some pixels, which will form holes in the generated features, resulting in features being missed.

需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above Background section is only for enhancement of understanding of the background of the present disclosure, and therefore may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.

发明内容SUMMARY OF THE INVENTION

本公开提供一种数据处理方法、一种数据处理装置、一种计算机可读介质以及一种终端设备,能够对膨胀卷积的计算过程中自适应的调整感受野,避免特征遗漏。The present disclosure provides a data processing method, a data processing apparatus, a computer-readable medium, and a terminal device, which can adaptively adjust the receptive field during the calculation process of the dilated convolution to avoid feature omission.

本公开的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本公开的实践而习得。Other features and advantages of the present disclosure will become apparent from the following detailed description, or be learned in part by practice of the present disclosure.

根据本公开的第一方面,提供一种数据处理方法,包括:According to a first aspect of the present disclosure, there is provided a data processing method, comprising:

获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值;Obtain the feature map to be processed, and input the feature map into the expansion rate calculation layer to obtain the expansion rate table corresponding to the feature map; wherein, the expansion rate table includes the expansion rate value corresponding to each pixel in the feature map ;

将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。The dilation rate table is input into the dilation convolution layer, so that the dilation convolution layer performs dilation convolution processing on the feature map in combination with the dilation rate table, so as to obtain feature data corresponding to the feature map.

根据本公开的第二方面,提供一种数据处理装置,包括:According to a second aspect of the present disclosure, there is provided a data processing apparatus, comprising:

自适应膨胀率表计算模块,用于获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值;The adaptive expansion rate table calculation module is used to obtain the feature map to be processed, and input the feature map into the expansion rate calculation layer to obtain the expansion rate table corresponding to the feature map; wherein, the expansion rate table includes the The expansion rate value corresponding to each pixel in the feature map;

膨胀卷积处理模块,用于将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。a dilated convolution processing module, configured to input the dilation rate table into the dilated convolution layer, so that the dilated convolution layer combines the dilation rate table to perform dilated convolution processing on the feature map to obtain the feature The feature data corresponding to the graph.

根据本公开的第三方面,提供一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的数据处理方法。According to a third aspect of the present disclosure, there is provided a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned data processing method.

根据本公开的第四方面,提供一种终端设备,包括:According to a fourth aspect of the present disclosure, there is provided a terminal device, comprising:

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

存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现上述的数据处理方法。A storage device for storing one or more programs, which when executed by the one or more processors, enables the one or more processors to implement the above-mentioned data processing method.

本公开的一种实施例所提供的数据处理方法,通过配置膨胀率计算层,并利用该膨胀率卷积层计算特征图对应的膨胀率表;使得对特征图进行膨胀卷积计算时,可以查询膨胀率表得到各像素对应的膨胀率值,根据各像素对应的膨胀率值进行采样,从而实现对特征图中各像素的自适应的、精细化的调整感受野,避免特征提取过程中对特征的遗漏;并能提高采样密度,保留细节特征。In the data processing method provided by an embodiment of the present disclosure, the expansion rate calculation layer is configured, and the expansion rate convolution layer is used to calculate the expansion rate table corresponding to the feature map; Query the expansion rate table to obtain the expansion rate value corresponding to each pixel, and perform sampling according to the corresponding expansion rate value of each pixel, so as to realize the adaptive and refined adjustment of the receptive field of each pixel in the feature map, and avoid the process of feature extraction. The omission of features; and can improve the sampling density and retain detailed features.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.

图1-1示意性示出本公开示例性实施例中一种膨胀率为1的膨胀卷积采样示意图;1-1 schematically shows a schematic diagram of a dilated convolution sampling with a dilation rate of 1 in an exemplary embodiment of the present disclosure;

图1-2示意性示出本公开示例性实施例中一种膨胀率为2的膨胀卷积采样示意图;1-2 schematically show a schematic diagram of a dilated convolution sampling with a dilation rate of 2 in an exemplary embodiment of the present disclosure;

图1-3示意性示出本公开示例性实施例中一种膨胀率为4的膨胀卷积采样示意图;1-3 schematically show a schematic diagram of a dilated convolution sampling with a dilation rate of 4 in an exemplary embodiment of the present disclosure;

图2示意性示出本公开示例性实施例中一种数据处理方法的流程示意图;FIG. 2 schematically shows a schematic flowchart of a data processing method in an exemplary embodiment of the present disclosure;

图3示意性示出本公开示例性实施例中一种膨胀卷积层的方法的流程示意图;FIG. 3 schematically shows a schematic flowchart of a method for dilating a convolutional layer in an exemplary embodiment of the present disclosure;

图4示意性示出本公开示例性实施例中一种膨胀卷积层的采样结果示意图;FIG. 4 schematically shows a schematic diagram of a sampling result of a dilated convolution layer in an exemplary embodiment of the present disclosure;

图5示意性示出本公开示例性实施例中一种显示控制装置的组成示意图;FIG. 5 schematically shows a schematic composition diagram of a display control apparatus in an exemplary embodiment of the present disclosure;

图6示意性示出本公开示例性实施例中一种终端设备的电子设备结构示意图。FIG. 6 schematically shows a schematic structural diagram of an electronic device of a terminal device in an exemplary embodiment of the present disclosure.

具体实施方式Detailed ways

现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures are functional entities that do not necessarily necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.

在利用深度学习算法处理图像时,例如在图像降噪、图像识别等应用场景,利用卷积神经网络对图像进行特征提取时,扩大感受野有助于神经网络接收到更大范围的信息,提取更复杂的信息。常规的扩大感受野的一种方式是增加神经网络的层数,越深的网络层接收到越广的信息。其缺点在于大大增加了网络复杂度,收敛的难度随之提升。膨胀卷积的原理是,在卷积核中注入0,使得卷积运算的采样范围扩大,而运算复杂度不变。例如,参考图1-1至图1-3所示的膨胀卷积采样示意图,其中,图1-1的膨胀率为1,卷积核为原始形态,采样点紧密相连。图1-2的膨胀率为2,卷积核间隔注入零,有效采样点被间隔开。图1-3的膨胀率为4,有效采样点的间距为4。膨胀卷积的优势为扩大感受野,但会漏掉细微的特征。而另一种常用方式是采用膨胀卷积。膨胀卷积的概念是扩大滤波器尺寸,并在其内部按一定的间隔填零,尺寸的扩张比例即为膨胀率。其缺点是卷积运算时有规律地跳过了一些像素,易在生成的特征中形成孔洞。When using deep learning algorithms to process images, such as in image noise reduction, image recognition and other application scenarios, when using convolutional neural networks to extract features from images, expanding the receptive field helps the neural network to receive a wider range of information and extract more complex information. A conventional way to expand the receptive field is to increase the number of layers of the neural network, the deeper the network layer receives, the wider the information. The disadvantage is that the network complexity is greatly increased, and the difficulty of convergence is also increased. The principle of dilated convolution is to inject 0 into the convolution kernel to expand the sampling range of the convolution operation without changing the computational complexity. For example, refer to the schematic diagrams of dilated convolution sampling shown in Figure 1-1 to Figure 1-3, where the dilation rate of Figure 1-1 is 1, the convolution kernel is the original form, and the sampling points are closely connected. Figure 1-2 has a dilation rate of 2, the convolution kernel spacing is injected with zeros, and the valid samples are spaced apart. Figure 1-3 has an expansion rate of 4 and a spacing of 4 between valid sampling points. The advantage of dilated convolution is to expand the receptive field, but it will miss subtle features. Another common way is to use dilated convolution. The concept of dilated convolution is to expand the size of the filter and fill it with zeros at a certain interval. The expansion ratio of the size is the expansion rate. The disadvantage is that some pixels are regularly skipped during the convolution operation, which is easy to form holes in the generated features.

针对上述的现有技术的缺点和不足,本示例实施方式中提供了一种数据处理方法。参考图2中所示,上述的数据处理方法可以包括以下步骤:In view of the above-mentioned shortcomings and deficiencies of the prior art, the present exemplary embodiment provides a data processing method. Referring to Fig. 2, the above-mentioned data processing method may include the following steps:

S11,获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值;S11: Acquire the feature map to be processed, and input the feature map into the expansion rate calculation layer to obtain an expansion rate table corresponding to the feature map; wherein the expansion rate table includes the expansion corresponding to each pixel in the feature map rate value;

S12,将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。S12: Input the dilation rate table into the dilation convolution layer, so that the dilation convolution layer performs dilation convolution processing on the feature map in combination with the dilation rate table, so as to obtain feature data corresponding to the feature map.

本示例实施方式所提供的数据处理方法中,通过配置膨胀率计算层,并利用该膨胀率卷积层计算特征图对应的膨胀率表;使得对特征图进行膨胀卷积计算时,可以查询膨胀率表得到各像素对应的膨胀率值,根据各像素对应的膨胀率值进行采样,一方面,实现了对特征图中各像素的自适应的、精细化的调整感受野,避免特征提取过程中对特征的遗漏;另一方面,能够提高采样密度,保留细节特征。In the data processing method provided by this example embodiment, the expansion rate calculation layer is configured, and the expansion rate convolution layer is used to calculate the expansion rate table corresponding to the feature map; so that when the expansion convolution calculation is performed on the feature map, the expansion rate can be queried. The expansion rate value corresponding to each pixel is obtained from the rate table, and sampling is performed according to the corresponding expansion rate value of each pixel. The omission of features; on the other hand, it can improve the sampling density and retain detailed features.

下面,将结合附图及实施例对本示例实施方式中的数据处理方法的各个步骤进行更详细的说明。Hereinafter, each step of the data processing method in this exemplary embodiment will be described in more detail with reference to the accompanying drawings and embodiments.

在步骤S11中,获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值。In step S11, the feature map to be processed is obtained, and the feature map is input into the expansion rate calculation layer to obtain the expansion rate table corresponding to the feature map; wherein, the expansion rate table includes each pixel in the feature map The corresponding expansion rate value.

本示例实施方式中,上述的待处理的特征图可以是原始图像进行一次特征提取后的特征图。例如,在图像降噪、图像识别、图像配准时,对输入的原始图像进行特征提取后得到的特征图。In this exemplary embodiment, the above-mentioned feature map to be processed may be a feature map obtained after one feature extraction is performed on the original image. For example, in image noise reduction, image recognition, and image registration, the feature map obtained after feature extraction is performed on the input original image.

上述的数据处理方法可以提供一膨胀率计算层以及以膨胀卷积层。具体来说,在获取将待处理的特征图后,可以将其输入膨胀率卷积层中,计算特征图中各像素对应的膨胀率值,得到特征图对应的膨胀率表。The above data processing method can provide a dilation rate calculation layer and a dilation convolution layer. Specifically, after acquiring the feature map to be processed, it can be input into the dilation rate convolution layer to calculate the dilation rate value corresponding to each pixel in the feature map, and obtain the dilation rate table corresponding to the feature map.

具体来说,膨胀率计算层可以是一个或连续设置的多个卷积层,对特征图进行一次或连续多次的卷积处理,从而得到膨胀率表。实现利用特征图中各像素的像素特征,自适应的为每个像素设定膨胀率。或者,在本公开的其他示例性实施例中,在膨胀率计算层包括多个卷积层时,还可以包括池化层(pooling)、残差网络模块;此外,还可以包括用于对特征图进行降维处理的图像缩放模块等神经网络的基本组件。Specifically, the expansion rate calculation layer can be one or a plurality of convolutional layers set in succession, and the feature map is subjected to one or more consecutive convolution processing to obtain the expansion rate table. Realize the use of the pixel features of each pixel in the feature map to adaptively set the expansion rate for each pixel. Alternatively, in other exemplary embodiments of the present disclosure, when the expansion rate calculation layer includes a plurality of convolutional layers, a pooling layer (pooling) and a residual network module may also be included; The basic components of neural networks such as image scaling modules for dimensionality reduction processing.

此外,可以根据特征图的分辨率或图像尺寸来配置膨胀率表的图像尺寸。或者,也可以结合特征图和膨胀卷积层的信息来配置膨胀率表的图像尺寸。举例来说,可以根据所述特征图的图像尺寸配置所述膨胀率表的图像尺寸;或者,结合所述特征图的图像尺寸与所述膨胀卷积层的输出通道数配置所述膨胀率表的图像尺寸;或者结合所述特征图的图像尺寸与所述膨胀卷积层的输出通道的滤波器分组信息配置所述膨胀率表的图像尺寸。Also, the image size of the dilation rate table can be configured according to the resolution of the feature map or the image size. Alternatively, the image size of the dilation rate table can also be configured by combining the information of the feature maps and the dilated convolutional layers. For example, the image size of the dilation rate table can be configured according to the image size of the feature map; or, the dilation rate table can be configured by combining the image size of the feature map and the number of output channels of the dilated convolutional layer or configure the image size of the dilation rate table by combining the image size of the feature map and the filter grouping information of the output channel of the dilated convolution layer.

具体的,可以设置膨胀率表的图像尺寸(或分辨率)与特征图的图像尺寸(或分辨率)相同;例如,输入的特征图的图像尺寸为宽(Width)*高(height)*输入通道数(channel_in),则膨胀率表的图像尺寸也为Width*height*channel_in。或者,设置膨胀率表的图像尺寸为特征图的图像尺寸与膨胀卷积层的输出通道数的乘积,例如,输入的特征图图像尺寸为Width*height*channel_in,而膨胀卷积层的输出通道数为channel_out,即输出的特征图图像尺寸为Width*height*channel_out,此时膨胀率数组的图像尺寸为Width*height*(channel_in*channel_out)。或者,设置膨胀率表的图像尺寸为所述特征图的图像尺寸与所述膨胀卷积层输出通道数滤波器分组数的乘积;例如,输入的特征图图像尺寸为Width*height*channel_in,对于膨胀卷积层的各输出通道对应的滤波器组进行划分,分成若干组,分组数为group,则膨胀率的图像尺寸为Width*height*channel_in*group。Specifically, the image size (or resolution) of the expansion rate table can be set to be the same as the image size (or resolution) of the feature map; for example, the image size of the input feature map is width (width)*height (height)*input The number of channels (channel_in), the image size of the expansion rate table is also Width*height*channel_in. Alternatively, set the image size of the dilation rate table to be the product of the image size of the feature map and the number of output channels of the dilated convolution layer. For example, the input feature map image size is Width*height*channel_in, and the output channel of the dilated convolutional layer The number is channel_out, that is, the output feature map image size is Width*height*channel_out, and the image size of the expansion rate array is Width*height*(channel_in*channel_out). Or, set the image size of the dilation rate table to be the product of the image size of the feature map and the number of filter groups in the output channel number of the dilated convolution layer; for example, the input feature map image size is Width*height*channel_in, for The filter bank corresponding to each output channel of the dilated convolution layer is divided into several groups, and the number of groups is group, and the image size of the dilation rate is Width*height*channel_in*group.

在步骤S12中,将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。In step S12, the dilation rate table is input into the dilation convolution layer, so that the dilation convolution layer combines the dilation rate table to perform dilation convolution processing on the feature map, so as to obtain the corresponding data of the feature map. characteristic data.

本示例实施方式中,参考图3所示,上述的步骤S12可以包括:In this example implementation, referring to FIG. 3 , the above-mentioned step S12 may include:

步骤S121,查询所述膨胀率表以获取所述特征图中各像素对应的膨胀率值。Step S121, query the expansion rate table to obtain the expansion rate value corresponding to each pixel in the feature map.

具体来说,在计算得到特征图对应的膨胀率表后,可以将特征图和膨胀率表均输入膨胀卷积层。由膨胀卷积层查询膨胀率表,得到各像素对应的膨胀率值,并先根据膨胀率值来调整卷积运算的采样范围,再进行卷积运算处理特征。其中,基于各像素对应的膨胀率值,在像素的水平方向和竖直方向使用相同间隔进行采样。即,在一像素对应的膨胀率值为d时,膨胀卷积运算的采样点在水平方向、竖直方向的间隔均为d。Specifically, after calculating the dilation rate table corresponding to the feature map, both the feature map and the dilation rate table can be input into the dilated convolution layer. The expansion rate table is queried by the expansion convolution layer to obtain the expansion rate value corresponding to each pixel, and the sampling range of the convolution operation is adjusted according to the expansion rate value, and then the convolution operation is performed to process the features. Wherein, based on the corresponding dilation rate value of each pixel, sampling is performed using the same interval in the horizontal direction and the vertical direction of the pixel. That is, when the dilation rate value corresponding to one pixel is d, the interval between the sampling points of the dilated convolution operation in the horizontal direction and the vertical direction is both d.

在本公开的一些示例性实施方式中,膨胀率表中的膨胀率值d可以是整数,或者非整数(小数)。在膨胀率值为整数时,可以直接使用对应的膨胀率值。In some exemplary embodiments of the present disclosure, the expansion rate value d in the expansion rate table may be an integer, or a non-integer (decimal). When the expansion rate value is an integer, the corresponding expansion rate value can be used directly.

若特征图中像素点对应的膨胀率值d为小数,则会导致采样点坐标可能为小数。因此,在膨胀卷积层还可以设置有一插值运算单元,用于在膨胀率值为非整数时,利用邻域的像素插值估算出采样点的特征值,再进行膨胀卷积层的卷积运算。具体来说,可以包括:If the expansion rate value d corresponding to the pixel in the feature map is a decimal, the coordinates of the sampling point may be decimals. Therefore, an interpolation operation unit can also be set in the dilated convolution layer, which is used to estimate the feature value of the sampling point by using the pixel interpolation of the neighborhood when the dilation rate value is non-integer, and then perform the convolution operation of the dilated convolution layer. . Specifically, it can include:

步骤S21,获取所述像素对应的采样点的邻域像素值,并基于所述邻域像素值计算对应的邻域像素插值;Step S21, obtaining the neighborhood pixel value of the sampling point corresponding to the pixel, and calculating the corresponding neighborhood pixel interpolation value based on the neighborhood pixel value;

步骤S22,根据所述邻域像素插值估算所述采样点的特征值,以基于所述采样点的特征值进行膨胀卷积。Step S22, estimating the eigenvalues of the sampling points according to the neighborhood pixel interpolation, so as to perform dilation convolution based on the eigenvalues of the sampling points.

举例来说,可以采用双线插值法,利用指定的邻域内的这个数坐标像素,按距离计算各像素的权重,估算出采样坐标处的特征值。具体来说,公式可以包括:For example, the bi-line interpolation method can be used to calculate the weight of each pixel according to the distance by using this number of coordinate pixels in the specified neighborhood, and estimate the eigenvalues at the sampling coordinates. Specifically, the formula can include:

Figure BDA0002681326090000071
Figure BDA0002681326090000071

其中,x为接收的特征图,y为输出的特征图,P0为输出的特征图y上的坐标位置,w代表膨胀卷积层在膨胀率为1时的卷积核,R代表w中的全部坐标位置,Pn枚举R中的坐标位置,G()为插值权重函数,d代表计算出的膨胀率,(P0+d·Pn)枚举膨胀卷积层在膨胀率为d时的采样点坐标位置,N代表采样点的邻域整数坐标位置,q枚举N中的整数坐标。Among them, x is the received feature map, y is the output feature map, P 0 is the coordinate position on the output feature map y, w represents the convolution kernel of the dilated convolution layer when the dilation rate is 1, and R represents the w All coordinate positions of , P n enumerates the coordinate positions in R, G() is the interpolation weight function, d represents the calculated dilation rate, (P 0 +d · P n ) enumerates the dilation convolution layer at the dilation rate The coordinate position of the sampling point at d, N represents the integer coordinate position of the neighborhood of the sampling point, and q enumerates the integer coordinates in N.

上式中的G(q,P0+d·Pn),根据q和(P0+d·Pn)的空间距离,算出插值权重,且插值权重与空间距离成反比。可选地,G()采用双线性插值方式或双三次插值方式。上式中的N代表采样点的邻域整数坐标位置,可选的,N为采样点的4*4邻域内的整数坐标位置。即,如果采样点坐标为(row,col),且row、col可近似为整数row’、col’,则N代表从第(row-1)行到第(row+2)行、从第(col-1)列到第(col+2)列之间的四行四列,16个整数坐标位置。参考图4所示的实施例,膨胀率d可能为小数,导致采样点坐标可能为小数,因此先用邻域的像素插值,估算出采样点的特征值,再与膨胀卷积层做卷积运算。G(q, P 0 +d·P n ) in the above formula calculates the interpolation weight according to the spatial distance between q and (P 0 +d·P n ), and the interpolation weight is inversely proportional to the spatial distance. Optionally, G( ) adopts a bilinear interpolation method or a bicubic interpolation method. N in the above formula represents the integer coordinate position in the neighborhood of the sampling point. Optionally, N is the integer coordinate position in the 4*4 neighborhood of the sampling point. That is, if the coordinates of the sampling point are (row,col), and row and col can be approximated as integers row', col', then N represents from the (row-1)th row to the (row+2)th row, from the (row-1)th row to the (row+2)th row. Four rows and four columns between column col-1) and column (col+2), 16 integer coordinate positions. Referring to the embodiment shown in Figure 4, the expansion rate d may be a decimal, resulting in the sampling point coordinates may be decimals. Therefore, the pixel interpolation of the neighborhood is used to estimate the eigenvalues of the sampling points, and then convolve with the expansion convolution layer. operation.

作为参考对比,常规的卷积层计算式通常为:As a reference comparison, the conventional convolutional layer calculation formula is usually:

Figure BDA0002681326090000072
Figure BDA0002681326090000072

此处w指卷积核的权重值,P0指待计算的中心像素坐标,Pn枚举邻域内的像素坐标位置。当卷积核尺寸为3x3时,Pn即代表P0的3*3邻域内的9个像素。而常规的膨胀卷积计算式通常为:Here w refers to the weight value of the convolution kernel, P 0 refers to the center pixel coordinate to be calculated, and P n enumerates the pixel coordinate position in the neighborhood. When the size of the convolution kernel is 3x3, Pn represents 9 pixels in the 3*3 neighborhood of P0. The conventional dilated convolution formula is usually:

Figure BDA0002681326090000073
Figure BDA0002681326090000073

和上述常规卷积相比,增加了膨胀系数d。物理含义为,采样点的间距由原先的1变为d。Compared with the above conventional convolution, the expansion coefficient d is increased. The physical meaning is that the spacing of sampling points changes from 1 to d.

本公开的实施例与上述的现有技术相比,增加了插值函数G()、整数坐标q。物理意义为,需根据邻域的整数坐标q处的像素值x(q),采用插值方式,估算出采样点的像素值。能够保证在膨胀率表中的膨胀率值为小数时,可以准确的得到对应的膨胀率值进行采样。Compared with the above-mentioned prior art, the embodiment of the present disclosure adds an interpolation function G( ) and an integer coordinate q. The physical meaning is that the pixel value of the sampling point needs to be estimated by interpolation according to the pixel value x(q) at the integer coordinate q of the neighborhood. It can be ensured that when the expansion rate value in the expansion rate table is a decimal, the corresponding expansion rate value can be accurately obtained for sampling.

参考图3所示,上述的步骤S12还可以包括:Referring to FIG. 3 , the above-mentioned step S12 may further include:

步骤S122,根据所述膨胀率值确定对应像素的采样范围,以进行膨胀卷积处理。Step S122: Determine the sampling range of the corresponding pixel according to the dilation rate value, so as to perform dilation convolution processing.

在本公开的一些示例性实施方式中,在膨胀率表与输入特征图的图像尺寸相同时,对于所述膨胀卷积层的各层输出通道,同一坐标像素在各层输出通道中采用相同的膨胀率值进行膨胀卷积处理。In some exemplary embodiments of the present disclosure, when the dilation rate table is the same as the image size of the input feature map, for each layer output channel of the dilated convolutional layer, the same coordinate pixel is used in each layer output channel. The dilation rate value is dilated and convoluted.

举例来说,在特征图与膨胀率表的图像尺寸相同,均为(Width*height*channel_in),且channel_in=2时,则膨胀率表含两层膨胀率子表,分别对应特征图的两个维度的通道,且两膨胀率子表相同。膨胀卷积计算层的输出通道数channel_out=3时,此时,特征图第一层通道的像素查询该膨胀率表得到对应的膨胀率值,根据该膨胀率值确定间隔并进行采样,再进行卷积计算,得到第一特征值;以及,特征图第二层通道的像素查询该膨胀率表得到对应的膨胀率值,根据该膨胀率值确定间隔并进行采样,再进行卷积计算,得到第二特征值;根据该第一特征值和第二特征值确定膨胀卷积层第一层输出通道的各像素的特征值。以此类推,可以得到膨胀卷积层输出通道数为3的特征图。For example, when the image size of the feature map and the expansion rate table are the same, (Width*height*channel_in), and channel_in=2, the expansion rate table contains two layers of expansion rate sub-tables, corresponding to the two layers of the feature map respectively. A channel of one dimension, and the two expansion rate subtables are the same. When the number of output channels of the dilated convolution calculation layer is channel_out=3, at this time, the pixels of the first layer channel of the feature map query the dilation rate table to obtain the corresponding dilation rate value, determine the interval according to the dilation rate value and perform sampling, and then proceed to Convolution calculation to obtain the first feature value; and, query the expansion rate table for the pixels of the second layer channel of the feature map to obtain the corresponding expansion rate value, determine the interval according to the expansion rate value and perform sampling, and then perform convolution calculation to obtain The second eigenvalue; the eigenvalue of each pixel of the output channel of the first layer of the dilated convolution layer is determined according to the first eigenvalue and the second eigenvalue. By analogy, a feature map with 3 output channels of the dilated convolutional layer can be obtained.

在本公开的一些示例性实施方式中,还可以分别针对膨胀卷积层的各输出通道对应的滤波器组,计算出不同的膨胀率。即,膨胀率表的图像尺寸为所述特征图图像尺寸与所述膨胀卷积层输出通道数的乘积。举例来说,输入的特征图图像尺寸为Width*height*channel_in,而膨胀卷积层的输出通道数为channel_out,即输出的特征图图像尺寸为Width*height*channel_out,此时膨胀率表的图像尺寸为Width*height*channel_in*channel_out。例如,输入的特征图图像尺寸为Width*height*channel_in,channel_in=2;而膨胀卷积层输出通道数为channel_out=3,则膨胀率表的图像尺寸为Width*height*6。此时,特征图的第一层维度的通道像素查询膨胀率表第一层维度的膨胀率值进行采样,并在卷积计算后得到第一特征值;第二层维度的通道像素查询膨胀率表第二层维度的膨胀率值进行采样,并在卷积计算后得到第二特征值;根据该第一特征值和第二特征值得到膨胀卷积层第一层输出通道的像素的特征值。特征图的第一层维度的通道像素查询膨胀率表第三层维度的膨胀率值进行采样,并在卷积计算后得到第三特征值;第二层维度的通道像素查询膨胀率表第四层维度的膨胀率值进行采样,并在卷积计算后得到第四特征值;根据该第三特征值和第四特征值得到膨胀卷积层第二层输出通道的像素的特征值。特征图的第一层维度的通道像素查询膨胀率表第五层维度的膨胀率值进行采样,并在卷积计算后得到第五特征值;第二层维度的通道像素查询膨胀率表第六层维度的膨胀率值进行采样,并在卷积计算后得到第六特征值;根据该第五特征值和第六特征值得到膨胀卷积层第三层输出通道的像素的特征值。以此方式,可以得到膨胀卷积层输出通道数为3的特征图。In some exemplary embodiments of the present disclosure, different dilation rates may also be calculated for filter banks corresponding to each output channel of the dilated convolution layer. That is, the image size of the dilation rate table is the product of the image size of the feature map and the number of output channels of the dilated convolution layer. For example, the size of the input feature map image is Width*height*channel_in, and the number of output channels of the dilated convolutional layer is channel_out, that is, the size of the output feature map image is Width*height*channel_out, and the image of the dilation rate table at this time The dimensions are Width*height*channel_in*channel_out. For example, the input feature map image size is Width*height*channel_in, channel_in=2; and the number of output channels of the dilated convolutional layer is channel_out=3, the image size of the dilation rate table is Width*height*6. At this time, the channel pixels of the first layer dimension of the feature map query the expansion rate value of the first layer dimension of the table for sampling, and the first feature value is obtained after the convolution calculation; the channel pixels of the second layer dimension query the expansion rate The dilation rate value of the second layer dimension of the table is sampled, and the second eigenvalue is obtained after the convolution calculation; the eigenvalue of the pixel of the output channel of the first layer of the dilated convolution layer is obtained according to the first eigenvalue and the second eigenvalue. . The channel pixels of the first layer dimension of the feature map query the expansion rate table of the third layer dimension to sample the expansion rate value of the third layer dimension, and obtain the third feature value after convolution calculation; the channel pixels of the second layer dimension query the expansion rate table fourth The dilation rate value of the layer dimension is sampled, and the fourth eigenvalue is obtained after the convolution calculation; the eigenvalue of the pixel of the output channel of the second layer of the dilated convolution layer is obtained according to the third eigenvalue and the fourth eigenvalue. The channel pixels of the first layer dimension of the feature map query the expansion rate table of the fifth layer dimension to sample the expansion rate value of the fifth layer dimension, and obtain the fifth feature value after convolution calculation; the channel pixels of the second layer dimension query the expansion rate table sixth The dilation rate value of the layer dimension is sampled, and the sixth eigenvalue is obtained after the convolution calculation; the eigenvalue of the pixel of the output channel of the third layer of the dilated convolution layer is obtained according to the fifth eigenvalue and the sixth eigenvalue. In this way, a feature map with three output channels of the dilated convolutional layer can be obtained.

在本公开的一些示例性实施方式中,还可以根据预设规则对所述膨胀卷积层的各输出通道的滤波器进行分组;根据分组结果查询各分组对应的膨胀率表,以用于根据各组对应的膨胀率表对所述特征图进行膨胀卷积处理;其中,在各分组中,各输出通道对应的相同坐标像素采用相同的膨胀率值。In some exemplary embodiments of the present disclosure, the filters of each output channel of the dilated convolutional layer may also be grouped according to preset rules; The expansion rate table corresponding to each group performs expansion and convolution processing on the feature map; wherein, in each group, the same coordinate pixel corresponding to each output channel adopts the same expansion rate value.

举例来说,可以对膨胀卷积层的各输出通道对应的滤波器组进行划分,分成若干组,组内的不同输出通道的相同坐标像素采用相同的膨胀率。例如,输入的特征图图像尺寸为Width*height*channel_in,分组数为group,则此时膨胀率表的图像尺寸为Width*height*(channel_in*group)。在膨胀卷积层中,可以根据实际需求对滤波器进行组的划分,例如划分为4、6或8等组别。例如,在channel_in=2,group=3,膨胀卷积层输出通道数为channel_out=3,则膨胀率表的图像尺寸为Width*height*6。例如,在膨胀卷积层channel_out=32时,group=4,则第1-4层使用相同的膨胀率表,第5-8层使用相同的膨胀率表,依次类推。通过对滤波器进行划分组,可以降低网络的复杂程度,节约计算资源,并保证膨胀卷积运算的准确性。For example, the filter bank corresponding to each output channel of the dilated convolution layer can be divided into several groups, and the same coordinate pixels of different output channels in the group adopt the same dilation rate. For example, if the input feature map image size is Width*height*channel_in, and the number of groups is group, then the image size of the expansion rate table is Width*height*(channel_in*group). In the dilated convolution layer, the filters can be divided into groups according to actual needs, such as 4, 6 or 8 groups. For example, when channel_in=2, group=3, and the number of output channels of the dilated convolutional layer is channel_out=3, the image size of the dilation rate table is Width*height*6. For example, when the dilated convolutional layer channel_out=32 and group=4, then the 1-4 layers use the same dilation rate table, the 5-8 layers use the same dilation rate table, and so on. By dividing the filters into groups, the complexity of the network can be reduced, computing resources can be saved, and the accuracy of the dilated convolution operation can be guaranteed.

本示例实施方式中,提供一图像特征提取模型,包括一膨胀率计算层、膨胀卷积层。该模型的输入通道数为2,输出通道数为3。膨胀率计算层包含1个卷积层,滤波器尺寸为3*3,输出通道为2。该层对输入特征图做卷积运算,输出相同图像尺寸的膨胀率表。膨胀卷积层首先查找膨胀率表确定像素对应的膨胀率值,扩张采样范围,然后进行计算。In this example implementation, an image feature extraction model is provided, including a dilation rate calculation layer and a dilation convolution layer. The number of input channels for this model is 2 and the number of output channels is 3. The expansion rate calculation layer contains 1 convolutional layer, the filter size is 3*3, and the output channel is 2. This layer performs a convolution operation on the input feature map and outputs a dilation rate table of the same image size. The expansion convolution layer first looks up the expansion rate table to determine the expansion rate value corresponding to the pixel, expands the sampling range, and then calculates.

例如,针对输入特征图中坐标为第100行、第100列、第一通道的像素,查找膨胀率数组中的相同坐标,发现其对应的膨胀率为1.5。如果膨胀卷积层的滤波器尺寸为3*3,则该像素的常规采样坐标如下,括号的第一个数代表行坐标,第二个数代表列坐标:For example, for the pixel whose coordinates are the 100th row, 100th column, and the first channel in the input feature map, look up the same coordinates in the expansion rate array, and find that the corresponding expansion rate is 1.5. If the filter size of the dilated convolutional layer is 3*3, the normal sampling coordinates of the pixel are as follows, the first number in parentheses represents the row coordinate, and the second number represents the column coordinate:

(99,99) (99,100) (99,101)(99, 99) (99, 100) (99, 101)

(100,99) (100,100) (100,101)(100, 99) (100, 100) (100, 101)

(101,99) (101,100) (101,101)(101, 99) (101, 100) (101, 101)

而在膨胀率设置为1.5后,其采样坐标变为:And after the expansion rate is set to 1.5, its sampling coordinates become:

(98.5,98.5) (98.5,100) (98.5,101.5)(98.5, 98.5) (98.5, 100) (98.5, 101.5)

(100,98.5) (100,100) (100,101.5)(100, 98.5) (100, 100) (100, 101.5)

(101.5,98.5) (101.5,100) (101.5,101.5)(101.5, 98.5) (101.5, 100) (101.5, 101.5)

由于采样坐标是小数,因此采用双线性插值方法,利用4*4邻域内的整数坐标像素,按距离计算各像素的权重,估算出采样坐标处的特征值。以坐标点(98.5,101.5)为例,其参考像素的整数坐标从第97行至第100行、从第100列至第103列,具体为:Since the sampling coordinates are decimals, the bilinear interpolation method is used, using the integer coordinate pixels in the 4*4 neighborhood to calculate the weight of each pixel according to the distance, and estimate the eigenvalues at the sampling coordinates. Taking the coordinate point (98.5, 101.5) as an example, the integer coordinates of the reference pixel are from the 97th row to the 100th row, and from the 100th column to the 103rd column, specifically:

(97,100) (97,101) (97,102) (97,103)(97, 100) (97, 101) (97, 102) (97, 103)

(98,100) (98,101) (98,102) (98,103)(98, 100) (98, 101) (98, 102) (98, 103)

(99,100) (99,101) (99,102) (99,103)(99, 100) (99, 101) (99, 102) (99, 103)

(100,100) (100,101) (100,102) (100,103)(100, 100) (100, 101) (100, 102) (100, 103)

进而可以在估算出采样点处的特征值后,再用卷积方式算出结果。Furthermore, after estimating the eigenvalues at the sampling points, the results can be calculated by convolution.

本公开实施例所提供的数据处理方法,可以应用于深度学习神经网络中,用于图像降噪、图像识别或者图像配准,以及语义分割、人脸识别、图像重建等领域中。通过利用膨胀率计算层为特征图像配置对应的膨胀率表,从而可以在膨胀卷积层能够根据图像特征自适应地、在像素级精细调整感受野。并且计算量相对较小,有助于提升语义分割、图像重建等领域的性能。以图像降噪领域为例,在对于图像压缩引发的块状噪声,需尽可能扩大感受野,以淡化大块的噪声;而对于细节丰富的纹理区域,需尽可能密集采样、保留细节。这两个任务互相矛盾,实际处理难以平衡,或残留了大块噪声,或抹去了高频细节。而本方案可根据图像特征,在像素级计算出膨胀率,自适应地调整感受野,有助于解决此类问题。The data processing methods provided by the embodiments of the present disclosure can be applied to deep learning neural networks for image noise reduction, image recognition or image registration, as well as semantic segmentation, face recognition, image reconstruction and other fields. By using the dilation rate calculation layer to configure the corresponding dilation rate table for the feature image, the receptive field can be adaptively and finely adjusted at the pixel level in the dilated convolution layer according to the image features. And the amount of computation is relatively small, which helps to improve the performance of semantic segmentation, image reconstruction and other fields. Taking the field of image noise reduction as an example, for the block noise caused by image compression, the receptive field needs to be enlarged as much as possible to dilute the noise in large blocks; for the texture area with rich details, it is necessary to sample as densely as possible to preserve the details. These two tasks contradict each other, and the actual processing is difficult to balance, or large blocks of noise remain, or high-frequency details are erased. However, this scheme can calculate the expansion rate at the pixel level according to the image characteristics, and adjust the receptive field adaptively, which is helpful to solve such problems.

需要注意的是,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。It should be noted that the above-mentioned drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, in multiple modules.

进一步的,参考图5所示,本示例的实施方式中还提供一种数据处理装置50,包括:自适应膨胀率表计算模块501、膨胀卷积处理模块502。Further, as shown in FIG. 5 , the embodiment of this example further provides a data processing apparatus 50 , including: an adaptive expansion rate table calculation module 501 and a dilation convolution processing module 502 .

其中,in,

所述自适应膨胀率表计算模块501可以用于获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值。The adaptive expansion rate table calculation module 501 can be used to obtain the feature map to be processed, and input the feature map into the expansion rate calculation layer to obtain the expansion rate table corresponding to the feature map; wherein, the expansion rate table Including the expansion rate value corresponding to each pixel in the feature map.

所述膨胀卷积处理模块502可以用于将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。The dilated convolution processing module 502 can be configured to input the dilation rate table into the dilated convolution layer, so that the dilated convolution layer performs dilated convolution processing on the feature map in combination with the dilation rate table, to obtain: Feature data corresponding to the feature map.

在本公开的一种示例中,所述膨胀率计算层包括至少一个卷积层;所述自适应膨胀率表计算模块501可以用于对所述特征图进行至少一次的卷积处理,以获取所述膨胀率表。In an example of the present disclosure, the expansion rate calculation layer includes at least one convolution layer; the adaptive expansion rate table calculation module 501 may be configured to perform convolution processing on the feature map at least once to obtain The expansion rate table.

在本公开的一种示例中,所述膨胀率表图像尺寸配置模块(图中未示出)。In an example of the present disclosure, the expansion rate table image size configuration module (not shown in the figure).

所述膨胀率表图像尺寸配置模块可以用于根据所述特征图的图像尺寸配置所述膨胀率表的图像尺寸;或者,The expansion rate table image size configuration module may be configured to configure the image size of the expansion rate table according to the image size of the feature map; or,

结合所述特征图的图像尺寸与所述膨胀卷积层的输出通道数配置所述膨胀率表的图像尺寸;或者Configure the image size of the dilation rate table in combination with the image size of the feature map and the number of output channels of the dilated convolutional layer; or

结合所述特征图的图像尺寸与所述膨胀卷积层的输出通道的滤波器分组信息配置所述膨胀率表的图像尺寸。The image size of the dilation rate table is configured in combination with the image size of the feature map and the filter grouping information of the output channel of the dilated convolutional layer.

在本公开的一种示例中,所述膨胀率表的图像尺寸与所述特征图的图像尺寸相同;或者In an example of the present disclosure, the image size of the expansion rate table is the same as the image size of the feature map; or

所述膨胀率表的图像尺寸为所述特征图的图像尺寸与所述膨胀卷积层的输出通道数的乘积;或者The image size of the dilation rate table is the product of the image size of the feature map and the number of output channels of the dilated convolutional layer; or

所述膨胀率表的图像尺寸为所述特征图的图像尺寸与所述膨胀卷积层输出通道数滤波器分组数的乘积。The image size of the dilation rate table is the product of the image size of the feature map and the number of filter groups of the output channel number of the dilated convolution layer.

在本公开的一种示例中,所述膨胀卷积处理模块502可以包括:查询单元、采样单元(图中未示出)。In an example of the present disclosure, the dilated convolution processing module 502 may include: a query unit and a sampling unit (not shown in the figure).

所述查询单元可以用于查询所述膨胀率表以获取所述特征图中各像素对应的膨胀率值。The query unit may be configured to query the expansion rate table to obtain the expansion rate value corresponding to each pixel in the feature map.

所述采样单元可以用于根据所述膨胀率值确定对应像素的采样范围,以进行膨胀卷积处理。The sampling unit may be configured to determine the sampling range of the corresponding pixel according to the dilation rate value, so as to perform dilation convolution processing.

在本公开的一种示例中,所述查询单元可以包括:第一查询单元(图中未示出)。In an example of the present disclosure, the query unit may include: a first query unit (not shown in the figure).

所述第一查询单元可以用于对于所述膨胀卷积层的各层输出通道,同一坐标像素在各层输出通道中采用相同的膨胀率值进行膨胀卷积处理;其中,所述膨胀率表与所述特征图的图像尺寸相同。The first query unit can be used to perform dilation convolution processing for each layer output channel of the dilated convolution layer, and the same coordinate pixel in each layer output channel adopts the same dilation rate value to perform dilation convolution processing; wherein, the dilation rate table The same size as the image of the feature map.

在本公开的一种示例中,所述查询单元可以包括:第二查询单元(图中未示出)。In an example of the present disclosure, the query unit may include: a second query unit (not shown in the figure).

所述第二查询单元可以用于查询所述膨胀卷积层的各层输出通道对应的膨胀率表,以用于所述特征图分别结合各所述输出通道对应的膨胀率表进行膨胀卷积处理;其中,所述膨胀率表的图像尺寸为所述特征图图像尺寸与所述膨胀卷积层输出通道数的乘积。The second query unit may be used to query the dilation rate table corresponding to the output channels of each layer of the dilated convolution layer, so as to be used for the feature map to perform the dilation convolution in combination with the dilation rate table corresponding to each of the output channels respectively. processing; wherein, the image size of the dilation rate table is the product of the image size of the feature map and the number of output channels of the dilated convolution layer.

在本公开的一种示例中,所述查询单元可以包括:第三查询单元(图中未示出)。In an example of the present disclosure, the query unit may include: a third query unit (not shown in the figure).

所述第二查询单元可以用于根据预设规则对所述膨胀卷积层的各输出通道的滤波器进行分组;根据分组结果查询各分组对应的膨胀率表,以用于根据各组对应的膨胀率表对所述特征图进行膨胀卷积处理;其中,在各分组中,各输出通道对应的相同坐标像素采用相同的膨胀率值。The second query unit can be used to group the filters of each output channel of the dilated convolution layer according to preset rules; query the dilation rate table corresponding to each group according to the grouping result, so as to The dilation rate table performs dilation and convolution processing on the feature map; wherein, in each group, the same coordinate pixel corresponding to each output channel adopts the same dilation rate value.

在本公开的一种示例中,所述采样单元可以包括:基于所述像素对应的所述膨胀率值,在所述像素的水平方向和竖直方向使用相同间隔进行采样。In an example of the present disclosure, the sampling unit may include: based on the dilation rate value corresponding to the pixel, using the same interval for sampling in the horizontal direction and the vertical direction of the pixel.

在本公开的一种示例中,所述膨胀率值为整数,或者非整数。In an example of the present disclosure, the expansion ratio value is an integer, or a non-integer.

在本公开的一种示例中,所述膨胀卷积处理模块502还可以包括:邻域插值计算单元。(图中未示出)。In an example of the present disclosure, the dilated convolution processing module 502 may further include: a neighborhood interpolation calculation unit. (not shown in the figure).

所述邻域插值计算单元可以用于在所述膨胀率值为非整数时,获取所述像素对应的采样点的邻域像素值,并基于所述邻域像素值计算对应的邻域像素插值;根据所述邻域像素插值估算所述采样点的特征值,以基于所述采样点的特征值进行膨胀卷积。The neighborhood interpolation calculation unit may be configured to obtain neighborhood pixel values of the sampling points corresponding to the pixels when the expansion rate value is non-integer, and calculate the corresponding neighborhood pixel interpolation values based on the neighborhood pixel values ; Estimating the eigenvalues of the sampling points according to the neighborhood pixel interpolation, so as to perform dilated convolution based on the eigenvalues of the sampling points.

上述的数据处理装置中各模块的具体细节已经在对应的数据处理方法中进行了详细的描述,因此此处不再赘述。The specific details of each module in the above-mentioned data processing apparatus have been described in detail in the corresponding data processing method, and thus will not be repeated here.

应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the apparatus for action performance are mentioned in the above detailed description, this division is not mandatory. Indeed, according to embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above may be further divided into multiple modules or units to be embodied.

图6示出了适于用来实现本发明实施例的无线通信设备的示意图。Figure 6 shows a schematic diagram of a wireless communication device suitable for implementing embodiments of the present invention.

需要说明的是,图6示出的电子设备600仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。It should be noted that the electronic device 600 shown in FIG. 6 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

如图6所示,电子设备600具体可以包括:处理器610、内部存储器621、外部存储器接口622、通用串行总线(Universal Serial Bus,USB)接口630、充电管理模块640、电源管理模块641、电池642、天线1、天线2、移动通信模块650、无线通信模块660、音频模块670、扬声器671、受话器672、麦克风673、耳机接口674、传感器模块680、显示屏690、摄像模组691、指示器692、马达693、按键694以及用户标识模块(subscriber identification module,SIM)卡接口695等。其中传感器模块680可以包括深度传感器6801、压力传感器6802、陀螺仪传感器6803、气压传感器6804、磁传感器6805、加速度传感器6806、距离传感器6807、接近光传感器6808、指纹传感器6809、温度传感器6810、触摸传感器6811、环境光传感器6812及骨传导传感器6813等。As shown in FIG. 6 , the electronic device 600 may specifically include: a processor 610, an internal memory 621, an external memory interface 622, a Universal Serial Bus (USB) interface 630, a charging management module 640, a power management module 641, Battery 642, Antenna 1, Antenna 2, Mobile Communication Module 650, Wireless Communication Module 660, Audio Module 670, Speaker 671, Receiver 672, Microphone 673, Headphone Interface 674, Sensor Module 680, Display Screen 690, Camera Module 691, Indication 692, a motor 693, a key 694, a subscriber identification module (SIM) card interface 695, and the like. The sensor module 680 may include a depth sensor 6801, a pressure sensor 6802, a gyroscope sensor 6803, an air pressure sensor 6804, a magnetic sensor 6805, an acceleration sensor 6806, a distance sensor 6807, a proximity light sensor 6808, a fingerprint sensor 6809, a temperature sensor 6810, and a touch sensor. 6811, ambient light sensor 6812, bone conduction sensor 6813, etc.

可以理解的是,本申请实施例示意的结构并不构成对电子设备600的具体限定。在本申请另一些实施例中,电子设备600可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件、软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 600 . In other embodiments of the present application, the electronic device 600 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

处理器610可以包括一个或多个处理单元,例如:处理器610可以包括应用处理器(Application Processor,AP)、调制解调处理器、图形处理器(Graphics ProcessingUnit,GPU)、图像信号处理器(Image Signal Processor,ISP)、控制器、视频编解码器、数字信号处理器(Digital Signal Processor,DSP)、基带处理器和/或神经网络处理器(Neural-etwork Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 610 may include one or more processing units, for example, the processor 610 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing Unit, GPU), an image signal processor ( Image Signal Processor, ISP), controller, video codec, digital signal processor (Digital Signal Processor, DSP), baseband processor and/or neural network processor (Neural-network Processing Unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.

处理器610中还可以设置存储器,用于存储指令和数据。存储器可以存储用于实现六个模块化功能的指令:检测指令、连接指令、信息管理指令、分析指令、数据传输指令和通知指令,并由处理器610来控制执行。在一些实施例中,处理器610中的存储器为高速缓冲存储器。该存储器可以保存处理器610刚用过或循环使用的指令或数据。如果处理器610需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器610的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 610 for storing instructions and data. The memory may store instructions for implementing six modular functions: detection instructions, connection instructions, information management instructions, analysis instructions, data transmission instructions, and notification instructions, and the execution is controlled by the processor 610 . In some embodiments, the memory in processor 610 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 610 . If the processor 610 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the waiting time of the processor 610 is reduced, thereby increasing the efficiency of the system.

在一些实施例中,处理器610可以包括一个或多个接口。接口可以包括集成电路(Inter-Integrated Circuit,I2C)接口、集成电路内置音频(Inter-Integrated CircuitSound,I2S)接口、脉冲编码调制(Pulse Code Modulation,PCM)接口、通用异步收发传输器(Universal Asynchronous Receiver/Rransmitter,UART)接口、移动产业处理器接口(Mobile Industry Processor Interface,MIPI)、通用输入输出(General-PurposeInput/Output,GPIO)接口、用户标识模块(Subscriber Identity Module,SIM)接口和/或通用串行总线(Universal Serial Bus,USB)接口等。In some embodiments, the processor 610 may include one or more interfaces. The interface may include an integrated circuit (Inter-Integrated Circuit, I2C) interface, an integrated circuit built-in audio (Inter-Integrated CircuitSound, I2S) interface, a pulse code modulation (Pulse Code Modulation, PCM) interface, a Universal Asynchronous Receiver (Universal Asynchronous Receiver) /Rransmitter, UART) interface, Mobile Industry Processor Interface (MIPI), General-PurposeInput/Output (GPIO) interface, Subscriber Identity Module (SIM) interface and/or general purpose Serial bus (Universal Serial Bus, USB) interface and so on.

I2C接口是一种双向同步串行总线,包括一根串行数据线(Serial Data line,SDA)和一根串行时钟线(Serail Clock line,SCL)。在一些实施例中,处理器610可以包含多组I2C总线。处理器610可以通过不同的I2C总线接口分别耦合触摸传感器6811、充电器、闪光灯、摄像模组691等。例如:处理器610可以通过I2C接口耦合触摸传感器6811,使处理器610与触摸传感器6811通过I2C总线接口通信,实现电子设备600的触摸功能。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (Serial Data line, SDA) and a serial clock line (Serail Clock line, SCL). In some embodiments, the processor 610 may contain multiple sets of I2C buses. The processor 610 can be respectively coupled to the touch sensor 6811, the charger, the flash, the camera module 691 and the like through different I2C bus interfaces. For example, the processor 610 may couple the touch sensor 6811 through the I2C interface, so that the processor 610 and the touch sensor 6811 communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 600 .

I2S接口可以用于音频通信。在一些实施例中,处理器610可以包含多组I2S总线。处理器610可以通过I2S总线与音频模块670耦合,实现处理器610与音频模块670之间的通信。在一些实施例中,音频模块670可以通过I2S接口向无线通信模块660传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 610 may contain multiple sets of I2S buses. The processor 610 may be coupled with the audio module 670 through an I2S bus to implement communication between the processor 610 and the audio module 670 . In some embodiments, the audio module 670 can transmit audio signals to the wireless communication module 660 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.

PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块670与无线通信模块660可以通过PCM总线接口耦合。在一些实施例中,音频模块670也可以通过PCM接口向无线通信模块660传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. In some embodiments, audio module 670 and wireless communication module 660 may be coupled through a PCM bus interface. In some embodiments, the audio module 670 can also transmit audio signals to the wireless communication module 660 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器610与无线通信模块660。例如:处理器610通过UART接口与无线通信模块660中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块670可以通过UART接口向无线通信模块660传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 610 with the wireless communication module 660 . For example, the processor 610 communicates with the Bluetooth module in the wireless communication module 660 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 670 can transmit audio signals to the wireless communication module 660 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.

MIPI接口可以被用于连接处理器610与显示屏690,摄像模组691等外围器件。MIPI接口包括摄像头串行接口(Camera Serial Interface,CSI),显示屏串行接口(DisplaySerial Interface,DSI)等。在一些实施例中,处理器610和摄像模组691通过CSI接口通信,实现电子设备600的拍摄功能。处理器610和显示屏690通过DSI接口通信,实现电子设备600的显示功能。The MIPI interface can be used to connect the processor 610 with the display screen 690, the camera module 691 and other peripheral devices. The MIPI interface includes a camera serial interface (Camera Serial Interface, CSI), a display serial interface (DisplaySerial Interface, DSI), and the like. In some embodiments, the processor 610 communicates with the camera module 691 through a CSI interface to implement the photographing function of the electronic device 600 . The processor 610 communicates with the display screen 690 through the DSI interface to implement the display function of the electronic device 600 .

GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器610与摄像模组691、显示屏690、无线通信模块660、音频模块670、传感器模块680等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect the processor 610 with the camera module 691, the display screen 690, the wireless communication module 660, the audio module 670, the sensor module 680, and the like. The GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.

USB接口630是符合USB标准规范的接口,具体可以是MiniUSB接口,MicroUSB接口,USBTypeC接口等。USB接口630可以用于连接充电器为电子设备600充电,也可以用于电子设备600与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 630 is an interface conforming to the USB standard specification, and may specifically be a MiniUSB interface, a MicroUSB interface, a USBTypeC interface, and the like. The USB interface 630 can be used to connect a charger to charge the electronic device 600, and can also be used to transmit data between the electronic device 600 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices.

可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备600的结构限定。在本申请另一些实施例中,电子设备600也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that, the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 600 . In other embodiments of the present application, the electronic device 600 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.

充电管理模块640用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块640可以通过USB接口630接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块640可以通过电子设备600的无线充电线圈接收无线充电输入。充电管理模块640为电池642充电的同时,还可以通过电源管理模块641为电子设备供电。The charging management module 640 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 640 may receive charging input from the wired charger through the USB interface 630 . In some wireless charging embodiments, the charging management module 640 may receive wireless charging input through a wireless charging coil of the electronic device 600 . While the charging management module 640 is charging the battery 642 , it can also supply power to the electronic device through the power management module 641 .

电源管理模块641用于连接电池642、充电管理模块640与处理器610。电源管理模块641接收电池642和/或充电管理模块640的输入,为处理器610、内部存储器621、显示屏690、摄像模组691和无线通信模块660等供电。电源管理模块641还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块641也可以设置于处理器610中。在另一些实施例中,电源管理模块641和充电管理模块640也可以设置于同一个器件中。The power management module 641 is used for connecting the battery 642 , the charging management module 640 and the processor 610 . The power management module 641 receives input from the battery 642 and/or the charging management module 640, and supplies power to the processor 610, the internal memory 621, the display screen 690, the camera module 691, the wireless communication module 660, and the like. The power management module 641 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 641 may also be provided in the processor 610 . In other embodiments, the power management module 641 and the charging management module 640 may also be provided in the same device.

电子设备600的无线通信功能可以通过天线1、天线2、移动通信模块650、无线通信模块660、调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 600 can be implemented by the antenna 1, the antenna 2, the mobile communication module 650, the wireless communication module 660, the modulation and demodulation processor, the baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。电子设备600中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 600 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块650可以提供应用在电子设备600上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块650可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(Low Noise Amplifier,LNA)等。移动通信模块650可以由天线1接收电磁波,并对接收的电磁波进行滤波、放大等处理,传送至调制解调处理器进行解调。移动通信模块650还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块650的至少部分功能模块可以被设置于处理器610中。在一些实施例中,移动通信模块650的至少部分功能模块可以与处理器610的至少部分模块被设置在同一个器件中。The mobile communication module 650 can provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the electronic device 600 . The mobile communication module 650 may include at least one filter, switch, power amplifier, low noise amplifier (Low Noise Amplifier, LNA) and the like. The mobile communication module 650 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 650 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 650 may be provided in the processor 610 . In some embodiments, at least part of the functional modules of the mobile communication module 650 may be provided in the same device as at least part of the modules of the processor 610 .

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器671,受话器672等)输出声音信号,或通过显示屏690显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器610,与移动通信模块650或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 671 , the receiver 672 , etc.), or displays an image or video through the display screen 690 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 610, and may be provided in the same device as the mobile communication module 650 or other functional modules.

无线通信模块660可以提供应用在电子设备600上的包括无线局域网(WirelessLocal Area Networks,WLAN)(如无线保真(Wireless Fidelity,Wi-Fi)网络)、蓝牙(Bluetooth,BT)、全球导航卫星系统(Global Navigation Satellite System,GNSS)、调频(Frequency Modulation,FM)、近距离无线通信技术(Near Field Communication,NFC)、红外技术(Infrared,IR)等无线通信的解决方案。无线通信模块660可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块660经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器610。无线通信模块660还可以从处理器610接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 660 can provide wireless local area networks (Wireless Local Area Networks, WLAN) (such as Wireless Fidelity (Wi-Fi) networks), Bluetooth (Bluetooth, BT), and global navigation satellite systems applied on the electronic device 600. (Global Navigation Satellite System, GNSS), frequency modulation (Frequency Modulation, FM), near field communication technology (Near Field Communication, NFC), infrared technology (Infrared, IR) and other wireless communication solutions. The wireless communication module 660 may be one or more devices integrating at least one communication processing module. The wireless communication module 660 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 610 . The wireless communication module 660 can also receive the signal to be sent from the processor 610 , perform frequency modulation on the signal, amplify the signal, and then convert it into an electromagnetic wave for radiation through the antenna 2 .

在一些实施例中,电子设备600的天线1和移动通信模块650耦合,天线2和无线通信模块660耦合,使得电子设备600可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(Global System for Mobile communications,GSM),通用分组无线服务(General Packet Radio Service,GPRS),码分多址接入(CodeDivision Multiple Access,CDMA),宽带码分多址(Wideband Code Division MultipleAccess,WCDMA),时分码分多址(Time-Division Code Division Multiple Access,TDSCDMA),长期演进(Long Term Evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(Global Positioning System,GPS),全球导航卫星系统(Global Navigation Satellite System,GLONASS),北斗卫星导航系统(Beidouavigation satellite system,BDS),准天顶卫星系统(Quasi-Zenith Satellite System,QZSS)和/或星基增强系统(Satellite Based Augmentation Systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 600 is coupled with the mobile communication module 650, and the antenna 2 is coupled with the wireless communication module 660, so that the electronic device 600 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TDSCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), Beidou satellite navigation system (Beidouavigation satellite system, BDS), Quasi-Zenith satellite system (Quasi- Zenith Satellite System, QZSS) and/or Satellite Based Augmentation Systems (SBAS).

电子设备600通过GPU、显示屏690及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏690和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器610可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 600 implements a display function through a GPU, a display screen 690, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 690 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 610 may include one or more GPUs that execute program instructions to generate or alter display information.

显示屏690用于显示图像,视频等。显示屏690包括显示面板。显示面板可以采用液晶显示屏(Liquid Crystal Display,LCD),有机发光二极管(Organic Light-EmittingDiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(Active-MatrixOrganic Light Emitting Diode,AMOLED),柔性发光二极管(Flexlight-Emitting Diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(Quantum dot Light EmittingDiodes,QLED)等。在一些实施例中,电子设备600可以包括1个或N个显示屏690,N为大于1的正整数。Display screen 690 is used to display images, videos, and the like. Display screen 690 includes a display panel. The display panel can be a Liquid Crystal Display (LCD), an Organic Light Emitting Diode (OLED), an Active Matrix Organic Light Emitting Diode or an Active Matrix Organic Light Emitting Diode (Active-Matrix Organic Light Emitting Diode). , AMOLED), flexible light-emitting diode (Flexlight-Emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (Quantum dot Light Emitting Diodes, QLED) and so on. In some embodiments, the electronic device 600 may include 1 or N display screens 690 , where N is a positive integer greater than 1.

电子设备600可以通过ISP、摄像模组691、视频编解码器、GPU、显示屏690及应用处理器等实现拍摄功能。The electronic device 600 can realize the shooting function through the ISP, the camera module 691, the video codec, the GPU, the display screen 690, the application processor, and the like.

ISP用于处理摄像模组691反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像模组691中。The ISP is used to process the data fed back by the camera module 691 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera module 691 .

摄像模组691用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(Charge Coupled Device,CCD)或互补金属氧化物半导体(Complementary Metal-Oxide-Semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备600可以包括1个或N个摄像模组691,N为大于1的正整数,若电子设备600包括N个摄像头,N个摄像头中有一个是主摄像头。The camera module 691 is used to capture still images or videos. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element can be a charge coupled device (Charge Coupled Device, CCD) or a complementary metal-oxide-semiconductor (Complementary Metal-Oxide-Semiconductor, CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 600 may include 1 or N camera modules 691, where N is a positive integer greater than 1. If the electronic device 600 includes N cameras, one of the N cameras is the main camera.

数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备600在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 600 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, and the like.

视频编解码器用于对数字视频压缩或解压缩。电子设备600可以支持一种或多种视频编解码器。这样,电子设备600可以播放或录制多种编码格式的视频,例如:动态图像专家组(Moving Picture Experts Group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. Electronic device 600 may support one or more video codecs. In this way, the electronic device 600 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (Moving Picture Experts Group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.

NPU为神经网络(Neural-Network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备600的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural network (Neural-Network, NN) computing processor. By borrowing the structure of biological neural network, such as the transmission mode between neurons in the human brain, it can quickly process the input information and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 600 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.

外部存储器接口622可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备600的存储能力。外部存储卡通过外部存储器接口622与处理器610通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 622 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 600 . The external memory card communicates with the processor 610 through the external memory interface 622 to realize the data storage function. For example to save files like music, video etc in external memory card.

内部存储器621可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器621可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备600使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器621可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(Universal Flash Storage,UFS)等。处理器610通过运行存储在内部存储器621的指令和/或存储在设置于处理器中的存储器的指令,执行电子设备600的各种功能应用以及数据处理。Internal memory 621 may be used to store computer executable program code, which includes instructions. The internal memory 621 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 600 and the like. In addition, the internal memory 621 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, Universal Flash Storage (UFS), and the like. The processor 610 executes various functional applications and data processing of the electronic device 600 by executing instructions stored in the internal memory 621 and/or instructions stored in a memory provided in the processor.

电子设备600可以通过音频模块670、扬声器671、受话器672、麦克风673、耳机接口674及应用处理器等实现音频功能。例如音乐播放、录音等。The electronic device 600 may implement audio functions through an audio module 670, a speaker 671, a receiver 672, a microphone 673, an earphone interface 674, an application processor, and the like. Such as music playback, recording, etc.

音频模块670用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块670还可以用于对音频信号编码和解码。在一些实施例中,音频模块670可以设置于处理器610中,或将音频模块670的部分功能模块设置于处理器610中。The audio module 670 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 670 may also be used to encode and decode audio signals. In some embodiments, the audio module 670 may be provided in the processor 610 , or some functional modules of the audio module 670 may be provided in the processor 610 .

扬声器671,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备600可以通过扬声器671收听音乐,或收听免提通话。The speaker 671, also called "speaker", is used to convert audio electrical signals into sound signals. The electronic device 600 can listen to music through the speaker 671, or listen to a hands-free call.

受话器672,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备600接听电话或语音信息时,可以通过将受话器672靠近人耳接听语音。The receiver 672, also referred to as an "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 600 answers a call or a voice message, the voice can be answered by placing the receiver 672 close to the human ear.

麦克风673,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风673发声,将声音信号输入到麦克风673。电子设备600可以设置至少一个麦克风673。在另一些实施例中,电子设备600可以设置两个麦克风673,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备600还可以设置三个,四个或更多麦克风673,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 673, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 673 through the human mouth, and input the sound signal into the microphone 673 . The electronic device 600 may be provided with at least one microphone 673 . In other embodiments, the electronic device 600 may be provided with two microphones 673, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 600 may further be provided with three, four or more microphones 673 to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.

耳机接口674用于连接有线耳机。耳机接口674可以是USB接口630,也可以是3.5mm的开放移动电子设备平台(Open Mobile Terminal Platform,OMTP)标准接口,美国蜂窝电信工业协会(Cellular Telecommunications Industry Association of the USA,CTIA)标准接口。The earphone jack 674 is used to connect wired earphones. The earphone interface 674 may be the USB interface 630, or may be a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.

深度传感器6801用于获取景物的深度信息。在一些实施例中,深度传感器可以设置于摄像模组691。The depth sensor 6801 is used to acquire depth information of the scene. In some embodiments, the depth sensor may be disposed in the camera module 691 .

压力传感器6802用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器6802可以设置于显示屏690。压力传感器6802的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器6802,电极之间的电容改变。电子设备600根据电容的变化确定压力的强度。当有触摸操作作用于显示屏690,电子设备600根据压力传感器6802检测所述触摸操作强度。电子设备600也可以根据压力传感器6802的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 6802 is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 6802 may be provided on the display screen 690 . There are many types of pressure sensors 6802, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 6802, the capacitance between the electrodes changes. The electronic device 600 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 690 , the electronic device 600 detects the intensity of the touch operation according to the pressure sensor 6802 . The electronic device 600 can also calculate the touched position according to the detection signal of the pressure sensor 6802 . In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

陀螺仪传感器6803可以用于确定电子设备600的运动姿态。在一些实施例中,可以通过陀螺仪传感器6803确定电子设备600围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器6803可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器6803检测电子设备600抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备600的抖动,实现防抖。陀螺仪传感器6803还可以用于导航,体感游戏场景。The gyro sensor 6803 can be used to determine the motion attitude of the electronic device 600 . In some embodiments, the angular velocity of the electronic device 600 about three axes (ie, the x, y, and z axes) may be determined by the gyro sensor 6803 . The gyro sensor 6803 can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 6803 detects the angle at which the electronic device 600 shakes, calculates the distance that the lens module needs to compensate for according to the angle, and allows the lens to counteract the shake of the electronic device 600 through reverse motion to achieve anti-shake. The gyroscope sensor 6803 can also be used for navigation and somatosensory game scenes.

气压传感器6804用于测量气压。在一些实施例中,电子设备600通过气压传感器6804测得的气压值计算海拔高度,辅助定位和导航。Air pressure sensor 6804 is used to measure air pressure. In some embodiments, the electronic device 600 uses the air pressure value measured by the air pressure sensor 6804 to calculate the altitude to aid in positioning and navigation.

磁传感器6805包括霍尔传感器。电子设备600可以利用磁传感器6805检测翻盖皮套的开合。在一些实施例中,当电子设备600是翻盖机时,电子设备600可以根据磁传感器6805检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 6805 includes a Hall sensor. The electronic device 600 can use the magnetic sensor 6805 to detect the opening and closing of the flip holster. In some embodiments, when the electronic device 600 is a flip machine, the electronic device 600 can detect the opening and closing of the flip according to the magnetic sensor 6805 . Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.

加速度传感器6806可检测电子设备600在各个方向上(一般为三轴)加速度的大小。当电子设备600静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 6806 can detect the magnitude of the acceleration of the electronic device 600 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 600 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.

距离传感器6807,用于测量距离。电子设备600可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备600可以利用距离传感器6807测距以实现快速对焦。Distance sensor 6807 for measuring distance. The electronic device 600 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 600 can use the distance sensor 6807 to measure the distance to achieve fast focusing.

接近光传感器6808可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备600通过发光二极管向外发射红外光。电子设备600使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备600附近有物体。当检测到不充分的反射光时,电子设备600可以确定电子设备600附近没有物体。电子设备600可以利用接近光传感器6808检测用户手持电子设备600贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器6808也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 6808 may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 600 emits infrared light to the outside through light emitting diodes. Electronic device 600 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 600 . When insufficient reflected light is detected, the electronic device 600 may determine that there is no object near the electronic device 600 . The electronic device 600 can use the proximity light sensor 6808 to detect that the user holds the electronic device 600 close to the ear to talk, so as to automatically turn off the screen to save power. Proximity light sensor 6808 can also be used in holster mode, pocket mode automatically unlock and lock screen.

指纹传感器6809用于采集指纹。电子设备600可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 6809 is used to collect fingerprints. The electronic device 600 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering incoming calls with fingerprints, and the like.

温度传感器6810用于检测温度。在一些实施例中,电子设备600利用温度传感器6810检测的温度,执行温度处理策略。例如,当温度传感器6810上报的温度超过阈值,电子设备600执行降低位于温度传感器6810附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备600对电池642加热,以避免低温导致电子设备600异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备600对电池642的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 6810 is used to detect the temperature. In some embodiments, the electronic device 600 utilizes the temperature detected by the temperature sensor 6810 to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 6810 exceeds a threshold, the electronic device 600 performs a performance reduction of the processor located near the temperature sensor 6810 in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 600 heats the battery 642 to avoid abnormal shutdown of the electronic device 600 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 600 boosts the output voltage of the battery 642 to avoid abnormal shutdown caused by low temperature.

触摸传感器6811,也称“触控器件”。触摸传感器6811可以设置于显示屏690,由触摸传感器6811与显示屏690组成触摸屏,也称“触控屏”。触摸传感器6811用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏690提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器6811也可以设置于电子设备600的表面,与显示屏690所处的位置不同。The touch sensor 6811 is also called "touch device". The touch sensor 6811 can be disposed on the display screen 690, and the touch sensor 6811 and the display screen 690 form a touch screen, also called a "touch screen". The touch sensor 6811 is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 690 . In other embodiments, the touch sensor 6811 may also be disposed on the surface of the electronic device 600 , which is different from the position where the display screen 690 is located.

环境光传感器6812用于感知环境光亮度。电子设备600可以根据感知的环境光亮度自适应调节显示屏690亮度。环境光传感器6812也可用于拍照时自动调节白平衡。环境光传感器6812还可以与接近光传感器6808配合,检测电子设备600是否在口袋里,以防误触。The ambient light sensor 6812 is used to sense ambient light brightness. The electronic device 600 can adaptively adjust the brightness of the display screen 690 according to the perceived ambient light brightness. The ambient light sensor 6812 can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 6812 can also cooperate with the proximity light sensor 6808 to detect whether the electronic device 600 is in a pocket to prevent accidental touches.

骨传导传感器6813可以获取振动信号。在一些实施例中,骨传导传感器6813可以获取人体声部振动骨块的振动信号。骨传导传感器6813也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器6813也可以设置于耳机中,结合成骨传导耳机。音频模块670可以基于所述骨传导传感器6813获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器6813获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 6813 can acquire vibration signals. In some embodiments, the bone conduction sensor 6813 can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 6813 can also contact the pulse of the human body and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 6813 can also be disposed in the earphone, combined with the bone conduction earphone. The audio module 670 can parse out the voice signal based on the vibration signal of the voice part vibrating the bone mass obtained by the bone conduction sensor 6813, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 6813 to realize the heart rate detection function.

按键694包括开机键,音量键等。按键694可以是机械按键。也可以是触摸式按键。电子设备600可以接收按键输入,产生与电子设备600的用户设置以及功能控制有关的键信号输入。The keys 694 include a power-on key, a volume key, and the like. Keys 694 may be mechanical keys. It can also be a touch key. The electronic device 600 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 600 .

马达693可以产生振动提示。马达693可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏690不同区域的触摸操作,马达693也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 693 can generate vibrating cues. The motor 693 can be used for incoming call vibration alerts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 693 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 690 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

指示器692可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 692 can be an indicator light, which can be used to indicate the charging status, the change of power, and can also be used to indicate messages, missed calls, notifications, and the like.

SIM卡接口695用于连接SIM卡。SIM卡可以通过插入SIM卡接口695,或从SIM卡接口695拔出,实现和电子设备600的接触和分离。电子设备600可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口695可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口695可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口695也可以兼容不同类型的SIM卡。SIM卡接口695也可以兼容外部存储卡。电子设备600通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备600采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备600中,不能和电子设备600分离。The SIM card interface 695 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 600 by inserting into the SIM card interface 695 or pulling out from the SIM card interface 695 . The electronic device 600 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 695 can support Nano SIM card, Micro SIM card, SIM card and so on. The same SIM card interface 695 can insert multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 695 can also be compatible with different types of SIM cards. The SIM card interface 695 is also compatible with external memory cards. The electronic device 600 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 600 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 600 and cannot be separated from the electronic device 600 .

特别地,根据本发明的实施例,下文参考流程图描述的过程可以被实现为计算机软件程序。例如,本发明的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分从网络上被下载和安装,和/或从可拆卸介质被安装。在该计算机程序被中央处理单元(CPU)执行时,执行本申请的系统中限定的各种功能。In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs according to embodiments of the present invention. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion, and/or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), various functions defined in the system of the present application are performed.

需要说明的是,本发明实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本发明中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本发明中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the embodiment of the present invention 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 can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable Compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable of the above The combination. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the 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 wireless, wired, etc., or any suitable combination of the foregoing.

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

描述于本发明实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present invention may be implemented in a software manner, or may be implemented in a hardware manner, and the described units may also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.

需要说明的是,作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现如下述实施例中所述的方法。例如,所述的电子设备可以实现如图2所示的各个步骤。It should be noted that, as another aspect, the present application also provides a computer-readable medium, and the computer-readable medium may be included in the electronic device described in the foregoing embodiments; assembled into the electronic device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by an electronic device, causes the electronic device to implement the methods described in the following embodiments. For example, the electronic device can implement the various steps shown in FIG. 2 .

此外,上述附图仅是根据本发明示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。Furthermore, the above-mentioned figures are merely schematic illustrations of the processes included in the methods according to the exemplary embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, in multiple modules.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施例。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由权利要求指出。Other embodiments of the present disclosure will readily suggest themselves to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1.一种数据处理方法,其特征在于,包括:1. a data processing method, is characterized in that, comprises: 获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值;Obtain the feature map to be processed, and input the feature map into the expansion rate calculation layer to obtain the expansion rate table corresponding to the feature map; wherein, the expansion rate table includes the expansion rate value corresponding to each pixel in the feature map ; 将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。The dilation rate table is input into the dilation convolution layer, so that the dilation convolution layer performs dilation convolution processing on the feature map in combination with the dilation rate table, so as to obtain feature data corresponding to the feature map. 2.根据权利要求1所述的数据处理方法,其特征在于,所述膨胀率计算层包括至少一个卷积层;2. The data processing method according to claim 1, wherein the expansion rate calculation layer comprises at least one convolution layer; 所述将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表,包括:The inputting the feature map into the expansion rate calculation layer to obtain the expansion rate table corresponding to the feature map, including: 对所述特征图进行至少一次的卷积处理,以获取所述膨胀率表。Perform at least one convolution process on the feature map to obtain the dilation rate table. 3.根据权利要求1或2所述的数据处理方法,其特征在于,所述方法还包括:3. The data processing method according to claim 1 or 2, wherein the method further comprises: 根据所述特征图的图像尺寸配置所述膨胀率表的图像尺寸;或者,Configure the image size of the expansion rate table according to the image size of the feature map; or, 结合所述特征图的图像尺寸与所述膨胀卷积层的输出通道数配置所述膨胀率表的图像尺寸;或者Configure the image size of the dilation rate table in combination with the image size of the feature map and the number of output channels of the dilated convolutional layer; or 结合所述特征图的图像尺寸与所述膨胀卷积层的输出通道的滤波器分组信息配置所述膨胀率表的图像尺寸。The image size of the dilation rate table is configured in combination with the image size of the feature map and the filter grouping information of the output channel of the dilated convolutional layer. 4.根据权利要求3所述的数据处理方法,其特征在于,所述膨胀率表的图像尺寸与所述特征图的图像尺寸相同;或者4. The data processing method according to claim 3, wherein the image size of the expansion rate table is the same as the image size of the feature map; or 所述膨胀率表的图像尺寸为所述特征图的图像尺寸与所述膨胀卷积层的输出通道数的乘积;或者The image size of the dilation rate table is the product of the image size of the feature map and the number of output channels of the dilated convolutional layer; or 所述膨胀率表的图像尺寸为所述特征图的图像尺寸与所述膨胀卷积层输出通道数滤波器分组数的乘积。The image size of the dilation rate table is the product of the image size of the feature map and the number of filter groups of the output channel number of the dilated convolution layer. 5.根据权利要求1所述的数据处理方法,其特征在于,所述将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,包括:5 . The data processing method according to claim 1 , wherein the dilation rate table is input into a dilated convolution layer, so that the dilated convolution layer combines the dilation rate table with the feature map. 6 . Perform dilated convolution processing, including: 查询所述膨胀率表以获取所述特征图中各像素对应的膨胀率值;query the expansion rate table to obtain the expansion rate value corresponding to each pixel in the feature map; 根据所述膨胀率值确定对应像素的采样范围,以进行膨胀卷积处理。The sampling range of the corresponding pixel is determined according to the dilation rate value, so as to perform dilation convolution processing. 6.根据权利要求5所述的数据处理方法,其特征在于,所述查询所述膨胀率表以获取所述特征图中各像素对应的膨胀率值,包括:6. The data processing method according to claim 5, wherein the querying the expansion rate table to obtain the expansion rate value corresponding to each pixel in the feature map comprises: 对于所述膨胀卷积层的各层输出通道,同一坐标像素在各层输出通道中采用相同的膨胀率值进行膨胀卷积处理;其中,所述膨胀率表与所述特征图的图像尺寸相同。For the output channels of each layer of the dilated convolution layer, the same coordinate pixel adopts the same dilation rate value in the output channels of each layer for dilation convolution processing; wherein, the dilation rate table is the same as the image size of the feature map . 7.根据权利要求5所述的数据处理方法,其特征在于,所述查询所述膨胀率表以获取所述特征图中各像素对应的膨胀率值,包括:7. The data processing method according to claim 5, wherein the querying the expansion rate table to obtain the expansion rate value corresponding to each pixel in the feature map comprises: 查询所述膨胀卷积层的各层输出通道对应的膨胀率表,以用于所述特征图分别结合各所述输出通道对应的膨胀率表进行膨胀卷积处理;其中,所述膨胀率表的图像尺寸为所述特征图图像尺寸与所述膨胀卷积层输出通道数的乘积。Query the dilation rate table corresponding to the output channels of each layer of the dilated convolution layer, so as to use the feature map to perform dilation and convolution processing in combination with the dilation rate table corresponding to each of the output channels; wherein, the dilation rate table The image size of is the product of the feature map image size and the number of output channels of the dilated convolutional layer. 8.根据权利要求5所述的数据处理方法,其特征在于,所述查询所述膨胀率表以获取所述特征图中各像素对应的膨胀率值,包括:8. The data processing method according to claim 5, wherein the querying the expansion rate table to obtain the expansion rate value corresponding to each pixel in the feature map comprises: 根据预设规则对所述膨胀卷积层的各输出通道的滤波器进行分组;Group the filters of each output channel of the dilated convolutional layer according to preset rules; 根据分组结果查询各分组对应的膨胀率表,以用于根据各组对应的膨胀率表对所述特征图进行膨胀卷积处理;其中,在各分组中,各输出通道对应的相同坐标像素采用相同的膨胀率值。Query the expansion rate table corresponding to each group according to the grouping result, so as to perform expansion and convolution processing on the feature map according to the expansion rate table corresponding to each group; wherein, in each group, the same coordinate pixel corresponding to each output channel adopts the same expansion rate value. 9.根据权利要求5-8任一项所述的数据处理方法,其特征在于,所述根据所述膨胀率值确定对应像素的采样范围,包括:9. The data processing method according to any one of claims 5-8, wherein the determining the sampling range of the corresponding pixel according to the expansion rate value comprises: 基于所述像素对应的所述膨胀率值,在所述像素的水平方向和竖直方向使用相同间隔进行采样。Based on the dilation rate value corresponding to the pixel, sampling is performed using the same interval in the horizontal direction and the vertical direction of the pixel. 10.根据权利要求5-8任一项所述的数据处理方法,其特征在于,所述膨胀率值为整数,或者非整数。10 . The data processing method according to claim 5 , wherein the expansion rate value is an integer or a non-integer. 11 . 11.根据权利要求10所述的数据处理方法,其特征在于,在所述膨胀率值为非整数时,所述所述根据各所述像素对应的所述膨胀率值进行膨胀卷积,包括:11 . The data processing method according to claim 10 , wherein when the dilation rate value is non-integer, the performing dilation convolution according to the dilation rate value corresponding to each of the pixels, comprising: 11 . : 获取所述像素对应的采样点的邻域像素值,并基于所述邻域像素值计算对应的邻域像素插值;Obtain the neighborhood pixel value of the sampling point corresponding to the pixel, and calculate the corresponding neighborhood pixel interpolation based on the neighborhood pixel value; 根据所述邻域像素插值估算所述采样点的特征值,以基于所述采样点的特征值进行膨胀卷积。The eigenvalues of the sampling points are estimated according to the neighborhood pixel interpolation to perform dilated convolution based on the eigenvalues of the sampling points. 12.一种数据处理装置,其特征在于,包括:12. A data processing device, comprising: 自适应膨胀率表计算模块,用于获取待处理的特征图,将所述特征图输入膨胀率计算层,以获取所述特征图对应的膨胀率表;其中,所述膨胀率表包括所述特征图中各像素对应的膨胀率值;The adaptive expansion rate table calculation module is used to obtain the feature map to be processed, and input the feature map into the expansion rate calculation layer to obtain the expansion rate table corresponding to the feature map; wherein, the expansion rate table includes the The expansion rate value corresponding to each pixel in the feature map; 膨胀卷积处理模块,用于将所述膨胀率表输入膨胀卷积层,以使所述膨胀卷积层结合所述膨胀率表对所述特征图进行膨胀卷积处理,以获取所述特征图对应的特征数据。a dilated convolution processing module, configured to input the dilation rate table into the dilated convolution layer, so that the dilated convolution layer combines the dilation rate table to perform dilated convolution processing on the feature map to obtain the feature The feature data corresponding to the graph. 13.一种计算机可读介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至11中任一项所述的数据处理方法。13. A computer-readable medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the data processing method according to any one of claims 1 to 11 is implemented. 14.一种电子设备,其特征在于,包括:14. An electronic device, characterized in that, comprising: 一个或多个处理器;one or more processors; 存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至11中任一项所述的数据处理方法。A storage device for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement any one of claims 1 to 11 A method of data processing described.
CN202010963275.0A 2020-09-14 2020-09-14 Data processing method and device, computer readable medium and electronic device Active CN112037157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010963275.0A CN112037157B (en) 2020-09-14 2020-09-14 Data processing method and device, computer readable medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010963275.0A CN112037157B (en) 2020-09-14 2020-09-14 Data processing method and device, computer readable medium and electronic device

Publications (2)

Publication Number Publication Date
CN112037157A true CN112037157A (en) 2020-12-04
CN112037157B CN112037157B (en) 2024-07-02

Family

ID=73589857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010963275.0A Active CN112037157B (en) 2020-09-14 2020-09-14 Data processing method and device, computer readable medium and electronic device

Country Status (1)

Country Link
CN (1) CN112037157B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112734015A (en) * 2021-01-14 2021-04-30 北京市商汤科技开发有限公司 Network generation method and device, electronic equipment and storage medium
CN113570859A (en) * 2021-07-23 2021-10-29 江南大学 Traffic flow prediction method based on asynchronous space-time expansion graph convolution network
CN114359849A (en) * 2021-11-30 2022-04-15 北京旷视科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040065806A (en) * 2003-01-16 2004-07-23 엘지전자 주식회사 Cubic convolution interpolation apparatus and method
CN108961253A (en) * 2018-06-19 2018-12-07 深动科技(北京)有限公司 A kind of image partition method and device
CN109284782A (en) * 2018-09-13 2019-01-29 北京地平线机器人技术研发有限公司 Method and apparatus for detecting feature
CN110543849A (en) * 2019-08-30 2019-12-06 北京市商汤科技开发有限公司 detector configuration method and device, electronic equipment and storage medium
CN111311629A (en) * 2020-02-21 2020-06-19 京东方科技集团股份有限公司 Image processing method, image processing device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040065806A (en) * 2003-01-16 2004-07-23 엘지전자 주식회사 Cubic convolution interpolation apparatus and method
CN108961253A (en) * 2018-06-19 2018-12-07 深动科技(北京)有限公司 A kind of image partition method and device
CN109284782A (en) * 2018-09-13 2019-01-29 北京地平线机器人技术研发有限公司 Method and apparatus for detecting feature
CN110543849A (en) * 2019-08-30 2019-12-06 北京市商汤科技开发有限公司 detector configuration method and device, electronic equipment and storage medium
CN111311629A (en) * 2020-02-21 2020-06-19 京东方科技集团股份有限公司 Image processing method, image processing device and equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112734015A (en) * 2021-01-14 2021-04-30 北京市商汤科技开发有限公司 Network generation method and device, electronic equipment and storage medium
CN112734015B (en) * 2021-01-14 2023-04-07 北京市商汤科技开发有限公司 Network generation method and device, electronic equipment and storage medium
CN113570859A (en) * 2021-07-23 2021-10-29 江南大学 Traffic flow prediction method based on asynchronous space-time expansion graph convolution network
CN113570859B (en) * 2021-07-23 2022-07-22 江南大学 A Traffic Flow Prediction Method Based on Asynchronous Space-Time Dilated Graph Convolutional Networks
CN114359849A (en) * 2021-11-30 2022-04-15 北京旷视科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112037157B (en) 2024-07-02

Similar Documents

Publication Publication Date Title
CN111770282B (en) Image processing method and device, computer readable medium and terminal equipment
CN111182140B (en) Motor control method and device, computer readable medium and terminal device
CN112954251B (en) Video processing method, video processing device, storage medium and electronic equipment
CN112651510B (en) Model updating method, working node and model updating system
CN111552451A (en) Display control method and device, computer readable medium and terminal equipment
CN112087649B (en) Equipment searching method and electronic equipment
CN112037157B (en) Data processing method and device, computer readable medium and electronic device
CN112700377A (en) Image floodlight processing method and device and storage medium
CN110458902A (en) 3D illumination estimation method and electronic device
CN111741303B (en) Deep video processing method and device, storage medium and electronic equipment
WO2022100685A1 (en) Drawing command processing method and related device therefor
WO2022022319A1 (en) Image processing method, electronic device, image processing system and chip system
CN112541861A (en) Image processing method, device, equipment and computer storage medium
CN114422340A (en) Log reporting method, electronic device and storage medium
WO2022095752A1 (en) Frame demultiplexing method, electronic device and storage medium
WO2022033344A1 (en) Video stabilization method, and terminal device and computer-readable storage medium
CN110248037B (en) Identity document scanning method and device
CN112188094B (en) Image processing method and apparatus, computer readable medium and terminal device
CN113538226A (en) Image texture enhancement method, apparatus, device, and computer-readable storage medium
CN111460942B (en) Proximity detection method and device, computer readable medium and terminal equipment
CN114661258A (en) Adaptive display method, electronic device, and storage medium
CN113391735A (en) Display form adjusting method and device, electronic equipment and storage medium
CN113610943B (en) Icon rounding processing method and device
CN115762108A (en) Remote control method, remote control device and controlled device
CN114579900A (en) Cross-device page switching method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant