The embodiment of the invention provides an
image processing method and device, a storage medium and a program product. According to the embodiment of the invention, the method comprises the steps: obtaining a target image with an initial
pose, converting the target image into
point cloud data according to the depth information of the target image, and carrying out the
plane segmentation based on a normal vector of the
point cloud data, so as to recognize at least one target plane; if the number of the target planes reaches or exceeds a set number threshold value, extracting at least one group of plane combinations formed by three mutually vertical target planes from the planes, and determining a correction
pose of the target image through a normal vector matrix of the combinations; if the number of the target planes is insufficient, extracting a
reference plane from the
point cloud data, and determining a correction
pose according to a normal vector; and finally, performing vertical correction on the target image according to the correction pose, thereby improving the accuracy and robustness of target
image correction, simplifying the operation process, reducing manual intervention, and improving the three-dimensional reconstruction quality or the VR display effect.