Picture rendering method and apparatus, terminal and corresponding storage medium
AssigneeKandao Technology Co., Ltd.
InventorsSijie DING, Fangqi GAO
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a panoramic image stitching method, including the steps of acquiring a partial panoramic image taken by each lens; acquiring a first equirectangular rectangular projection graph of each partial panoramic image; performing rotation transformation on the first equirectangular rectangular projection graph of each partial panoramic image to obtain a second equirectangular rectangular projection graph; and adjusting stitching positions of adjacent second equirectangular rectangular projection graphs, and performing stitching operation on the second equirectangular rectangular projection graphs according to the adjusted stitching positions.
Claims17
A picture rendering method, comprising:
- acquiring a target picture, and acquiring a picture disparity map of the target picture by using a stereo matching algorithm;
- determining a pixel depth in the target picture according to a pixel brightness in the picture disparity map;
- acquiring a target image in the target picture, and dividing the target picture into a primary rendering region and a plurality of secondary rendering regions based on the pixel depth of the target picture and a target image depth of the target picture;
- performing picture rendering on the primary rendering region and the plurality of secondary rendering regions according to difference values of pixel depths corresponding to the plurality of secondary rendering regions and the pixel depth corresponding to the primary rendering region;
- and
- synthesizing the picture-rendered primary rendering region and the plurality of picture-rendered secondary rendering regions to generate a rendered target picture.
A picture rendering apparatus, comprising:
- a picture disparity map acquisition module, used for acquiring a target picture, and acquiring a picture disparity map of the target picture by using a stereo matching algorithm;
- a pixel depth acquisition module, used for determining a pixel depth in the target picture according to a pixel brightness in the picture disparity map;
- a rendering region division module, used for acquiring a target image in the target picture, and dividing the target picture into a primary rendering region and a plurality of secondary rendering regions based on the pixel depth of the target picture and a target image depth of the target picture;
- a picture rendering module, used for performing picture rendering on the primary rendering region and the plurality of secondary rendering regions according to difference values of pixel depths corresponding to the plurality of secondary rendering regions and the pixel depth corresponding to the primary rendering region;
- and
- a picture synthesis module, used for synthesizing the picture-rendered primary rendering region and the plurality of picture-rendered secondary rendering regions to generate a rendered target picture.
A computer readable storage medium, storing instructions executable by a processor, wherein the processor executes the instructions to provide a picture rendering method comprising:
- acquiring a target picture, and acquiring a picture disparity map of the target picture by using a stereo matching algorithm;
- determining a pixel depth in the target picture according to a pixel brightness in the picture disparity map;
- acquiring a target image in the target picture, and dividing the target picture into a primary rendering region and a plurality of secondary rendering regions based on the pixel depth of the target picture and a target image depth of the target picture;
- performing picture rendering on the primary rendering region and the plurality of secondary rendering regions according to difference values of pixel depths corresponding to the plurality of secondary rendering regions and the pixel depth corresponding to the primary rendering region;
- and
- synthesizing the picture-rendered primary rendering region and the plurality of picture-rendered secondary rendering regions to generate a rendered target picture.
Dependencies are inferred from the claim text.