CPC G06T 3/4038 (2013.01) [G06T 7/11 (2017.01); G06V 40/18 (2022.01); G06T 2207/20021 (2013.01)] | 19 Claims |
1. An image processing method, applied to an image processing device and comprising:
determining a first region in an original image;
performing first processing on the first region in the original image to obtain a first processed region;
performing second processing on the original image to obtain a second processed region;
generating a first image based on the first processed region and the second processed region;
outputting the first image to a display device;
wherein a resolution of the first processed region is greater than a resolution of the second processed region;
wherein the image processing method further comprises:
determining a plurality of boundary pixels in the original image based on a position of the first region in the original image, wherein the first region is a region defined by the plurality of boundary pixels in the original image, performing mapping processing on coordinate values of the plurality of boundary pixels to convert the coordinate values of the plurality of boundary pixels into a value interval corresponding to grayscale values of pixels in the first image to obtain a plurality of labeled pixel data; or
determining at least one labeled pixel in the original image based on a position of the first region in the original image; performing mapping processing on a coordinate value of the at least one labeled pixel and size information of the first region to convert the coordinate value of the at least one labeled pixel and the size information of the first region into a value interval corresponding to grayscale values of pixels in the first image to obtain a plurality of labeled pixel data;
wherein the plurality of labeled pixel data is used to represent the position of the first region in the original image and is not used for display, and the first image comprises at least one pixel whose grayscale value is the plurality of labeled pixel data.
|