CN110069006B - Holographic volume view synthesis parallax image generation method and system - Google Patents
Holographic volume view synthesis parallax image generation method and system Download PDFInfo
- Publication number
- CN110069006B CN110069006B CN201910360131.3A CN201910360131A CN110069006B CN 110069006 B CN110069006 B CN 110069006B CN 201910360131 A CN201910360131 A CN 201910360131A CN 110069006 B CN110069006 B CN 110069006B
- Authority
- CN
- China
- Prior art keywords
- view
- holographic
- image
- pixel
- parallax 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000015572 biosynthetic process Effects 0.000 title claims abstract description 11
- 238000003786 synthesis reaction Methods 0.000 title claims abstract description 11
- 238000005070 sampling Methods 0.000 claims abstract description 96
- 239000011159 matrix material Substances 0.000 claims abstract description 52
- 230000000007 visual effect Effects 0.000 claims abstract description 19
- 238000009877 rendering Methods 0.000 claims abstract description 10
- 239000002131 composite material Substances 0.000 claims description 15
- 238000004061 bleaching Methods 0.000 claims description 4
- 238000011156 evaluation Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 description 5
- GGCZERPQGJTIQP-UHFFFAOYSA-N sodium;9,10-dioxoanthracene-2-sulfonic acid Chemical compound [Na+].C1=CC=C2C(=O)C3=CC(S(=O)(=O)O)=CC=C3C(=O)C2=C1 GGCZERPQGJTIQP-UHFFFAOYSA-N 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000006073 displacement reaction Methods 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 2
- 239000005337 ground glass Substances 0.000 description 1
- 238000001093 holography Methods 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010287 polarization Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03H—HOLOGRAPHIC PROCESSES OR APPARATUS
- G03H1/00—Holographic processes or apparatus using light, infrared or ultraviolet waves for obtaining holograms or for obtaining an image from them; Details peculiar thereto
- G03H1/04—Processes or apparatus for producing holograms
- G03H1/08—Synthesising holograms, i.e. holograms synthesized from objects or objects from holograms
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03H—HOLOGRAPHIC PROCESSES OR APPARATUS
- G03H1/00—Holographic processes or apparatus using light, infrared or ultraviolet waves for obtaining holograms or for obtaining an image from them; Details peculiar thereto
- G03H1/04—Processes or apparatus for producing holograms
- G03H1/08—Synthesising holograms, i.e. holograms synthesized from objects or objects from holograms
- G03H1/0866—Digital holographic imaging, i.e. synthesizing holobjects from holograms
Abstract
The invention discloses a method for generating a holographic volume view synthesis parallax image, which comprises the following steps: determining the distance L between a sampling camera plane and a holographic body view plane, judging the distance between L and 5 times of the distance between a holographic recording medium and an LCD screen, re-determining sampling parameters based on the judgment result, and rendering to obtain n multiplied by n three-dimensional scene view images; determining the horizontal and vertical coordinates of the position of the ith three-dimensional scene view image, the coordinate position of a pixel in the three-dimensional scene view image and the pixel gray value; judging whether the pixel is an effective pixel or not, and assigning the effective pixel to a four-dimensional matrix; assigning values to all pixels in the ith visual angle image until i is equal to nxn, and storing all effective pixels into a four-dimensional matrix; all the synthesized parallax images required for printing are finally output from the four-dimensional matrix. The method can obtain the pixel-level accurate synthetic parallax image required by holographic volume view printing.
Description
Technical Field
The invention relates to the field of holographic volume views, in particular to a method and a system for generating a holographic volume view synthesis parallax image.
Background
The holographic volume view printing can realize three-dimensional reproduction of a three-dimensional scene, the printing needs to successively expose the holographic units, each holographic unit corresponds to a synthesized parallax image, and an algorithm from a sampling image to the synthesized parallax image is a key research content in the holographic volume view printing. Yamaguchi obtains the parallax image of corresponding holographic unit through calculating all rays that pass through a certain point of hologram plane, and the hologram reproduction image printed through this method has characteristics such as no distortion, full parallax. Hall introduces an image preprocessing technique into volume view printing, and solves the problem of horizontal holographic volume view (HPO) reproduced image distortion. Bjelkhagen and Brotherton-Ratcliffe in the UK propose direct-write digital holography (DWDH), in order to obtain a parallax image, six planes are abstracted from an exposure optical system, namely a camera plane, a film projection plane, an SLM projection plane and a hologram plane, a pixel corresponding relation between a sampling image and the parallax image is obtained according to a light ray tracing method, and finally a correct parallax image is obtained from the camera sampling image. An effective parallax image segmentation and recombination single-step holographic view printing method (EPISM) is provided by Sujian and Yuan-quan, which simulates a 'two-step method', acquires a synthesized parallax image by using fewer sampling pictures through a light ray tracing method, and realizes single-step printing to acquire a reproduced image protruding from a holographic recording medium for display.
The above methods can acquire the synthesized parallax image required by the printing system, but the Yamaguchi method has great difficulty from algorithm to program implementation. For the Michael w.hale method, the synthetic parallax image resolution depends on the number of holographic elements, and is not suitable for smaller-sized holograms. For the EPISM method, there is some error in the synthesized parallax image. Therefore, there is a need to provide another method in which the image resolution can be adjusted as desired, the distance between the sampling plane and the hologram plane can be adjusted with the sampling interval and the ratio between the hologram units, and the synthesized parallax image precision is at the pixel level.
Disclosure of Invention
The invention aims to provide a method and a system for determining a holographic volume view, which are used for improving the synthesis precision of the holographic volume view.
In order to achieve the purpose, the invention provides the following scheme:
a holographic volume-view synthetic parallax image generation method, the method comprising:
1) acquiring parameters in the holographic volume view printing system; the parameters include: size S x S of hologram view, distance M between hologram recording medium and LCD screen, size Δ H of holographic unit constituting volume view, resolution y x y of composite parallax image, field angle θ of composite parallax image loaded on LCD screen to holographic unit2The number of holographic elements v × v;
2) preliminarily setting sampling parameters of a virtual camera according to the parameters of the printing system; the sampling parameters include: distance L between the plane of the sampling camera and the view plane of the hologram, sampling range C, sampling interval Delta C, and field angle theta of the sampling camera1Resolution m × m of sampled images, number n × n of sampled images;
3) judging whether the L is more than 5M;
4) if L is larger than 5M, adjusting the delta C, and re-determining the distance L between the plane of the sampling camera and the view plane of the holographic bodynewAnd a sampling range Cnew;
5) Based on the Lnew、Cnew、θ1Rendering the delta C, m and n to obtain n multiplied by n three-dimensional scene view images;
6) acquiring a four-dimensional matrix for initially generating and storing a synthesized parallax image;
7) determining an abscissa r and an ordinate c of the position of the ith three-dimensional scene view image, a coordinate position (e, f) of a pixel of the ith three-dimensional scene view image in the three-dimensional scene view image and a pixel gray value xi; wherein i is 1,2,3 … n × n;
8) judging whether the pixel is an effective pixel or not;
9) if the pixels are effective pixels, determining an initial synthesized parallax image based on the effective pixels, and if the pixels are not effective pixels, removing the pixels; the initial synthesized parallax image includes a plurality of the effective pixels;
10) assigning the effective pixel to the four-dimensional matrix to obtain an updated four-dimensional matrix;
11) judging the value of i and the size of n multiplied by n;
12) if i is less than n × n, assigning i to i +1, and repeating the steps 7) -12), and if i is equal to n × n, obtaining a four-dimensional matrix group, wherein the four-dimensional matrix group consists of n × n different two-dimensional matrices;
13) and outputting a synthesized parallax image required by final output hologram view printing based on the four-dimensional matrix group.
Optionally, the preliminary setting of the virtual camera sampling parameters according to the printing system parameters specifically adopts the following formula:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, m is the resolution of the sampled image, θ1To sample the field of view of the camera, θ2The synthesized parallax image loaded for the LCD corresponds to the field angle of the holographic unit, S is the hologram view size, Δ C is the sampling interval, n × n is the number of sampled images, and C is the sampling range.
Optionally, the Δ C is adjusted to re-determine the distance L between the plane of the sampling camera and the view plane of the hologramnewAnd a sampling range CnewThe method specifically comprises the following steps:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, and θ2The resulting parallax image loaded for the LCD is directed to the field angle of the holographic element, S is the holographic volume view size, θ1=θ2,θ1For the field angle of the sampling camera, m is y, m is the resolution of the sampled image, Δ C is Δ H/N, Δ C is the sampling interval, and N is a constant.
Optionally, the determining whether the pixel is an effective pixel specifically includes:
judging whether r, c, e and f meetIf it satisfiesThen it is a valid pixel; wherein r and c are respectively an abscissa and an ordinate of the position of the ith three-dimensional scene view image, e and f are an abscissa and an ordinate of the pixel of the ith three-dimensional scene view image in the three-dimensional scene view image, r is ceil (i/n), c is imodn,γ is a positive integer, where mod is the remainder function and ceil functions to return the smallest integer greater than or equal to the specified expression.
Optionally, the four-dimensional matrix specifically includes: o ═ v, v, y, and the updated four-dimensional matrix specifically is: o ═ floor [ (r + e-y)/N ], floor [ (c + f-y)/N ], y-e, y-f) ═ ξ; wherein, floor represents rounding up, ξ represents the pixel gray value of an effective pixel, N is a constant, r and c are respectively the abscissa and the ordinate of the ith three-dimensional scene visual angle image position, and e and f are the abscissa and the ordinate of the pixel of the ith three-dimensional scene visual angle image in the three-dimensional scene visual angle image.
Optionally, the hologram volume view printing is performed based on the synthesized parallax image required by the final output hologram volume view printing.
Optionally, the holographic volume view printing specifically includes:
and loading the synthesized parallax image required by the final output holographic volume view printing on an LCD screen, exposing the holographic units one by one, and developing and bleaching to obtain the holographic volume view.
The present invention further provides a system for generating a holographic stereogram synthesis parallax image, the system specifically includes:
the parameter acquisition module is used for acquiring parameters in the holographic volume view printing system; the parameters include: view size S multiplied by S of the holographic body, distance M between the holographic recording medium and the LCD screen, size Delta H of the holographic unit, resolution y multiplied by y of the synthesized parallax image, field angle theta of the synthesized parallax image loaded on the LCD screen to the holographic unit2The number of holographic elements v × v;
the sampling module is used for preliminarily setting sampling parameters of the virtual camera according to the parameters of the printing system; the sampling parameters include: distance L between the plane of the sampling camera and the view plane of the hologram, sampling range C, sampling interval Delta C, and field angle theta of the sampling camera1Resolution m × m of sampled images, number n × n of sampled images;
the first judgment module is used for judging whether the L is more than 5M;
an adjustment module for adjusting the Δ C to re-determine the distance L between the sampling camera plane and the hologram view plane when L is greater than 5MnewAnd a sampling range Cnew;
A rendering module to render based on the Lnew、Cnew、θ1Rendering the delta C, m and n to obtain n multiplied by n three-dimensional scene view images;
the four-dimensional matrix synthesis module is used for acquiring a four-dimensional matrix which initially generates, stores and synthesizes the parallax image;
the coordinate and pixel value determining module is used for determining an abscissa r and an ordinate c of the position of the ith three-dimensional scene view image, a coordinate position (e, f) of a pixel of the ith three-dimensional scene view image in the three-dimensional scene view image and a pixel gray value xi; wherein i is 1,2,3 … n × n;
the second judging module is used for judging whether the pixel is an effective pixel or not;
the evaluation module is used for determining an initial synthesized parallax image based on the effective pixels when the effective pixels are the effective pixels;
the updating module is used for assigning the effective pixels to the four-dimensional matrix to obtain an updated four-dimensional matrix;
the third judging module is used for judging the numerical value of i and the size of n multiplied by n;
the circulating module is connected with the coordinate and pixel value determining module and used for returning to the coordinate and pixel value determining module when i is smaller than n × n and is assigned with i as i +1, and if i is equal to n × n, a four-dimensional matrix group is obtained and consists of n × n different two-dimensional matrices;
the output module is used for outputting a synthesized parallax image required by final output hologram view printing based on the four-dimensional matrix group;
a hologram view determination module 214 for determining a hologram view based on the final synthesized parallax image.
Optionally, the Δ C is adjusted to re-determine the distance L between the plane of the sampling camera and the view plane of the hologramnewAnd a sampling range CnewThe method specifically comprises the following steps:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, and θ2The resulting parallax image loaded for the LCD is directed to the field angle of the holographic element, S is the holographic volume view size, θ1=θ2,θ1For the field angle of the sampling camera, m is y, m is the resolution of the sampled image, Δ C is Δ H/N, Δ C is the sampling interval, and N is a constant.
Optionally, the determining whether the pixel is an effective pixel specifically includes:
judging whether r, c, e and f meetIf it satisfiesThen it is a valid pixel; wherein r and c are respectively the abscissa and ordinate of the i-th three-dimensional scene view angle image position, and e and f are the pixel of the i-th three-dimensional scene view angle image in the three-dimensional sceneAbscissa and ordinate in the scene view image, r ═ ceil (i/n), c ═ imodn,gamma is a positive integer.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
in the invention, the L value is adjusted by adjusting the proportion of the sampling interval and the size of the holographic unit, the distance from the sampling plane to the plane of the hologram is shortened, and the proportion of the three-dimensional scene in the sampling image is improved, thereby finally improving the quality of the synthesized parallax image; by judging the effectiveness of the pixels, if the pixels are invalid, the pixels cannot be stored in the matrix O (v, v, y, y), so that the memory space for program operation is greatly reduced, as most of the pixels in the sampled image are invalid, if all the visual angle images are stored, the requirement on computer hardware is high, and the algorithm implementation difficulty is higher; each pixel of the synthesized parallax image accurately corresponds to a pixel of a visual angle image, one pixel corresponds to one light ray in holographic stereovision printing, and the synthesized parallax image with accurate pixel level realizes accurate pixel level light field reproduction; by assigning all the effective pixels of all the view images to the matrix O (v, v, y, y), the synthesized parallax images are output in sequence, instead of reading all the relevant view images to generate one synthesized parallax image, and then repeatedly reading all the relevant view images to generate other synthesized parallax images, the algorithm efficiency is greatly improved. Because each pixel of one synthesized parallax image is often distributed in hundreds of thousands of perspective images, and other pixels of the hundreds of thousands of perspective images often correspond to other synthesized parallax images, the latter reads the perspective images repeatedly, the efficiency is low, and the algorithm execution time is hundreds of times that of the former.
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 flow chart of a hologram view determination method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a holographic stereogram printing system according to an embodiment of the present invention;
FIG. 3 is a hologram view effect diagram according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a hologram view determination system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a method and a system for determining a holographic volume view, which are used for improving the synthesis precision of the holographic volume view.
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.
Fig. 1 is a flowchart of a hologram view determining method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101: acquiring parameters in the holographic volume view printing system; the parameters include: size S x S of hologram view, distance M between hologram recording medium and LCD screen, size Δ H of holographic unit constituting volume view, resolution y x y of composite parallax image, field angle θ of composite parallax image loaded on LCD screen to holographic unit2The number v × v of hologram elements is shown in fig. 2.
Specifically, the holographic volume view printing system comprises a 400mW single longitudinal mode linear polarization solid laser CNI MSL-FN-639, an electronic shutter with the model of SigmaKoki SSH-C2B, two half-wave plates, a beam splitter prism, a 40-time objective lens, an LCD screen with the model of VVVX 09F035M20, which is produced by Panasonic corporation and is provided with a background light module and a polaroid removed, common ground glass, two square diaphragms, a beam expander, a collimating lens with the focal length of 150mm, an Tianjin I silver salt dry plate and an X-Y linear displacement platform with the model of KSA 300. The control system includes a programmable controller MC600, control software, and a computer. The control system can synchronously control the shutter, the LCD loaded picture and the X-Y linear displacement platform, and realize the synchronous exposure of the silver salt dry plate. Due to the shielding effect of the square diaphragm on the light beam, the exposed part of the silver salt dry plate is a square area at a time, and the area is called a holographic unit. A synthesized parallax image is loaded on an LCD and exposed to correspond to one holographic unit, a silver salt dry plate is moved through a displacement platform, the synthesized parallax image is simultaneously converted, all the holographic units are obtained through gradual exposure, and finally, a holographic body view is obtained through development and bleaching.
Step 102: preliminarily setting sampling parameters according to the parameters of the printing system, and sampling the three-dimensional scene through a virtual camera; the sampling parameters include: distance L between the plane of the sampling camera and the view plane of the hologram, sampling range C, and field angle θ of the sampling camera1The sampling interval Δ C, the resolution m × m of the sampled images, and the number n × n of the sampled images.
Specifically, a virtual camera using 3ds Max software samples a three-dimensional scene.
The distance L between the sampling camera plane and the hologram view plane and the sampling range C are specifically expressed as follows:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, m is the resolution of the sampled image, θ1To sample the field of view of the camera, θ2The synthesized parallax image loaded for the LCD corresponds to the field angle of the holographic unit, S is the hologram view size, Δ C is the sampling interval, n × n is the number of sampled images, and C is the sampling range.
Step 103: and judging whether the L is larger than 5M.
Step 104: if L is larger than 5M, adjusting the delta C, and re-determining the distance L between the plane of the sampling camera and the view plane of the holographic bodynewAnd a sampling range Cnew。
Specifically, if L is greater than 5M, it is indicated that the distance between the sampled image and the three-dimensional scene is much greater than the distance between the three-dimensional scene and the holographic volume view, which may cause the ratio of the three-dimensional object in the sampled image to be too low, decrease of effective pixels, and influence on the synthesis effect of the synthesized parallax image. By setting the parameters in the software, the sampling interval Δ C is set equal to 1/N of the hologram size Δ H, i.e., Δ C ═ Δ H/N, at which time
Where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, and θ2The resulting parallax image loaded for the LCD is directed to the field angle of the holographic element, S is the holographic volume view size, θ1=θ2,θ1For the field angle of the sampling camera, m is y, m is the resolution of the sampled image, Δ C is Δ H/N, Δ C is the sampling interval, and N is a constant.
Step 105: based on the Lnew、Cnew、θ1And the delta C, m and the n rendering result in n multiplied by n three-dimensional scene view images.
Step 106: acquiring a four-dimensional matrix for initially generating and storing a synthesized parallax image;
step 107: determining an abscissa r and an ordinate c of the position of the ith three-dimensional scene view image, a coordinate position (e, f) of a pixel of the ith three-dimensional scene view image in the three-dimensional scene view image and a pixel gray value xi; where i is 1,2,3 … n × n.
Step 108: and judging whether the pixel is an effective pixel or not.
Specifically, the determining whether the pixel is an effective pixel specifically includes:
judging whether r, c, e and f meetIf it satisfiesThen it is a valid pixel; wherein r and c are respectively an abscissa and an ordinate of the position of the ith three-dimensional scene view image, e and f are an abscissa and an ordinate of the pixel of the ith three-dimensional scene view image in the three-dimensional scene view image, r is ceil (i/n), c is imodn,γ is a positive integer, where mod is the remainder function and ceil functions to return the smallest integer greater than or equal to the specified expression.
Step 109: if the pixels are effective pixels, determining an initial synthesized parallax image based on the effective pixels, and if the pixels are not effective pixels, removing the pixels; the initial synthesized parallax image includes a plurality of the effective pixels.
Step 110: and assigning the effective pixel to the four-dimensional matrix to obtain an updated four-dimensional matrix.
The four-dimensional matrix is specifically: o ═ v, v, y, where (v, v) two dimensions store the position information of the synthesized parallax image and (y, y) two dimensions store the position information of the pixels in the image. The updated four-dimensional matrix is specifically: o ═ floor [ (r + e-y)/N ], floor [ (c + f-y)/N ], y-e, y-f) ═ ξ; wherein, floor represents rounding up, ξ represents the pixel gray value of an effective pixel, N is a constant, r and c are respectively the abscissa and the ordinate of the ith three-dimensional scene visual angle image position, and e and f are the abscissa and the ordinate of the pixel of the ith three-dimensional scene visual angle image in the three-dimensional scene visual angle image.
Step 111: the value of i and the size of n × n are determined.
Step 112: if i is smaller than n × n, assigning i to i +1, and repeating steps 7) -12), if i is equal to n × n, obtaining a four-dimensional matrix group, wherein the four-dimensional matrix group is composed of n × n different two-dimensional matrices.
Step 113: and outputting a synthesized parallax image required by final output hologram view printing based on the four-dimensional matrix group.
Step 114: and performing holographic volume view printing based on the synthesized parallax image required by the final output holographic volume view printing.
Specifically, the synthesized parallax images corresponding to the holographic units are sequentially loaded on an LCD screen, the holographic units are exposed one by one under the action of a control system, and finally a holographic volume view with obvious stereoscopic effect and clear image quality is obtained through development and bleaching, and the obtained holographic volume view is shown in FIG. 3.
Fig. 4 is a system for determining a hologram view according to an embodiment of the present invention, which is characterized in that the system specifically includes:
a parameter acquiring module 201, configured to acquire parameters in the holographic volume-view printing system; the parameters include: view size S multiplied by S of the holographic body, distance M between silver salt dry plate and LCD screen, size Delta H of holographic unit, resolution y multiplied by y of synthesized parallax image, field angle theta of synthesized parallax image loaded on LCD screen to holographic unit2The number of holographic elements v × v;
the sampling module 202 is configured to sample a three-dimensional scene through a virtual camera to obtain sampling parameters; the sampling parameters include: sampling camera field angle theta1Sampling interval delta C, sampling image resolution m multiplied by m, and sampling image number n multiplied by n;
a first determining module 203, configured to determine whether L is greater than 5M;
an adjusting module 204, configured to adjust Δ C to re-determine a distance L between the sampling camera plane and the hologram view plane when L is greater than 5MnewAnd a sampling range Cnew;
A rendering module 205 to render based on the LnewAnd said CnewRendering to obtain n multiplied by n three-dimensional scene visual angle images;
a four-dimensional matrix synthesis module 206 for obtaining a four-dimensional matrix for initially generating a stored synthesized parallax image
A coordinate and pixel value determining module 207, configured to determine an abscissa r and an ordinate c of a position of the ith three-dimensional scene perspective image, a coordinate position (e, f) of a pixel of the ith three-dimensional scene perspective image in the three-dimensional scene perspective image, and a pixel gray value ξ; wherein i is 1,2,3 … n × n;
a second determining module 208, configured to determine whether the pixel is an effective pixel;
an assignment module 209, configured to determine an initial synthesized disparity image based on the valid pixels when the valid pixels are valid pixels;
an updating module 210, configured to assign the valid pixel to the four-dimensional matrix to obtain an updated four-dimensional matrix;
a third determining module 211, configured to determine a value of i and a size of n × n;
a circulation module 212, connected to the coordinate and pixel value determining module, configured to, when i is smaller than n × n, assign i to i +1, and return to the coordinate and pixel value determining module, and if i is equal to n × n, obtain a four-dimensional matrix group, where the four-dimensional matrix group is formed by n × n different four-dimensional matrices;
an output module 213, configured to output a final synthesized parallax image based on the four-dimensional matrix set;
a hologram view determination module 214 for determining a hologram view based on the final synthesized parallax image.
Specifically, in the above system, the Δ C is adjusted to re-determine the distance L between the plane of the sampling camera and the view plane of the hologramnewAnd a sampling range CnewThe method specifically comprises the following steps:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, and θ2The resulting parallax image loaded for the LCD is directed to the field angle of the holographic element, S is the holographic volume view size, θ1=θ2,θ1For sampling camerasWhere m is y, m is the resolution of the sampled image, Δ C is Δ H/N, Δ C is the sampling interval, and N is a constant.
The determining whether the pixel is an effective pixel specifically includes:
judging whether r, c, e and f meetIf it satisfiesThen it is a valid pixel; wherein r and c are respectively an abscissa and an ordinate of the position of the ith three-dimensional scene view image, e and f are an abscissa and an ordinate of the pixel of the ith three-dimensional scene view image in the three-dimensional scene view image, r is ceil (i/n), c is imodn,gamma is a positive integer.
The four-dimensional matrix is specifically: o ═ v, v, y, and the updated four-dimensional matrix specifically is: o ═ floor [ (r + e-y)/N ], floor [ (c + f-y)/N ], y-e, y-f) ═ ξ; wherein, floor represents rounding up, ξ represents the pixel gray value of an effective pixel, N is a constant, r and c are respectively the abscissa and the ordinate of the ith three-dimensional scene visual angle image position, and e and f are the abscissa and the ordinate of the pixel of the ith three-dimensional scene visual angle image in the three-dimensional scene visual angle image.
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.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.
Claims (7)
1. A method for generating a holographic volume-view synthesized parallax image, the method comprising:
1) acquiring parameters in the holographic volume view printing system; the parameters include: size S x S of hologram view, distance M between hologram recording medium and LCD screen, size Δ H of holographic unit constituting volume view, resolution y x y of composite parallax image, field angle θ of composite parallax image loaded on LCD screen to holographic unit2The number of holographic elements v × v;
2) preliminarily setting sampling parameters of a virtual camera according to the parameters of the printing system; the sampling parameters include: distance L between the plane of the sampling camera and the view plane of the hologram, sampling range C, sampling interval Delta C, and field angle theta of the sampling camera1Resolution m × m of sampled images, number n × n of sampled images;
3) judging whether the L is more than 5M;
4) if L is larger than 5M, adjusting the delta C, and re-determining the distance L between the plane of the sampling camera and the view plane of the holographic bodynewAnd a sampling range Cnew;
5) Based on the Lnew、Cnew、θ1Rendering the delta C, m and n to obtain n multiplied by n three-dimensional scene view images;
6) acquiring a four-dimensional matrix for initially generating and storing a synthesized parallax image;
7) determining an abscissa r and an ordinate c of the position of the ith three-dimensional scene view image, a coordinate position (e, f) of a pixel of the ith three-dimensional scene view image in the three-dimensional scene view image and a pixel gray value xi; wherein i is 1,2,3 … n × n;
8) judging whether the pixel is an effective pixel or not;
the determining whether the pixel is an effective pixel specifically includes:
judging whether r, c, e and f meetIf it satisfiesThen it is a valid pixel; r and c are respectively an abscissa and an ordinate of the position of the ith three-dimensional scene view angle image, e and f are respectively an abscissa and an ordinate of the pixel of the ith three-dimensional scene view angle image in the three-dimensional scene view angle image, r is ceil (i/n), c is imodn,gamma is a positive integer, N is a constant, mod is a remainder function, ceil has the function of returning a minimum integer greater than or equal to a specified expression;
9) if the pixels are effective pixels, determining an initial synthesized parallax image based on the effective pixels, and if the pixels are not effective pixels, removing the pixels; the initial synthesized parallax image includes a plurality of the effective pixels;
10) assigning the effective pixel to the four-dimensional matrix to obtain an updated four-dimensional matrix;
the four-dimensional matrix is specifically: o ═ O, (v, v, y, y), (v, v) two dimensions store positional information of the synthesized parallax image, and (y, y) two dimensions store positional information of pixels in the image; the updated four-dimensional matrix is specifically: o ═ floor [ (r + e-y)/N ], floor [ (c + f-y)/N ], y-e, y-f) ═ ξ; floor represents upward rounding, ξ represents the pixel gray value of an effective pixel, N is a constant, r and c are respectively the abscissa and the ordinate of the ith three-dimensional scene visual angle image position, and e and f are the abscissa and the ordinate of the pixel of the ith three-dimensional scene visual angle image in the three-dimensional scene visual angle image;
11) judging the value of i and the size of n multiplied by n;
12) if i is less than n × n, assigning i to i +1, and repeating the steps 7) -12), and if i is equal to n × n, obtaining a four-dimensional matrix group, wherein the four-dimensional matrix group consists of n × n different two-dimensional matrices;
13) and outputting a synthesized parallax image required by final output hologram view printing based on the four-dimensional matrix group.
2. The method for generating a holographic volume-view synthetic parallax image according to claim 1, wherein the preliminary setting of the virtual camera sampling parameters according to the printing system parameters specifically adopts the following formula:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, m is the resolution of the sampled image, θ1To sample the field of view of the camera, θ2The synthesized parallax image loaded for the LCD corresponds to the field angle of the holographic unit, S is the hologram view size, Δ C is the sampling interval, n × n is the number of sampled images, and C is the sampling range.
3. The method of claim 1, wherein the adjusting Δ C re-determines the distance L between the sampling camera plane and the holographic volume view planenewAnd a sampling range CnewThe method specifically comprises the following steps:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, and θ2The resulting parallax image loaded for the LCD is directed to the field angle of the holographic element, S is the holographic volume view size, θ1=θ2,θ1For the field angle of the sampling camera, m is y, m is the resolution of the sampled image, Δ C is Δ H/N, Δ C is the sampling interval, and N is a constant.
4. The method of generating a holographic volume-view synthetic parallax image according to claim 1, further comprising: and performing holographic volume view printing based on the synthesized parallax image required by the final output holographic volume view printing.
5. The method for generating a holographic volume-view synthetic parallax image according to claim 4, wherein the holographic volume-view printing specifically comprises:
and loading the synthesized parallax image required by the final output holographic volume view printing on an LCD screen, exposing the holographic units one by one, and developing and bleaching to obtain the holographic volume view.
6. A holographic volume-view synthetic parallax image generation system, the system comprising:
the parameter acquisition module is used for acquiring parameters in the holographic volume view printing system; the parameters include: view size S multiplied by S of the holographic body, distance M between the holographic recording medium and the LCD screen, size Delta H of the holographic unit, resolution y multiplied by y of the synthesized parallax image, field angle theta of the synthesized parallax image loaded on the LCD screen to the holographic unit2The number of holographic elements v × v;
the sampling module is used for preliminarily setting sampling parameters of the virtual camera according to the parameters of the printing system; the sampling parameters include: distance L between the plane of the sampling camera and the view plane of the hologram, sampling range C, sampling interval Delta C, and field angle theta of the sampling camera1Resolution m × m of sampled images, number n × n of sampled images;
the first judgment module is used for judging whether the L is more than 5M;
an adjustment module for adjusting the Δ C to re-determine the distance L between the sampling camera plane and the hologram view plane when L is greater than 5MnewAnd a sampling range Cnew;
A rendering module to render based on the Lnew、Cnew、θ1Rendering the delta C, m and n to obtain n multiplied by n three-dimensional scene view images;
the four-dimensional matrix synthesis module is used for acquiring a four-dimensional matrix which initially generates, stores and synthesizes the parallax image;
the coordinate and pixel value determining module is used for determining an abscissa r and an ordinate c of the position of the ith three-dimensional scene view image, a coordinate position (e, f) of a pixel of the ith three-dimensional scene view image in the three-dimensional scene view image and a pixel gray value xi; wherein i is 1,2,3 … n × n;
the second judging module is used for judging whether the pixel is an effective pixel or not;
the determining whether the pixel is an effective pixel specifically includes:
judging whether r, c, e and f meetIf it satisfiesThen it is a valid pixel; r and c are respectively an abscissa and an ordinate of the position of the ith three-dimensional scene view angle image, e and f are respectively an abscissa and an ordinate of the pixel of the ith three-dimensional scene view angle image in the three-dimensional scene view angle image, r is ceil (i/n), c is imodn,gamma is a positive integer, N is a constant, mod is a remainder function, ceil has the function of returning a minimum integer greater than or equal to a specified expression;
the evaluation module is used for determining an initial synthesized parallax image based on the effective pixels when the effective pixels are the effective pixels;
the updating module is used for assigning the effective pixels to the four-dimensional matrix to obtain an updated four-dimensional matrix;
the four-dimensional matrix is specifically: o ═ O, (v, v, y, y), (v, v) two dimensions store positional information of the synthesized parallax image, and (y, y) two dimensions store positional information of pixels in the image; the updated four-dimensional matrix is specifically: o ═ floor [ (r + e-y)/N ], floor [ (c + f-y)/N ], y-e, y-f) ═ ξ; floor represents upward rounding, ξ represents the pixel gray value of an effective pixel, N is a constant, r and c are respectively the abscissa and the ordinate of the ith three-dimensional scene visual angle image position, and e and f are the abscissa and the ordinate of the pixel of the ith three-dimensional scene visual angle image in the three-dimensional scene visual angle image;
the third judging module is used for judging the numerical value of i and the size of n multiplied by n;
the circulating module is connected with the coordinate and pixel value determining module and used for returning to the coordinate and pixel value determining module when i is smaller than n × n and is assigned with i as i +1, and if i is equal to n × n, a four-dimensional matrix group is obtained and consists of n × n different two-dimensional matrices;
the output module is used for outputting a synthesized parallax image required by final output hologram view printing based on the four-dimensional matrix group;
a holographic volume view determination module to determine a holographic volume view based on the final synthesized parallax image.
7. The holographic volume-view synthetic parallax image generation system of claim 6, wherein said adjusting said Δ C re-determines a distance L of a sampling camera plane from a holographic volume-view planenewAnd a sampling range CnewThe method specifically comprises the following steps:
where Δ H is the size of the holographic element, y is the resolution of the composite parallax image, and θ2The resulting parallax image loaded for the LCD is directed to the field angle of the holographic element, S is the holographic volume view size, θ1=θ2,θ1For the field angle of the sampling camera, m is y, m is the resolution of the sampled image, Δ C is Δ H/N, Δ C is the sampling interval, and N is a constant.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910360131.3A CN110069006B (en) | 2019-04-30 | 2019-04-30 | Holographic volume view synthesis parallax image generation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910360131.3A CN110069006B (en) | 2019-04-30 | 2019-04-30 | Holographic volume view synthesis parallax image generation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110069006A CN110069006A (en) | 2019-07-30 |
CN110069006B true CN110069006B (en) | 2020-12-25 |
Family
ID=67369668
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910360131.3A Active CN110069006B (en) | 2019-04-30 | 2019-04-30 | Holographic volume view synthesis parallax image generation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110069006B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260644B (en) * | 2020-02-17 | 2023-12-08 | 中国人民解放军陆军装甲兵学院 | Image quality evaluation method and system for full parallax holographic volume view reproduction image |
CN111781812B (en) * | 2020-07-22 | 2021-09-21 | 中国人民解放军陆军装甲兵学院 | Brightness homogenization method and system for full-parallax holographic volume view reconstructed image |
CN113014901B (en) * | 2021-02-25 | 2022-05-17 | 深圳臻像科技有限公司 | Parallax image sequence synthesis method and system for holographic volume view printing and storage medium |
CN115202174B (en) * | 2022-07-14 | 2023-11-10 | 浙江理工大学 | Holographic view acquisition method, system and application based on light field image |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102117041A (en) * | 2011-02-28 | 2011-07-06 | 深圳大学反光材料厂 | Method for making colorful synthetic hologram |
CN102254348A (en) * | 2011-07-25 | 2011-11-23 | 北京航空航天大学 | Block matching parallax estimation-based middle view synthesizing method |
CN102385237A (en) * | 2010-09-08 | 2012-03-21 | 微软公司 | Depth camera based on structured light and stereo vision |
JP5115799B2 (en) * | 2008-01-21 | 2013-01-09 | ソニー株式会社 | Image processing apparatus and method, and program |
RU2529666C2 (en) * | 2012-04-09 | 2014-09-27 | Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." | System and method of printing integral photographs providing full parallax and high resolution of three-dimensional image (versions) |
US9025881B2 (en) * | 2012-02-06 | 2015-05-05 | Nanyang Technological University | Methods and apparatus for recovering phase and amplitude from intensity images |
CN106647211A (en) * | 2017-01-19 | 2017-05-10 | 中国人民解放军装甲兵工程学院 | Visual angle picture segmentation and recombination printing method of synthesized holographic stereogram |
CN108051991A (en) * | 2017-12-26 | 2018-05-18 | 中国人民解放军陆军装甲兵学院 | The dimensionally-optimised method of holographic cell of holographic stereogram print system based on effective multi-perspective picture segmentation reassembly algorithm |
CN109283823A (en) * | 2018-11-22 | 2019-01-29 | 中国人民解放军陆军装甲兵学院 | A kind of stereoscopic picture capturing method of holography and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103217888B (en) * | 2012-11-09 | 2018-02-02 | 浙江师范大学 | A kind of preparation method of computing mechanism synthesis colour rainbow hologram |
CN106227015B (en) * | 2016-07-11 | 2019-04-26 | 中国科学院深圳先进技术研究院 | A kind of hologram image super-resolution reconstruction method and system based on compressive sensing theory |
US10663923B2 (en) * | 2016-09-09 | 2020-05-26 | City University Of Hong Kong | Efficiently generating a high quality patterned-phase-only hologram for display on a single device |
-
2019
- 2019-04-30 CN CN201910360131.3A patent/CN110069006B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5115799B2 (en) * | 2008-01-21 | 2013-01-09 | ソニー株式会社 | Image processing apparatus and method, and program |
CN102385237A (en) * | 2010-09-08 | 2012-03-21 | 微软公司 | Depth camera based on structured light and stereo vision |
CN102117041A (en) * | 2011-02-28 | 2011-07-06 | 深圳大学反光材料厂 | Method for making colorful synthetic hologram |
CN102254348A (en) * | 2011-07-25 | 2011-11-23 | 北京航空航天大学 | Block matching parallax estimation-based middle view synthesizing method |
US9025881B2 (en) * | 2012-02-06 | 2015-05-05 | Nanyang Technological University | Methods and apparatus for recovering phase and amplitude from intensity images |
RU2529666C2 (en) * | 2012-04-09 | 2014-09-27 | Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." | System and method of printing integral photographs providing full parallax and high resolution of three-dimensional image (versions) |
CN106647211A (en) * | 2017-01-19 | 2017-05-10 | 中国人民解放军装甲兵工程学院 | Visual angle picture segmentation and recombination printing method of synthesized holographic stereogram |
CN108051991A (en) * | 2017-12-26 | 2018-05-18 | 中国人民解放军陆军装甲兵学院 | The dimensionally-optimised method of holographic cell of holographic stereogram print system based on effective multi-perspective picture segmentation reassembly algorithm |
CN109283823A (en) * | 2018-11-22 | 2019-01-29 | 中国人民解放军陆军装甲兵学院 | A kind of stereoscopic picture capturing method of holography and system |
Non-Patent Citations (6)
Title |
---|
Characteristic and optimization of;Jian Su, Xingpeng Yan,Xiaoyu Jiang;《Scientific Reports》;20180314;1-15 * |
Improvement of printing efficiency in holographic;JIAN SU,XINGPENG YAN,YINGQING HUANG;《APPLIED OPTICS》;20180901;7159-7166 * |
Method of single-step full parallax synthetic;JIAN SU,QUAN YUAN,YINGQING HUANG;《OPTICS EXPRESS》;20170918;23523-23544 * |
Progress in the Synthetic Holographic Stereogram;Jian Su,Xingpeng Yan,Yingqing Hu;《Applied Sciences》;20180523;851 * |
有效视角图像切片嵌合法全息体视图的数值重构;樊帆,蒋晓瑜;《中国激光》;20181231;1209002 * |
采用视角切片法提高全息体视图再现视差图像分辨率;裴闯,蒋晓瑜;《激光与光电子学进展》;20150813;090901 * |
Also Published As
Publication number | Publication date |
---|---|
CN110069006A (en) | 2019-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110069006B (en) | Holographic volume view synthesis parallax image generation method and system | |
JP3155263B2 (en) | Computer-Aided Holography and Holographic Computer Graphics | |
US5455689A (en) | Electronically interpolated integral photography system | |
US6205241B1 (en) | Compression of stereoscopic images | |
US5113213A (en) | Computer-generated autostereography method and apparatus | |
CN107505324B (en) | 3D scanning device and scanning method based on binocular collaborative laser | |
CN106707680B (en) | A kind of holographic projection methods based on light field | |
WO2020056408A1 (en) | Holographic display system | |
KR20080071475A (en) | Apparatus and method for generating cg(computer graphics) image for 3-d display | |
CN111669514A (en) | High dynamic range imaging method and apparatus | |
WO2018080533A1 (en) | Real-time generation of synthetic data from structured light sensors for 3d object pose estimation | |
CN111062869A (en) | Curved screen-oriented multi-channel correction splicing method | |
CN110321089B (en) | Holographic volume view printing method and system | |
KR102277098B1 (en) | A volume hologram generation method using point cloud and mesh | |
CN101477326A (en) | Three-dimension graphics direct-writing method with multi-vision angle graphical input | |
Ainsworth et al. | Acquisition of stereo panoramas for display in VR environments | |
CN113671813B (en) | Virtual and real scene fused full-parallax holographic volume view manufacturing method and system | |
CN114004935A (en) | Method and device for three-dimensional modeling through three-dimensional modeling system | |
CN112562067A (en) | Method for generating large-batch point cloud data sets | |
CN116912393A (en) | Face reconstruction method and device, electronic equipment and readable storage medium | |
KR20140092460A (en) | Apparatus converting hologram image of two-dimensional image and method thereof | |
Ebner et al. | Fully automated highly accurate 3D reconstruction from multiple views | |
KR102654323B1 (en) | Apparatus, method adn system for three-dimensionally processing two dimension image in virtual production | |
US3358078A (en) | Apparatus for making wide-angle stereoscopic cartoons | |
RU2529666C2 (en) | System and method of printing integral photographs providing full parallax and high resolution of three-dimensional image (versions) |
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 |