CN109884868B - Printing method and system of full-parallax holographic stereogram - Google Patents

Printing method and system of full-parallax holographic stereogram Download PDF

Info

Publication number
CN109884868B
CN109884868B CN201910047659.5A CN201910047659A CN109884868B CN 109884868 B CN109884868 B CN 109884868B CN 201910047659 A CN201910047659 A CN 201910047659A CN 109884868 B CN109884868 B CN 109884868B
Authority
CN
China
Prior art keywords
coordinate system
world coordinate
target camera
holographic
plane
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
CN201910047659.5A
Other languages
Chinese (zh)
Other versions
CN109884868A (en
Inventor
闫兴鹏
樊帆
蒋晓瑜
张腾
刘军辉
荆涛
陈卓
汪熙
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.)
Academy of Armored Forces of PLA
Original Assignee
Academy of Armored Forces of PLA
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 Academy of Armored Forces of PLA filed Critical Academy of Armored Forces of PLA
Priority to CN201910047659.5A priority Critical patent/CN109884868B/en
Publication of CN109884868A publication Critical patent/CN109884868A/en
Application granted granted Critical
Publication of CN109884868B publication Critical patent/CN109884868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a printing method and a printing system of a full-parallax holographic stereogram. The printing method comprises the following steps: firstly, acquiring a projection relation of a connecting line of a point on a target camera frame and a camera on a holographic plane; and then, converting the target camera image acquired by the target camera method into a central camera image according to the projection relation, and finally, printing the central camera image, so that the technical defect that distortion is formed when the holographic stereogram acquired by the target camera method is directly used for printing the holographic stereogram is overcome, and the printing precision is improved.

Description

