CPC G06F 3/1446 (2013.01) [G06T 7/11 (2017.01); H04N 19/44 (2014.11); G06T 2207/20021 (2013.01)] | 16 Claims |
1. An image processing method of a stitching display system, the stitching display system including a control device and Q displays, and Q being a positive integer greater than or equal to 2; and the image processing method comprising:
obtaining, by the control device, at least one frame of initial image;
splitting, by the control device, each initial image into Q first sub-images according to a resolution of each initial image and an arrangement of the Q displays;
outputting, by the control device, the Q first sub-images obtained by splitting each initial image to the Q displays; and
displaying, by each display, a first sub-image obtained by the each display according to a physical resolution of the each display;
wherein the displaying, by each display, the first sub-image obtained by the each display according to the physical resolution of the each display includes:
directly displaying, by any of the Q displays, a first sub-image obtained by the any of the Q displays in a case where a resolution of the obtained first sub-image is same as a physical resolution of the any of the Q displays; or
performing, by the any of the Q displays, resolution conversion on the obtained first sub-image according to the physical resolution of the any of the Q displays to obtain a second sub-image in a case where the resolution of the obtained first sub-image is different from the physical resolution of the any of the displays, wherein a resolution of the second sub-image is same as the physical resolution of the any of the Q displays; and
displaying, by the any of the Q displays, the second sub-image;
wherein the resolution of the obtained first sub-image is M× N, and the physical resolution of the any of the Q displays is M0×N0; and
the performing, by the any of the Q displays, the resolution conversion on the obtained first sub-image according to the physical resolution of the any of the Q displays includes:
if M is greater than or equal to M0 (M≥M0) and N is greater than or equal to N0 (N≥N0), calculating R1 and R2, and rounding R1 and R2 to obtain R1′ and R2′; and R1 being equal to
and R2 being equal to
dividing pixels in the obtained first sub-image based on R1′ and R2′, so as to obtain M0×N0 pixel groups;
obtaining M0×N0 pieces of second pixel data according to the M0×N0 pixel groups of first pixel data, so as to obtain the second sub-image;
wherein, one pixel group of first pixel data corresponds to one piece of second pixel data; and at least one of the pixel groups includes R1′×R2′ adjacent pixels.
|