The invention relates to a picture
processing method and
system,
electronic equipment and a medium. The method comprises the following steps: acquiring depth information of each pixel in a picture; setting a
convolution kernel of the picture; multiplying the depth information by a
convolution kernel to perform
convolution operation; and judging an operation result, if the operation result does not meet a preset requirement, returning to adjust the convolution kernel, and repeating the operation. According to the method, different depths of field in the picture can be well distinguished, so that a detail fuzzy result similar to
MIPMAP and LOD is realized, close picture details are reserved, meanwhile, the distant
depth of field is subjected to fuzzy
processing, the purpose of eliminating picture
flicker is achieved, the picture can be directly processed on line, and the picture
flicker rate is improved. And manual drawing of various hierarchical textures and models is not needed. In addition, by controlling and adjusting the convolution kernel parameters, adjustment of
sharpening, blurring, contrast and other effects can be quickly realized, and the effect control is flexible.