Printing method and system of full-parallax holographic stereogram
Technical Field
The invention relates to the field of holographic prompt map recording, in particular to a printing method and system of a full-parallax holographic stereogram.
Background
To perform holographic stereogram recording, usually by placing the tracks of a camera opposite a plane in a sample scene, this method of acquiring a sample image is called a simple camera method, and as shown in fig. 1, a holographic dry plate is placed on the focal plane of a simple camera to record a scene, called a holographic plane. For the simple camera method, a large field of view is often needed to acquire a scene image, only a small part of the image in the field of view can be utilized, and most of the image is wasted. To solve this problem, a target camera method may be adopted, as shown in fig. 2, by setting a target point to face the center of the object, so that the lens always faces the target point when the camera is translated, the image sampled by the camera always faces the object, and the field angle is smaller.
However, the object camera method may cause distortion when a hologram is recorded because a plane of a sample image is directly used for hologram view printing, which is different from a plane when a hologram is recorded.
Disclosure of Invention
The invention aims to provide a method and a system for printing a full-parallax holographic stereogram, which aim to overcome the technical defect that distortion is formed when the holographic stereogram acquired by adopting a target camera method is directly used for printing the holographic stereogram and improve the printing precision.
In order to achieve the purpose, the invention provides the following scheme:
a printing method of a full parallax holographic stereogram, the printing method comprising the steps of:
acquiring a target camera image by adopting a target camera method;
acquiring a projection relation of a connecting line of a point on a target camera frame and a camera on a holographic plane;
converting the target camera image into a central camera image according to the projection relation;
printing the center camera image.
Optionally, the obtaining of the projection relationship between the point on the frame of the target camera and the target camera connected to the holographic plane specifically includes:
establishing a world coordinate system by taking the center of the holographic plane as an origin;
using the world coordinate system to represent a vector k from the camera to a point on the holographic plane, obtaining a world coordinate system representation of the vector:
Figure GDA0002744563420000021
where k represents the vector of the camera to a point on the holographic plane,
Figure GDA0002744563420000022
and
Figure GDA0002744563420000023
points (x) respectively representing a holographic planar coordinate system2,y2) X-and y-coordinates in the world coordinate System, DxAnd DyRespectively the length and width of the holographic plane;
Figure GDA0002744563420000024
and
Figure GDA0002744563420000025
respectively representing x-axis coordinates and y-axis coordinates of a point (xi, eta) of a camera plane coordinate system in a world coordinate system, wherein W and V are the length and the width of a camera plane respectively;
Figure GDA0002744563420000026
and
Figure GDA0002744563420000027
a unit vector of an x axis, a unit vector of a y axis and a unit vector of a z axis in a world coordinate system, wherein h represents the distance between the holographic plane and the camera plane;
and expressing the points on the target camera frame by using the world coordinate system to obtain the world coordinate system expression of the points on the target camera frame:
Figure GDA0002744563420000028
wherein, P (x)1,y1) Coordinates representing a point P on the target camera frame in the target camera frame coordinate system,
Figure GDA0002744563420000029
coordinates representing the start of the target camera frame in the target camera frame coordinate system,
Figure GDA00027445634200000210
and
Figure GDA00027445634200000211
individual watchHorizontal and vertical viewing angles of the object-displaying camera, exAnd eyRespectively representing a unit vector of an x-axis and a unit vector of a y-axis on a frame coordinate system of the target camera, l represents a distance from a point on a camera plane to an origin,
Figure GDA00027445634200000212
θHrepresenting the angle of rotation, theta, about the y-axis of the world coordinate systemCRepresenting an angle of rotation about an x-axis of a world coordinate system;
establishing a projection equation P (x) of a connecting line of a point on a target camera frame and a camera on a holographic plane1,y1)+λk=Q(x2,y2) Wherein, Q (x)2,y2) The coordinate of a point Q on the holographic plane in a holographic plane coordinate system is represented, and lambda represents a projection parameter;
and substituting the world coordinate system representation of the vector and the world coordinate system representation of the point on the target camera frame into the projection equation to solve to obtain the projection relation of the point on the target camera frame and the connecting line of the camera on the holographic plane:
Figure GDA0002744563420000031
Figure GDA0002744563420000032
where h represents the distance of the holographic plane from the target camera plane.
Optionally, the obtaining a world coordinate system representation of the vector by using the world coordinate system to represent the vector k from the camera to the point on the holographic plane specifically includes:
and expressing the points on the holographic plane by using the world coordinate system to obtain the world coordinates of the points on the holographic plane:
Figure GDA0002744563420000033
and
Figure GDA0002744563420000034
representing the position of the camera by using the world coordinate system, and obtaining the world coordinate of the position of the camera:
Figure GDA0002744563420000035
and determining a world coordinate system representation of the camera and the vector of the point on the holographic plane according to the world coordinate of the point on the holographic plane and the world coordinate of the position of the camera.
Optionally, the representing, by using the world coordinate system, the point on the target camera frame to obtain a world coordinate system representation of the point on the target camera frame specifically includes:
establishing points (x) of the holographic planar coordinate system2,y2,z2) A first equation of rotation about the y-axis of the world coordinate system
Figure GDA0002744563420000036
(x ', y ', z ') denotes a point (x) on the hologram plane2,y2,z2) A y-axis rotated coordinate, theta, around the y-axis of the world coordinate systemHRepresenting the angle of rotation about the y-axis of the world coordinate system,
Figure GDA0002744563420000037
establishing a second rotation equation for the y-axis rotated coordinates (x ', y ', z ') rotated around the x-axis of the world coordinate system
Figure GDA0002744563420000041
(x1,y1,z1) Representing the rotation of the coordinates (x ', y ', z ') around the x-axis of the world coordinate system after the y-axis rotation, to obtain the coordinates of the points on the target camera frame, thetaCRepresenting the angle of rotation about the x-axis of the world coordinate system,
Figure GDA0002744563420000042
mixing the above materialsSubstituting x-axis normal vector coordinates (1,0,0) of the object plane into the first rotation equation and the second rotation equation to obtain world coordinate system representation of x-axis unit vector of the frame coordinate system of the target camera
Figure GDA0002744563420000043
Substituting the holographic plane y-axis normal vector coordinates (0, 0, 1) into the first rotation equation and the second rotation equation to obtain world coordinate system representation of the y-axis unit vector of the frame coordinate system of the target camera
Figure GDA0002744563420000044
And obtaining the world coordinate system representation of the point on the target camera frame according to the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system and the world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system.
Optionally, the converting the target camera frame into a central camera image according to the projection relationship specifically includes:
determining a pixel point (i) on said holographic plane2,j2) With holographic plane coordinates (x)2,y2) Obtaining the corresponding relation of the holographic plane;
Figure GDA0002744563420000045
wherein the content of the first and second substances,
Figure GDA0002744563420000046
representing the number of pixel points in the length direction of the holographic plane,
Figure GDA0002744563420000047
representing the number of pixel points in the width direction of the hologram plane;
determining a pixel point (i) on the holographic plane according to the projection relation and the holographic plane corresponding relation2,j2) Correspond toCoordinates of a point of the target camera frame of (1);
determining a pixel point (i) on the target camera frame1,j1) And target camera frame coordinates (x)1,y1) Obtaining a corresponding relation of the target camera frame;
Figure GDA0002744563420000051
Figure GDA0002744563420000052
according to the pixel point (i) on the holographic plane2,j2) The coordinates of the corresponding points of the target camera frame and the corresponding relation of the target camera frame determine the pixel points (i) on the target camera frame corresponding to the pixel points on the holographic plane1,j1);
Adopting a double-line difference method to perform the pixel point (i) on the target camera frame corresponding to the pixel point on the holographic plane1,j1) Rounding is carried out to obtain a rounded pixel point (i)1',j1')
Extracting the rounded pixel point (i)1',j1') image data;
using said image data to pair pixel points (i) on said holographic plane2,j2) And carrying out assignment to obtain a central camera image.
A printing system for a full parallax holographic stereogram, the printing system comprising:
the image acquisition module is used for acquiring a target camera image by adopting a target camera method;
the projection relation acquisition module is used for acquiring the projection relation of a connecting line of a point on a target camera frame and the camera on the holographic plane;
the image conversion module is used for converting the target camera image into a central camera image according to the projection relation;
and the printing module is used for printing the central camera image.
Optionally, the projection relationship obtaining module specifically includes:
the world coordinate system establishing submodule is used for establishing a world coordinate system by taking the center of the holographic plane as an origin;
a world coordinate system representation obtaining submodule of the vector, configured to use the world coordinate system to represent a vector k from the camera to a point on the holographic plane, and obtain a world coordinate system representation of the vector:
Figure GDA0002744563420000053
where k represents the vector of the camera to a point on the holographic plane,
Figure GDA0002744563420000054
and
Figure GDA0002744563420000055
points (x) respectively representing a holographic planar coordinate system2,y2) X-and y-coordinates in the world coordinate System, DxAnd DyRespectively the length and width of the holographic plane;
Figure GDA0002744563420000061
and
Figure GDA0002744563420000062
respectively representing x-axis coordinates and y-axis coordinates of a point (xi, eta) of a camera plane coordinate system in a world coordinate system, wherein W and V are the length and the width of a camera plane respectively;
Figure GDA0002744563420000063
and
Figure GDA0002744563420000064
a unit vector of an x axis, a unit vector of a y axis and a unit vector of a z axis in a world coordinate system, wherein h represents the distance between the holographic plane and the camera plane;
a world coordinate system representation acquisition submodule of points on the target camera frame, configured to represent the points on the target camera frame using the world coordinate system, to obtain a world coordinate system representation of the points on the target camera frame:
Figure GDA0002744563420000065
wherein, P (x)1,y1) Coordinates representing a point P on the target camera frame in the target camera frame coordinate system,
Figure GDA0002744563420000066
coordinates representing the start of the target camera frame in the target camera frame coordinate system,
Figure GDA0002744563420000067
and
Figure GDA0002744563420000068
respectively representing the horizontal and vertical viewing angles of the subject camera, exAnd eyRespectively representing a unit vector of an x-axis and a unit vector of a y-axis on a frame coordinate system of the target camera, l represents a distance from a point on a camera plane to an origin,
Figure GDA0002744563420000069
θHrepresenting the angle of rotation, theta, about the y-axis of the world coordinate systemCRepresenting an angle of rotation about an x-axis of a world coordinate system;
a projection equation establishing submodule for establishing a projection equation P (x) of a connecting line of a point on a target camera frame and the camera on the holographic plane1,y1)+λk=Q(x2,y2) Wherein, Q (x)2,y2) The coordinate of a point Q on the holographic plane in a holographic plane coordinate system is represented, and lambda represents a projection parameter;
the projection relation obtaining submodule is used for substituting the world coordinate system representation of the vector of the camera and the point on the holographic plane and the world coordinate system representation of the point on the target camera frame into the projection equation to carry out solution so as to obtain the projection relation of the connecting line of the point on the target camera frame and the camera on the holographic plane:
Figure GDA0002744563420000071
Figure GDA0002744563420000072
where h represents the distance of the holographic plane from the target camera plane.
Optionally, the world coordinate system of the vector represents an acquisition submodule, and specifically includes:
a world coordinate obtaining unit of the point on the holographic plane, which is used for representing the point on the holographic plane by using the world coordinate system to obtain the world coordinate of the point on the holographic plane:
Figure GDA0002744563420000073
and
Figure GDA0002744563420000074
a world coordinate acquisition unit of the position of the camera, which is used for representing the position of the camera by using the world coordinate system to obtain the world coordinate of the position of the camera:
Figure GDA0002744563420000075
and the world coordinate system representation acquisition unit of the vector is used for determining the world coordinate system representation of the camera and the vector of the point on the holographic plane according to the world coordinate of the point on the holographic plane and the world coordinate of the position of the camera.
Optionally, the world coordinate system of the point on the target camera frame represents an acquisition sub-module, which specifically includes:
a first rotational equation establishing unit for establishing a point (x) of the holographic planar coordinate system2,y2,z2) A first equation of rotation about the y-axis of the world coordinate system
Figure GDA0002744563420000076
(x ', y ', z ') denotes a point (x) on the hologram plane2,y2,z2) A y-axis rotated coordinate, theta, around the y-axis of the world coordinate systemHRepresenting the angle of rotation about the y-axis of the world coordinate system,
Figure GDA0002744563420000077
a second rotation equation establishing unit for establishing a second rotation equation of the y-axis rotated coordinates (x ', y ', z ') rotated around the x-axis of the world coordinate system
Figure GDA0002744563420000078
(x1,y1,z1) Representing the rotation of the coordinates (x ', y ', z ') around the x-axis of the world coordinate system after the y-axis rotation, to obtain the coordinates of the points on the target camera frame, thetaCRepresenting the angle of rotation about the x-axis of the world coordinate system,
Figure GDA0002744563420000081
a world coordinate system representation obtaining unit of the x-axis unit vector of the target camera frame coordinate system, configured to substitute the holographic plane x-axis normal vector coordinate (1,0,0) into the first rotation equation and the second rotation equation to obtain a world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system
Figure GDA0002744563420000082
A world coordinate system representation obtaining unit of the y-axis unit vector of the target camera frame coordinate system, configured to substitute the holographic plane y-axis normal vector coordinate (0, 0, 1) into the first rotation equation and the second rotation equation to obtain a world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system
Figure GDA0002744563420000083
And the world coordinate system representation acquisition unit is used for obtaining the world coordinate system representation of the point on the target camera frame according to the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system and the world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system.
Optionally, the image conversion module specifically includes:
a holographic plane correspondence obtaining submodule for determining a pixel point (i) on said holographic plane2,j2) With holographic plane coordinates (x)2,y2) Obtaining the corresponding relation of the holographic plane;
Figure GDA0002744563420000084
wherein the content of the first and second substances,
Figure GDA0002744563420000085
representing the number of pixel points in the length direction of the holographic plane,
Figure GDA0002744563420000086
representing the number of pixel points in the width direction of the hologram plane;
a projection submodule for determining a pixel point (i) on the holographic plane according to the projection relation and the holographic plane correspondence relation2,j2) Coordinates of points of the corresponding target camera frame;
a target camera frame correspondence determination submodule for determining a pixel point (i) on the target camera frame1,j1) Obtaining a corresponding relation of the target camera frame with the corresponding relation of the target camera frame coordinates (x1, y 1);
Figure GDA0002744563420000087
Figure GDA0002744563420000091
a pixel point acquisition submodule on the target camera frame for acquiring a pixel point (i) from the holographic plane2,j2) The coordinates of the corresponding points of the target camera frame and the corresponding relation of the target camera frame determine the pixel points (i) on the target camera frame corresponding to the pixel points on the holographic plane1,j1);
An integer-taking module for taking an integer value of a pixel point (i) on the target camera frame corresponding to the pixel point on the holographic plane by using a two-line difference method1,j1) Rounding is carried out to obtain a rounded pixel point (i)1',j1')
An image data extraction submodule for extracting the rounded pixel point (i)1',j1') image data;
an assignment submodule for using said image data to assign pixel points (i) on said holographic plane2,j2) And carrying out assignment to obtain a central camera image.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention provides a printing method of a full parallax holographic stereogram. Firstly, acquiring a projection relation of a connecting line of a point on a target camera frame and a camera on a holographic plane; and then, converting the target camera image acquired by the target camera method into a central camera image according to the projection relation, and finally, printing the central camera image, so that the technical defect that distortion is formed when the holographic stereogram acquired by the target camera method is directly used for printing the holographic stereogram is overcome, and the printing precision is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic diagram of a general camera method of view angle image acquisition provided by the present invention;
FIG. 2 is a schematic diagram of a target camera method view angle image acquisition provided by the present invention;
FIG. 3 is a flow chart of a method for printing a full-parallax holographic stereogram according to the present invention;
FIG. 4 is a schematic diagram of the present invention for acquiring a center camera image;
FIG. 5 is a schematic diagram of a world coordinate system established by the present invention;
FIG. 6 is a target camera frame, holographic plane and camera plane coordinate system established by the present invention;
FIG. 7 is a schematic diagram of the image conversion of the center camera of the present invention;
FIG. 8 is a parametric view of a camera plane and a holographic plane provided by the present invention;
FIG. 9 is a schematic diagram of the relationship acquisition of a target camera frame and a holographic plane provided by the present invention;
FIG. 10 is a diagram illustrating a correspondence between a pixel point and a coordinate according to the present invention;
FIG. 11 is a block diagram of a printing system for full parallax holographic stereogram according to the present invention;
FIG. 12 is a diagram of the effect of a center camera image distorting a directly acquired target camera image;
FIG. 13 is a diagram showing the effect of printing by the method for printing a full-parallax holographic stereogram according to the present invention;
FIG. 8(a) is a horizontal view, and FIG. 8(b) is a plan view; fig. 10(a) is a target camera frame map, fig. 10(b) is a hologram plane map, and fig. 10(c) is a camera plane map; fig. 12(a) is a target camera image, and fig. 12(b) is a center camera image.
Detailed Description
The invention aims to provide a method and a system for printing a full-parallax holographic stereogram, which aim to overcome the technical defect that distortion is formed when the holographic stereogram acquired by adopting a target camera method is directly used for printing the holographic stereogram and improve the printing precision.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1
The embodiment 1 of the invention provides a printing method of a full-parallax holographic stereogram.
As shown in fig. 3, the printing method includes the steps of:
301, acquiring a target camera image by adopting a target camera method;
step 302, acquiring a projection relation of a connecting line of a point on a target camera frame and a camera on a holographic plane;
step 303, converting the target camera image into a central camera image according to the projection relation;
step 304, printing the center camera image.
Example 2
Example 2 of the present invention provides a preferred embodiment of a method for printing a full-parallax holographic stereogram, but the practice of the present invention is not limited to the embodiment defined in example 2.
As shown in FIG. 4, the present invention converts the target camera image into the central camera image, records and prints the central camera image, overcomes the technical defect that the holographic stereogram acquired by the target camera method is directly used for holographic stereogram printing to form distortion, improves the printing precision, and provides a method for full parallax holographic stereogram printing
Figure GDA00027445634200001115
A volume view, a basic algorithm for converting a target camera image into a center camera image, specifically:
first, regarding the basic idea of acquiring a central image from a full-parallax hologram, how to acquire a projection of a connecting line between a point on a target camera frame and a camera point on a holographic plane can be considered by acquiring the central camera image from the target camera image, and the conversion principle is shown in fig. 7. Step 302, acquiring a projection relationship between a point on a frame of the target camera and the target camera connected to the holographic plane specifically includes:
with the saidThe center of the holographic plane is the origin to establish a world coordinate system, as shown in FIG. 5, where the right side of the camera
Figure GDA0002744563420000111
Is in the axial forward direction, and is below the camera
Figure GDA0002744563420000112
The axial direction is positive, and the direction from the holographic plane to the camera plane is negative
Figure GDA0002744563420000113
The axis is positive, and a world coordinate system is established
Figure GDA0002744563420000114
As shown in fig. 6, for the target camera frame, the hologram plane and the camera plane, the upper left endpoint is selected as the starting point. The corresponding coordinate systems are respectively marked as (x)1,y1),(x2,y2),(ξ,η)。
Using the world coordinate system to represent a vector k from the camera to a point on the holographic plane, obtaining a world coordinate system representation of the vector:
Figure GDA0002744563420000115
where, as shown in fig. 8, k denotes a vector of the camera to a point on the hologram plane,
Figure GDA0002744563420000116
and
Figure GDA0002744563420000117
points (x) respectively representing a holographic planar coordinate system2,y2) X-and y-coordinates in the world coordinate System, DxAnd DyRespectively the length and width of the holographic plane;
Figure GDA0002744563420000118
and
Figure GDA0002744563420000119
respectively representThe x-axis coordinate and the y-axis coordinate of a point (xi, eta) on a camera plane coordinate system under a world coordinate system, wherein W and V are the length and the width of a camera plane respectively;
Figure GDA00027445634200001110
and
Figure GDA00027445634200001111
a unit vector of an x axis, a unit vector of a y axis and a unit vector of a z axis in a world coordinate system, wherein h represents the distance between the holographic plane and the camera plane; specifically, the world coordinate system is used for representing the points on the holographic plane, and the world coordinates of the points on the holographic plane are obtained:
Figure GDA00027445634200001112
and
Figure GDA00027445634200001113
representing the position of the camera by using the world coordinate system, and obtaining the world coordinate of the position of the camera:
Figure GDA00027445634200001114
according to the world coordinates of the points on the holographic plane and the world coordinates of the position of the camera, determining the world coordinate system representation of the camera and the vectors of the points on the holographic plane, and using the world coordinate system to represent the points on the target camera frame to obtain the world coordinate system representation of the points on the target camera frame:
Figure GDA0002744563420000121
wherein, P (x)1,y1) Coordinates representing a point P on the target camera frame in the target camera frame coordinate system,
Figure GDA0002744563420000122
coordinates representing the start of the target camera frame in the target camera frame coordinate system,
Figure GDA0002744563420000123
and
Figure GDA0002744563420000124
respectively representing the horizontal and vertical viewing angles of the subject camera, exAnd eyRespectively representing a unit vector of an x-axis and a unit vector of a y-axis on a frame coordinate system of the target camera, l represents a distance from a point on a camera plane to an origin,
Figure GDA0002744563420000125
θHrepresenting the angle of rotation, theta, about the y-axis of the world coordinate systemCRepresenting an angle of rotation about an x-axis of a world coordinate system; specifically, as shown in fig. 9, first, the target point coincides with the center position of the hologram plane in the target camera method, and the target camera frame is always perpendicular to the target camera position, so that the coordinate system of the target camera frame can be regarded as a plane formed by rotating the normal vector (opposite to the z-axis direction) of the hologram plane to the position where the target point and the camera point form a vector. That is, to acquire the coordinate system of the target camera frame, the coordinate system of the hologram plane is simply rotated in a normal vector rotation manner. The method specifically comprises the following steps: establishing points (x) of the holographic planar coordinate system2,y2,z2) A first equation of rotation about the y-axis of the world coordinate system
Figure GDA0002744563420000126
(x ', y ', z ') denotes a point (x) on the hologram plane2,y2,z2) A y-axis rotated coordinate, theta, around the y-axis of the world coordinate systemHRepresenting the angle of rotation about the y-axis of the world coordinate system,
Figure GDA0002744563420000127
establishing a second rotation equation for the y-axis rotated coordinates (x ', y ', z ') rotated around the x-axis of the world coordinate system
Figure GDA0002744563420000128
(x1,y1,z1) To representThe coordinates (x ', y ', z ') rotate around the x axis of the world coordinate system after the y axis rotation to obtain the coordinates of the points on the target camera frame, thetaCRepresenting the angle of rotation about the x-axis of the world coordinate system,
Figure GDA0002744563420000129
substituting the holographic plane x-axis normal vector coordinates (1,0,0) into the first rotation equation and the second rotation equation to obtain the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system
Figure GDA0002744563420000131
Substituting the holographic plane y-axis normal vector coordinates (0, 0, 1) into the first rotation equation and the second rotation equation to obtain world coordinate system representation of the y-axis unit vector of the frame coordinate system of the target camera
Figure GDA0002744563420000132
And obtaining the world coordinate system representation of the point on the target camera frame according to the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system and the world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system.
Establishing a projection equation P (x) of a connecting line of a point on a target camera frame and a camera on a holographic plane1,y1)+λk=Q(x2,y2) Wherein, Q (x)2,y2) And the coordinate of a point Q on the holographic plane in the holographic plane coordinate system is shown, the lambda represents a projection parameter, and the point Q is a projection point of a point P on the target camera frame on the holographic plane.
Substituting the world coordinate system representation of the vector of the camera and the point on the holographic plane and the world coordinate system representation of the point on the target camera frame into the projection equation for solving to obtain the projection relation of the connecting line of the point on the target camera frame and the camera on the holographic plane:
Figure GDA0002744563420000133
Figure GDA0002744563420000134
where h represents the distance of the holographic plane from the target camera plane.
Specifically, the world coordinate system representation of the camera and the vector of the point on the holographic plane and the world coordinate system representation of the point on the target camera frame are substituted into the projection equation to obtain:
Figure GDA0002744563420000135
solving the system of equations to obtain:
Figure GDA0002744563420000141
step 103, converting the target camera frame into a central camera image according to the projection relationship, as shown in fig. 10, considering a discretized coordinate system, NI1,NJ1,NI2,NJ2,NK,NGRespectively representing the target camera frame, the holographic plane, the total number of discrete points in the horizontal and vertical directions of the camera plane, i1,j1,i2,j2And k and g represent horizontal and vertical coordinates of discrete points of a target camera frame, a holographic plane and a camera plane. The method specifically comprises the following steps: determining a pixel point (i) on said holographic plane2,j2) With holographic plane coordinates (x)2,y2) Obtaining the corresponding relation of the holographic plane;
Figure GDA0002744563420000142
Figure GDA0002744563420000143
wherein the content of the first and second substances,
Figure GDA0002744563420000149
representing holographic surfacesThe number of pixel points in the length direction of the face,
Figure GDA0002744563420000144
representing the number of pixel points in the width direction of the hologram plane; determining a pixel point (i) on the holographic plane according to the projection relation and the holographic plane corresponding relation2,j2) Coordinates of points of the corresponding target camera frame; determining a pixel point (i) on the target camera frame1,j1) And the corresponding relation with the target camera frame coordinates (x1, y1) is obtained as follows:
Figure GDA0002744563420000145
Figure GDA0002744563420000146
obtaining a camera plane corresponding relation:
Figure GDA0002744563420000147
Figure GDA0002744563420000148
according to the pixel point (i) on the holographic plane2,j2) The coordinates of the corresponding points of the target camera frame and the corresponding relation of the target camera frame determine the pixel points (i) on the target camera frame corresponding to the pixel points on the holographic plane1,j1);
Adopting a double-line difference method to perform the pixel point (i) on the target camera frame corresponding to the pixel point on the holographic plane1,j1) Rounding is carried out to obtain a rounded pixel point (i)1',j1') to a host; extracting the rounded pixel point (i)1',j1') image data; specifically, order
Figure GDA0002744563420000151
Figure GDA0002744563420000152
Figure GDA0002744563420000153
Two real-valued functions Ω (i) are defined2,j2,k,g),Υ(i2,j2K, g) is an integer i1,j1Real value estimation of (2).
Figure GDA0002744563420000154
Figure GDA0002744563420000155
By applying bilinear interpolation
Figure GDA0002744563420000156
Wherein the content of the first and second substances,
Figure GDA0002744563420000157
respectively represent omega, upsilon, I (I)1,j1K, g) is the data on the target camera frame.
Using said image data to pair pixel points (i) on said holographic plane2,j2) Assigning to obtain central camera image, specifically, using formula
Figure GDA0002744563420000158
For pixel point (i) on the holographic plane2,j2) Carry out assignment, wherein i2∈N|i2≤NI2},{j2∈N|j2≤NJ2},{k∈N|k≤NK},{g∈N|g≤NG}。
Figure GDA0002744563420000159
And transforming the data on all the target camera frames for the image data of the central camera corresponding to the data on the target camera frames to obtain a central camera image corresponding to the target camera image.
Example 3
Embodiment 3 of the invention provides a printing system of a full-parallax holographic stereogram.
As shown in fig. 11, the printing system includes:
an image acquisition module 1101 for acquiring a target camera image by a target camera method; a projection relation obtaining module 1102, configured to obtain a projection relation of a connection line between a point on a target camera frame and a camera on a holographic plane; an image conversion module 1103, configured to convert the target camera image into a center camera image according to the projection relationship; a printing module 1104 for printing the center camera image.
Example 4
Example 4 of the present invention provides a preferred embodiment of a printing system for full parallax holographic stereograms, but the practice of the present invention is not limited to the embodiment provided in example 4 of the present invention.
The projection relationship obtaining module 1102 specifically includes: the world coordinate system establishing submodule is used for establishing a world coordinate system by taking the center of the holographic plane as an origin; a world coordinate system representation obtaining submodule of the vector, configured to use the world coordinate system to represent a vector k from the camera to a point on the holographic plane, and obtain a world coordinate system representation of the vector:
Figure GDA0002744563420000161
where k represents the vector of the camera to a point on the holographic plane,
Figure GDA0002744563420000162
and
Figure GDA0002744563420000163
points (x) respectively representing a holographic planar coordinate system2,y2) X-and y-coordinates in the world coordinate System, DxAnd DyRespectively the length and width of the holographic plane;
Figure GDA0002744563420000164
and
Figure GDA0002744563420000165
respectively representing x-axis coordinates and y-axis coordinates of a point (xi, eta) of a camera plane coordinate system in a world coordinate system, wherein W and V are the length and the width of a camera plane respectively;
Figure GDA0002744563420000166
and
Figure GDA0002744563420000167
a unit vector of an x axis, a unit vector of a y axis and a unit vector of a z axis in a world coordinate system, wherein h represents the distance between the holographic plane and the camera plane; a world coordinate system representation acquisition submodule of points on the target camera frame, configured to represent the points on the target camera frame using the world coordinate system, to obtain a world coordinate system representation of the points on the target camera frame:
Figure GDA0002744563420000171
wherein, P (x)1,y1) Coordinates representing a point P on the target camera frame in the target camera frame coordinate system,
Figure GDA0002744563420000172
coordinates representing the start of the target camera frame in the target camera frame coordinate system,
Figure GDA0002744563420000173
and
Figure GDA0002744563420000174
respectively representing the horizontal and vertical viewing angles of the subject cameraAngle of view, exAnd eyRespectively representing a unit vector of an x-axis and a unit vector of a y-axis on a frame coordinate system of the target camera, l represents a distance from a point on a camera plane to an origin,
Figure GDA0002744563420000175
θHrepresenting the angle of rotation, theta, about the y-axis of the world coordinate systemCRepresenting an angle of rotation about an x-axis of a world coordinate system; a projection equation establishing submodule for establishing a projection equation P (x) of a connecting line of a point on a target camera frame and the camera on the holographic plane1,y1)+λk=Q(x2,y2) Wherein, Q (x)2,y2) The coordinate of a point Q on the holographic plane in a holographic plane coordinate system is represented, lambda represents a projection parameter, and the point Q is a projection point of a point P on a target camera frame on the holographic plane; and the projection relation acquisition submodule is used for substituting the world coordinate system representation of the vector and the world coordinate system representation of the point on the target camera frame into the projection equation to solve to obtain the projection relation of the point on the target camera frame and the connecting line of the camera on the holographic plane:
Figure GDA0002744563420000176
Figure GDA0002744563420000177
where h represents the distance of the holographic plane from the target camera plane.
The world coordinate system of the vector represents an acquisition submodule, and specifically includes: a world coordinate obtaining unit of the point on the holographic plane, which is used for representing the point on the holographic plane by using the world coordinate system to obtain the world coordinate of the point on the holographic plane:
Figure GDA0002744563420000178
and
Figure GDA0002744563420000179
a world coordinate acquisition unit of the position of the camera, which is used for representing the position of the camera by using the world coordinate system to obtain the world coordinate of the position of the camera:
Figure GDA0002744563420000181
and the world coordinate system representation acquisition unit of the vector is used for determining the world coordinate system representation of the camera and the vector of the point on the holographic plane according to the world coordinate of the point on the holographic plane and the world coordinate of the position of the camera.
The world coordinate system of the point on the target camera frame represents an acquisition submodule, and specifically includes: a first rotational equation establishing unit for establishing a point (x) of the holographic planar coordinate system2,y2,z2) A first equation of rotation about the y-axis of the world coordinate system
Figure GDA0002744563420000182
(x ', y ', z ') denotes a point (x) on the hologram plane2,y2,z2) A y-axis rotated coordinate, theta, around the y-axis of the world coordinate systemHRepresenting the angle of rotation about the y-axis of the world coordinate system,
Figure GDA0002744563420000183
a second rotation equation establishing unit for establishing a second rotation equation of the y-axis rotated coordinates (x ', y ', z ') rotated around the x-axis of the world coordinate system
Figure GDA0002744563420000184
(x1,y1,z1) Representing the rotation of the coordinates (x ', y ', z ') around the x-axis of the world coordinate system after the y-axis rotation, to obtain the coordinates of the points on the target camera frame, thetaCRepresenting the angle of rotation about the x-axis of the world coordinate system,
Figure GDA0002744563420000185
a world coordinate system representation acquisition unit of an x-axis unit vector of a frame coordinate system of the target camera for substituting the x-axis normal vector coordinates (1,0,0) of the hologram plane into the first rotation partyThe second rotation equation is used for obtaining the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system
Figure GDA0002744563420000186
A world coordinate system representation obtaining unit of the y-axis unit vector of the target camera frame coordinate system, configured to substitute the holographic plane y-axis normal vector coordinate (0, 0, 1) into the first rotation equation and the second rotation equation to obtain a world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system
Figure GDA0002744563420000187
And the world coordinate system representation acquisition unit is used for obtaining the world coordinate system representation of the point on the target camera frame according to the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system and the world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system.
The image conversion module 1103 specifically includes: a holographic plane correspondence obtaining submodule for determining a pixel point (i) on said holographic plane2,j2) With holographic plane coordinates (x)2,y2) Obtaining the corresponding relation of the holographic plane;
Figure GDA0002744563420000191
wherein the content of the first and second substances,
Figure GDA0002744563420000192
representing the number of pixel points in the length direction of the holographic plane,
Figure GDA0002744563420000193
representing the number of pixel points in the width direction of the hologram plane;
a projection submodule for determining a pixel point (i) on the holographic plane according to the projection relation and the holographic plane correspondence relation2,j2) Corresponding target phaseCoordinates of points of the frame;
a target camera frame correspondence determination submodule for determining a pixel point (i) on the target camera frame1,j1) Obtaining a corresponding relation of the target camera frame with the corresponding relation of the target camera frame coordinates (x1, y 1);
Figure GDA0002744563420000194
Figure GDA0002744563420000195
a pixel point acquisition submodule on the target camera frame for acquiring a pixel point (i) from the holographic plane2,j2) The coordinates of the corresponding points of the target camera frame and the corresponding relation of the target camera frame determine the pixel points (i) on the target camera frame corresponding to the pixel points on the holographic plane1,j1);
An integer-taking module for taking an integer value of a pixel point (i) on the target camera frame corresponding to the pixel point on the holographic plane by using a two-line difference method1,j1) Rounding is carried out to obtain a rounded pixel point (i)1',j1')
An image data extraction submodule for extracting the rounded pixel point (i)1',j1') image data;
an assignment submodule for using said image data to assign pixel points (i) on said holographic plane2,j2) And carrying out assignment to obtain a central camera image.
Example 5
In order to illustrate the printing effect of the printing method and system of the present invention, embodiment 5 of the present invention provides a specific embodiment of a printing method and system for a full-parallax holographic stereogram.
A teapot model with a sleeping cat paste is used as a three-dimensional scene, wherein the size of the teapot is 3.2 in width, 2.4 in height and 4.8cm in depth, a teapot handle is inclined by 40 degrees, a target camera is 18.6cm away from the three-dimensional scene, the field angle of the camera is 45 degrees, the sampling distance of the selected camera is 0.2cm, the horizontal length and the vertical length of a track are 20.2cm, the horizontal position and the vertical position of the camera are 102, the total sampling number is 3, the scene sampling is carried out according to the setting, and then the obtained target camera sampling image is processed by using the method provided by the invention.
As shown in fig. 12, it can be seen that the original sampled image is deformed by directly converting the target camera image into the center camera image, and the original sampled image is also enlarged in addition to the deformation, which is caused by the difference between the size of the center camera sampled image and the size of the projected hologram plane.
The transformed image is enlarged in addition to the distortion, which is caused by the difference in size of the central camera sample image and the size of the projected holographic plane. The central camera image obtained by the method provided by the invention is applied to holographic volume view printing, and the printing result is shown in FIG. 13. Compared with the sampling image of a simple camera, the central camera image obtained by processing the target camera image by the method provided by the invention can more fully utilize the data of the sampling image, and compared with the target camera image obtained by the target camera method, the target camera image is directly used for printing, so that distortion is not formed, and a full-parallax holographic stereogram with a good effect is obtained.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principle and the implementation manner of the present invention are explained by applying specific examples, the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof, the described embodiments are only a part of the embodiments of the present invention, not all embodiments, and all other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the protection scope of the present invention.

