Panoramic image mapping method

10798301 ยท 2020-10-06

Assignee

Inventors

Cpc classification

International classification

Abstract

Disclosed is a panoramic image mapping method and a corresponding reversely mapping method. Particularly, the mapping process includes mapping a panoramic image or a spherical surface corresponding to Video A: first, dividing the spherical surface into three areas based on the latitudes of the spherical surface, denoted as Area I, Area II, and Area III, respectively; mapping the three areas to a square plane I, a rectangular plane II, and a square plane III, respectively; then, splicing the planes I, II and III into a plane, wherein the resulting plane is the two-dimensional image or video B. Compared with the equirectangular mapping method, the method according to the present disclosure may effectively ameliorate oversampling in high-latitude areas and effectively lower the bit rate needed by coding and the complexity of decoding. The present disclosure relates to the field of virtual reality, which may be applied to panoramic images and videos.

Claims

1. A panoramic image mapping method to map a spherical surface corresponding to panoramic image or video A into a two-dimensional plane image or video B, mapping formats of the panoramic image or video A include, multi-channel camera acquired panoramic image or video, so as to ameliorate the oversampling of the panoramic image or video in high-latitude areas and reduce the bit rate required for coding the panoramic image and video; comprising: first, dividing the spherical surface into three areas based on the latitudes of the spherical surface, denoted as Area I, Area II, and Area III, respectively; mapping the three areas to a square plane I, a rectangular plane II, and a square plane III, respectively; then, splicing the planes I, II and III into a plane, wherein the resulting plane is the two-dimensional image or video B; wherein Area I corresponds to the area with a latitude of 90Z.sub.1 on the spherical surface, Area II corresponds to the area with a latitude of Z.sub.1Z.sub.2 on the spherical surface, and Area III corresponds to the area with a latitude of Z.sub.290 on the spherical surface; the values of the parameters Z.sub.1, Z.sub.2 are autonomously set and satisfy the condition: 90Z.sub.1Z.sub.290; the square plane I has a resolution of W.sub.IW.sub.I, the rectangular plane II has a resolution of W.sub.IIH.sub.II, and the square plane III has a resolution of W.sub.IIIW.sub.III; the values of the parameters W.sub.Icustom character W.sub.IIcustom character H.sub.IIcustom character W.sub.III are autonomously set; the mapping method comprises steps of: 1) for each pixel point in the square plane I, computing its corresponding spherical coordinates (longitudes and latitudes) based on its coordinates (X, Y) in the plane I; then, taking the pixel value at a corresponding position on the spherical surface (or obtaining a corresponding pixel value of a surrounding pixel by interpolation) as the pixel value of the pixel point (X, Y) in the plane I, wherein the computing the corresponding spherical coordinates Coordinate based on the coordinates (X, Y) of the pixel point in the plane I comprises steps of: 1.1) computing the vertical distance and the horizontal distance from the point to the square plane I, and taking the larger one, denoted as m; 1.2) the square plane I may comprise a plurality of concentric squares; in this step, the distance from the point to the 0.sup.th point on the concentric square where the point is located, denoted as n; wherein the position of the n.sup.th point may be randomly selected; computing the distance from the pixel point to the n.sup.th point on the concentric square where the pixel point is located in the clockwise or counterclockwise manner; 1.3) computing the latitude and the longitude corresponding to the point with coordinates (X, Y) in the square plane I based on n and m, obtaining the corresponding coordinates Coordinate on the spherical surface; 2) for each pixel point in the rectangular plane II, computing its corresponding spherical coordinates, including longitudes and latitudes based on its coordinates (X, Y) in the plane II; then, taking the pixel value at a corresponding position on the spherical surface, or obtaining a corresponding pixel value of a surrounding pixel by interpolation, as the pixel value of the pixel point (X, Y) in the plane II; 3) for each pixel point in the square plane III, computing its corresponding spherical coordinates, including longitudes and latitudes,) based on its coordinates (X, Y) in the plane III; then, taking the pixel value at a corresponding position on the spherical surface (or obtaining a corresponding pixel value of a surrounding pixel by interpolation) as the pixel value of the pixel point (X, Y) in the plane I, wherein the computing the corresponding spherical coordinates Coordinate based on the coordinates (X, Y) of the pixel point in the plane III comprises steps of: 3.1) computing the vertical distance and the horizontal distance from the point to the square plane III, and taking the larger one, denoted as m; 3.2) the square plane III may comprise a plurality of concentric squares; the distance from the point to the 0.sup.th point on the concentric square where the point is located, denoted as n; wherein the position of the n.sup.th point may be randomly selected; 3.3) computing the latitude and the longitude corresponding to the point with coordinates (X, Y) in the square plane III based on n and m; 4) splicing the planes I, II, and III into a plane based on the value of W.sub.Icustom character W.sub.IIcustom character H.sub.11custom character W.sub.III.

