IMAGE PROCESSING METHOD AND APPARATUS, COMPUTER STORAGE MEDIUM, AND ELECTRONIC DEVICE

    公开(公告)号:EP4044122A1

    公开(公告)日:2022-08-17

    申请号:EP21822842.7

    申请日:2021-05-12

    发明人: LI, Qi HUANG, Qian

    IPC分类号: G06T15/50 G06T17/00

    摘要: Disclosed are an image processing method and apparatus, a computer storage medium, and an electronic device, which relate to the field of image processing. The method comprises: acquiring a diffuse map, and acquiring a shadow texel, located in a shadow area, in the diffuse map (S310); querying an average color lookup table according to spatial coordinate information of the shadow texel, and according to a query result, determining an average brightness difference corresponding to the shadow texel (S320); and determining restored color information according to the average brightness difference and color information corresponding to the shadow texel, and according to the restored color information, restoring the color information of the shadow texel (S330). By means of the method, a shadow in a diffuse map can be effectively removed, such that a model can be used in scenarios with any lighting conditions.