Method for processing image, electronic device and storage medium

US12482069B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12482069-B2
Application numberUS-202217888824-A
CountryUS
Kind codeB2
Filing dateAug 16, 2022
Priority dateSep 30, 2021
Publication dateNov 25, 2025
Grant dateNov 25, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for processing an image, an electronic device, and a storage medium are provided. The method includes: acquiring an input image, the input image including a plurality of channels, and each channel of the plurality of channels including a plurality of pixel points; performing pixel extractions in parallel using a plurality of dedicated processing units on each channel of the input image, to obtain pixel point data for each corresponding pixel point of each channel; and splicing the pixel point data for each corresponding pixel point of each channel to obtain an output image.

First claim

Opening claim text (preview).

The invention claimed is: 1 . A method for processing an image, the method comprising: acquiring an input image, the input image comprising a plurality of channels, and each channel of the plurality of channels comprising a plurality of pixel points, wherein the plurality of channels comprises a first channel comprising a plurality of rows of pixel points; performing pixel extractions in parallel using a plurality of dedicated processing units on each channel of the input image, to obtain pixel point data for each corresponding pixel point of each channel; and splicing the pixel point data for each corresponding pixel point of each channel to obtain an output image, wherein splicing the pixel point data for each corresponding pixel point of each channel comprises: generating a given matrix comprising a plurality of rows and columns, wherein the generating the given matrix comprises: generating a single row of pixel points in the given matrix, by arranging pixel points of a second row of the first channel immediately following pixel points of a first row of the first channel, wherein pieces of the pixel point data for the plurality of channels are arranged in respective rows or columns of the given matrix, and the single row of the given matrix comprises data of all pixel points of the first row and the second row of the first channel of the input image. 2 . The method according to claim 1 , wherein performing the pixel extractions in parallel comprises: adding paddings to an edge of at least one side of the plurality of channels of the input image to obtain a plurality of padded channels; and performing the pixel extractions in parallel using the plurality of dedicated processing units on each of the plurality of padded channels, to obtain the pixel point data for each corresponding pixel point of each padded channel. 3 . The method according to claim 2 , further comprising: determining a number of paddings to be added based on a size of the input image and a width of a convolution kernel for performing the pixel extraction. 4 . The method according to claim 1 , wherein performing the pixel extractions in parallel comprises: determining, based on a number of channels comprised in the input image, a number of dedicated processing units for performing the pixel extractions in parallel. 5 . The method according to claim 1 , wherein performing the pixel extractions in parallel comprises: determining a pixel to be extracted during the pixel extraction by each dedicated processing unit of the plurality of dedicated processing units based on at least one of: a horizontal stride of a convolution kernel for performing the pixel extraction; and a vertical stride of the convolution kernel for performing the pixel extraction. 6 . The method according to claim 1 , wherein the plurality of channels comprises a second channel comprising a plurality of rows, a second row of the plurality of rows of the given matrix comprises data of all pixel points of the plurality of rows of the second channel, and the method further comprises: multiplying each row of the given matrix with a corresponding block of a convolution kernel comprising a plurality of rows. 7 . An electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, cause the at least one processor to perform operations comprising: acquiring an input image, the input image comprising a plurality of channels, and each channel of the plurality of channels comprising a plurality of pixel points, wherein the plurality of channels comprises a first channel comprising a plurality of rows of pixel points; performing pixel extractions in parallel using a plurality of dedicated processing units on each channel of the input image, to obtain pixel point data for each corresponding pixel point of each channel; and splicing the pixel point data for each corresponding pixel point of each channel to obtain an output image, wherein splicing the pixel point data for each corresponding pixel point of each channel comprises: generating a given matrix comprising a plurality of rows and columns, wherein the generating the given matrix comprises: generating a single row of pixel points in the given matrix, by arranging pixel points of a second row of the first channel immediately following pixel points of a first row of the first channel, wherein pieces of the pixel point data for the plurality of channels are arranged in respective rows or columns of the given matrix, and the single row of the given matrix comprises data of all pixel points of the first row and the second row of the first channel of the input image. 8 . The electronic device according to claim 7 , wherein performing the pixel extractions in parallel comprises: adding paddings to an edge of at least one side of the plurality of channels of the input image to obtain a plurality of padded channels; and performing the pixel extractions in parallel using the plurality of dedicated processing units on each of the plurality of padded channels, to obtain the pixel point data for each corresponding pixel point of each padded channel. 9 . The electronic device according to claim 8 , wherein the operations further comprise: determining a number of paddings to be added based on a size of the input image and a width of a convolution kernel for performing the pixel extraction. 10 . The electronic device according to claim 7 , wherein performing the pixel extractions in parallel comprises: determining, based on a number of channels comprised in the input image, a number of dedicated processing units for performing the pixel extractions in parallel. 11 . The electronic device according to claim 7 , wherein performing the pixel extractions in parallel comprises: determining a pixel to be extracted during the pixel extraction by each dedicated processing unit of the plurality of dedicated processing units based on at least one of: a horizontal stride of a convolution kernel for performing the pixel extraction; and a vertical stride of the convolution kernel for performing the pixel extraction. 12 . A non-transitory computer readable storage medium storing computer instructions, wherein the computer instructions when executed by a computer cause the computer to perform operations comprising: acquiring an input image, the input image comprising a plurality of channels, and each channel of the plurality of channels comprising a plurality of pixel points, wherein the plurality of channels comprises a first channel comprising a plurality of rows of pixel points; performing pixel extractions in parallel using a plurality of dedicated processing units on each channel of the input image, to obtain pixel point data for each corresponding pixel point of each channel; and splicing the pixel point data for each corresponding pixel point of each channel to obtain an output image, wherein splicing the pixel point data for each corresponding pixel point of each channel comprises: generating a given matrix comprising a plurality of rows and columns, wherein the generating the given matrix comprises: generating a single row of pixel points in the given matrix, by arranging pixel points of a second row of the first channel immediately following pixel points of a first row of the first channel, wherein pieces of the pixel point data for the plurality of channels are arranged in respective rows or columns of the given matrix, and the single row of the given ma

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12482069B2 cover?
A method for processing an image, an electronic device, and a storage medium are provided. The method includes: acquiring an input image, the input image including a plurality of channels, and each channel of the plurality of channels including a plurality of pixel points; performing pixel extractions in parallel using a plurality of dedicated processing units on each channel of the input image…
Who is the assignee on this patent?
Kunlunxin Tech Beijing Company Limited
What technology area does this patent fall under?
Primary CPC classification G06T5/50. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 25 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).