2. The mapping method according to claim 1, wherein step 1.1). Equation 1 is used for the computing to obtain:
m=max(abs(W.sub.I2X0.5),abs(W.sub.I2Y0.5))(Equation 1) m is the larger one of the vertical distance and the horizontal distance from the point to the square plane I; Equation 2 is used for the computing in step 1.2): n = { X + 0.5 - m 2 ( Y X and X + Y < W III ) 2 m + Y + 0.5 - m 2 ( Y < X and X + Y W III ) 4 m + W III - ( X + 0.5 ) - m 2 ( Y X and X + Y > W III ) 6 m + W III - ( Y + 0.5 ) - m 2 ( Y > X and X + Y W III ) ( equation 2 ) where m2=(W.sub.I1)2m; n denotes the distance from the pixel point to the nth zero on the concentric square where the pixel point is located; In step 1.3), Equations 3 and 4 are used for the computing:
latitude=(Z.sub.1+90)m(W.sub.I2)90(Equation 3)
longitude=n(8m)360180(Equation 4) where latitude refers to the latitude corresponding to the point with the coordinates (X, Y) in the square plane I; and longitude denotes the corresponding longitude.

3. The mapping method according to claim 1, wherein the equations in step 2) of computing the corresponding spherical surface Coordinate based on the coordinates (X, Y) in the plane II is:
latitude=Z.sub.2(Z.sub.2Z.sub.1)(Y+0.5)H.sub.II(Equation 5)
longitude=360(X+0.5)W.sub.II180+offset(Equation 6) where offset denotes the longitude corresponding to the center of the rectangular plane II, which may be autonomously set.

4. The mapping method according to claim 1, wherein step 3.1). Equation 7 is used for the computing to obtain:
m=max(abs(W.sub.III2X0.5),abs(W.sub.III2Y0.5))(Equation 7) m is the larger one of the vertical distance and the horizontal distance from the point to the square plane III; Equation 8 is used for the computing in step 3.2): n = { Y + 0.5 - m 2 ( Y X and X + Y < W III ) 2 m + X + 0.5 - m 2 ( Y > X and X + Y W III ) 4 m + W III - ( Y + 0.5 ) - m 2 ( Y X and X + Y > W III ) 6 m + W III - ( X + 0.5 ) - m 2 ( Y < X and X + Y W III ) ( equation 8 ) where m2=(W.sub.III1)2m; n denotes the distance from the pixel point to the nth zero on the concentric square where the pixel point is located; In step 3.3), Equations 9 and 10 are used for the computing:
latitude=90(90Z.sub.2)m(W.sub.III2)(Equation 9)
longitude=n(8m)360180(Equation 10) where latitude refers to the latitude corresponding to the point with the coordinates (X, Y) in the square plane III; and longitude denotes the corresponding longitude.

