[go: up one dir, main page]

CN114677267A - Image processing method, storage medium and terminal equipment - Google Patents

Image processing method, storage medium and terminal equipment Download PDF

Info

Publication number
CN114677267A
CN114677267A CN202011552804.4A CN202011552804A CN114677267A CN 114677267 A CN114677267 A CN 114677267A CN 202011552804 A CN202011552804 A CN 202011552804A CN 114677267 A CN114677267 A CN 114677267A
Authority
CN
China
Prior art keywords
image
channel
image processing
processed
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011552804.4A
Other languages
Chinese (zh)
Inventor
冯万良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Technology Group Co Ltd
Original Assignee
TCL Technology Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Technology Group Co Ltd filed Critical TCL Technology Group Co Ltd
Priority to CN202011552804.4A priority Critical patent/CN114677267A/en
Publication of CN114677267A publication Critical patent/CN114677267A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4053Scaling of whole images or parts thereof, e.g. expanding or contracting based on super-resolution, i.e. the output image resolution being higher than the sensor resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • 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/20048Transform domain processing
    • G06T2207/20052Discrete cosine transform [DCT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Processing (AREA)

Abstract

本申请公开了一种图像处理方法、存储介质及终端设备,所述方法包括获取待处理图像,根据所述待处理图像生成若干子频段图像,并将若干子频段图像重新排列以形成若干通道的频段图像;对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。本申请通过将待处理图像对应的频段图像,可以减少图像数据相关性,以此降低空间冗余,从而可以减少计算量,降低图像处理对终端设备的计算力的要求,扩大图像处理方法的应用范围。

Figure 202011552804

The present application discloses an image processing method, a storage medium and a terminal device. The method includes acquiring an image to be processed, generating several sub-band images according to the to-be-processed image, and rearranging the several sub-band images to form a plurality of channel images. frequency band image; process the frequency band image to obtain an output image corresponding to the to-be-processed image. In the present application, the correlation of image data can be reduced by using the frequency band images corresponding to the images to be processed, thereby reducing spatial redundancy, thereby reducing the amount of calculation, reducing the computing power requirements of image processing on terminal equipment, and expanding the application of image processing methods. scope.

Figure 202011552804

Description

一种图像处理方法、存储介质及终端设备An image processing method, storage medium and terminal device

技术领域technical field

本申请涉及图像处理技术领域,特别涉及一种图像处理方法、存储介质及终端设备。The present application relates to the technical field of image processing, and in particular, to an image processing method, a storage medium and a terminal device.

背景技术Background technique

随着计算机视觉技术的发展,人们对图像质量的需求越来越多。而为了获取高质量图像,经常会对图像进行图像处理,例如,图像增强、图像压缩以及图像超分等。但是,现有的图像处理方法普遍需要耗费大量计算力,很难部署到移动设备上面。With the development of computer vision technology, people have more and more demands for image quality. In order to obtain high-quality images, image processing is often performed on images, such as image enhancement, image compression, and image super-score. However, the existing image processing methods generally require a lot of computing power and are difficult to deploy on mobile devices.

发明内容SUMMARY OF THE INVENTION

本申请要解决的技术问题在于,针对现有技术的不足,提供一种图像处理方法、存储介质及终端设备。The technical problem to be solved by the present application is to provide an image processing method, a storage medium and a terminal device in view of the deficiencies of the prior art.

为了解决上述技术问题,本申请实施例第一方面提供了一种图像处理方法,所述方法包括:In order to solve the above technical problem, the first aspect of the embodiments of the present application provides an image processing method, the method includes:

获取待处理图像,根据所述待处理图像生成若干子频段图像;acquiring an image to be processed, and generating several sub-band images according to the to-be-processed image;

将若干子频段图像重新排列以形成若干通道的频段图像;Rearrange several sub-band images to form several channel band images;

对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。The frequency band image is processed to obtain an output image corresponding to the to-be-processed image.

所述图像处理方法,其中,所述待处理图像为未压缩图像,所述获取待处理图像,根据所述待处理图像生成若干子频段图像具体为:The image processing method, wherein the to-be-processed image is an uncompressed image, and the acquiring the to-be-processed image and generating several sub-band images according to the to-be-processed image is specifically:

获取待处理图像,并将所述待处理图进行频域变换以得到若干子频段图像。Acquire an image to be processed, and perform frequency domain transformation on the to-be-processed image to obtain several sub-band images.

所述图像处理方法,其中,所述将所述待处理图进行频域变换以得到若干子频段图像具体包括:The image processing method, wherein the performing frequency domain transformation on the to-be-processed image to obtain several sub-band images specifically includes:

将待处理图像划分为若干图像块,并将若干图像块中的各图像块进行频域变换,以得到各图像块各自对应的频域变换后的图像块;Divide the image to be processed into several image blocks, and perform frequency domain transformation on each image block in the several image blocks, so as to obtain image blocks after frequency domain transformation corresponding to each image block;

对于每个频域变换后的图像块,将该频域变换后的图像块中的各频率系数按通道方向排列以得到若干子频段图像。For each frequency-domain transformed image block, the frequency coefficients in the frequency-domain transformed image block are arranged in the channel direction to obtain several sub-band images.

所述图像处理方法,其中,所述若干图像块中的各图像块的图像尺寸相同,并且所述若干子频段图像的数量与所述图像块中的像素点的数量相等。In the image processing method, the image size of each image block in the several image blocks is the same, and the number of the several sub-band images is equal to the number of pixels in the image block.

所述图像处理方法,其中,所述图像处理方法应用于图像处理模型,所述对所述频段图像进行处理,以得到所述待处理图像对应的输出图像具体为:The image processing method, wherein the image processing method is applied to an image processing model, and the processing of the frequency band image to obtain an output image corresponding to the to-be-processed image is specifically:

所述图像处理模型基于所述频段图像,确定所述待处理图像对应的输出图像。The image processing model determines an output image corresponding to the to-be-processed image based on the frequency band image.

所述图像处理方法,其中,所述图像处理模型基于所述频段图像,确定所述待处理图像对应的输出图像之前,所述方法还包括:The image processing method, wherein, before the image processing model determines the output image corresponding to the to-be-processed image based on the frequency band image, the method further includes:

获取所述图像处理模型对应的任务类型,并基于所述任务类型确定所述图像处理模型对应的输入项的各通道各自对应的通道权重;Acquiring the task type corresponding to the image processing model, and determining the channel weights corresponding to each channel of the input item corresponding to the image processing model based on the task type;

将所述通道权重配置于所述图像处理模型,并将配置后的图像处理模型作为图像处理模型。The channel weights are configured in the image processing model, and the configured image processing model is used as an image processing model.

所述图像处理方法,其中,所述图像处理模型对应的输入项的各通道各自对应的通道权重中存在部分通道的通道权重值为零。The image processing method, wherein, among the channel weights corresponding to each channel of the input item corresponding to the image processing model, some channels have a channel weight value of zero.

所述图像处理方法,其中,所述基于任务类型确定所述图像处理模型对应的输入项的各通道各自对应的通道权重具体为:The image processing method, wherein the channel weights corresponding to each channel of the input items corresponding to the image processing model are determined based on the task type as follows:

根据预先设置的任务类型与通道权重集的对应关系,确定所述任务类型对应的通道权重集,其中,所述通道权重集包括若干通道权重,若干通道权重与所述图像处理模型的输入项包括的各通道一一对应;Determine the channel weight set corresponding to the task type according to the preset correspondence between the task type and the channel weight set, wherein the channel weight set includes several channel weights, and the input items of the several channel weights and the image processing model include: One-to-one correspondence of each channel;

基于确定得到的通道权重集,确定所述图像处理模型对应的输入项的各通道各自对应的通道权重。Based on the determined set of channel weights, the channel weights corresponding to each channel of the input item corresponding to the image processing model are determined.

所述图像处理方法,其中,在预先设置的任务类型与通道权重集的对应关系中,不同任务类型对应的通道权重集不相同。In the image processing method, in the preset correspondence between task types and channel weight sets, the channel weight sets corresponding to different task types are different.

所述图像处理方法,其中,所述通道权重集为根据任务类型设定的,或者,通过通道注意力机制确定的。In the image processing method, the channel weight set is set according to the task type, or determined through a channel attention mechanism.

所述图像处理方法,其中,所述图像处理模型基于所述频域图像,确定所述待处理图像对应的输出图像具体包括:The image processing method, wherein the image processing model determines, based on the frequency domain image, the output image corresponding to the to-be-processed image specifically includes:

所述图像处理模型通过其配置的通道权重系数,确定频率图像中的目标通道图像,其中,所述目标通道图像对应的权重系数小于预设阈值;The image processing model determines a target channel image in the frequency image through its configured channel weight coefficient, wherein the weight coefficient corresponding to the target channel image is less than a preset threshold;

所述图像处理模型基于目标通道图像,确定所述待处理图像对应的输出图像。The image processing model determines the output image corresponding to the to-be-processed image based on the target channel image.

本申请实施例第二方面提供了一种图像处理装置,所述图像处理装置包括:A second aspect of the embodiments of the present application provides an image processing device, the image processing device comprising:

获取模块,用于获取待处理图像,根据所述待处理图像生成若干子频段图像,并将若干子频段图像重新排列以形成若干通道的频段图像;an acquisition module, configured to acquire an image to be processed, generate several sub-band images according to the to-be-processed image, and rearrange the several sub-band images to form several channel band images;

处理模块,用于对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。A processing module, configured to process the frequency band image to obtain an output image corresponding to the to-be-processed image.

本申请实施例第三方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上任一所述的图像处理方法中的步骤。A third aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to Steps in any of the image processing methods described above are implemented.

本申请实施例第四方面提供了一种终端设备,其包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;A fourth aspect of the embodiments of the present application provides a terminal device, which includes: a processor, a memory, and a communication bus; the memory stores a computer-readable program executable by the processor;

所述通信总线实现处理器和存储器之间的连接通信;The communication bus implements connection communication between the processor and the memory;

所述处理器执行所述计算机可读程序时实现如上任一所述的图像处理方法中的步骤。When the processor executes the computer-readable program, the steps in any of the above image processing methods are implemented.

有益效果:与现有技术相比,本申请提供了一种图像处理方法、存储介质及终端设备,所述方法包括获取待处理图像,并确定所述待处理图像对应的频段图像,其中,所述频段图像包括若干通道,若干通道中的各通道各自对应的频段互不相同;对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。本申请通过将待处理图像对应的频段图像,可以减少图像数据相关性,以此降低空间冗余,从而可以减少计算量,降低图像处理对终端设备的计算力的要求,扩大图像处理方法的应用范围。Beneficial effects: Compared with the prior art, the present application provides an image processing method, a storage medium and a terminal device. The method includes acquiring a to-be-processed image and determining a frequency band image corresponding to the to-be-processed image, wherein the The frequency band image includes several channels, and each channel in the several channels has different corresponding frequency bands; the frequency band image is processed to obtain an output image corresponding to the to-be-processed image. The present application can reduce the correlation of image data by using the frequency band images corresponding to the images to be processed, thereby reducing spatial redundancy, thereby reducing the amount of calculation, reducing the computing power requirements of image processing on terminal equipment, and expanding the application of image processing methods. scope.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员而言,在不符创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without conforming to the creative work.

图1为本申请提供的图像处理方法的流程图。FIG. 1 is a flowchart of an image processing method provided by the present application.

图2为本申请提供的图像处理方法中频段图像确定过程的原理示意图。FIG. 2 is a schematic diagram of the principle of a process of determining a frequency band image in the image processing method provided by the present application.

图3为本申请提供的图像处理方法中图像处理模型的处理过程的原理示意图。FIG. 3 is a schematic diagram of the principle of the processing process of the image processing model in the image processing method provided by the present application.

图4为本申请提供的图像处理装置的结构原理图。FIG. 4 is a schematic structural diagram of an image processing apparatus provided by the present application.

图5为本申请提供的终端设备的结构原理图。FIG. 5 is a schematic structural diagram of a terminal device provided by the present application.

具体实施方式Detailed ways

本申请提供一种图像处理方法、存储介质及终端设备,为使本申请的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本申请进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。The present application provides an image processing method, storage medium and terminal device. In order to make the purpose, technical solutions and effects of the present application clearer and clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that the singular forms "a", "an", "the" and "the" as used herein can include the plural forms as well, unless expressly stated otherwise. It should be further understood that the word "comprising" used in the specification of this application refers to the presence of stated features, integers, steps, operations, elements and/or components, but does not preclude the presence or addition of one or more other features, Integers, steps, operations, elements, components and/or groups thereof. It will be understood that when we refer to an element as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Furthermore, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combination of one or more of the associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It should also be understood that terms, such as those defined in a general dictionary, should be understood to have meanings consistent with their meanings in the context of the prior art and, unless specifically defined as herein, should not be interpreted in idealistic or overly formal meaning to explain.

发明人经过研究发现,随着计算机视觉技术的发展,人们对图像质量的需求越来越多。而为了获取高质量图像,经常会对图像进行图像处理,例如,图像增强、图像压缩以及图像超分等等。但是,现有的图像处理方法普遍需要耗费大量计算力,特别是在应用神经网络模型进行图像处理操作(例如,图像分类、图像分割以及图像超分等等)时,普遍采用大分辨率(例如,3000*4000等)的原始RGB图像作为输入项,导致神经网络模型的计算量大,使得神经网络模型需要耗费大量计算力,很难部署到移动设备上面。The inventor found through research that with the development of computer vision technology, people have more and more demands on image quality. In order to obtain high-quality images, image processing is often performed on images, such as image enhancement, image compression, and image super-score. However, the existing image processing methods generally require a lot of computing power, especially when applying neural network models for image processing operations (such as image classification, image segmentation, and image super-score, etc.), large resolutions (such as , 3000*4000, etc.) original RGB images as input items, resulting in a large amount of computation for the neural network model, which makes the neural network model consume a lot of computing power and is difficult to deploy on mobile devices.

为了解决上述问题,在本申请实施例中,在获取到待处理图像后,预处理所述待处理图像,生成对应的频段图像,所述频段图像包括若干通道,若干通道中的各通道各自对应的频段互不相同;对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。本申请通过将待处理图像对应的频段图像,可以减少图像数据相关性,以此降低空间冗余,从而可以减少计算量,降低图像处理对终端设备的计算力的要求,扩大图像处理方法的应用范围。In order to solve the above problem, in the embodiment of the present application, after the image to be processed is acquired, the image to be processed is preprocessed to generate a corresponding frequency band image, the frequency band image includes several channels, and each channel in the several channels corresponds to The frequency bands of the frequency bands are different from each other; the frequency band images are processed to obtain an output image corresponding to the to-be-processed image. The present application can reduce the correlation of image data by using the frequency band images corresponding to the images to be processed, thereby reducing spatial redundancy, thereby reducing the amount of calculation, reducing the computing power requirements of image processing on terminal equipment, and expanding the application of image processing methods. scope.

下面结合附图,通过对实施例的描述,对申请内容作进一步说明。The content of the application will be further described below through the description of the embodiments in conjunction with the accompanying drawings.

图1是本实施例提供的一种图像处理方法的流程示意图。该方法可以由图像处理装置来执行,所述装置可以由软件实现,应用于诸如智能手机、平板电脑或个人数字助理等之类的智能终端上。参见图1,本实施例提供的图像处理方法具体包括:FIG. 1 is a schematic flowchart of an image processing method provided in this embodiment. The method can be performed by an image processing apparatus, and the apparatus can be implemented by software and applied to a smart terminal such as a smart phone, a tablet computer, or a personal digital assistant. Referring to FIG. 1, the image processing method provided by this embodiment specifically includes:

S10、获取待处理图像,根据所述待处理图像生成若干子频段图像,并将若干子频段图像重新排列以形成若干通道的频段图像。S10. Acquire an image to be processed, generate several sub-band images according to the to-be-processed image, and rearrange the several sub-band images to form several channel band images.

具体地,所述待处理图像可以为未被压缩的原始图像,也可以为经过压缩的压缩图像。当所述待处理图像为未被压缩的原始图像时,所述待处理图像均是通过成像系统(如,照相机、摄像机、屏下摄像头等)拍摄的得到,也可以是其他外部设备(例如,数码相机等)拍摄并存储于终端设备的图像,还可以是通过云端发送至终端设备的图像。当所述待处理图像为压缩图像时,待处理图像可以通过图像编码得到的,例如,所述待处理图像可以为采用余弦变换DCT进行压缩的图像。Specifically, the to-be-processed image may be an uncompressed original image or a compressed compressed image. When the to-be-processed image is an uncompressed original image, the to-be-processed image is captured by an imaging system (eg, camera, video camera, under-screen camera, etc.), or may be other external devices (eg, digital cameras, etc.) and store the image in the terminal device, or it may be the image sent to the terminal device through the cloud. When the image to be processed is a compressed image, the image to be processed may be obtained by image coding, for example, the image to be processed may be an image compressed by using cosine transform DCT.

所述若干子频段图像中的每个子频段图像对应一频率范围,并且各子频道图像各自对应的频率范围互不相同,所述频段图像为若干子频段图像排列形成的,所述频段图像对应的图像内容与所述待处理图像的图像内容相同,所述频段图像包括若干通道,每个子频道图像对应所述频道图像的一个通道,并且各子频段图像对应的通道互不相同。Each sub-band image in the several sub-band images corresponds to a frequency range, and the respective frequency ranges corresponding to each sub-channel image are different from each other. The frequency band image is formed by arranging several sub-band images. The image content is the same as the image content of the to-be-processed image, the frequency band image includes several channels, each sub-channel image corresponds to a channel of the channel image, and the channels corresponding to each sub-band image are different from each other.

在本实施例的一个实现方式中,如图2所示,所述待处理图像为未压缩图像,所述获取待处理图像,根据所述待处理图像生成若干子频段图像具体为:In an implementation of this embodiment, as shown in FIG. 2 , the to-be-processed image is an uncompressed image, and the acquiring the to-be-processed image and generating several sub-band images according to the to-be-processed image is specifically:

获取待处理图像,并将所述待处理图进行频域变换以得到频段图像。The image to be processed is acquired, and the image to be processed is subjected to frequency domain transformation to obtain a frequency band image.

具体地,所述待处理图像均是通过成像系统(例如,屏下摄像头等)拍摄得到的图像,其中,所述成像系统可以为终端设备自身配置的,也可以为其他设备配置的。例如,所述待处理图像均为通过配置有成像系统的手机对一风景场景拍摄得到风景图像,并且该风景图像均属于RGB色彩空间。所述频率变换用于将所述待处理图从空间域转换为频域,其中,所述频域变换方式可以为DCT变换(Discrete Cosine Transform,离散余弦变换)、小波变换,拉普拉斯变换以及导向滤波器等。Specifically, the images to be processed are all images captured by an imaging system (eg, an under-screen camera, etc.), wherein the imaging system may be configured for the terminal device itself or for other devices. For example, the images to be processed are all landscape images obtained by photographing a landscape scene by a mobile phone equipped with an imaging system, and the landscape images all belong to the RGB color space. The frequency transform is used to convert the to-be-processed image from the spatial domain to the frequency domain, wherein the frequency domain transform may be DCT transform (Discrete Cosine Transform, discrete cosine transform), wavelet transform, Laplace transform and guided filters.

在本实施例的一个实现方式中,所述频域变换采用DCT变换,通过将待处理图像进行分块后,分别对各图像块进行DCT变换,这样可以保证被变换的值图像块具有相关性的像素集合,从而可以减少图像块中的图像数据的相关性,用少量数据量表示大量图像信息,以降低空间冗余。由此,所述获取待处理图像,并将所述待处理图进行频域变换以得到频段图像具体包括:In an implementation of this embodiment, the frequency domain transform adopts DCT transform. After the image to be processed is divided into blocks, DCT transform is performed on each image block, so that the transformed value image blocks can be guaranteed to have correlation. Therefore, the correlation of image data in the image block can be reduced, and a large amount of image information can be represented with a small amount of data to reduce spatial redundancy. Therefore, the acquiring the image to be processed and performing frequency domain transformation on the image to be processed to obtain the frequency band image specifically includes:

将待处理图像划分为若干图像块,并将若干图像块中的各图像块进行频域变换,以得到各图像块各自对应的频域变换后的图像块;Divide the image to be processed into several image blocks, and perform frequency domain transformation on each image block in the several image blocks, so as to obtain image blocks after frequency domain transformation corresponding to each image block;

将各频域变换后的图像块中的各频率系数按通道方向排列,以得若干子频段图像。Arrange each frequency coefficient in each frequency domain transformed image block according to the channel direction to obtain several sub-band images.

具体地,所述图像块为所述待处理图像的部分图像区域,若干图像块中任意两个图像块,两个图像块中的第一图像块和两个图像块中的第二图像块不相交,并且若干图像块中各图像块各自对应的图像区域构成所述待处理图像。可以理解的是,若干图像块拼接后可以得到所述待处理图像,换句话说,若干图像块拼接得到的拼接图像的图像尺寸与待处理图像的图像尺寸相同,并且拼接得到的拼接图像的图像内容与待处理图像的图像内容相同。Specifically, the image block is a partial image area of the to-be-processed image, any two image blocks in several image blocks, the first image block in the two image blocks and the second image block in the two image blocks are not intersect, and the image areas corresponding to each of the several image blocks constitute the to-be-processed image. It can be understood that the image to be processed can be obtained after splicing several image blocks, in other words, the image size of the spliced image obtained by splicing several image blocks is the same as the image size of the image to be processed, and the image of the spliced image obtained by splicing. The content is the same as the image content of the image to be processed.

在本实施例的一个实现方式中,若干图像块中各图像块各自对应的图像尺寸相同,例如,各图像块的图像尺寸均为8*8等。相应的,所述将所述待处理图划分为若干图像块的过程可以为:获取所述待处理图像的图像高度和图像宽度;确定图像高度与图像宽度的公约数,基于所述公约数将待处理图像划分为若干边长为公约数的图像宽。其中,所述公约数可以为1个,也可以为多个;当所述公约数为多个时,可以在多个公约数中随机选取一个公约数作为图像块的边长,或者是,选取最大公约数作为图像块的边长,或者是,选取最小公约数作为图像块的边长等。当然,在实际应用中,所述若干图像块还可以采用其他方法划分得到,只要可以划分得到若干图像块的方法均可以,例如,获取图像长度的一个长度公约数,获取图像宽度的一个宽度公约数,基于长度公约数和宽度公约数确定一个目标图像尺寸,按照所述目标图像尺寸将所述待处理图像划分为若干图像块,使得每个图像块的图像尺寸均等于所述目标图像尺寸等。In an implementation manner of this embodiment, the image sizes corresponding to each image block in the several image blocks are the same, for example, the image size of each image block is 8*8 or the like. Correspondingly, the process of dividing the image to be processed into several image blocks may be: acquiring the image height and image width of the image to be processed; determining the common divisor of the image height and the image width, and based on the common divisor, The image to be processed is divided into several image widths whose side lengths are common divisors. Wherein, the common divisor may be one or more than one; when there are multiple common divisors, one common divisor may be randomly selected from the multiple common divisors as the side length of the image block, or, The greatest common divisor is used as the side length of the image block, or the least common divisor is selected as the side length of the image block, and so on. Of course, in practical applications, the several image blocks can also be obtained by dividing them by other methods, as long as several image blocks can be obtained by dividing them. A target image size is determined based on the common divisor of the length and the common divisor of the width, and the to-be-processed image is divided into several image blocks according to the target image size, so that the image size of each image block is equal to the target image size, etc. .

举例说明:待处理图像的图像尺寸为1024*1024,选取1024的公约数8作为图像块的边长,将待处理图像划分为若干边长为8的正方形图像块,每个图像块的图像尺寸均为8*8,这样可以划分得到16348个图像块,划分得到每个图像块均为待处理图像的部分图像区域,16348个图像块拼接可以得到待处理图像。For example: the image size of the image to be processed is 1024*1024, the common divisor of 1024 is 8 as the side length of the image block, and the image to be processed is divided into several square image blocks with a side length of 8. The image size of each image block Both are 8*8, so that 16348 image blocks can be divided, and each image block obtained by dividing is a part of the image area of the image to be processed, and the image to be processed can be obtained by splicing 16348 image blocks.

频域变换后的图像块中的频率系数为通过对图像块中的像素点的像素值进行频域变换得到的,频域变换后的图像块中的各频率系数与图像块中的各像素点一一对应。在获取到频域变换后的图像块后,将频域变换后的图像块中的频率系数按照通道排列得到DCT系数图像,各图像块对应的DCT系数图像中位于相同通道的元素构成一子频道图像,从而若干子频道图像的数量与DCT系数图像的通道数量相同。其中,所述DCT系数图像的通道数与其对应的频域变换后的图像块中的像素点的数量相同,频域变换后的图像块中的频率系数的数量等于其对应的图像块中的像素点的数量,由此,所述DCT系数图像的通道数等于其对应的图像块中的像素点的数量,并DCT系数图像中的每个通道图像仅包含一个频率系数,换句话说,所述将该频域变换后的图像块中的各频率系数按通道方向排列指的是将M×N的频域变换后的图像块转换为1×1×(M*N)的DCT系数图像。在本实施例的一个实现方式中,图像块的图像尺寸为8×8,即图像块包括64个像素点,那么图像块对应的频域变换后的图像块中的频率系数的数量为64,相应的,图像块对应的DCT系数图像的通道数为64,DCT系数图像的图像尺度为1×1×64。The frequency coefficients in the image block after frequency domain transformation are obtained by performing frequency domain transformation on the pixel values of the pixel points in the image block. One-to-one correspondence. After obtaining the image blocks transformed in the frequency domain, the frequency coefficients in the transformed image blocks in the frequency domain are arranged according to the channels to obtain a DCT coefficient image, and the elements located in the same channel in the DCT coefficient image corresponding to each image block form a sub-channel image, so that the number of several sub-channel images is the same as the number of channels of the DCT coefficient image. The number of channels of the DCT coefficient image is the same as the number of pixels in the corresponding image block after frequency domain transformation, and the number of frequency coefficients in the image block after frequency domain transformation is equal to the number of pixels in the corresponding image block The number of points, thus, the number of channels of the DCT coefficient image is equal to the number of pixels in its corresponding image block, and each channel image in the DCT coefficient image contains only one frequency coefficient, in other words, the Arranging the frequency coefficients in the frequency-domain transformed image block in the channel direction refers to converting the M×N frequency-domain transformed image block into a 1×1×(M*N) DCT coefficient image. In an implementation of this embodiment, the image size of the image block is 8×8, that is, the image block includes 64 pixels, then the number of frequency coefficients in the frequency-domain transformed image block corresponding to the image block is 64, Correspondingly, the number of channels of the DCT coefficient image corresponding to the image block is 64, and the image scale of the DCT coefficient image is 1×1×64.

在本实施例的一个实现方式中,所述DCT系数图像中的各通道对应的频率系数随着通道号的增大而增大,其中,所述频率系数为图像块经频域变换确定得到,用于反映图像块中各像素点对应的频率,所述大小关系可以为由大到小的关系,也可以为由小到大的关系。在本实施例的一个具体实现方式中,所述大小关系为由小到大的关系,所述按照大小关系将该频域变换后的图像块中的各频率系数按通道方向排列可以为:获取所述图像块中的像素点数量,并创建所述像素点数量个通道,将频域变换后的图像块中的各频率系数按照从小到大顺序依次排列至各通道,以得到DCT系数图像。其中,所述DCT系数图像的每个通道包括一个频率系数,并且对于相邻两个通道,当两个通道中的通道A的通道号大于两个通道中的通道B的通道号时,通道A中的频率系数大于或者等于通道B中的频率系数。例如,图像块的图像尺寸为2×2,频域变换后的图像块中的各频率系数分别为0,0,2,2,那么图像块对应的DCT系数图像的通道数为4,4个通道的通道号分别记为0,1,2以及3,通道号0对应的频率系数0,通道号1对应的频率系数0,通道号2对应的频率系数2,通道号3对应的频率系数2。In an implementation of this embodiment, the frequency coefficient corresponding to each channel in the DCT coefficient image increases as the channel number increases, wherein the frequency coefficient is determined by the image block through frequency domain transformation, It is used to reflect the frequency corresponding to each pixel in the image block, and the size relationship may be a relationship from large to small, or a relationship from small to large. In a specific implementation of this embodiment, the size relationship is a relationship from small to large, and the arrangement of the frequency coefficients in the frequency domain transformed image block according to the size relationship in the channel direction may be: obtaining The number of pixels in the image block, and creating channels of the number of pixels, and arranging the frequency coefficients in the frequency domain transformed image block to each channel in ascending order to obtain a DCT coefficient image. Wherein, each channel of the DCT coefficient image includes a frequency coefficient, and for two adjacent channels, when the channel number of channel A in the two channels is greater than the channel number of channel B in the two channels, channel A The frequency coefficient in channel B is greater than or equal to the frequency coefficient in channel B. For example, if the image size of the image block is 2×2, and the frequency coefficients in the image block after frequency domain transformation are 0, 0, 2, and 2, respectively, the number of channels of the DCT coefficient image corresponding to the image block is 4, 4 The channel numbers of the channels are marked as 0, 1, 2 and 3 respectively. The frequency coefficient corresponding to channel number 0 is 0, the frequency coefficient corresponding to channel number 1 is 0, the frequency coefficient corresponding to channel number 2 is 2, and the frequency coefficient corresponding to channel number 3 is 2. .

在本实施例的一个实现方式中,若干图像块中各图像块的图像尺寸相同,即各图像块包括的像素点的数量相同,相应的,各图像块各自对应的DCT系数图像的通道数相同,例如,各图像块包括的像素点的数量均为64,那么各图像块各自对应的DCT系数图像的通道数均为64。由此,在获取到若干DCT系数图像后,将若干DCT系数图像进行拼接得到频段图像,所述频段图像的通道数等于各DCT系数图像的通道数,并且各DCT系数图像在频段图像中的位置信息与各频段图像各自对应的图像块在待处理图像中的位置信息相对应。其中,所述图像块在待处理图像中的位置信息指的是图像块在所述待处理图像中的相对位置,在将每个图像块作为一个单元时,所述图像块的位置信息为该图像块在待处理图像中的坐标信息;所述DCT系数图像在频段图像中的位置信息为DCT系数图像在所述频段图像的相对位置,在将每个DCT系数图像作为一个单元时,所述DCT系数图像的位置信息为该DCT系数图像在频段图像中的坐标信息。例如,对于DCT系数图像A和DCT系数图像B,DCT系数图像A对应图像块a,DCT系数图像对应图像块b,图像块a在待处理图像的左上角,那么DCT系数图像A在频段图像的左上角,图像块b在待处理图像的右上角,那么DCT系数图像B在频段图像的右上角。In an implementation of this embodiment, the image size of each image block in several image blocks is the same, that is, the number of pixels included in each image block is the same, and correspondingly, the number of channels of the DCT coefficient image corresponding to each image block is the same. For example, if the number of pixels included in each image block is 64, then the number of channels of the DCT coefficient image corresponding to each image block is 64. Therefore, after several DCT coefficient images are acquired, a frequency band image is obtained by splicing several DCT coefficient images, the channel number of the frequency band image is equal to the channel number of each DCT coefficient image, and the position of each DCT coefficient image in the frequency band image The information corresponds to the position information of the image blocks corresponding to each frequency band image in the image to be processed. The position information of the image block in the image to be processed refers to the relative position of the image block in the image to be processed. When each image block is taken as a unit, the position information of the image block is the relative position of the image block in the image to be processed. The coordinate information of the image block in the image to be processed; the position information of the DCT coefficient image in the frequency band image is the relative position of the DCT coefficient image in the frequency band image, when each DCT coefficient image is regarded as a unit, the The position information of the DCT coefficient image is the coordinate information of the DCT coefficient image in the frequency band image. For example, for DCT coefficient image A and DCT coefficient image B, DCT coefficient image A corresponds to image block a, DCT coefficient image corresponds to image block b, and image block a is in the upper left corner of the image to be processed, then DCT coefficient image A is in the frequency band image. In the upper left corner, the image block b is in the upper right corner of the image to be processed, then the DCT coefficient image B is in the upper right corner of the frequency band image.

在本实施例的一个实现方式中,基于获取到所有DCT系数图像,确定所述待处理图像对应的频段图像的过程可以为:在获取到所有DCT系数图像后,获取各DCT系数图像各自对应的图像块在待处理图像中的位置信息,并将各DCT系数图像各自对应的图像块的位置信息作为各DCT系数图像各自对应的位置信息,并按照各DCT系数图像各自对应的位置信息将各DCT系数图像进行拼接,以得到频段图像。此外,由于在通过DCT变换得到的频域变换后的图像块中大频率系数对应图像中的图像细节信息,小频率系数对应图像中的边界信息,从而所述频段图像中的各通道可以用于反映待处理图像的不同位置的图像信息,其中,大频率系数对应的通道可以用于反映图像细节信息,小频率系数对应的通道可以用于反映图像边界信息。例如,频段图像中通道号大的通道用于存储大频率系数,频段图像中通道号小的通道用于存储小频率系数,那么通道号大的通道用于反映图像细节信息,通道号小的通道用于反映图像边界信息,则在对频段图像进行处理时,可以基于处理类型所需的图像内容而对频段图像中的通道进行筛选以去除部分通道,这样可以进一步减少图像处理的计算量。In an implementation manner of this embodiment, based on the acquisition of all DCT coefficient images, the process of determining the frequency band images corresponding to the to-be-processed images may be: after acquiring all the DCT coefficient images, acquiring the corresponding corresponding DCT coefficient images The position information of the image block in the image to be processed, and the position information of the image block corresponding to each DCT coefficient image is used as the position information corresponding to each DCT coefficient image, and each DCT coefficient image is based on the corresponding position information of each DCT coefficient image. Coefficient images are stitched to obtain band images. In addition, since the large frequency coefficients in the frequency domain transformed image block obtained by DCT transformation correspond to the image detail information in the image, and the small frequency coefficients correspond to the boundary information in the image, each channel in the frequency band image can be used for The image information of different positions of the image to be processed is reflected, wherein the channel corresponding to the large frequency coefficient can be used to reflect the image detail information, and the channel corresponding to the small frequency coefficient can be used to reflect the image boundary information. For example, the channel with a large channel number in the frequency band image is used to store large frequency coefficients, and the channel with a small channel number in the frequency band image is used to store small frequency coefficients, then the channel with a large channel number is used to reflect the image detail information, and the channel with a small channel number is used to store the image details. It is used to reflect the image boundary information. When processing the frequency band image, the channels in the frequency band image can be filtered based on the image content required by the processing type to remove some channels, which can further reduce the calculation amount of image processing.

举例说明,若干图像块包括图像块A、图像块B、图像块C以及图像块D,图像块A对应DCT系数图像a、图像块B对应DCT系数图像b、图像块C对应DCT系数图像c,图像块D对应DCT系数图像d,在将图像块作为单元时,所述图像块A的位置信息为(0,0),图像块B的位置信息为(0,1),图像块C的位置信息为(1,0),图像块D的位置信息为(1,1),那么在频段图像中DCT系数图像a的位置信息为(0,0),DCT系数图像b的位置信息为(0,1),DCT系数图像c的位置信息为(1,0),DCT系数图像d的位置信息为(1,1)。For example, several image blocks include image block A, image block B, image block C and image block D, image block A corresponds to DCT coefficient image a, image block B corresponds to DCT coefficient image b, and image block C corresponds to DCT coefficient image c, The image block D corresponds to the DCT coefficient image d. When the image block is used as a unit, the position information of the image block A is (0, 0), the position information of the image block B is (0, 1), and the position information of the image block C is (0, 1). The information is (1,0), the position information of the image block D is (1,1), then the position information of the DCT coefficient image a in the frequency band image is (0,0), and the position information of the DCT coefficient image b is (0 , 1), the position information of the DCT coefficient image c is (1, 0), and the position information of the DCT coefficient image d is (1, 1).

S20、对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。S20. Process the frequency band image to obtain an output image corresponding to the to-be-processed image.

具体地,所述输出图像与对频段图像进行的处理相对应,例如,当所述处理为超分处理时,所述输出图像为超分图像;当处理为人脸分割处理时,所述输出图像可以为待处理图像携带的人脸图像。在本实施例的一个实现方式,所述处理可以包括图像分类、图像分割以及图像超分等。Specifically, the output image corresponds to the processing performed on the frequency band image. For example, when the processing is super-division processing, the output image is a super-division image; when the processing is face segmentation processing, the output image is A face image that can be carried for the image to be processed. In an implementation of this embodiment, the processing may include image classification, image segmentation, and image super-score.

在本实施例的一个实现方式中,所述对所述频段图像进行处理可以通过经过训练的图像处理模型执行的。相应的,所述对所述频段图像进行处理,以得到所述待处理图像对应的输出图像具体为:In an implementation manner of this embodiment, the processing of the frequency band image may be performed by a trained image processing model. Correspondingly, the processing of the frequency band image to obtain the output image corresponding to the to-be-processed image is specifically:

所述图像处理模型基于所述频段图像,确定所述待处理图像对应的输出图像。The image processing model determines an output image corresponding to the to-be-processed image based on the frequency band image.

具体地,所述图像处理模型为经过训练的网络模型,例如,图像超分模型、图像分割模型以及图像分类模型等。其中,所述图像处理模型的训练过程中,所述图像处理模型对应的训练样本集中的训练图像为频段图像,换句话,在获取到训练样本集后,对于训练样本集中的每张待处理图像进行频域变换,以得到各待处理图像对应的频段图像,并将该频段图像输入该图像处理模型对应的预设网络模型中,对所述预设网络模型进行训练以得到所述图像处理模型。所述预设网络模型的模型结构与所述图像处理模型的模型结构相同,例如,均包括卷积层、全连接层以及激活层等。所述预设网络模型的模型参数与图像处理模型的模型参数不同,其中,预设网络模型的模型参数为初始模型参数,所述图像处理模型的模型参数为基于训练样本集训练得到模型参数。此外,在对所述预设网络模型进行训练时,采用的损失函数可以包括空域MSE(像素L2相似性)损失项,SSIM(图像结构相似性)损失项以及频域的MSE(DCT系数L2相似性)损失项;或者是,包括空域MSE(像素L2相似性)以及频域的MSE(DCT系数L2相似性)损失项,或者是,包括SSIM(图像结构相似性)损失项以及频域的MSE(DCT系数L2相似性)损失项等。Specifically, the image processing model is a trained network model, such as an image super-segmentation model, an image segmentation model, and an image classification model. Wherein, in the training process of the image processing model, the training images in the training sample set corresponding to the image processing model are frequency band images. In other words, after the training sample set is acquired, for each to-be-processed image in the training sample set The image is subjected to frequency domain transformation to obtain a frequency band image corresponding to each image to be processed, and the frequency band image is input into the preset network model corresponding to the image processing model, and the preset network model is trained to obtain the image processing model. Model. The model structure of the preset network model is the same as the model structure of the image processing model, for example, both include a convolution layer, a fully connected layer, an activation layer, and the like. The model parameters of the preset network model are different from those of the image processing model, wherein the model parameters of the preset network model are initial model parameters, and the model parameters of the image processing model are model parameters obtained by training based on a training sample set. In addition, when training the preset network model, the adopted loss function may include spatial domain MSE (pixel L2 similarity) loss term, SSIM (image structure similarity) loss term, and frequency domain MSE (DCT coefficient L2 similarity) or, including spatial domain MSE (pixel L2 similarity) and frequency domain MSE (DCT coefficient L2 similarity) loss terms, or, including SSIM (image structure similarity) loss term and frequency domain MSE (DCT coefficient L2 similarity) loss term, etc.

在本实施例的一个实现方式中,所述图像处理模型可以配置有通道注意力机制,并且图像处理模型为各频率图像的各通道配置通道权重,所述通道注意力机制可以基于各通道配置的通道权重来对通道进行关注,这样可以关注图像处理模型对应的图像处理任务所需图像通道,在图像处理模型的训练过程中可以提高图像处理模型的训练速度;而在图像处理模型的推理过程中可以减少频段图像的数据量,进而减少计算量。In an implementation of this embodiment, the image processing model may be configured with a channel attention mechanism, and the image processing model may configure channel weights for each channel of each frequency image, and the channel attention mechanism may be based on the configuration of each channel. The channel weight is used to pay attention to the channel, so that the image channel required for the image processing task corresponding to the image processing model can be paid attention to, and the training speed of the image processing model can be improved during the training process of the image processing model. The data amount of the frequency band image can be reduced, thereby reducing the calculation amount.

基于此,所述图像处理模型基于所述频段图像,确定所述待处理图像对应的输出图像之前,所述方法还包括:Based on this, before the image processing model determines the output image corresponding to the to-be-processed image based on the frequency band image, the method further includes:

获取所述图像处理模型对应的任务类型,并基于所述任务类型确定所述图像处理模型对应的输入项的各通道各自对应的通道权重;Acquiring the task type corresponding to the image processing model, and determining the channel weights corresponding to each channel of the input item corresponding to the image processing model based on the task type;

将所述通道权重配置于所述图像处理模型,并将配置后的图像处理模型作为图像处理模型。The channel weights are configured in the image processing model, and the configured image processing model is used as an image processing model.

具体地,所述任务类型用于反映所述图像处理模型所要执行的处理任务,其中,所述任务类型可以包括超分任务,去噪任务、分割任务以及分类任务等。其中,不同任务类型对应的图像处理模型为各通道配置的通道权重不同,例如,当任务类型为分类任务时,由于分类任务对低频通道数据表较敏感,从而可以为低频通道配置高通道权重,为高频通道数据配置低通道权重;当任务类型为超分任务时,由于超分任务对高频通道比较敏感,从而可以为高频通道配置高通道权重,为低频通道数据配置低通道权重。Specifically, the task type is used to reflect the processing task to be performed by the image processing model, wherein the task type may include a super-resolution task, a denoising task, a segmentation task, a classification task, and the like. Among them, the image processing models corresponding to different task types have different channel weights for each channel. For example, when the task type is a classification task, since the classification task is more sensitive to the low-frequency channel data table, a high-channel weight can be configured for the low-frequency channel. Configure low-channel weights for high-frequency channel data; when the task type is super-division task, since super-division tasks are sensitive to high-frequency channels, high-channel weights can be configured for high-frequency channels, and low-channel weights can be configured for low-frequency channel data.

举例说明:任务类型为分类任务,图像处理模型的输入项包括4个通道,分别为通道0,通道1、通道2和通道3,其中,通道0,通道1、通道2和通道3对应的频率系数依次增大,那么通道0的权重系数可以为1,通道1的权重系数可以为0.8,通道2的通道系数可以为0.6,通道3的通道系数可以为0.1。For example: the task type is a classification task, and the input item of the image processing model includes 4 channels, namely channel 0, channel 1, channel 2 and channel 3, where the frequencies corresponding to channel 0, channel 1, channel 2 and channel 3 are The coefficients increase sequentially, then the weight coefficient of channel 0 can be 1, the weight coefficient of channel 1 can be 0.8, the channel coefficient of channel 2 can be 0.6, and the channel coefficient of channel 3 can be 0.1.

在本实施例的一个实现方式中,所述基于任务类型确定所述图像处理模型对应的输入项的各通道各自对应的通道权重具体为:In an implementation manner of this embodiment, the channel weight corresponding to each channel of the input item corresponding to the image processing model is determined based on the task type as follows:

根据预先设置的任务类型与通道权重集的对应关系,确定所述任务类型对应的通道权重集;Determine the channel weight set corresponding to the task type according to the preset correspondence between the task type and the channel weight set;

基于确定得到的通道权重集,确定所述图像处理模型对应的输入项的各通道各自对应的通道权重。Based on the determined set of channel weights, the channel weights corresponding to each channel of the input item corresponding to the image processing model are determined.

具体地,所述任务类型与通道权重集的对应关系为预先配置的,基于所述任务类型与通道权重集的对应关系可以各任务类型各自对应的通道权重集,所述通道权重集包括若干通道权重,若干通道权重与所述图像处理模型的输入项包括的各通道一一对应。此外,不同任务类别对应的通道权重集可以不相同,并且各任务类别对应的通道权重集中可以存在取值为0的权重。换句话说,所述图像处理模型对应的输入项的各通道各自对应的通道权重中存在部分通道的通道权重值为0。此外,所述任务类型对应的通道权重集可以为优选设置的,即所述通道权重集为根据任务类型设定的,或者是,也可以是通过通道注意力机制确定的,即通过配置有通道注意力机制的网络模型学习该任务对应的通道权重集。Specifically, the corresponding relationship between the task type and the channel weight set is pre-configured. Based on the corresponding relationship between the task type and the channel weight set, a channel weight set corresponding to each task type can be obtained, and the channel weight set includes several channels. The weights of several channels are in one-to-one correspondence with each channel included in the input item of the image processing model. In addition, the channel weight sets corresponding to different task categories may be different, and a weight value of 0 may exist in the channel weight set corresponding to each task category. In other words, among the channel weights corresponding to each channel of the input item corresponding to the image processing model, the channel weight value of some channels is 0. In addition, the channel weight set corresponding to the task type may be set by preference, that is, the channel weight set is set according to the task type, or it may be determined by a channel attention mechanism, that is, by configuring a channel The network model of the attention mechanism learns the set of channel weights corresponding to the task.

在本实施例的一个实现方式中,所述图像处理模型预设配置有若干配置参数,其中,所述若干配置参数可以包括学习率参数、反向学习测量参数以及默认通道权重参数等。在确定图像处理模型的模型结构后,需要为所述图像处理模型配置其对应的若干配置参数,并将配置有配置参数的图像处理模型为图像处理模型。其中,所述通道权重参数用于配置所述图像处理模型对应的通道权重,以使得所述图像处理模型可以基于通道权重参数确定需要注意的通道。由此,将所述通道权重配置于所述图像处理模型具体为:将获取到图像处理模型对应的输入项各通道各自对应的通道权重作为默认通道权重参数,并默认通道权重参数配置于所述图像处理模型,以使得所述图像处理模型配置的默认通道权重参数确定输入项各通道对应的通道权重,这样当图像处理模型确定频段图像对应的输出图像时,采用基于默认通道权重参数确定频段图像中的各通道各自对应的通道权重。由此可知,所述若干通道权重的配置过程在图像处理模型训练过程之前,在将若干通道权重配置于图像处理模型对应的预设网络模型之后,基于训练图像集对配置有若干通道权重以及初始模型参数的预设网络模型进行训练,以得到配置有经过训练的模型参数的图像处理模型。In an implementation of this embodiment, the image processing model is preset with several configuration parameters, where the several configuration parameters may include a learning rate parameter, a reverse learning measurement parameter, a default channel weight parameter, and the like. After the model structure of the image processing model is determined, several configuration parameters corresponding to the image processing model need to be configured, and the image processing model configured with the configuration parameters is an image processing model. The channel weight parameter is used to configure the channel weight corresponding to the image processing model, so that the image processing model can determine the channel that needs attention based on the channel weight parameter. Therefore, configuring the channel weight in the image processing model is specifically: taking the channel weight corresponding to each channel of the input item corresponding to the acquired image processing model as a default channel weight parameter, and configuring the default channel weight parameter in the image processing model. The image processing model, so that the default channel weight parameter configured by the image processing model determines the channel weight corresponding to each channel of the input item, so that when the image processing model determines the output image corresponding to the frequency band image, the frequency band image is determined based on the default channel weight parameter. Each channel in the corresponding channel weight. It can be seen that the configuration process of the several channel weights is before the image processing model training process, and after configuring the several channel weights in the preset network model corresponding to the image processing model, based on the training image set, several channel weights and initial A preset network model of model parameters is trained to obtain an image processing model configured with the trained model parameters.

在本实施例的一个实现方式中,所述图像处理模型基于所述频段图像,确定所述待处理图像对应的输出图像具体包括:In an implementation manner of this embodiment, the image processing model determines, based on the frequency band image, the output image corresponding to the to-be-processed image specifically includes:

所述图像处理模型通过其配置的通道权重系数,确定频率图像中的目标通道图像,其中,所述目标通道图像对应的权重系数满足预设条件;The image processing model determines a target channel image in the frequency image through its configured channel weight coefficient, wherein the weight coefficient corresponding to the target channel image satisfies a preset condition;

所述图像处理模型基于目标通道图像,确定所述待处理图像对应的输出图像。The image processing model determines the output image corresponding to the to-be-processed image based on the target channel image.

具体地,所述预设条件可以为预先确定,当所述目标通道对应的权重系数满足预设条件时,说明所述目标通道为所述图像处理模型关注的通道,当目标通道对应的权重系数不满足预设条件时,说明所述目标通道不是所述图像处理模型关注的通道。在本实施例的一个实现方式中,所述预设条件可以为目标通道的权重系数大于预设系数阈值,例如,预设系数阈值为0.5,频段图像包括通道0,通道1和通道2,通道0对应的权重系数为0.8,通道1对应的权重系数为0.6,通道2对应的权重系数为0.2,那么通道0和通道1为目标通道。本实施例通过选取目标通道,将未被选取的通道数据忽略,可以减少图像处理图像需要处理的数据量,从而减少图像处理模型所需的计算力,使得图像处理模型可以布置于移动终端上,同时,还可以提高图像处理模型的处理速度,提高图像处理的实时性。Specifically, the preset condition may be predetermined. When the weight coefficient corresponding to the target channel satisfies the preset condition, it indicates that the target channel is the channel concerned by the image processing model. When the weight coefficient corresponding to the target channel When the preset condition is not met, it is indicated that the target channel is not the channel concerned by the image processing model. In an implementation of this embodiment, the preset condition may be that the weight coefficient of the target channel is greater than the preset coefficient threshold, for example, the preset coefficient threshold is 0.5, and the frequency band image includes channel 0, channel 1 and channel 2, and the channel The weight coefficient corresponding to 0 is 0.8, the weight coefficient corresponding to channel 1 is 0.6, and the weight coefficient corresponding to channel 2 is 0.2, then channel 0 and channel 1 are target channels. In this embodiment, by selecting the target channel and ignoring the unselected channel data, the amount of data to be processed by the image processing image can be reduced, thereby reducing the computing power required by the image processing model, so that the image processing model can be arranged on the mobile terminal, At the same time, the processing speed of the image processing model can also be improved, and the real-time performance of the image processing can be improved.

在本实施例第一实现方式中,如图3所示,所述图像处理模型对频段图像的处理过程可以首先将频段图像进行池化处理以得第一特征图;其次,将第一特征图经过若干全连接处理以及激活处理,以得到频段图像各通道的概率,最后基于各通道概率以及频段图像确定输出图像,其中,在确定各通道概率时,未满足预设条件的通道对应的概率为0。基于此,所述图像处理模型对频段图像的处理过程可以表示为:In the first implementation manner of this embodiment, as shown in FIG. 3 , the image processing model may first perform pooling processing on the frequency band images to obtain the first feature map; After several full connection processing and activation processing, the probability of each channel of the frequency band image is obtained, and finally the output image is determined based on the probability of each channel and the frequency band image. When determining the probability of each channel, the probability corresponding to the channel that does not meet the preset conditions is 0. Based on this, the processing process of the image processing model to the frequency band image can be expressed as:

X=x*softmax(fc(pooling(x)))X=x*softmax(fc(pooling(x)))

其中,pooling()表示池化处理,fc()表示全连接处理,softmax表示激活处理。Among them, pooling() represents pooling processing, fc() represents full connection processing, and softmax represents activation processing.

综上所述,本实施例提供了一种图像处理方法、存储介质及终端设备,所述方法包括获取待处理图像,并将所述待处理图划分为若干图像块;分别对若干图像块进行频域变换,并基于各频域变换后的图像块确定所述待处理图像对应的频段图像;对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。本申请通过对各图像块进行频域变换得到待处理图像对应的频段图像,可以减少图像数据相关性,以此降低空间冗余,从而可以减少计算量,降低图像处理对终端设备的计算力的要求,扩大图像处理方法的应用范围。To sum up, this embodiment provides an image processing method, a storage medium, and a terminal device. The method includes acquiring an image to be processed, and dividing the to-be-processed image into several image blocks; frequency domain transformation, and determining the frequency band image corresponding to the to-be-processed image based on each frequency-domain transformed image block; and processing the frequency band image to obtain an output image corresponding to the to-be-processed image. The present application obtains the frequency band image corresponding to the image to be processed by performing frequency domain transformation on each image block, which can reduce the correlation of image data, thereby reducing spatial redundancy, thereby reducing the amount of calculation and reducing the computational power of image processing on the terminal device. requirements, to expand the scope of application of image processing methods.

基于上述图像处理方法,本实施例提供了一种图像处理装置,如图4所示,所述图像处理装置包括:Based on the above-mentioned image processing method, the present embodiment provides an image processing apparatus, as shown in FIG. 4 , the image processing apparatus includes:

获取模块100,用于获取待处理图像,根据所述待处理图像生成若干子频段图像,并将若干子频段图像重新排列以形成若干通道的频段图像;an acquisition module 100, configured to acquire an image to be processed, generate several sub-band images according to the to-be-processed image, and rearrange the several sub-band images to form several channel band images;

处理模块200,用于对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。The processing module 200 is configured to process the frequency band image to obtain an output image corresponding to the to-be-processed image.

此外,值得说明的是,本实施例提供的一种图像处理装置的工作过程与上述图像处理方法的工作过程相同,这里就不再赘述,具体可以参照上述图像处理方法的工作过程。In addition, it is worth noting that the working process of the image processing apparatus provided in this embodiment is the same as the working process of the above-mentioned image processing method, which will not be repeated here. For details, refer to the working process of the above-mentioned image processing method.

基于上述图像处理方法,本实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上述实施例所述的图像处理方法中的步骤。Based on the above image processing method, this embodiment provides a computer-readable storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors , so as to realize the steps in the image processing method described in the above embodiments.

基于上述图像处理方法,本申请还提供了一种终端设备,如图5所示,其包括至少一个处理器(processor)20;显示屏21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、显示屏21、存储器22和通信接口23可以通过总线24完成相互间的通信。显示屏21设置为显示初始设置模式中预设的用户引导界面。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。Based on the above image processing method, the present application also provides a terminal device, as shown in FIG. 5 , which includes at least one processor 20; a display screen 21; and a memory 22, which may also include a communication interface ( Communications Interface) 23 and bus 24. The processor 20 , the display screen 21 , the memory 22 and the communication interface 23 can communicate with each other through the bus 24 . The display screen 21 is set to display the user guide interface preset in the initial setting mode. The communication interface 23 can transmit information. The processor 20 may invoke logic instructions in the memory 22 to perform the methods in the above-described embodiments.

此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器20通过运行存储在存储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。As a computer-readable storage medium, the memory 22 may be configured to store software programs and computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, ie, implements the methods in the above embodiments.

存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Additionally, memory 22 may include high-speed random access memory, and may also include non-volatile memory. For example, U disk, removable hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes, or temporary state storage medium.

此外,上述存储介质以及终端设备中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。In addition, the specific process of loading and executing the above-mentioned storage medium and the multiple instruction processor in the terminal device has been described in detail in the above-mentioned method, and will not be described one by one here.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (14)

1.一种图像处理方法,其特征在于,所述方法包括:1. an image processing method, is characterized in that, described method comprises: 获取待处理图像,根据所述待处理图像生成若干子频段图像,并将若干子频段图像重新排列以形成若干通道的频段图像;acquiring images to be processed, generating several sub-band images according to the to-be-processed images, and rearranging the several sub-band images to form several channel band images; 对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。The frequency band image is processed to obtain an output image corresponding to the to-be-processed image. 2.根据权利要求1所述图像处理方法,其特征在于,所述待处理图像为未压缩图像,所述获取待处理图像,根据所述待处理图像生成若干子频段图像具体为:2 . The image processing method according to claim 1 , wherein the image to be processed is an uncompressed image, and the obtaining of the image to be processed and generating several sub-band images according to the image to be processed are specifically: 2 . 获取待处理图像,并将所述待处理图进行频域变换以得到若干子频段图像。Acquire an image to be processed, and perform frequency domain transformation on the to-be-processed image to obtain several sub-band images. 3.根据权利要求2所述图像处理方法,其特征在于,所述将所述待处理图进行频域变换以得到若干子频段图像具体包括:3. The image processing method according to claim 2, wherein the performing frequency domain transformation on the to-be-processed image to obtain several sub-band images specifically comprises: 将待处理图像划分为若干图像块,并将若干图像块中的各图像块进行频域变换,以得到各图像块各自对应的频域变换后的图像块;Divide the image to be processed into several image blocks, and perform frequency domain transformation on each image block in the several image blocks, so as to obtain image blocks after frequency domain transformation corresponding to each image block; 对于每个频域变换后的图像块,将该频域变换后的图像块中的各频率系数按通道方向排列以得到若干子频段图像。For each frequency-domain transformed image block, the frequency coefficients in the frequency-domain transformed image block are arranged in the channel direction to obtain several sub-band images. 4.根据权利要求3所述图像处理方法,其特征在于,所述若干图像块中的各图像块的图像尺寸相同,并且所述若干子频段图像的数量与所述图像块中的像素点的数量相等。4 . The image processing method according to claim 3 , wherein the image size of each image block in the several image blocks is the same, and the number of the several sub-band images is the same as the number of pixels in the image block. 5 . equal in quantity. 5.根据权利要求1-4任一所述图像处理方法,其特征在于,所述图像处理方法应用于图像处理模型,所述对所述频段图像进行处理,以得到所述待处理图像对应的输出图像具体为:5. The image processing method according to any one of claims 1-4, wherein the image processing method is applied to an image processing model, and the frequency band image is processed to obtain the corresponding image of the to-be-processed image. The output image is specifically: 所述图像处理模型基于所述频段图像,确定所述待处理图像对应的输出图像。The image processing model determines an output image corresponding to the to-be-processed image based on the frequency band image. 6.根据权利要求5所述图像处理方法,其特征在于,所述图像处理模型基于所述频段图像,确定所述待处理图像对应的输出图像之前,所述方法还包括:6 . The image processing method according to claim 5 , wherein, before the image processing model determines the output image corresponding to the to-be-processed image based on the frequency band image, the method further comprises: 7 . 获取所述图像处理模型对应的任务类型,并基于所述任务类型确定所述图像处理模型对应的输入项的各通道各自对应的通道权重;Acquiring the task type corresponding to the image processing model, and determining the channel weights corresponding to each channel of the input item corresponding to the image processing model based on the task type; 将所述通道权重配置于所述图像处理模型,并将配置后的图像处理模型作为图像处理模型。The channel weights are configured in the image processing model, and the configured image processing model is used as an image processing model. 7.根据权利要求6所述图像处理方法,其特征在于,所述图像处理模型对应的输入项的各通道各自对应的通道权重中存在部分通道的通道权重值为零。7 . The image processing method according to claim 6 , wherein, among the channel weights corresponding to each channel of the input item corresponding to the image processing model, the channel weight value of some channels is zero. 8 . 8.根据权利要求7所述图像处理方法,其特征在于,所述基于任务类型确定所述图像处理模型对应的输入项的各通道各自对应的通道权重具体为:8. The image processing method according to claim 7, wherein the channel weights corresponding to each channel of the input items corresponding to the image processing model determined based on the task type are specifically: 根据预先设置的任务类型与通道权重集的对应关系,确定所述任务类型对应的通道权重集,其中,所述通道权重集包括若干通道权重,若干通道权重与所述图像处理模型的输入项包括的各通道一一对应;Determine the channel weight set corresponding to the task type according to the preset correspondence between the task type and the channel weight set, wherein the channel weight set includes several channel weights, and the input items of the several channel weights and the image processing model include: One-to-one correspondence of each channel; 基于确定得到的通道权重集,确定所述图像处理模型对应的输入项的各通道各自对应的通道权重。Based on the determined channel weight set, the channel weight corresponding to each channel of the input item corresponding to the image processing model is determined. 9.根据权利要求8所述图像处理方法,其特征在于,在预先设置的任务类型与通道权重集的对应关系中,不同任务类型对应的通道权重集不相同。9 . The image processing method according to claim 8 , wherein in the preset correspondence between task types and channel weight sets, the channel weight sets corresponding to different task types are different. 10 . 10.根据权利要求8所述图像处理方法,其特征在于,所述通道权重集为根据任务类型设定的,或者,通过通道注意力机制确定的。10 . The image processing method according to claim 8 , wherein the channel weight set is set according to the task type, or determined by a channel attention mechanism. 11 . 11.根据权利要求8所述图像处理方法,其特征在于,所述图像处理模型基于所述频域图像,确定所述待处理图像对应的输出图像具体包括:11. The image processing method according to claim 8, wherein the image processing model, based on the frequency domain image, determines the output image corresponding to the to-be-processed image specifically comprising: 所述图像处理模型通过其配置的通道权重系数,确定频率图像中的目标通道图像,其中,所述目标通道图像对应的权重系数小于预设阈值;The image processing model determines a target channel image in the frequency image through its configured channel weight coefficient, wherein the weight coefficient corresponding to the target channel image is less than a preset threshold; 所述图像处理模型基于目标通道图像,确定所述待处理图像对应的输出图像。The image processing model determines the output image corresponding to the to-be-processed image based on the target channel image. 12.一种图像处理装置,其特征在于,所述图像处理装置包括:12. An image processing device, wherein the image processing device comprises: 获取模块,用于获取待处理图像,根据所述待处理图像生成若干子频段图像,并将若干子频段图像重新排列以形成若干通道的频段图像;an acquisition module, configured to acquire images to be processed, generate several sub-band images according to the to-be-processed images, and rearrange the several sub-band images to form several channel band images; 处理模块,用于对所述频段图像进行处理,以得到所述待处理图像对应的输出图像。A processing module, configured to process the frequency band image to obtain an output image corresponding to the to-be-processed image. 13.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1-11任意一项所述的图像处理方法中的步骤。13. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the claim The steps in the image processing method described in any one of requirements 1-11. 14.一种终端设备,其特征在于,包括:处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;14. A terminal device, comprising: a processor, a memory, and a communication bus; the memory stores a computer-readable program executable by the processor; 所述通信总线实现处理器和存储器之间的连接通信;The communication bus implements connection communication between the processor and the memory; 所述处理器执行所述计算机可读程序时实现如权利要求1-11任意一项所述的图像处理方法中的步骤。When the processor executes the computer-readable program, the steps in the image processing method according to any one of claims 1-11 are implemented.
CN202011552804.4A 2020-12-24 2020-12-24 Image processing method, storage medium and terminal equipment Pending CN114677267A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011552804.4A CN114677267A (en) 2020-12-24 2020-12-24 Image processing method, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011552804.4A CN114677267A (en) 2020-12-24 2020-12-24 Image processing method, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN114677267A true CN114677267A (en) 2022-06-28

Family

ID=82069883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011552804.4A Pending CN114677267A (en) 2020-12-24 2020-12-24 Image processing method, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN114677267A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069905A1 (en) * 2008-05-30 2011-03-24 Ge Healthcare Bio-Sciences Corp System and method for detecting and eliminating one or more defocused or low contrast-to-noise ratio images
CN107292275A (en) * 2017-06-28 2017-10-24 北京飞搜科技有限公司 Face characteristic recognition methods and system that a kind of frequency domain is divided
CN110148100A (en) * 2019-05-10 2019-08-20 腾讯科技(深圳)有限公司 A kind of image conversion method, device, storage medium and computer equipment
CN111369465A (en) * 2020-03-04 2020-07-03 沈阳先进医疗设备技术孵化中心有限公司 CT dynamic image enhancement method and device
CN111881920A (en) * 2020-07-16 2020-11-03 深圳力维智联技术有限公司 A network adaptation method for large-resolution images and a neural network training device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069905A1 (en) * 2008-05-30 2011-03-24 Ge Healthcare Bio-Sciences Corp System and method for detecting and eliminating one or more defocused or low contrast-to-noise ratio images
CN107292275A (en) * 2017-06-28 2017-10-24 北京飞搜科技有限公司 Face characteristic recognition methods and system that a kind of frequency domain is divided
CN110148100A (en) * 2019-05-10 2019-08-20 腾讯科技(深圳)有限公司 A kind of image conversion method, device, storage medium and computer equipment
CN111369465A (en) * 2020-03-04 2020-07-03 沈阳先进医疗设备技术孵化中心有限公司 CT dynamic image enhancement method and device
CN111881920A (en) * 2020-07-16 2020-11-03 深圳力维智联技术有限公司 A network adaptation method for large-resolution images and a neural network training device

Similar Documents

Publication Publication Date Title
CN108022212B (en) High-resolution picture generation method, generation device and storage medium
CN110263909B (en) Image recognition method and device
CN113034358B (en) Super-resolution image processing method and related device
JP5007228B2 (en) Image cleanup and precoding
CN110428382B (en) Efficient video enhancement method and device for mobile terminal and storage medium
CN112602088B (en) Methods, systems and computer-readable media for improving the quality of low-light images
WO2021169408A1 (en) Image processing method and apparatus, and electronic device and storage medium
CN111369450B (en) Method and device for removing mole marks
CN114881888B (en) Video moire removing method based on linear sparse attention transducer
WO2021163844A1 (en) Super resolution using convolutional neural network
US11403782B2 (en) Static channel filtering in frequency domain
DE102015001814A1 (en) Color compression using a selective color transformation
KR20100016272A (en) Image compression and decompression using the pixon method
WO2023010750A1 (en) Image color mapping method and apparatus, electronic device, and storage medium
CN107301662A (en) Compression restoration methods, device, equipment and the storage medium of depth image
JP2020042774A (en) Artificial intelligence inference computing device
CN114170082A (en) Video playing method, image processing method, model training method, device and electronic equipment
CN111106836A (en) Image reconstruction method and device
Xu et al. Image demoireing in raw and srgb domains
CN111226256A (en) System and method for image dynamic range adjustment
CN111951171A (en) HDR image generation method, device, readable storage medium and terminal device
CN113570612B (en) An image processing method, device and equipment
CN104463780A (en) Method and device for clipping picture on mobile terminal
CN114677267A (en) Image processing method, storage medium and terminal equipment
CN114648467B (en) Image defogging method and device, terminal equipment and computer readable storage medium

Legal Events

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