The invention provides an image rendering method and device, equipment and a medium, and relates to the technical field of
image processing. According to the method,
pattern recognition is carried out on an initial image to judge whether a non-standard pattern exists or not, when it is determined that no non-standard pattern exists, sub-pixel phases of all colors are accurately determined according to the sub-pixel arrangement type of a target display screen, then sub-pixel interpolation calculation is carried out, and a processed image is obtained and output. The problem that in the prior art, a sub-pixel rendering
algorithm is poor in adaptability is effectively solved, the
algorithm does not need to be independently designed for different sub-pixel arrangement types, the development process is simplified, and the difficulty of follow-up
algorithm maintenance is reduced; besides, the sub-pixel phase is accurately determined according to the target screen sub-pixel arrangement type, the problems of image blurring,
distortion and the like caused by inaccurate phase determination in a conventional image rendering scene are avoided, the consistency and stability of the display effect are ensured, and the
visual experience of a user is improved.