5. The mapping method according to claim 1, wherein the step 4) of splicing the planes I, II, III into a plane based on the value of parameter W.sub.Icustom character W.sub.IIcustom character H.sub.IIcustom character W.sub.III specifically comprises: when W.sub.I=0.25W.sub.II=H.sub.II=W.sub.III, first splitting the rectangular plane II into four small planes with a resolution of H.sub.IIH.sub.II, denoted as: II.sub.1, II.sub.2, II.sub.3, and II.sub.4; then, splicing the six planes according to the order of plane II.sub.1, plane II.sub.2, plane II.sub.3, plane III, plane II.sub.4, and plane I; during the splicing process, the plane III rotates clockwise by 90, and the plane II.sub.4 rotates counterclockwise by 90, thereby obtaining a plane with a resolution of 6W.sub.IW.sub.I.

6. A panoramic image reversely mapping method, which maps a two-dimensional plane image or video B back to a spherical surface to obtain a panoramic image or video A; mapping formats of the panoramic image or video A include, multi-channel camera acquired panoramic image or video, so as to ameliorate the oversampling of the panoramic image or video in high-latitude areas and reduce the bit rate required for coding the panoramic image and video; wherein the two-dimensional plane image or video B is spliced by three planes, which are denoted as plane I, plane II, and plane III, respectively, wherein the plane I is a square plane with a resolution of W.sub.IW.sub.I, the plane II is a rectangular plane with a resolution of W.sub.IIH.sub.II, and the plane III is a square plane with a resolution of W.sub.IIIW.sub.III; the panoramic video reversely mapping method refers to mapping a plane I back to Area I on the spherical surface with a latitude of 90 Z.sub.1, mapping the plane II back to Area II on the spherical surface with a latitude of Z.sub.1Z.sub.2, and mapping the plane III back to Area III on the spherical surface with a latitude of Z.sub.290, wherein the values of parameters Z.sub.1custom character Z.sub.2custom character W.sub.Icustom character W.sub.IIcustom character H.sub.IIcustom character W.sub.III are obtained from a bit stream, but not limited thereto; the reversely mapping method includes steps of: 1) splitting the two-dimensional image B into plane I, plane II, and plane III; 2) for each pixel point in the area on the spherical surface with a latitude of 90 Z.sub.1, computing its corresponding coordinates (X, Y) in the plane I based on the spherical coordinates Coordinate, i.e., longitudes and latitudes, and taking the pixel value at (X, Y) in the plane I, or interpolating a surrounding pixel, as the value of the pixel point on the spherical surface at the coordinates Coordinate; 3) for each pixel point in the area on the spherical surface with a latitude of Z.sub.1Z.sub.2, computing its corresponding coordinates (X, Y) in the plane II based on the spherical coordinates Coordinate, and taking the pixel value at (X, Y) in the plane II, or interpolating a surrounding pixel, as the value of the pixel point on the spherical surface at the coordinates Coordinate; 4) for each pixel point in the area on the spherical surface with a latitude of Z.sub.290, computing its corresponding coordinates (X, Y) in the plane III based on the spherical coordinates Coordinate, and taking the pixel value at (X, Y) in the plane III, or interpolating a surrounding pixel, as the value of the pixel point on the spherical surface at the coordinates Coordinate; thereby implementing mapping the two-dimensional plane image or video B back to the spherical surface to obtain the panorama image or video A.

7. The reversely mapping method according to claim 6, wherein in step 1), in the case of the parameter W.sub.I=0.25W.sub.II=H.sub.II=W.sub.III, and when the two-dimensional plane image B spliced by the plane I, the plane II, and the plane III has a resolution of 6W.sub.IW.sub.I, the two-dimensional plane image B is split into 6 W.sub.IW.sub.I planes, denoted as plane 1, plane 2, plane 3, plane 4, plane 5, and plane 4; rotating the plane 4 counterclockwise by 90 to obtain the plane III; the plane 6 is the plane I; the remained 4 planes are spliced in the order of plane 1, plane 2, plane 3, and plane 5 in to a plane with a resolution of 4W.sub.IW.sub.I (wherein the plane 5 is rotated clockwise by 90) to obtain the plane II.

