Image anti-aliasing method and apparatus, device, medium, and program product
AssigneeTencent Technology (Shenzhen) Company Limited
InventorYuning YANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorYuning YANG
Estimating the term…
A method, apparatus, and a non-transitory computer-readable medium storing program code for anti-aliasing images may be provided. The method may include obtaining a first edge pixel of an image in a high-dynamic range (HDR) space and determining a first scaling factor based on a local brightness environment of the first edge pixel. The method may also include determining a color ratio corresponding with the first edge pixel and scaling the color ratio to obtain a first color ratio. Then the first color value is obtained based on a color value of the first edge pixel, a color value of a target pixel, and the first color ratio, wherein the target pixel has a large color value difference from the first edge pixel among a plurality of surrounding pixels of the first edge pixel; and updating the first color value to the color value of the first edge pixel.
A method for image anti-aliasing, performed by at least one processor, the method comprising:
An apparatus for image anti-aliasing, the apparatus comprising:
A non-transitory computer-readable medium storing program code which, when executed by one or more processors of a device for image anti-aliasing, cause the one or more processors to at least:
Dependencies are inferred from the claim text.