US 12,482,069 B2
Method for processing image, electronic device and storage medium
Zihao Liang, Beijing (CN); Jian Ouyang, Beijing (CN); Wei Qi, Beijing (CN); and Jing Wang, Beijing (CN)
Assigned to Kunlunxin Technology (Beijing) Company Limited, Beijing (CN)
Filed by Kunlunxin Technology (Beijing) Company Limited, Beijing (CN)
Filed on Aug. 16, 2022, as Appl. No. 17/888,824.
Claims priority of application No. 202111164668.6 (CN), filed on Sep. 30, 2021.
Prior Publication US 2023/0099656 A1, Mar. 30, 2023
Int. Cl. G06T 5/50 (2006.01)
CPC G06T 5/50 (2013.01) [G06T 2207/20221 (2013.01)] 16 Claims
OG exemplary drawing
 
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.