-
公开(公告)号:US20210020139A1
公开(公告)日:2021-01-21
申请号:US17033223
申请日:2020-09-25
Applicant: Huawei Technologies Co., Ltd.
Inventor: Simon EKSTRAND , Sha QIAN , Johan LARSBY , Haitao DAI , Fredrik ANDREASSON , Jonas Hans Andreas FREDRIKSSON , Tim JEPPSSON , Guolang LI , Rubin CAI , Xueyan HUANG
Abstract: A picture obtaining method and apparatus and a picture processing method and apparatus are provided. The method includes: obtaining a grayscale image corresponding to a first picture and a first image, where a size of the first picture is equal to a size of the first image, the first image includes N parallel lines, a spacing between two adjacent lines does not exceed a spacing threshold, and N is an integer greater than 1; translating a pixel included in each line in the first image based on the grayscale image, to obtain a second image, where the second image includes a contour of an image in the first picture; and set a pixel value of each pixel included in each line in the second image, to obtain a second picture.