Depth image processing method and apparatus, electronic device, and readable storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorJian Kang
Life of this patent
Estimating the term…
Abstract
Provided are a depth image processing method, a depth image processing apparatus, an electronic device and a readable storage medium. The method includes: (101) obtaining consecutive n depth image frames; (102) determining a trusted pixel and determining a smoothing factor corresponding to the trusted pixel; (103) determining a time similarity weight; (104) determining a content similarity; (105) determining a content similarity weight based on the content similarity and the smoothing factor; and (106) performing filtering processing on a depth value of the trusted pixel based on all time similarity weights and all content similarity weights.
Claims20
A depth image processing method, comprising:
- obtaining consecutive n depth image frames containing a target depth image frame, wherein n is a natural number greater than 1;
- determining a trusted pixel in the target depth image frame in accordance with a preset strategy, and determining a smoothing factor corresponding to the trusted pixel;
- determining a time similarity weight of the target depth image frame with respect to each of other depth image frames other than the target image frame in the n depth image frames;
- determining a content similarity between the trusted pixel and a corresponding pixel in each of the other depth image frames in the n depth image frames;
- determining, based on the content similarity and the smoothing factor, a content similarity weight of the trusted pixel with respect to the corresponding pixel in each of the other depth image frames in the n depth image frames;
- and
- performing filtering processing on a depth value of the trusted pixel based on the determined time similarity weights and the determined content similarity weights.
An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements a depth image processing method comprising:
- obtaining consecutive n depth image frames containing a target depth image frame, wherein n is a natural number greater than 1;
- determining a trusted pixel in the target depth image frame in accordance with a preset strategy, and determining a smoothing factor corresponding to the trusted pixel;
- determining a time similarity weight of the target depth image frame with respect to each of other depth image frames other than the target image frame in the n depth image frames;
- determining a content similarity between the trusted pixel and a corresponding pixel in each of the other depth image frames in the n depth image frames;
- determining, based on the content similarity and the smoothing factor, a content similarity weight of the trusted pixel with respect to the corresponding pixel in each of the other depth image frames in the n depth image frames;
- and
- performing filtering processing on a depth value of the trusted pixel based on the determined time similarity weights and the determined content similarity weights.
A non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements a depth image processing method comprising:
- obtaining consecutive n depth image frames containing a target depth image frame, wherein n is a natural number greater than 1;
- determining a trusted pixel in the target depth image frame in accordance with a preset strategy, and determining a smoothing factor corresponding to the trusted pixel;
- determining a time similarity weight of the target depth image frame with respect to each of other depth image frames other than the target image frame in the n depth image frames;
- determining a content similarity between the trusted pixel and a corresponding pixel in each of the other depth image frames in the n depth image frames;
- determining, based on the content similarity and the smoothing factor, a content similarity weight of the trusted pixel with respect to the corresponding pixel in each of the other depth image frames in the n depth image frames;
- and
- performing filtering processing on a depth value of the trusted pixel based on the determined time similarity weights and the determined content similarity weights.
Dependencies are inferred from the claim text.