8. The reversely mapping method according to claim 6, wherein the step 2) of computing, for each pixel point in the area with a latitude of 90 Z.sub.1 on the spherical surface, its corresponding coordinates (X, Y) in the plane I based on the spherical coordinates Coordinate of the pixel point includes: 2.1) computing, based on the latitude, the distance m from the point in the plane I corresponding to the point on the spherical surface to the center of the plane I; 2.2) computing, based on the longitude, the distance n from the point in the plane I corresponding to the point on the spherical surface to the nth point in the concentric square where the corresponding point is located; 2.3) computing, based on the values of m and n, the coordinates (X, Y) of the point in the plane I corresponding to the point on the spherical surface.

9. The reversely mapping method according to claim 8, wherein equation 11 is used in step 2.1) of computing, based on the latitude latitude, the distance m from the point in the plane I corresponding to the point on the spherical surface to the center of the plane I;
m=(W.sub.I2)(latitude+90)(Z.sub.1+90)(Equation 11) where latitude denotes the latitude of the point on the spherical surface; Equation 12 is used in step 2.2) of computing, based on the longitude, the distance n from the point in the plane I corresponding to the point on the spherical surface to the nth point in the concentric square where the corresponding point is located:
n=8m(longitude+180)360(Equation 12) where longitude denotes the latitude of the point on the spherical surface; Equation 13 is used in step 2.3) of computing, based on the values of m and n, the coordinates (X, Y) of the point in the plane I corresponding to the point on the spherical surface: ( Equation 13 ) { X = n + m 2 - 0.5 ; Y = W I 2 - m - 0.5 ( n < 2 m ) X = W I 2 + m - 0.5 ; Y = n + m 2 - 2 m - 0.5 ( 2 m n < 4 m ) X = 4 m - n - m 2 + W I - 0.5 ; Y = W I 2 + m - 0.5 ( 4 m n < 6 m ) X = W I 2 - m - 0.5 ; Y = 6 m - n - m 2 + W I - 0.5 ( 6 m n 8 m ) where m2=(W.sub.I1)2m.

10. The reversely mapping method according to claim 6, wherein equations 14 and 15 are adopted in the step 3) of computing, for each pixel point in the area with a latitude of Z.sub.1Z.sub.2 on the spherical surface, its corresponding coordinates (X, Y) in the plane II based on the spherical coordinates Coordinate of the pixel point:
Y=(Z.sub.2latitude)H.sub.II(Z.sub.2Z.sub.1)0.5(Equation 14)
X=(longitude+180offset)360W.sub.II0.5(Equation 15) Where latitude and longitude denote the latitude and longitude of the point on the spherical surface, respectively; and offset denotes the longitude corresponding to the center of the rectangular plane II.

11. The reversely mapping method according to claim 6, wherein the step 4) of for each pixel point in the area on the spherical surface with a latitude of Z.sub.290, computing its corresponding coordinates (X, Y) in the plane III based on the spherical coordinates Coordinate, and taking the pixel value at (X, Y) in the plane III, or interpolating a surrounding pixel, as the value of the pixel point on the spherical surface at the coordinates Coordinate, comprises steps of: 4.1) computing, based on the latitude, the distance m from the point in the plane III corresponding to the point on the spherical surface to the center of the plane III; 4.2) computing, based on the longitude, the distance n from the point in the plane III corresponding to the point on the spherical surface to the nth point in the concentric square where the corresponding point is located; 4.3) computing, based on the values of m and n, the coordinates (X, Y) of the point in the plane III corresponding to the point on the spherical surface.

12. The reversely mapping method according to claim 11, wherein equation 16 is used in step 4.1) of computing, based on the latitude, the distance m from the point in the plane III corresponding to the point on the spherical surface to the center of the plane III;
m=(W.sub.III2)(90latitude)(90Z.sub.2)(Equation 16) where latitude denotes the latitude of the point on the spherical surface; Equation 17 is used in step 4.2) of computing, based on the longitude, the distance n from the point in the plane III corresponding to the point on the spherical surface to the n.sup.th point in the concentric square where the corresponding point is located:
n=8m(longitude+180)360(Equation 17) where longitude denotes the latitude of the point on the spherical surface; Equation 18 is used in step 4.3) of computing, based on the values of m and n, the coordinates (X, Y) of the point in the plane III corresponding to the point on the spherical surface: m 2 = ( W III - 1 ) 2 - m { Y = n + m 2 - 0.5 ; X = W III 2 - m - 0.5 ( n < 2 m ) Y = W III 2 + m - 0.5 ; X = n + m 2 - 2 m - 0.5 ( 2 m n < 4 m ) Y = 4 m - n - m 2 + W III - 0.5 ; X = W III 2 + m - 0.5 ( 4 m n < 6 m ) Y = W III 2 - m - 0.5 ; X = 6 m - n - m 2 + W III - 0.5 ( 6 m n 8 m ) ( Equation 18 ) where m2=(W.sub.III1)2m.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a schematic diagram of a mapping process in the panoramic image mapping method provided according to an embodiment of the present disclosure;

(2) where (a) is the spherical panoramic image before mapping; (b) is a schematic diagram of the square plane I, the rectangular plane II, and the square plane III obtained after mapping according to the panoramic image mapping method of the present disclosure; (c) is the plane image obtained after splicing the mapped planes; and

(3) FIG. 2 is an effective diagram of mapping a panoramic image into a plane image according to the embodiments of the present disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS

(4) Hereinafter, the present disclosure is further described through the embodiments, but the scope of the present disclosure is not limited in any manner.

(5) Embodiments of the present disclosure provide a novel panoramic image mapping method and a corresponding reversely mapping method, wherein the panoramic image mapping method according to the present disclosure may map a spherical surface onto a two-dimensional plane, thereby ameliorating oversampling of the high-latitude area. The reversely mapping method may map the planar image in the present disclosure back to a sphere for being rendered and viewed.

(6) An embodiment of the present disclosure provides a main viewpoint-based panoramic image mapping method, comprising a panoramic image mapping method and a corresponding reversely mapping method, embodiments of which will be explained below, respectively.

(7) FIG. 1 shows a process of mapping a spherical surface corresponding to the panoramic image A to the two-dimensional plane image B using the panoramic image reversely mapping method. partitioning the spherical surface into three areas based on the latitudes of the spherical surface, denoted as Area I, Area II, and Area III, respectively, wherein Area I corresponding to the area with a latitude of 90Z.sub.1 on the spherical surface, Area II corresponds to the area with a latitude of Z.sub.1Z.sub.2 on the spherical surface, and Area III corresponds to the area with a latitude of Z.sub.290 on the spherical surface; then, mapping Area I into a square plane I a resolution of W.sub.IW.sub.I, mapping Area II to a rectangular plane II with a resolution of W.sub.IIH.sub.II, and mapping Area III into a square plane III with a resolution of W.sub.IIIW.sub.III; finally, splicing the planes I, II, and III into a plane based on the value of W.sub.I, W.sub.II, H.sub.II, W.sub.III, wherein the spliced plane is the two-dimensional plane image B; the parameters Z.sub.1, Z.sub.2, W.sub.I, W.sub.II, H.sub.II, W.sub.III may all be set and have to satisfy the conditions of: 90Z.sub.1Z.sub.2 and Z.sub.1Z.sub.290, in this embodiment, let the parameter W.sub.I=0.25W.sub.II=H.sub.II=W.sub.III so as to guarantee that the planes may be finally spliced into a rectangular. The steps of the method of mapping the spherical surface in FIG. 1(a) into the plane in FIG. 1(c) include:

(8) First step: for each pixel point in the square plane I, computing its corresponding spherical coordinates (longitudes and latitudes) based on its coordinates (X, Y) in the plane I; then, taking the pixel value at a corresponding position on the spherical surface (or obtaining a corresponding pixel value of a surrounding pixel by interpolation) as the pixel value of the pixel point (X, Y) in the plane I. The steps of computing the corresponding spherical surface Coordinate based on the coordinates (X, Y) in the plane I including:

(9) 1.1) computing, through equation 1, the vertical distance and the horizontal distance from the point to the square plane I, and taking the larger one, denoted as m:
m=max(abs(W.sub.I+2X0.5),abs(W.sub.I2Y0.5))(Equation 1)

(10) 1.2) the square plane I may comprise a plurality of concentric squares; in this step, the distance from the point to the 0.sup.th point on the concentric square where the point is located, denoted as n; specifically, the pixel at the upper right corner is selected as the 0.sup.th pixel, and the distance is computed in the counterclockwise direction; the computing method is provided below:

(11) n = { X + 0.5 - m 2 ( Y X and X + Y < W III ) 2 m + Y + 0.5 - m 2 ( Y < X and X + Y W III ) 4 m + W III - ( X + 0.5 ) - m 2 ( Y X and X + Y > W III ) 6 m + W III - ( Y + 0.5 ) - m 2 ( Y > X and X + Y W III ) ( Equation 2 )

(12) where m2=(W.sub.I1)+2m.

(13) 1.3) computing the latitude and the longitude longitude corresponding to the point with coordinates (X, Y) in the square plane I based on n and m, through equation 3 and equation 4 below:
latitude=(Z.sub.1+90)m(W.sub.I2)90(equation 3)
longitude=n(8min)360180(equation 4)

(14) Second step: for each pixel point in the square plane II, computing its corresponding spherical coordinates (longitudes and latitudes) based on its coordinates (X, Y) in the plane II; then, taking the pixel value at a corresponding position on the spherical surface (or obtaining a corresponding pixel value of a surrounding pixel by interpolation) as the pixel value of the pixel point (X, Y) in the plane II. The equation of computing the corresponding spherical surface Coordinate based on the coordinates (X, Y) in the plane II is:
latitude=Z.sub.2(Z.sub.2Z.sub.1)(Y+0.5)H.sub.II(Equation 5)
longitude=360(X+0.5)W.sub.II180+offset(Equation 6)

(15) where offset denotes the longitude corresponding to the center of the rectangular plane II, which may be autonomously set.

(16) Third Step: for each pixel point in the square plane III, computing its corresponding spherical coordinates (longitudes and latitudes) based on its coordinates (X, Y) in the plane III; then, taking the pixel value at a corresponding position on the spherical surface (or obtaining a corresponding pixel value of a surrounding pixel by interpolation) as the pixel value of the pixel point (X, Y) in the plane III. The method of computing the corresponding spherical surface Coordinate based on the coordinates (X, Y) in the plane III:

(17) 3.1) computing the vertical distance and the horizontal distance from the point to the square plane III, and taking the larger one, denoted as m;
m=max(abs(W.sub.III2X0.5),abs(W.sub.III2Y0.5))(Equation 7)

(18) 3.2) the square plane III may comprise a plurality of concentric squares; in this step, the distance from the point to the 0.sup.th point on the concentric square where the point is located, denoted as n; wherein the position of the n.sup.th point may be randomly selected;

(19) n = { Y + 0.5 - m 2 ( Y X and X + Y < W III ) 2 m + X + 0.5 - m 2 ( Y > X and X + Y W III ) 4 m + W III - ( Y + 0.5 ) - m 2 ( Y X and X + Y > W III ) 6 m + W III - ( X + 0.5 ) - m 2 ( Y < X and X + Y W III ) ( Equation 8 )

(20) where m2=(W.sub.III1)2m.

(21) 3.3) computing the latitude and the longitude longitude corresponding to the point with coordinates (X, Y) in the square plane III based on n and m;
latitude=90(90Z.sub.2)m(W.sub.III2)(Equation 9)
longitude=n(8m)360180(Equation 10)

(22) Fourth Step: as shown in FIG. 1(b) and FIG. 1(c), first, spitting the rectangular plane II into four small planes with a resolution of H.sub.IIH.sub.II, respectively denoted as: II.sub.1, II.sub.2, II.sub.3, and II.sub.4; then, splicing them into a plane with a resolution of 6W.sub.IW.sub.I according to the order of plane II.sub.1, plane II.sub.2, plane II.sub.3, plane III, plane II.sub.4, and plane I; during the splicing process, the plane III rotates clockwise by 90, and the plane II.sub.4 rotates counterclockwise by 90.

(23) Till now, this embodiment implements mapping a panoramic image from a spherical surface into a planar image. The rendering effect of the obtained plane image is shown in FIG. 2.

(24) In another aspect, the panoramic image reversely mapping method according to the present disclosure refers to mapping a two-dimensional plane image B back to a spherical surface, wherein the two-dimensional plane image B is spliced by three planes, which are denoted as plane I, plane II, and plane III, respectively, wherein the plane I is a square plane with a resolution of W.sub.IW.sub.I, the plane II is a rectangular plane with a resolution of W.sub.IIH.sub.II, and the plane III is a square plane with a resolution of W.sub.IIIW.sub.III; the panoramic video reversely mapping method refers to mapping a plane I back to Area I on the spherical surface with a latitude of 90Z.sub.1, mapping the plane II back to Area II on the spherical surface with a latitude of Z.sub.1Z.sub.2, and mapping the plane III back to Area III on the spherical surface with a latitude of Z.sub.290, wherein the values of parameter Z.sub.1, Z.sub.2, W.sub.I, W.sub.II, H.sub.II, W.sub.III is obtained from a bit stream, but not limited thereto. In this embodiment, let parameter W.sub.I=0.25W.sub.II=H.sub.II=W.sub.III, and the two-dimensional plane image B spliced by the plane I, the plane II, and the plane III has a resolution of 6W.sub.IW.sub.I.

(25) Specific steps of mapping the two-dimensional plane image B back to the spherical surface using the panoramic video reversely mapping method include:

(26) First Step: splitting the two-dimensional image B into plane I, plane II, and plane III, specifically: splitting the two-dimensional plane image B into 6W.sub.IW.sub.I planes, denoted as plane 1, plane 2, plane 3, plane 4, plane 5, and plane 6, respectively; rotating the plane 4 counterclockwise by 90 to obtain the plane III; the plane 6 is the plane I; the remained 6 planes are spliced into a plane with a resolution of 4W.sub.IW.sub.I in the order of plane 1, plane 2, plane 3, and plane 5 (wherein the plane 5 rotates clockwise by 90) to obtain the plane II;

(27) Step 2): for all pixels in the area on the spherical surface with a latitude of 90 Z.sub.1, computing its corresponding coordinates (X, Y) in the plane I based on the spherical coordinates Coordinate (longitudes and latitudes), and taking the pixel value at (X, Y) in the plane I (or interpolating a surrounding pixel) as the value of the pixel point on the spherical surface at the coordinates Coordinate. The step of computing its corresponding coordinates (X, Y) in the plane I based on the spherical coordinates Coordinate is provided below:

(28) 2.1) computing, based on the latitude latitude, the distance m from the point in the plane I corresponding to the point on the spherical surface to the center of the plane I, wherein the computation equation is provided below:
m=(W.sub.I2)(latitude+90)(Z.sub.1+90)(Equation 11)

(29) 2.2) computing, based on the longitude longitude, the distance n from the point in the plane I corresponding to the point on the spherical surface to the 0.sup.th point in the concentric square where the corresponding point is located, wherein the computation equation is provided below:
n=8m(longitude+180)360(Equation 12)

(30) 2.3) computing, based on the values of m and n, the coordinates (X, Y) of the point in the plane I corresponding to the point on the spherical surface.