Claims (8)

1. A printing method of full parallax holographic stereogram is characterized by comprising the following steps:
acquiring a target camera image by adopting a target camera method;
acquiring a projection relation of a connecting line of a point on a target camera frame and a camera on a holographic plane;
converting the target camera image into a central camera image according to the projection relation;
printing the center camera image;
the acquiring of the projection relationship between the point on the target camera frame and the camera connected to the holographic plane specifically includes:
establishing a world coordinate system by taking the center of the holographic plane as an origin;
using the world coordinate system to represent a vector k from the camera to a point on the holographic plane, obtaining a world coordinate system representation of the vector:
Figure FDA0002744563410000011
where k represents the vector of the camera to a point on the holographic plane,
Figure FDA0002744563410000012
and
Figure FDA0002744563410000013
points (x) respectively representing a holographic planar coordinate system2,y2) X-and y-coordinates in the world coordinate System, DxAnd DyRespectively the length and width of the holographic plane;
Figure FDA0002744563410000014
and
Figure FDA0002744563410000015
respectively representing x-axis coordinates and y-axis coordinates of a point (xi, eta) on a camera plane coordinate system under a world coordinate system, wherein W and V are the length and the width of a camera plane respectively;
Figure FDA0002744563410000016
and
Figure FDA0002744563410000017
a unit vector of an x axis, a unit vector of a y axis and a unit vector of a z axis in a world coordinate system;
and expressing the points on the target camera frame by using the world coordinate system to obtain the world coordinate system expression of the points on the target camera frame:
Figure FDA0002744563410000018
wherein, P (x)1,y1) Coordinates representing a point P on the target camera frame in the target camera frame coordinate system,
Figure FDA0002744563410000021
coordinates representing the start of the target camera frame in the target camera frame coordinate system,
Figure FDA0002744563410000022
and
Figure FDA0002744563410000023
respectively representing the horizontal and vertical viewing angles of the subject camera, exAnd eyRespectively representing a unit vector of an x axis and a unit vector of a y axis on a target camera frame coordinate system;
establishing a projection equation P (x) of a connecting line of a point on a target camera frame and a camera on a holographic plane1,y1)+λk=Q(x2,y2) Wherein, Q (x)2,y2) Representing the coordinates of a point Q on the holographic plane in a holographic plane coordinate system;
and substituting the world coordinate system representation of the vector and the world coordinate system representation of the point on the target camera frame into the projection equation to solve to obtain the projection relation of the point on the target camera frame and the connecting line of the camera on the holographic plane:
Figure FDA0002744563410000024
Figure FDA0002744563410000025
where h represents the distance of the holographic plane from the camera plane.
2. The method for printing a full parallax holographic stereogram as claimed in claim 1, wherein said using said world coordinate system to represent a vector k from said camera to a point on said holographic plane to obtain a world coordinate system representation of said vector comprises:
and expressing the points on the holographic plane by using the world coordinate system to obtain the world coordinates of the points on the holographic plane:
Figure FDA0002744563410000026
and
Figure FDA0002744563410000027
representing the position of the camera by using the world coordinate system, and obtaining the world coordinate of the position of the camera:
Figure FDA0002744563410000028
and determining a world coordinate system representation of the camera and the vector of the point on the holographic plane according to the world coordinate of the point on the holographic plane and the world coordinate of the position of the camera.
3. The method for printing a full parallax holographic stereogram as claimed in claim 1, wherein said using said world coordinate system to represent points on said target camera frame to obtain a world coordinate system representation of points on said target camera frame comprises:
establishing points (x) of the holographic planar coordinate system2,y2,z2) A first equation of rotation about the y-axis of the world coordinate system
Figure FDA0002744563410000031
(x ', y ', z ') denotes a point (x) on the hologram plane2,y2,z2) A y-axis rotated coordinate, theta, around the y-axis of the world coordinate systemHRepresenting the angle of rotation about the y-axis of the world coordinate system,
Figure FDA0002744563410000032
establishing a second rotation equation for the y-axis rotated coordinates (x ', y ', z ') rotated around the x-axis of the world coordinate system
Figure FDA0002744563410000033
(x1,y1,z1) Representing the rotation of the coordinates (x ', y ', z ') around the x-axis of the world coordinate system after the y-axis rotation, to obtain the coordinates of the points on the target camera frame, thetaCRepresenting the angle of rotation about the x-axis of the world coordinate system,
Figure FDA0002744563410000034
substituting the holographic plane x-axis normal vector coordinates (1,0,0) into the first rotation equation and the second rotation equation to obtain the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system
Figure FDA0002744563410000035
Substituting the holographic plane y-axis normal vector coordinates (0, 0, 1) into the first rotation equation and the second rotation equation to obtain world coordinate system representation of the y-axis unit vector of the frame coordinate system of the target camera
Figure FDA0002744563410000036
And obtaining the world coordinate system representation of the point on the target camera frame according to the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system and the world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system.
4. The method for printing a full parallax holographic stereogram according to claim 1, wherein said converting the target camera frame into a central camera image according to the projection relationship specifically comprises:
determining a pixel point (i) on said holographic plane2,j2) With holographic plane coordinates (x)2,y2) Obtaining the corresponding relation of the holographic plane;
Figure FDA0002744563410000041
wherein the content of the first and second substances,
Figure FDA0002744563410000042
representing the number of pixel points in the length direction of the holographic plane,
Figure FDA0002744563410000043
representing the number of pixel points in the width direction of the hologram plane;
determining a pixel point (i) on the holographic plane according to the projection relation and the holographic plane corresponding relation2,j2) Coordinates of points of the corresponding target camera frame;
determining the targetPixel Point (i) on Camera frame1,j1) And target camera frame coordinates (x)1,y1) Obtaining a corresponding relation of the target camera frame;
Figure FDA0002744563410000044
Figure FDA0002744563410000045
according to the pixel point (i) on the holographic plane2,j2) The coordinates of the corresponding points of the target camera frame and the corresponding relation of the target camera frame determine the pixel points (i) on the target camera frame corresponding to the pixel points on the holographic plane1,j1);
Adopting a double-line difference method to perform the pixel point (i) on the target camera frame corresponding to the pixel point on the holographic plane1,j1) Rounding is carried out to obtain a rounded pixel point (i)1',j1')
Extracting the rounded pixel point (i)1',j1') image data;
using said image data to pair pixel points (i) on said holographic plane2,j2) And carrying out assignment to obtain a central camera image.
5. A printing system for a full parallax holographic stereogram, the printing system comprising:
the image acquisition module is used for acquiring a target camera image by adopting a target camera method;
the projection relation acquisition module is used for acquiring the projection relation of a connecting line of a point on a target camera frame and the camera on the holographic plane;
the image conversion module is used for converting the target camera image into a central camera image according to the projection relation;
a printing module for printing the central camera image;
the projection relationship obtaining module specifically includes:
the world coordinate system establishing submodule is used for establishing a world coordinate system by taking the center of the holographic plane as an origin;
a world coordinate system representation obtaining submodule of the vector, configured to use the world coordinate system to represent a vector k from the camera to a point on the holographic plane, and obtain a world coordinate system representation of the vector:
Figure FDA0002744563410000051
where k represents the vector of the camera to a point on the holographic plane,
Figure FDA0002744563410000052
and
Figure FDA0002744563410000053
points (x) respectively representing a holographic planar coordinate system2,y2) X-and y-coordinates in the world coordinate System, DxAnd DyRespectively the length and width of the holographic plane;
Figure FDA0002744563410000054
and
Figure FDA0002744563410000055
respectively representing x-axis coordinates and y-axis coordinates of a point (xi, eta) on a camera plane coordinate system under a world coordinate system, wherein W and V are the length and the width of a camera plane respectively;
Figure FDA0002744563410000056
and
Figure FDA0002744563410000057
a unit vector of an x axis, a unit vector of a y axis and a unit vector of a z axis in a world coordinate system;
a world coordinate system representation acquisition submodule of points on the target camera frame, configured to represent the points on the target camera frame using the world coordinate system, to obtain a world coordinate system representation of the points on the target camera frame:
Figure FDA0002744563410000058
wherein, P (x)1,y1) Coordinates representing a point P on the target camera frame in the target camera frame coordinate system,
Figure FDA0002744563410000059
coordinates representing the start of the target camera frame in the target camera frame coordinate system,
Figure FDA00027445634100000510
and
Figure FDA00027445634100000511
respectively representing the horizontal and vertical viewing angles of the subject camera, exAnd eyRespectively representing a unit vector of an x axis and a unit vector of a y axis on a target camera frame coordinate system;
a projection equation establishing submodule for establishing a projection equation P (x) of a connecting line of a point on a target camera frame and the camera on the holographic plane1,y1)+λk=Q(x2,y2) Wherein, Q (x)2,y2) Representing the coordinates of a point Q on the holographic plane in a holographic plane coordinate system;
and the projection relation acquisition submodule is used for substituting the world coordinate system representation of the vector and the world coordinate system representation of the point on the target camera frame into the projection equation to solve to obtain the projection relation of the point on the target camera frame and the connecting line of the camera on the holographic plane:
Figure FDA0002744563410000061
Figure FDA0002744563410000062
where h represents the distance of the holographic plane from the target camera plane.
6. The printing system of a full parallax holographic stereogram as claimed in claim 5, wherein the world coordinate system representation of the vector comprises an acquisition submodule, which comprises:
a world coordinate obtaining unit of the point on the holographic plane, which is used for representing the point on the holographic plane by using the world coordinate system to obtain the world coordinate of the point on the holographic plane:
Figure FDA0002744563410000063
and
Figure FDA0002744563410000064
a world coordinate acquisition unit of the position of the camera, which is used for representing the position of the camera by using the world coordinate system to obtain the world coordinate of the position of the camera:
Figure FDA0002744563410000065
and the world coordinate system representation acquisition unit of the vector is used for determining the world coordinate system representation of the camera and the vector of the point on the holographic plane according to the world coordinate of the point on the holographic plane and the world coordinate of the position of the camera.
7. The printing system of a full parallax holographic stereogram as claimed in claim 5, wherein the world coordinate system of the point on the target camera frame represents the acquisition submodule, which comprises:
a first rotational equation establishing unit for establishing a point (x) of the holographic planar coordinate system2,y2,z2) A first equation of rotation about the y-axis of the world coordinate system
Figure FDA0002744563410000071
(x ', y ', z ') denotes a point (x) on the hologram plane2,y2,z2) A y-axis rotated coordinate, theta, around the y-axis of the world coordinate systemHRepresenting the angle of rotation about the y-axis of the world coordinate system,
Figure FDA0002744563410000072
a second rotation equation establishing unit for establishing a second rotation equation of the y-axis rotated coordinates (x ', y ', z ') rotated around the x-axis of the world coordinate system
Figure FDA0002744563410000073
(x1,y1,z1) Representing the rotation of the coordinates (x ', y ', z ') around the x-axis of the world coordinate system after the y-axis rotation, to obtain the coordinates of the points on the target camera frame, thetaCRepresenting the angle of rotation about the x-axis of the world coordinate system,
Figure FDA0002744563410000074
a world coordinate system representation obtaining unit of the x-axis unit vector of the target camera frame coordinate system, configured to substitute the holographic plane x-axis normal vector coordinate (1,0,0) into the first rotation equation and the second rotation equation to obtain a world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system
Figure FDA0002744563410000075
A world coordinate system representation obtaining unit of the y-axis unit vector of the target camera frame coordinate system, configured to substitute the holographic plane y-axis normal vector coordinate (0, 0, 1) into the first rotation equation and the second rotation equation to obtain a world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system
Figure FDA0002744563410000076
And the world coordinate system representation acquisition unit is used for obtaining the world coordinate system representation of the point on the target camera frame according to the world coordinate system representation of the x-axis unit vector of the target camera frame coordinate system and the world coordinate system representation of the y-axis unit vector of the target camera frame coordinate system.
8. The printing system of a full parallax holographic stereogram as claimed in claim 5, wherein said image conversion module specifically comprises:
a holographic plane correspondence obtaining submodule for determining a pixel point (i) on said holographic plane2,j2) With holographic plane coordinates (x)2,y2) Obtaining the corresponding relation of the holographic plane;
Figure FDA0002744563410000081
wherein the content of the first and second substances,
Figure FDA0002744563410000082
representing the number of pixel points in the length direction of the holographic plane,
Figure FDA0002744563410000083
representing the number of pixel points in the width direction of the hologram plane;
a projection submodule for determining a pixel point (i) on the holographic plane according to the projection relation and the holographic plane correspondence relation2,j2) Coordinates of points of the corresponding target camera frame;
a target camera frame correspondence determination submodule for determining a pixel point (i) on the target camera frame1,j1) Obtaining a corresponding relation of the target camera frame with the corresponding relation of the target camera frame coordinates (x1, y 1);
Figure FDA0002744563410000084
Figure FDA0002744563410000085
a pixel point acquisition submodule on the target camera frame for acquiring a pixel point (i) from the holographic plane2,j2) The coordinates of the corresponding points of the target camera frame and the corresponding relation of the target camera frame determine the pixel points (i) on the target camera frame corresponding to the pixel points on the holographic plane1,j1);
An integer-taking module for taking an integer value of a pixel point (i) on the target camera frame corresponding to the pixel point on the holographic plane by using a two-line difference method1,j1) Rounding is carried out to obtain a rounded pixel point (i)1',j1')
An image data extraction submodule for extracting the rounded pixel point (i)1',j1') image data;
an assignment submodule for using said image data to assign pixel points (i) on said holographic plane2,j2) And carrying out assignment to obtain a central camera image.
CN201910047659.5A 2019-01-18 2019-01-18 Printing method and system of full-parallax holographic stereogram Active CN109884868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910047659.5A CN109884868B (en) 2019-01-18 2019-01-18 Printing method and system of full-parallax holographic stereogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910047659.5A CN109884868B (en) 2019-01-18 2019-01-18 Printing method and system of full-parallax holographic stereogram

