CA3028863C - Projection image construction method and device - Google Patents

Projection image construction method and device Download PDF

Info

Publication number
CA3028863C
CA3028863C CA3028863A CA3028863A CA3028863C CA 3028863 C CA3028863 C CA 3028863C CA 3028863 A CA3028863 A CA 3028863A CA 3028863 A CA3028863 A CA 3028863A CA 3028863 C CA3028863 C CA 3028863C
Authority
CA
Canada
Prior art keywords
cylindrical surface
surface equal
panoramic image
area projection
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CA3028863A
Other languages
French (fr)
Other versions
CA3028863A1 (en
Inventor
Jiadan Zhu
Tao Wang
Hongbin Liu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Publication of CA3028863A1 publication Critical patent/CA3028863A1/en
Application granted granted Critical
Publication of CA3028863C publication Critical patent/CA3028863C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/12Panospheric to cylindrical image transformations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/06Topological mapping of higher dimensional structures onto lower dimensional surfaces
    • G06T3/073Transforming surfaces of revolution to planar images, e.g. cylindrical surfaces to planar images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/18Image warping, e.g. rearranging pixels individually

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A projection image construction method and device are provided. The projection image construction method comprises: projecting an equirectangular panoramic image by means of a cylindrical equal-area projection model, to obtain a cylindrical equal-area projection image (S11); obtaining two-dimensional coordinates of each pixel in the cylindrical equal-area projection image (S12); performing coordinate system transformation on the obtained two-dimensional coordinates of each pixel in the cylindrical equal-area projection image, to obtain two-dimensional coordinates, in the equirectangular panoramic image, of each pixel in the obtained cylindrical equal-area projection image (S13); and performing pixel interpolation on the cylindrical equal-area projection image using color information of each pixel in the equirectangular panoramic image and the obtained two-dimensional coordinates, in the equirectangular panoramic image, of each pixel in the cylindrical equal-area projection image, to obtain a panoramic image of the transformed cylindrical equal-area projection image (S14).

Description

CA Application Blakes Ref: 16131/00002
2 The present application claims priority to Chinese patent application No.
201611187138.2
3 entitled "Method and Device for Constructing Projection Image" filed with the State Intellectual
4 Property Office of People's Republic of China on December 20, 2016.
TECHNICAL FIELD
6 The present application relates to the field of image processing, and more particularly to a 7 method and device for constructing a projection image.

9 In recent years, with the advent of panoramic cameras (such as Google jump, OZO, Eyesir, Teche, Upano and the like) and advanced Virtual Reality (VR) display devices (such as Oculus 11 VR, Samsung Gear VR, HTC vive and the like), a panoramic video has drawn many attention 12 to the technology research and development and product content innovation, and is widely used 13 in various fields such as VR cinemas, panoramic games, panoramic education, panoramic 14 medical care, panoramic tourism and the like.
In order to clearly show local view contents in a player to be watched by a user, it usually 16 needs to shoot a panoramic video with more than 4K ultra-high resolution. An ultra-high resolution 17 video with more than 4K resolution (more than 3840px * 1920px) has massive amount of pixels, 18 which brings a big data challenge to storage, compression, transmission, decoding and rendering 19 of the panoramic video. For the big data challenge, how to reduce the resolution and bit rate of the panoramic video has become one of the key issues that must be resolved for the panoramic 21 video.

23 In order to solve the technical problems mentioned above, embodiments of the present 24 application provide a method and device for constructing a projection image to reduce the resolution and bit rate of a panoramic image or video. The technical solutions will be described 26 hereafter.

23538638.1 CA Application Blakes Ref: 16131/00002 1 A method for constructing a projection image, comprising:

performing projection on an equirectangular panoramic image with a cylindrical surface 3 equal-area projection model to obtain a cylindrical surface equal-area projection image;

obtaining a two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image;

performing coordinate transformation on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the 9 cylindrical surface equal-area projection image;
performing pixel interpolation on the cylindrical surface equal-area projection image, based 11 on color information of each of pixels in the equirectangular panoramic image and the obtained 12 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image 14 subjected to the cylindrical surface equal-area projection transformation.
Optionally, performing coordinate transformation on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a 17 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 18 pixels in the cylindrical surface equal-area projection image, comprises:
19 performing the coordinate transformation, by using a formula x = ((2* u/ (n -1) -1)* n + n)*(n - 1)/(2 *
y = (m - 1 ) - arcs in(( 1 - 2* v /(m - 1)) + n/2) *(m -1)/TE , on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a 22 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 23 pixels in the cylindrical surface equal-area projection image;

wherein, x denotes an abscissa of a two-dimensional coordinate of a pixel in the equirectangular panoramic image, y denotes an ordinate of the two-dimensional coordinate of 26 the pixel in the equirectangular panoramic image, u denotes an abscissa of the pixel in the 23538638.1 CA Application Blakes Ref: 16131/00002 1 cylindrical surface equal-area projection image, v denotes an ordinate of the pixel in the 2 cylindrical surface equal-area projection image, m and n denote a height and a width of the 3 equirectangular panoramic image, respectively, and Tr is the Pi.
4 Optionally, performing pixel interpolation on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and 6 the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding 7 to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic 8 image subjected to the cylindrical surface equal-area projection transformation, comprises:
9 performing the pixel interpolation on the cylindrical surface equal-area projection image, by using a bilinear interpolation algorithm, based on the color information of each of pixels in the 11 equirectangular panoramic image and the obtained two-dimensional coordinate in the 12 equirectangular panoramic image corresponding to each of pixels in the cylindrical surface 13 equal-area projection image, to generate the panoramic image subjected to the cylindrical 14 surface equal-area projection transformation.
Optionally, performing pixel interpolation on the cylindrical surface equal-area projection 16 image, based on color information of each of pixels in the equirectangular panoramic image and 17 the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding 18 to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic 19 image subjected to the cylindrical surface equal-area projection transformation, comprises:
performing the pixel interpolation on the cylindrical surface equal-area projection image, by 21 using a spline interpolation algorithm, based on the color information of each of pixels in the 22 equirectangular panoramic image and the obtained two-dimensional coordinate in the 23 equirectangular panoramic image corresponding to each of pixels in the cylindrical surface 24 equal-area projection image, to generate the panoramic image subjected to the cylindrical surface equal-area projection transformation.

23538638.1 CA Application Blakes Ref: 16131/00002 1 A device for constructing a projection image comprises:
2 a projection module used to perform projection on an equirectangular panoramic image with 3 a cylindrical surface equal-area projection model, to obtain a cylindrical surface equal-area 4 projection image;
a first obtaining module used to obtain a two-dimensional coordinate of each of pixels in the 6 cylindrical surface equal-area projection image;
7 a transformation module used to perform coordinate transformation on the obtained 8 two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection 9 image to obtain two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image;
11 a first generation module used to perform pixel interpolation on the cylindrical surface 12 equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic 14 image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image subjected to the cylindrical surface equal-area projection 16 transformation.
17 Optionally, the transformation module comprises:
18 a transformation unit, used to perform the coordinate transformation, by using the formula x = ((2*u/ - 1) -1)* Tr 4- 7c)*(n -1)/(2*n) 19 y = (m -1)- arcs in((1 - 2 * v / (m - 1)) + z/2) * (m -1)/7r on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a 21 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 22 pixels in the cylindrical surface equal-area projection image;

wherein, x denotes an abscissa of a two-dimensional coordinate of a pixel in the equirectangular panoramic image, y denotes an ordinate of the two-dimensional coordinate of the pixel in the equirectangular panoramic image, u denotes an abscissa of the pixel in the cylindrical surface equal-area projection image, v denotes an ordinate of the pixel in the 23538638.1 CA Application Blakes Ref: 16131/00002 1 cylindrical surface equal-area projection image, m and n denote the height and width of the 2 .. equirectangular panoramic image, respectively, and -rr denotes the Pl.
3 Optionally, the first generation module comprises:
4 a first generation unit used to perform the pixel interpolation on the cylindrical surface equal-area projection image, by using a bilinear interpolation algorithm, based on the color 6 information of each of pixels in the equirectangular panoramic image and the obtained 7 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 8 pixels in the cylindrical surface equal-area projection image, to generate the panoramic image 9 subjected to the cylindrical surface equal-area projection transformation.
Optionally, the first generation module comprises:
11 a second generation unit used to perform the pixel interpolation on the cylindrical surface 12 equal-area projection image, by using a spline interpolation algorithm, based on the color 13 information of each of pixels in the equirectangular panoramic image and the obtained 14 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate the panoramic image 16 subjected to the cylindrical surface equal-area projection transformation.
17 An electronic device comprises a processor, a communication interface, a memory and a 18 communication bus, wherein the processor, the communication interface and the memory 19 communicate with each other via the communication bus;
the memory is used to store a computer program;
21 the processor is used to, when the program stored in the memory is executed, implement 22 steps of the method for constructing a projection image according to embodiments of the present 23 application. The method for constructing a projection image comprises:
24 performing projection on an equirectangular panoramic image with a cylindrical surface equal-area projection model to obtain a cylindrical surface equal-area projection image;
5 23538638.1 CA Application Blakes Ref: 16131/00002 obtaining a two-dimensional coordinate of each of pixels in the cylindrical surface equal-area 2 projection image;

performing coordinate transformation on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the
6 cylindrical surface equal-area projection image;
7 performing pixel interpolation on the cylindrical surface equal-area projection image, based
8 on color information of each of pixels in the equirectangular panoramic image and the obtained
9 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image 11 subjected to the cylindrical surface equal-area projection transformation.

computer-readable storage medium stores a computer program thereon which, when executed by a processor, cause the processor to implement steps of the method for constructing 14 a projection image according to the embodiments of the present application. The method for constructing a projection image comprises:

performing projection on an equirectangular panoramic image with a cylindrical surface 17 equal-area projection model to obtain a cylindrical surface equal-area projection image;

obtaining a two-dimensional coordinate of each of pixels in the cylindrical surface equal-area 19 projection image;
performing coordinate transformation on the two-dimensional coordinate of each of pixels in 21 the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface 23 equal-area projection image;

performing pixel interpolation on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and the obtained 26 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 23538638.1 CA Application Blakes Ref: 16131/00002 1 pixels in the cylindrical surface equal-area projection image, to generate a panoramic image 2 subjected to the cylindrical surface equal-area projection transformation.
3 Compared with the prior art, there are following advantages in the present application.
4 An equirectangular panoramic image as a storage format for a panoramic image or panoramic video currently causes a higher resolution and larger bit rate of the panoramic image 6 or panoramic video, since for the same texture of the equirectangular panoramic image, the area 7 occupied thereof near the pole is larger than the area occupied thereof near the equator. In the 8 present application, in order to reduce the resolution and bit rate of the panoramic image or 9 panoramic video, the panoramic image subjected to the cylindrical surface equal-area projection transformation instead of the equirectangular panoramic image is used as the storage format for 11 the panoramic image or panoramic video.
12 The resolution and bit rate of the panoramic image or video can be reduced by using the 13 panoramic image subjected to the cylindrical surface equal-area projection transformation as the 14 storage format for the panoramic image or panoramic video, for the reason that: the projecting of an equirectangular panoramic image with a cylindrical surface equal-area projection model 16 ensures that there is no deformation or small deformation for the textures near the equator, and 17 thus ensures the definition of the panoramic image or panoramic video;
and comparing to the 18 equirectangular panoramic image, textures at two poles in the cylindrical surface equal-area 19 projection image obtained through projection are further compressed in the y-axis direction, which ensures that the area of textures at the two poles and the area of textures near the equator 21 are the same. Therefore, the resolution and bit rate of the panoramic image or the panoramic 22 video can be reduced by the panoramic image subjected to the cylindrical surface equal-area 23 projection transformation obtained after the pixel interpolation.

In order to explain the technical solutions of embodiments of the present application, a 26 simple introduction of the drawings required in the description of the embodiments will be given.
27 Apparently, the drawings in the following description show merely some embodiments of the 28 present application, and a person of ordinary skill in the art may derive other drawings from these 29 drawings without creative efforts.

23538638.1 CA Application Blakes Ref: 16131/00002 1 Figure 1 is a flow diagram of a method for constructing a projection image according to the 2 present application;
3 Figure 2 is a schematic diagram of an equirectangular panoramic image according to the 4 present application;
Figure 3 is a schematic diagram of a cylindrical surface equal-area projection image 6 according to the present application;
7 Figure 4 (a) illustrates a coordinate system of the equirectangular panoramic image, Figure 8 4 (b) illustrates a spherical coordinate system of a spherical panoramic image represented with 9 latitude and longitude;
Figure 5 is a schematic diagram of a logical structure of a device for constructing a 11 projection image according to the present application.

13 The technical solution of embodiments of the present application will be described clearly 14 and completely below with reference to the drawings in the embodiments of the present application. Obviously, the embodiments described are merely some embodiments instead of all 16 the embodiments of the present application. All other embodiments obtained by those of ordinary 17 skill in the art based on the embodiments of the present application without any creative efforts 18 are within the scope of the present application.
19 The first Embodiment Figure 1 illustrates a flow diagram of a method for constructing a projection image according 21 to the present application, and the method may comprise the following steps S11-S14.
22 In step S11, projection is performed on an equirectangular panoramic image with a 23 cylindrical surface equal-area projection model to obtain a cylindrical surface equal-area 24 projection image.

23538638.1 CA Application Blakes Ref: 16131/00002 1 The equirectangular panoramic image is a storage format for a spherical panoramic image, 2 i.e.
panoramic image or panoramic video. The correspondence between the equirectangular {x = A.

panoramic image and the spherical panoramic image is: Y = C . (2,0 denotes a spherical coordinate of the spherical panoramic image, and (x, Y) denotes an image coordinate of the equirectangular panoramic image.

Figure 2 shows the equirectangular panoramic image obtained when a spherical panoramic 7 image is stored in a format of the equirectangular panoramic image. As shown in Figure 2, the deformation law of the equirectangular panoramic image is that circles at two poles are horizontally stretched into ellipses, that is, the sampling of the equirectangular causes that the textures near the poles are stretched horizontally. That is, for the same texture, the area occupied thereof near the pole is larger than the area occupied thereof near the equator. The deformation law of the equirectangular panoramic image, as shown in Figure 2, results in a high resolution and larger bit rate of the spherical panoramic image (i.e., panoramic image or 14 panoramic video).
In order to reduce and correct the deformation at the poles, and thereby reduce the resolution and bit rate of the spherical panoramic image (i.e., panoramic image or panoramic video), the projection is performed on the equirectangular panoramic image with a cylindrical 18 surface equal-area projection model in the embodiment.
19 The principle that the resolution and bit rate of the spherical panoramic image (i.e., panoramic image or panoramic video) can be reduced by performing the projection on the equirectangular panoramic image with the cylindrical surface equal-area projection model is as 22 follows.

Figure 3 shows the cylindrical surface equal-area projection image obtained by performing projection on an equirectangular panoramic image with a cylindrical surface equal-area projection model. As shown in Figure 3, the deformation law of the cylindrical surface equal-area projection image is that circles at the two poles in the equirectangular panoramic image are further compressed in the y-axis direction. The deformation law of the cylindrical surface 28 equal-area projection image ensures the uniformity of the two-dimensional sampling (spherical 23538638.1 CA Application Blakes Ref: 16131/00002 1 radian sampling) in the spherical panoramic image, such that the area of a circle at the poles is 2 the same as the area of a circle in the center of the equator. Thus, the resolution and bit rate of 3 the spherical panoramic image (i.e., panoramic image or panoramic video) are reduced.
4 Specifically, performing of projection on an equirectangular panoramic image with a cylindrical surface equal-area projection model is:
6 performing the projection on the equirectangular panoramic image with a cylindrical surface = 2 cos yoo sinco Y
7 equal-area projection formula - cos x = 2 cos yo, sinco Y
8 In the formula cow() , x denotes an abscissa of the cylindrical surface equal-area 9 projection image, y denotes an ordinate of the cylindrical surface equal-area projection image, 2 denotes an abscissa of a spherical coordinate in the spherical panoramic image, C' denotes 11 an ordinate of the spherical coordinate in the spherical panoramic image, and CP denotes a 12 input parameter for specifying an aspect ratio of the cylindrical surface equal-area projection 13 image.
14 Since the aspect ratio of the cylindrical surface equal-area projection image can be changed by setting the value of q)0, thus the size of the cylindrical surface equal-area projection image 16 can be customized.
17 In this step, there is a two-dimensional coordinate of each of the pixels in the cylindrical 18 surface equal-area projection image obtained through projection, but there is no pixel value for 19 each of the pixels.
In step S12, a two-dimensional coordinate of each of pixels in the cylindrical surface 21 equal-area projection image is obtained.
23538638.1 CA Application Blakes Ref: 16131/00002 1 After the cylindrical surface equal-area projection image is obtained, it is necessary to fill the cylindrical surface equal-area projection image with pixels, to obtain a complete panoramic 3 image subjected to the cylindrical surface equal-area projection transformation. In order to fill the cylindrical surface equal-area projection image with pixels, it is firstly necessary to transform the coordinate system of the cylindrical surface equal-area projection image into the coordinate system of the equirectangular panoramic image, thereby the pixel value corresponding to each coordinate in the cylindrical surface equal-area projection image can be found in the original spherical panoramic image corresponding to the equirectangular panoramic image. The specific 9 process comprise steps S12 - S14.
In step S13, coordinate transformation is performed on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a 12 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 13 pixels in the cylindrical surface equal-area projection image.
14 In step S14, pixel interpolation is performed on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and 16 the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding 17 to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic 18 image subjected to the cylindrical surface equal-area projection transformation.
19 An equirectangular panoramic image as a storage format for a panoramic image or panoramic video currently causes a higher resolution and larger bit rate of the panoramic image 21 or panoramic video, since for the same texture of the equirectangular panoramic image, the area occupied thereof near the pole is larger than the area occupied thereof near the equator. In the present application, in order to reduce the resolution and bit rate of the panoramic image or panoramic video, the panoramic image subjected to the cylindrical surface equal-area projection transformation instead of the equirectangular panoramic image is used as the storage format for 26 the panoramic image or panoramic video.
27 The resolution and bit rate of the panoramic image or video can be reduced by using the panoramic image subjected to the cylindrical surface equal-area projection transformation as the storage format for the panoramic image or panoramic video, for the reason that: the projecting of 23538638.1 CA Application Blakes Ref: 16131/00002 1 an equirectangular panoramic image with a cylindrical surface equal-area projection model 2 ensures that there is no deformation or small deformation for the textures near the equator, and 3 thus ensures the definition of the panoramic image or panoramic video;
and comparing to the 4 equirectangular panoramic image, textures at two poles in the cylindrical surface equal-area projection image obtained through projection are further compressed in the y-axis direction, 6 which ensures that the area of textures at the two poles and the area of textures near the equator 7 are the same. Therefore, the resolution and bit rate of the panoramic image or the panoramic 8 video can be reduced by the panoramic image subjected to the cylindrical surface equal-area 9 projection transformation obtained after the pixel interpolation.
Textures at the two poles are further compressed in the y-axis direction by performing 11 projection on the equirectangular panoramic image with the cylindrical surface equal-area 12 projection model. This leads to a decline in the definition of the image near the poles, but in most 13 .. cases, the attention is focused on a region near the equator in the panoramic image or 14 panoramic video. Thus, in many applications, the reducing of the definition of the image near the poles has a less effect on the displaying effect.
16 In the present application, a process of performing coordinate transformation on the 17 obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area 18 projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image 19 corresponding to each of pixels in the cylindrical surface equal-area projection image, specifically .. comprises:
21 performing the coordinate transformation, by using a formula x = ((2* u/ (n -1) -1)*71 7E)*(n -1)/(2 *7z) 22 y (m -1) - arcsin((1- 2*v / (m -1)) + 7E/2)*(m -1)/7E , on the obtained two-dimensional 23 coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a 24 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image.
x = ((2*u/ (n -1) -1)*n + n)*(n -1)/(2*7r) 26 In the formula y (m -1) - arcsinql - 2*v /(m-1))+7E/2)*(m-1)/7E, x denotes an abscissa 27 of a two-dimensional coordinate of a pixel in the equirectangular panoramic image, y denotes an 23538638.1 CA Application Blakes Ref: 16131/00002 1 ordinate of the two-dimensional coordinate of the pixel in the equirectangular panoramic image, u 2 denotes an abscissa of the pixel in the cylindrical surface equal-area projection image, v denotes 3 an ordinate of the pixel in the cylindrical surface equal-area projection image, m and n denote a 4 height and a width of the equirectangular panoramic image, respectively, and IT denotes the Pl.
x=q2*u/(n-1)-1)*R+R)*(n-1)/(2*n) v 5 A
process of generating the formula = (m -1) - arcs in((1 - 2 * v / (m -1)) +
n/2) * (m -1)/n 6 specifically comprise:
X -= A COS (00 Y sinco 7 obtaining the formula COScoo for projecting the spherical panoramic image to the X = A cos coo() sinco Y ____________________________________________________________________ cylindrical surface equal-area projection image, wherein in the formula COW
, x 9 denotes the abscissa of the cylindrical surface equal-area projection image, y denotes the ordinate of the cylindrical surface equal-area projection image, A denotes an abscissa of a 11 spherical coordinate of the spherical panoramic image, (' denotes an ordinate of the spherical 12 coordinate of the spherical panoramic image, and C 0 denotes a input parameter for specifying 13 an aspect ratio of the cylindrical surface equal-area projection image;
14 obtaining a coordinate transformation relationship 27cy 7"/" 7/X
(X, }7) ---> (2, co) - ( n ¨ 1 ¨ I"
2 m - 1 from the equirectangular panoramic image to the 27ry 7r zx (X, y) (2, c0) ( ¨
n ¨ 1 16 spherical panoramic image, wherein in 2 m ¨ 1 , m and n 17 denote respectively the height and width of the equirectangular panoramic image, x denotes the 18 abscissa of a pixel in the equirectangular panoramic image, y denotes the ordinate of the pixel in 19 the equirectangular panoramic image.

23538638.1 CA Application Slakes Ref: 16131/00002 1 The coordinate transformation relationship from the equirectangular panoramic image to the 2 spherical panoramic image can be seen in the Figure 4(a) and Figure 4(b).
Figure 4(a) illustrates 3 the coordinate system of the equirectangular panoramic image, and Figure 4(b) illustrates the 4 spherical coordinate system of the spherical panoramic image represented with latitude and longitude.
x = ((2 * u/(n-1)-1)*7E+7E)*(n -1)/(2 * 7E) 6 The formula y = (m-1) - arcsinq 1 -2 * v / (m - 1)) + 7E/2) * (m - is obtained by combining x = A cos coo sinT
Y
7 mathematically the formula - cos coo for projecting the spherical panoramic image to the 8 cylindrical surface equal-area projection image and the coordinate transformation relationship 27zy z 7ZX
(x, y) ¨> (2, co) =- ( - -9 n - 1 2 m - 1 from the equirectangular panoramic image to the spherical panoramic image.
11 The process of performing pixel interpolation on the cylindrical surface equal-area projection 12 image, based on color information of each of pixels in the equirectangular panoramic image and 13 the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding 14 to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image subjected to the cylindrical surface equal-area projection transformation, specifically 16 comprises:

performing the pixel interpolation on the cylindrical surface equal-area projection image, by 18 using an interpolation algorithm (which may be any existing interpolation algorithms, such as a 19 bilinear interpolation algorithm or a spline interpolation algorithm), based on the color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional 21 coordinate in the equirectangular panoramic image corresponding to each of pixels in the 22 cylindrical surface equal-area projection image, to generate the panoramic image subjected to 23 the cylindrical surface equal-area projection transformation.

23538638.1 CA Application Blakes Ref: 16131/00002 1 Specifically, performing pixel interpolation on the cylindrical surface equal-area projection 2 image, by using the bilinear interpolation algorithm, to generate the panoramic image subjected 3 to the cylindrical surface equal-area projection transformation, may comprise: inputting the color 4 information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 6 pixels in the cylindrical surface equal-area projection image to a bilinear interpolation model, to 7 obtain a pixel value of each of pixels in the panoramic image subjected to the cylindrical surface 8 equal-area projection transformation, which is output by the bilinear interpolation model.
9 The bilinear interpolation model is a model created by the bilinear interpolation algorithm.
Performing pixel interpolation on the cylindrical surface equal-area projection image, by 11 using the spline interpolation algorithm, to generate the panoramic image subjected to the 12 cylindrical surface equal-area projection transformation, may comprise:
inputting the color 13 information of each of pixels in the equirectangular panoramic image and the obtained 14 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image to a spline interpolation model, to 16 obtain the pixel value of each of pixels in the panoramic image subjected to the cylindrical 17 surface equal-area projection transformation, which is output by the spline interpolation model.
18 The spline interpolation model is a model created by the spline interpolation algorithm.
19 The embodiments described above will be described with reference to specific examples.
Step 1: performing projection on an equirectangular panoramic image with a cylindrical 21 surface equal-area projection model to obtain a cylindrical surface equal-area projection image.
22 For example, the width w and the height h of the cylindrical surface equal-area projection 23 image can be set in advance.
24 In this step, there is the two-dimensional coordinate u and v of each of the pixels in the cylindrical surface equal-area projection image obtained through the projection, but there is no 26 pixel value for each of the pixels.
23538638.1 CA Application Blakes Ref: 16131/00002 1 Step 2: obtaining the two-dimensional coordinate (u, v) of each of pixels in the cylindrical 2 surface equal-area projection image.
3 Step 3: performing coordinate transformation on the obtained two-dimensional coordinate of 4 each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the 6 cylindrical surface equal-area projection image, specifically comprises the process:
7 performing the coordinate transformation, by using the formula x=((2*u/(n-1)-1)*Tc+n)*(n-1)/(2*TE) 8 y =
(m-1)- arcsin((1 _2* v / (m - 1)) + TE/2) * (m - 1)/Tc , on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 11 pixels in the cylindrical surface equal-area projection image, wherein, x denotes an abscissa of a two-dimensional coordinate of a pixel in the equirectangular panoramic image, y denotes an ordinate of the two-dimensional coordinate of 14 the pixel in the equirectangular panoramic image, u denotes an abscissa of the pixel in the cylindrical surface equal-area projection image, v denotes the an ordinate of the pixel in the cylindrical surface equal-area projection image, m and n denote a height and a width of the equirectangular panoramic image, respectively, and -rr denotes the Pl. A value of u is in a range 18 from 0 to w-1, i.e., [0, w-11, and a value of v is in a range from 0 to h-1, i.e., [0, h-1]. w denotes the 19 width of the cylindrical surface equal-area projection image, and h denotes the height of the cylindrical surface equal-area projection image.
21 The process of generating the formula x=((2*u/(n-1)-1)*Tc+n)*(n-1)/(2*Tr) 22 y = (m1)- arcsin((1 -2*v / (m - 1)) + R/2) *(m -1)/Tc , specifically comprise:

23538638.1 CA Application Blakes Ref: 16131/00002 u= 2cosç0 sinq, v=
1 obtaining a formula - coscoo for projecting the spherical panoramic image to the u= 2cosq0 sinco v=

cylindrical surface equal-area projection image, wherein in the formula cos%, u denotes 3 the abscissa of the cylindrical surface equal-area projection image, v denotes the ordinate of the cylindrical surface equal-area projection image, 11 denotes an abscissa of a spherical coordinate in the spherical panoramic image, C9 denotes an ordinate of the spherical coordinate 6 in the spherical panoramic image, and g 0 denotes an input parameter for specifying an aspect 7 ratio of the cylindrical surface equal-area projection image;
8 obtaining a coordinate transformation relationship 27ty 7r 7zx (x, 3f) --> (2, co) = ( - 7C, ¨
9 n - 1 2 m -1 from the equirectangular panoramic image to the 27ry 7-t- 71X , (X, 3r) ---> (2, c0) = ¨ 7r, __ ¨
spherical panoramic image, wherein in n - 1 2 m - 1 , m and n denote respectively the height and width of the equirectangular panoramic image, x denotes the abscissa of a pixel in the equirectangular panoramic image, and y denotes the ordinate of the 13 pixel in the equirectangular panoramic image.
14 The coordinate transformation relationship from the equirectangular panoramic image to the spherical panoramic image can be seen in the Figure 4(a) and Figure 4(b).
Figure 4(a) illustrates 16 the coordinate system of the equirectangular panoramic image, and Figure 4(b) illustrates the spherical coordinate system of the spherical panoramic image represented with latitude and 18 longitude.
19 The transformation formula y = (m -1) - arcsinql -2*v / (m -1)) + m/2) *(m -1)/n between the equirectangular panoramic image and the cylindrical surface equal-area projection image is 23538638.1 CA Application Blakes Ref: 16131/00002 u= 2cosç0 sing v=
1 obtained by combining mathematically the formula cosTo for projecting the spherical 2 panoramic image to the cylindrical surface equal-area projection image and the coordinate 27iy 71- TCX
(X, y) (11, co) = ( - TC, 2 - m - 1 ) 3 transformation relationship n - 1 from the 4 equirectangular panoramic image to the spherical panoramic image.
Step 4: performing pixel interpolation on the cylindrical surface equal-area projection image, 6 based on color information of each of pixels in the equirectangular panoramic image and the 7 obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to 8 each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic 9 image subjected to the cylindrical surface equal-area projection transformation.
The Second Embodiment 11 In accordance with the embodiment of the method described above, this embodiment 12 provides a device for constructing a projection image, as shown in Figure 5. The device for 13 constructing a projection image comprises: a projection module 51, a first obtaining module 52, a 14 transformation module 53, and a first generation module 54.
The projection module 51 is used to preform projection on an equirectangular panoramic 16 image by using a cylindrical surface equal-area projection model to obtain a cylindrical surface 17 equal-area projection image.
18 The first obtaining module 52 is used to obtain a two-dimensional coordinate of each of 19 pixels in the cylindrical surface equal-area projection image.
The transformation module 53 is used to perform coordinate transformation on the obtained 21 two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection 22 image to obtain a two-dimensional coordinate in the equirectangular panoramic image 23 corresponding to each of pixels in the cylindrical surface equal-area projection image.

23538638.1 - , CA Application Blakes Ref: 16131/00002 1 The first generation module 54 is used to perform pixel interpolation on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image subjected to the cylindrical surface 6 equal-area projection transformation.
7 In the embodiment, the transformation module 53 specifically comprises: a transformation 8 unit, which is used to perform the coordinate transformation, by using the formula x = ((2* u/ (n - 1) - 1)* z + 7t) * (n - 1)/(2 *7t) 9 y =
(m - 1) - arcsin((1 -2 * v /(m -I)) + n/2) * (m - 1)/n , on the obtianed two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain the 11 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 12 pixels in the cylindrical surface equal-area projection image;

wherein, x denotes an abscissa of a two-dimensional coordinate of a pixel in the equirectangular panoramic image, y denotes an ordinate of the two-dimensional coordinate of the pixel in the equirectangular panoramic image, u denotes an abscissa of the pixel in the cylindrical surface equal-area projection image, v denotes an ordinate of the pixel in the cylindrical surface equal-area projection image, m and n denote a height and a width of the 18 equirectangular panoramic image, respectively, and -rr denotes the Pl.
19 In the embodiment, the device for constructing a projection image further comprises: a second obtaining module, a third obtaining module and a second generation module.
21 The second obtaining module, the third obtaining module and the second generation module 22 are used to generate the formula {xy == ((m(2,:iu,/ (n -1) 1)* it r +
n)* (n - 1)42 *Tr) 23538638.1 CA Application Blakes Ref: 16131/00002 X = A cos coo sinco Y
w 1 The second obtaining module is used to obtain a formula - co for projecting the spherical panoramic image to the cylindrical surface equal-area projection image, wherein x denotes the abscissa of the cylindrical surface equal-area projection image, y denotes the ordinate of the cylindrical surface equal-area projection image, /1 denotes an abscissa of the spherical coordinate in the spherical panoramic image, C denotes an ordinate of the spherical coordinate in the spherical panoramic image, and CP0 denotes an input parameter for specifying 7 an aspect ratio of the cylindrical surface equal-area projection image.
8 The third obtaining module is used to obtain a coordinate transformation relationship 27ty 7T 7/X , n ¨ 1 (X, y) ¨> (2, c0) = ( __ ¨ 2r, ¨ __ 9 2 m - 1 from the equirectangular panoramic image to the spherical panoramic image, wherein m and n denote respectively the height and width of the equirectangular panoramic image, x denotes the abscissa of a pixel in the equirectangular panoramic image, and y denotes the ordinate of the pixel in the equirectangular panoramic 13 image.
14 The second generation module is used to obtain the formula x=((2*u/(n-1)-1)*n+g)*(n-1)/(2*7r) y = (m -1) - arcs in((1 -2 * v /(m -I)) +71/2)*(m - 1)/7t by combining mathematically the formula x = A cos c00 sincco Y
To 16 COS for projecting the spherical panoramic image to the cylindrical surface 17 equal-area projection image and the coordinate transformation relationship 22u 7-t- 7/X , (X, y) ---> (2, (0) = ( ¨ ¨ __ n ¨ 1 18 2 m - 1 from the equirectangular panoramic image to the 19 spherical panoramic image.
In the embodiment, the first generation module 54 may specifically comprise a first 21 generation unit or a second generation unit.
23538638.1 CA Application Blakes Ref: 16131/00002 1 The first generation unit is configure to perform the pixel interpolation on the cylindrical 2 surface equal-area projection image, by using a bilinear interpolation algorithm, based on the 3 color information of each of pixels in the equirectangular panoramic image and the obtained 4 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate the panoramic image 6 subjected to the cylindrical surface equal-area projection transformation.
7 The second generation unit is used to perform the pixel interpolation on the cylindrical 8 surface equal-area projection image, by using a spline interpolation algorithm, based on the color 9 information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 11 pixels in the cylindrical surface equal-area projection image, to generate the panoramic image 12 subjected to the cylindrical surface equal-area projection transformation.
13 In another implementation of the above embodiment, the device for constructing a projection 14 image further comprises: a second obtaining module, a third obtaining module and a second generation module.
16 The second obtaining module, the third obtaining module and the second generation module {x =((2*u/(n-1)-1)*m+7t)*(n-1)/(2*1r) 17 are used to generate the formula u= A. cos coo v= sin co 18 The second obtaining module is used to obtain a formula cos90 for projecting the 19 spherical panoramic image to the cylindrical surface equal-area projection image, wherein u denotes the abscissa of the cylindrical surface equal-area projection image, v denotes the 21 ordinate of the cylindrical surface equal-area projection image, 2 denotes an abscissa of a 22 spherical coordinate in the spherical panoramic image, C6. denotes an ordinate of the spherical 23 coordinate in the spherical panoramic image, and C 0 denotes an input parameter for specifying 24 an aspect ratio of the cylindrical surface equal-area projection image.
A value of u is in a range from 0 to w-1, i.e., [0, w-1], and a value of v is in a range from 0 to h-1, i.e., [0, h-1]. w denotes the 23538638.1 CA Application Blakes Ref: 16131/00002 width of the cylindrical surface equal-area projection image, and h denotes the height of the 2 cylindrical surface equal-area projection image.
3 The third obtaining module is used to obtain a coordinate transformation relationship 27zy 2l 71X
(X, y) ¨> (2, (0) = (n - 1 - 71", 4 2 m -1 from the equirectangular panoramic image to the spherical panoramic image, wherein m and n denote respectively the height and width of the equirectangular panoramic image, x denotes the abscissa of a pixel in the equirectangular panoramic image, and y denotes the ordinate of the pixel in the equirectangular panoramic 8 image.
9 The second generation module is used to obtain the formula x = ((2* (n -1) -1)* TE 7r)*(n -1)1(2 *70 y = (m -1)- arcsin((i - 2*v /(m -1)) + n/2) *(m -1)//t by combining mathematically the formula 11= A, cos 00 sin v =
11 cos0 for projecting the spherical panoramic image to the cylindrical surface equal-area 12 projection image and the coordinate transformation relationship 27-ty 71" 7ZX
(X, y) --> (2, co) = - 7r, - __ 13 n - 1 2 01 -1 from the equirectangular panoramic image to the 14 spherical panoramic image.
The Third Embodiment 16 In accordance with the embodiments of methods described above, the embodiment provides 17 an electronic device comprising a processor, a communication interface, a memory and a 18 communication bus, wherein the processor, the communication interface, and the memory 19 communicate with each other via the communication bus.
The memory is used to store a computer program.

23538638.1 CA Application Blakes Ref: 16131/00002 1 The processor is used to, when the program stored on the memory are executed, implement 2 the method for constructing a projection image according to embodiments of the present 3 application. The method for constructing a projection image comprises:

performing projection on an equirectangular panoramic image with a cylindrical surface equal-area projection model to obtain a cylindrical surface equal-area projection image;

obtaining a two-dimensional coordinate of each of pixels in the cylindrical surface equal-area 7 projection image;

performing coordinate transformation on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the 11 cylindrical surface equal-area projection image;

performing pixel interpolation on the cylindrical surface equal-area projection image, based 13 on color information of each of pixels in the equirectangular panoramic image and the obtained 14 two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image 16 subjected to the cylindrical surface equal-area projection transformation.
17 An equirectangular panoramic image as a storage format for a panoramic image or panoramic video currently causes a higher resolution and larger bit rate of the panoramic image 19 or panoramic video, since for the same texture of the equirectangular panoramic image, the area occupied thereof near the pole is larger than the area occupied thereof near the equator. In the present application, in order to reduce the resolution and bit rate of the panoramic image or panoramic video, the panoramic image subjected to the cylindrical surface equal-area projection transformation instead of the equirectangular panoramic image is used as the storage format for 24 the panoramic image or panoramic video.
The resolution and bit rate of the panoramic image or video can be reduced by using the panoramic image subjected to the cylindrical surface equal-area projection transformation as the storage format for the panoramic image or panoramic video, for the reason that: the projecting of 28 an equirectangular panoramic image with a cylindrical surface equal-area projection model 23538638.1 CA Application Blakes Ref: 16131/00002 1 ensures that there is no deformation or small deformation for the textures near the equator, and 2 .. thus ensures the definition of the panoramic image or panoramic video;
and comparing to the 3 equirectangular panoramic image, textures at two poles in the cylindrical surface equal-area 4 .. projection image obtained through projection are further compressed in the y-axis direction, which ensures that the area of textures at the two poles and the area of textures near the equator 6 are the same. Therefore, the resolution and bit rate of the panoramic image or the panoramic 7 video can be reduced by the panoramic image subjected to the cylindrical surface equal-area 8 .. projection transformation obtained after the pixel interpolation.
9 The Second Embodiment In accordance with the embodiments of methods described above, this embodiment 11 provides a computer-readable storage medium stores a computer program thereon which, when 12 executed by a processor, cause the processor to implement the method for constructing a 13 projection image according to the embodiments of the present application. The method for 14 constructing a projection image comprises:
performing projection on an equirectangular panoramic image with a cylindrical surface 16 .. equal-area projection model to obtain a cylindrical surface equal-area projection image;
17 obtaining a two-dimensional coordinate of each of pixels in the cylindrical surface equal-area 18 projection image;
19 performing coordinate transformation on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional 21 coordinate in the equirectangular panoramic image corresponding to each of pixels in the 22 .. cylindrical surface equal-area projection image;
23 performing pixel interpolation on the cylindrical surface equal-area projection image, based 24 on color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of 26 pixels in the cylindrical surface equal-area projection image, to generate a panoramic image 27 .. subjected to the cylindrical surface equal-area projection transformation.

23538638.1 CA Application - Blakes Ref: 16131/00002 1 An equirectangular panoramic image as a storage format for a panoramic image or panoramic video currently causes a higher resolution and larger bit rate of the panoramic image 3 or panoramic video, since for the same texture of the equirectangular panoramic image, the area occupied thereof near the pole is larger than the area occupied thereof near the equator. In the present application, in order to reduce the resolution and bit rate of the panoramic image or panoramic video, the panoramic image subjected to the cylindrical surface equal-area projection transformation instead of the equirectangular panoramic image is used as the storage format for 8 the panoramic image or panoramic video.
9 The resolution and bit rate of the panoramic image or panoramic video can be reduced by using the panoramic image subjected to the cylindrical surface equal-area projection transformation as the storage format for the panoramic image or panoramic video, for the reason 12 that:
the projecting of an equirectangular panoramic image with a cylindrical surface equal-area projection model ensures that there is no deformation or small deformation for the textures near 14 the equator, and thus ensures the definition of the panoramic image or panoramic video; and comparing to the equirectangular panoramic image, textures at two poles in the cylindrical surface equal-area projection image obtained through projection are further compressed in the 17 y-axis direction, which ensures that the area of textures at the two poles and the area of textures 18 near the equator are the same. Therefore, the resolution and bit rate of the panoramic image or 19 the panoramic video can be reduced by the panoramic image subjected to the cylindrical surface equal-area projection transformation obtained after the pixel interpolation.
21 It should be noted that various embodiments herein adopt corresponding ways for description. The same or similar parts in various embodiments can be referred to one another, 23 and each embodiment is focused on the differences from other embodiments. For embodiments 24 of a device, since they are similar to embodiments of the method, the description thereof is relatively simple. The relating parts could refer to the parts of the description of embodiments of 26 the method.
27 It should be noted that, the relationship terms herein such as "first", "second"
and the like are 28 only used for distinguishing one entity or operation from another entity or operation, but do not necessarily require or imply that there is actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended 23538638.1 CA Application Blakes Ref: 16131/00002 1 .. to cover a non-exclusive inclusion, so that a process, method, article, or device comprising a 2 .. series of elements comprise not only those elements listed but also those not specifically listed or 3 the elements intrinsic to the process, method, article, or device.
Without further limitations, an 4 element defined by a sentence "comprise(s) a..." or "include(s) a..." do not exclude that there are .. other identical elements in the process, method, article, or device which comprises these 6 .. elements.
7 The method and device for constructing a projection image provided by the present 8 application has been described in detail herein. The principle and embodiments of the present 9 application have been described with reference to particular examples.
The description of the embodiments above is merely for assisting in understanding the method of the present 11 application and the core concept thereof. It will be apparent to those skilled in the art that there 12 may be changes in the embodiments and the scope of application in accordance with the 13 teaching of the present application. Therefore, the specification herein should not be construed 14 as limiting the present application.
26 .
23538638.1

Claims (10)

1. A method for constructing a projection image, comprising:
performing projection on an equirectangular panoramic image with a cylindrical surface equal-area projection model to obtain a cylindrical surface equal-area projection image;
obtaining a two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image;
performing coordinate transformation on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image;
performing pixel interpolation on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image subjected to the cylindrical surface equal-area projection transformation.
2. The method of claim 1, wherein performing coordinate transformation on the two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, comprises:
performing the coordinate transformation, by using a formula , on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain the two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image;
wherein, x denotes an abscissa of a two-dimensional coordinate of a pixel in the equirectangular panoramic image, y denotes an ordinate of the two-dimensional coordinate of the pixel in the equirectangular panoramic image, u denotes an abscissa of the pixel in the cylindrical surface equal-area projection image, v denotes an ordinate of the pixel in the cylindrical surface equal-area projection image, m and n denote a height and a width of the equirectangular panoramic image, respectively, where m > 1 and n > 1, and Tr denotes the Pl.
3. The method of claim 1, wherein performing pixel interpolation on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image subjected to the cylindrical surface equal-area projection transformation, comprises:
performing the pixel interpolation on the cylindrical surface equal-area projection image, by using a bilinear interpolation algorithm, based on the color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate the panoramic image subjected to the cylindrical surface equal-area projection transformation.
4. The method of claim 1, wherein performing pixel interpolation on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image subjected to the cylindrical surface equal-area projection transformation, comprises:
performing the pixel interpolation on the cylindrical surface equal-area projection image, by using a spline interpolation algorithm, based on the color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate the panoramic image subjected to the cylindrical surface equal-area projection transformation.
5. A device for constructing a projection image, comprising:
a projection module used to perform projection on an equirectangular panoramic image with a cylindrical surface equal-area projection model to obtain a cylindrical surface equal-area projection image;
a first obtaining module used to obtain a two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image;
a transformation module used to perform coordinate transformation on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image;
a first generation module used to perform pixel interpolation on the cylindrical surface equal-area projection image, based on color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate a panoramic image subjected to the cylindrical surface equal-area projection transformation.
6. The device of claim 5, wherein the transformation module comprises:
a transformation unit used to perform coordinate transformation, by using a formula { x = ((2 * u/ (n - 1) - 1)* .pi.+ .pi.)* (n - 1)/(2 * .pi.) { y = (m - 1 ) - arcsin((1 - 2 * v / (m - 1 )) + .pi./2)* (m - 1)/.pi. , on the obtained two-dimensional coordinate of each of pixels in the cylindrical surface equal-area projection image to obtain a two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image;
wherein, x denotes an abscissa of a two-dimensional coordinate of a pixel in the equirectangular panoramic image, y denotes an ordinate of the two-dimensional coordinate of the pixel in the equirectangular panoramic image, u denotes an abscissa of the pixel in the cylindrical surface equal-area projection image, v denotes an ordinate of the pixel in the cylindrical surface equal-area projection image, m and n denote a height and a width of the equirectangular panoramic image, respectively, where m > 1 and n > 1, and .pi.
denotes the Pl.
7. The device of claim 5, wherein the first generation module comprises:
a first generation unit used to perform the pixel interpolation on the cylindrical surface equal-area projection image, by using a bilinear interpolation algorithm, based on the color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate the panoramic image subjected to the cylindrical surface equal-area projection transformation.
8. The device of claim 5, wherein the first generation module comprises:
a second generation unit used to perform the pixel interpolation on the cylindrical surface equal-area projection image, by using a spline interpolation algorithm, based on the color information of each of pixels in the equirectangular panoramic image and the obtained two-dimensional coordinate in the equirectangular panoramic image corresponding to each of pixels in the cylindrical surface equal-area projection image, to generate the panoramic image subjected to the cylindrical surface equal-area projection transformation.
9. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used to store a computer program;
the processor is used to, when executing the computer program stored on the memory, implement steps of the method of any one of claims 1 to 4.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program thereon which, when being executed by a processor, causes the processor to implement steps of the method of any one of claims 1 to 4.
CA3028863A 2016-12-20 2017-08-30 Projection image construction method and device Active CA3028863C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201611187138.2 2016-12-20
CN201611187138.2A CN106780310B (en) 2016-12-20 2016-12-20 Projection graph construction method and device
PCT/CN2017/099686 WO2018113339A1 (en) 2016-12-20 2017-08-30 Projection image construction method and device

Publications (2)

Publication Number Publication Date
CA3028863A1 CA3028863A1 (en) 2018-06-28
CA3028863C true CA3028863C (en) 2022-03-29

Family

ID=58894256

Family Applications (1)

Application Number Title Priority Date Filing Date
CA3028863A Active CA3028863C (en) 2016-12-20 2017-08-30 Projection image construction method and device

Country Status (10)

Country Link
US (1) US10991068B2 (en)
EP (1) EP3561762B1 (en)
JP (1) JP7010952B2 (en)
KR (1) KR102327972B1 (en)
CN (1) CN106780310B (en)
AU (1) AU2017383979B2 (en)
CA (1) CA3028863C (en)
MY (1) MY201632A (en)
TW (1) TWI635461B (en)
WO (1) WO2018113339A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780310B (en) * 2016-12-20 2020-11-24 北京奇艺世纪科技有限公司 Projection graph construction method and device
CN108230454B (en) * 2017-12-28 2021-09-28 瑞庭网络技术(上海)有限公司 Panorama picture cutting method and device and storage medium
CN111091491B (en) * 2019-12-20 2023-05-05 知鱼科技丹阳有限公司 Panoramic video pixel redistribution method and system for equidistant cylindrical projection
CN111954054B (en) * 2020-06-05 2022-03-04 筑觉绘(上海)科技有限公司 Image processing method, system, storage medium and computer device
JP2023154169A (en) * 2022-04-06 2023-10-19 キヤノン株式会社 Image processing apparatus

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6459451B2 (en) 1996-06-24 2002-10-01 Be Here Corporation Method and apparatus for a panoramic camera to capture a 360 degree image
US6043837A (en) 1997-05-08 2000-03-28 Be Here Corporation Method and apparatus for electronically distributing images from a panoptic camera system
TW358189B (en) 1998-01-15 1999-05-11 Ind Tech Res Inst A field-surrounding image simulation real-time play system and method
US6486908B1 (en) * 1998-05-27 2002-11-26 Industrial Technology Research Institute Image-based method and system for building spherical panoramas
TW413796B (en) 1998-06-25 2000-12-01 Ind Tech Res Inst A method and system for establishing environment image
CN100390666C (en) 2004-12-17 2008-05-28 上海杰图软件技术有限公司 Intelligent method for fast generating high-definition panorama based on round fish eye or drum shape image
JP4403421B2 (en) 2006-08-17 2010-01-27 ソニー株式会社 Image processing apparatus and image processing method
KR100882011B1 (en) 2007-07-29 2009-02-04 주식회사 나노포토닉스 Methods of obtaining panoramic images using rotationally symmetric wide-angle lenses and devices thereof
KR100988872B1 (en) * 2009-07-08 2010-10-20 주식회사 나노포토닉스 Method and imaging system for obtaining complex images using rotationally symmetric wide-angle lens and image sensor for hardwired image processing
CN101639621B (en) * 2009-08-04 2011-11-16 厦门力鼎光电技术有限公司 Method for outputting image in a cylindrical mode or a perspective mode
CN102831626B (en) 2012-06-18 2014-11-26 清华大学 Visualization method for multivariable spatio-temporal data under polar region projection mode
JP6172432B2 (en) * 2013-01-08 2017-08-02 日本電気株式会社 Subject identification device, subject identification method, and subject identification program
CN103617606B (en) * 2013-11-26 2016-09-14 中科院微电子研究所昆山分所 For assisting the vehicle multi-angle panorama generation method of driving
CN104392201B (en) * 2014-09-28 2017-05-31 燕山大学 A kind of human body tumble recognition methods based on omnidirectional vision
CN105550984B (en) 2015-12-30 2019-04-12 北京奇艺世纪科技有限公司 A kind of method and device of correcting fisheye image and Navigation display
US20170302714A1 (en) * 2016-04-15 2017-10-19 Diplloid Inc. Methods and systems for conversion, playback and tagging and streaming of spherical images and video
WO2017182790A1 (en) * 2016-04-18 2017-10-26 Argon Design Ltd Hardware optimisation for generating 360° images
CN106056531B (en) 2016-05-13 2019-07-16 杭州当虹科技股份有限公司 A kind of display methods of 360 degree of panoramic video development of a sphere to plane
CN105933707B (en) 2016-06-30 2019-02-22 北京奇艺世纪科技有限公司 A kind of compression method and device of panoramic video
CN106127681B (en) 2016-07-19 2019-08-13 刘牧野 A kind of image-pickup method, virtual reality image transmission method and display methods
US10277886B2 (en) * 2016-07-19 2019-04-30 Gopro, Inc. Mapping of spherical image data into rectangular faces for transport and decoding across networks
CN106780310B (en) 2016-12-20 2020-11-24 北京奇艺世纪科技有限公司 Projection graph construction method and device
US10614609B2 (en) * 2017-07-19 2020-04-07 Mediatek Inc. Method and apparatus for reduction of artifacts at discontinuous boundaries in coded virtual-reality images

Also Published As

Publication number Publication date
EP3561762B1 (en) 2024-07-10
EP3561762A1 (en) 2019-10-30
US10991068B2 (en) 2021-04-27
TWI635461B (en) 2018-09-11
CN106780310A (en) 2017-05-31
KR20190021394A (en) 2019-03-05
WO2018113339A1 (en) 2018-06-28
CN106780310B (en) 2020-11-24
JP2019526875A (en) 2019-09-19
EP3561762A4 (en) 2019-12-11
MY201632A (en) 2024-03-06
CA3028863A1 (en) 2018-06-28
TW201824176A (en) 2018-07-01
JP7010952B2 (en) 2022-02-10
KR102327972B1 (en) 2021-11-17
AU2017383979B2 (en) 2020-02-27
US20190340726A1 (en) 2019-11-07
AU2017383979A1 (en) 2019-01-24

Similar Documents

Publication Publication Date Title
CA3028863C (en) Projection image construction method and device
CN110058685B (en) Virtual object display method and device, electronic equipment and computer-readable storage medium
US10595004B2 (en) Electronic device for generating 360-degree three-dimensional image and method therefor
US10970938B2 (en) Method and apparatus for generating 3D information
CN112929582A (en) Special effect display method, device, equipment and medium
WO2023035531A1 (en) Super-resolution reconstruction method for text image and related device thereof
US11127126B2 (en) Image processing method, image processing device, image processing system and medium
CN106846451A (en) The sense of reality body of facing mobile apparatus is rendered and interactive system and its method of work
US20200413017A1 (en) Methods and apparatus for projection conversion decoding for applications eco-systems
US9697584B1 (en) Multi-stage image super-resolution with reference merging using personalized dictionaries
WO2020034981A1 (en) Method for generating encoded information and method for recognizing encoded information
CN114049417B (en) Virtual character image generation method and device, readable medium and electronic equipment
CN112714263B (en) Video generation method, device, equipment and storage medium
CN108053781B (en) Cross sampling rotating RGB lamp band display method and device and computer readable storage medium
CN108074281B (en) Pyramid panorama model generation method and device, storage medium and electronic device
CN116486009A (en) Monocular three-dimensional human body reconstruction method and device and electronic equipment
CN115810086A (en) Three-dimensional scene reconstruction method and device, computer equipment and storage medium
CN108027715B (en) The modification of graph command token
WO2020215854A1 (en) Method and apparatus for rendering image, electronic device, and computer readable storage medium
Chen et al. Screen image segmentation and correction for a computer display
US20240296644A1 (en) Generating virtual user devices in a virtual environment that mirror real-world user devices in a real-world environment
CN114820908B (en) Virtual image generation method and device, electronic equipment and storage medium
CN111178300B (en) Target detection method, device, equipment and medium
JP2018200505A (en) Interactive display method of three-dimensional image and system
CN102063699A (en) Interpolation orthogonal multiwavelet based video image scaling method

Legal Events

Date Code Title Description
EEER Examination request

Effective date: 20181220