(31) ( Equation 13 ) { X = n + m 2 - 0.5 ; Y = W I 2 - m - 0.5 ( n < 2 m ) X = W I 2 + m - 0.5 ; Y = n + m 2 - 2 m - 0.5 ( 2 m n < 4 m ) X = 4 m - n - m 2 + W I - 0.5 ; Y = W I 2 + m - 0.5 ( 4 m n < 6 m ) X = W I 2 - m - 0.5 ; Y = 6 m - n - m 2 + W I - 0.5 ( 6 m n 8 m )

(32) where m2=(W.sub.I1)2m.

(33) Third Step: for all pixels in the area on the spherical surface with a latitude of Z.sub.1Z.sub.2, computing its corresponding coordinates (X, Y) in the plane II based on the spherical coordinates Coordinate (longitudes and latitudes), and taking the pixel value at (X, Y) in the plane II (or interpolating a surrounding pixel) as the value of the pixel point on the spherical surface at the coordinates Coordinate. The equation of computing its corresponding coordinates (X, Y) in the plane II based on the spherical coordinates Coordinate is provided below:
Y=(Z.sub.2latitude)H.sub.II(Z.sub.2Z.sub.1)0.5(Equation 14)
X=(longitude+180offset)360W.sub.II0.5(Equation 15)

(34) where offset is the longitude corresponding to the center of the rectangular plane II.

(35) Fourth Step: for all pixels in the area on the spherical surface with a latitude of Z.sub.290, computing its corresponding coordinates (X, Y) in the plane III based on the spherical coordinates Coordinate (longitudes and latitudes), and taking the pixel value at (X, Y) in the plane III (or interpolating a surrounding pixel) as the value of the pixel point on the spherical surface at the coordinates Coordinate.

(36) 4.1) computing, based on the latitude latitude, the distance m from the point in the plane III corresponding to the point on the spherical surface to the center of the plane III;
m=(W.sub.III2)(90latitude)(90Z.sub.2)(Equation 16)

(37) 4.2) computing, based on the longitude longitude, the distance n from the point in the plane III corresponding to the point on the spherical surface to the nth point in the concentric square where the corresponding point is located;
n=8m(longitude+180)360(Equation 17)

(38) 4.3) computing, based on the values of m and n, the coordinates (X, Y) of the point in the plane III corresponding to the point on the spherical surface.

(39) m 2 = ( W III - 1 ) 2 - m { Y = n + m 2 - 0.5 ; X = W III 2 - m - 0.5 ( n < 2 m ) Y = W III 2 + m - 0.5 ; X = n + m 2 - 2 m - 0.5 ( 2 m n < 4 m ) Y = 4 m - n - m 2 + W III - 0.5 ; X = W III 2 + m - 0.5 ( 4 m n < 6 m ) Y = W III 2 - m - 0.5 ; X = 6 m - n - m 2 + W III - 0.5 ( 6 m n 8 m ) ( Equation 18 )

(40) where m2=(W.sub.III1)2m.

(41) Till now, all steps of the reversely mapping method according to the present disclosure are completed. By mapping the two-dimensional plane image B back to the spherical surface using the reversely mapping method, it facilitates rendering and viewing.

(42) In specific implementations, a spherical panoramic video is mapped into a plane view screen of a same size (i.e., having the same number of pixels) by using equirectangular, PLANE_POLES, and the present disclosure and encoded. In particular, the PLANE_POLES mapping method is to mapping the areas nearby the two poles on the spherical surface into square shapes, and mapping rings with the same latitude on the spherical surface into rings on the plane. The experimental results indicated that, compared with equirectangular mapping, the method according to the present disclosure achieves an improvement of over 10% coding efficiency; compared with the PLANE_POLEs method, the coding efficiency is enhanced by 3%4%.

(43) It needs to be noted that the embodiments as disclosed are intended to facilitating further understanding of the present disclosure; however, those skilled in the art may understand that various substitutions and modifications are possible without departing from the spirit and scope of the present disclosure. Therefore, the present disclosure should not be limited to the contents disclosed in the embodiments, but should be governed by the appended claims.