Publications (2)

Publication Number Publication Date
CN109884868A CN109884868A (en) 2019-06-14
CN109884868B true CN109884868B (en) 2020-12-25

Family

ID=66926255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910047659.5A Active CN109884868B (en) 2019-01-18 2019-01-18 Printing method and system of full-parallax holographic stereogram

Country Status (1)

Country Link
CN (1) CN109884868B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244469B (en) * 2019-06-19 2021-03-23 中国人民解放军陆军装甲兵学院 Method and system for determining position and diffusion angle of directional diffuser
CN111260644B (en) * 2020-02-17 2023-12-08 中国人民解放军陆军装甲兵学院 Image quality evaluation method and system for full parallax holographic volume view reproduction image
CN113014901B (en) * 2021-02-25 2022-05-17 深圳臻像科技有限公司 Parallax image sequence synthesis method and system for holographic volume view printing and storage medium
CN113671813B (en) * 2021-08-20 2022-09-13 中国人民解放军陆军装甲兵学院 Virtual and real scene fused full-parallax holographic volume view manufacturing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1333485A (en) * 2000-05-29 2002-01-30 索尼公司 Holograph printing system and stereo holograph
CN1394300A (en) * 2000-10-16 2003-01-29 索尼株式会社 Holographic stereogram printing apparatus and method thereof
CN101222647A (en) * 2007-10-12 2008-07-16 四川虹微技术有限公司 Scene global depth estimation method for multi-vision angle video image
CN106767895A (en) * 2015-11-25 2017-05-31 南京中观软件技术有限公司 The system and method for solving camera elements of exterior orientation using index point orientation
CN108986161A (en) * 2018-06-19 2018-12-11 亮风台(上海)信息科技有限公司 A kind of three dimensional space coordinate estimation method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1333485A (en) * 2000-05-29 2002-01-30 索尼公司 Holograph printing system and stereo holograph
CN1394300A (en) * 2000-10-16 2003-01-29 索尼株式会社 Holographic stereogram printing apparatus and method thereof
CN101222647A (en) * 2007-10-12 2008-07-16 四川虹微技术有限公司 Scene global depth estimation method for multi-vision angle video image
CN106767895A (en) * 2015-11-25 2017-05-31 南京中观软件技术有限公司 The system and method for solving camera elements of exterior orientation using index point orientation
CN108986161A (en) * 2018-06-19 2018-12-11 亮风台(上海)信息科技有限公司 A kind of three dimensional space coordinate estimation method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN109884868A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109884868B (en) Printing method and system of full-parallax holographic stereogram
CN106331527B (en) A kind of image split-joint method and device
CN104079819A (en) Image processing apparatus and method, and image capturing apparatus
WO2016030305A1 (en) Method and device for registering an image to a model
TWI587241B (en) Method, device and system for generating two - dimensional floor plan
CN112927362A (en) Map reconstruction method and device, computer readable medium and electronic device
CN108399634B (en) RGB-D data generation method and device based on cloud computing
CN107680039B (en) Point cloud splicing method and system based on white light scanner
WO2023071790A1 (en) Pose detection method and apparatus for target object, device, and storage medium
CN112017302A (en) Real-time registration method of projection mark and machine vision based on CAD model
CN109819169A (en) Panorama shooting method, device, equipment and medium
JP2019045991A (en) Generation device, generation method and program
CN116958419A (en) Binocular stereoscopic vision three-dimensional reconstruction system and method based on wavefront coding
CN103700082B (en) Image split-joint method based on dual quaterion relative orientation
Pathak et al. Dense 3D reconstruction from two spherical images via optical flow-based equirectangular epipolar rectification
CN113421242A (en) Deep learning-based welding spot appearance quality detection method and device and terminal
CN106778658B (en) Method for analyzing learner attention based on classroom scene and learner sight
CN116579962A (en) Panoramic sensing method, device, equipment and medium based on fisheye camera
CN105488764B (en) Fisheye image correcting method and device
CN102625046B (en) Anti-shake device and method for photography
WO2004102483A1 (en) Feature based caricaturing
Watanabe et al. Digitization of deformed documents using a high-speed multi-camera array
Maninchedda et al. Face reconstruction on mobile devices using a height map shape model and fast regularization
CN111208138A (en) Intelligent wood recognition device
CN115578296A (en) Stereo video processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant