CN101452581A - Rapid generation method for calculating holographic cartoon - Google Patents

Rapid generation method for calculating holographic cartoon Download PDF

Info

Publication number
CN101452581A
CN101452581A CNA2008102206107A CN200810220610A CN101452581A CN 101452581 A CN101452581 A CN 101452581A CN A2008102206107 A CNA2008102206107 A CN A2008102206107A CN 200810220610 A CN200810220610 A CN 200810220610A CN 101452581 A CN101452581 A CN 101452581A
Authority
CN
China
Prior art keywords
light field
delta
animation
hologram
prime
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.)
Granted
Application number
CNA2008102206107A
Other languages
Chinese (zh)
Other versions
CN101452581B (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.)
Jinan University
University of Jinan
Original Assignee
Jinan University
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 Jinan University filed Critical Jinan University
Priority to CN2008102206107A priority Critical patent/CN101452581B/en
Publication of CN101452581A publication Critical patent/CN101452581A/en
Application granted granted Critical
Publication of CN101452581B publication Critical patent/CN101452581B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Holo Graphy (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a quick generation method for computer-generated holographic animations, which comprises the following steps: (1) by carrying out uniform sapling to an object light field, obtaining a transformed holograph surface light field through discrete Fourier transform, and generating a computer-generated holograph; and (2) judging whether or not the next frame animation generates translation, and if the next frame animation generates translation, directly computing the phase change in the holograph surface light field and reflecting the change in the holograph surface light field of the next frame; and judging whether or not the next frame animation generates rotation, and if the next frame animation generates rotation, rotating the holograph surface light field of a current frame with the same angle, sampling again according to the position of original sampling point, reflecting the change in phrase and mould to the holograph surface light field of the next frame and generating the computer-generated holograph of the next frame. The method realizes real time display of computer-generated holograph animation, reduces redundant computing, saves large computing time, has low requirements on hardware equipment and is low in investment and easy to implement.

Description

A kind of quick generation method of calculating holographic cartoon
Technical field
The present invention relates to utilize holographic technique to obtain the method for optical imagery, specifically is a kind of quick generation method of calculating holographic cartoon.
Background technology
Hologram can write down the intensity and the phase information of thing light wave simultaneously, can reproduce the three-dimensional image of object realistically, and its range of application has covered fields such as commodity virtual display, advertisement, amusement, education and art, has shown huge market potential.Computed hologram is generally to be to go out hologram by COMPUTER CALCULATION, is generated on the transparent film by plotting apparatus or printer then.Therefore, the generation of computed hologram does not need complexity and accurate coherent light equipment, and can produce in the real world and the hologram of non-existent object, and can carry out the adjustment of parameter easily.
Animation has more superiority with respect to static images.Though there are some technology can produce static computed hologram at present, the method that produces calculating holographic cartoon is reported seldom.In existing technology, the main method that produces calculating holographic cartoon is, regards every frame animation as a width of cloth static images, utilizes the method for static calculation hologram to make then.The holographic map generalization of static calculation itself needs a large amount of calculating, and the quantity of per second animation frame generally will reach 15 frames, and therefore, prior art generates calculating holographic cartoon needs great calculated amount.
Cooperating of some new technology utilization computed holograms and spatial light modulator can be at space display holography picture, and need not use holofilm.Like this, as long as, just can form holographic cartoon by the real time altering computed hologram.But its technical bottleneck is that the generation of computed hologram needs very big calculated amount, therefore, uses static computed hologram technology to generate the method for animation frame and infeasible continuously apace.
Summary of the invention
The invention reside in and overcome the deficiencies in the prior art, the quick generation method of the calculating holographic cartoon that a kind of convenience is simple and easy, efficient is high, equipment requirements is low is provided.
The objective of the invention is by following scheme implementation: a kind of quick generation method of calculating holographic cartoon may further comprise the steps:
(1) the input animation sequence is equidistantly sampled to the thing light field of first frame, carries out discrete Fourier transform (DFT), obtains hologram page light field after the conversion according to formula:
U h ( pΔu , qΔv ) = Σ m = 0 N x - 1 Σ n = 0 N y - 1 U o ( mΔx , nΔy ) exp [ j 2 π ( pm N x + qn N y ) ]
Wherein, (x y) is the coordinate on plane, thing light field place, U o(x y) is the thing light field, and (u v) is the coordinate on plane, hologram page light field place, U h(p Δ u, q Δ v) can note by abridging and make U h(p q), is hologram page light field, j 2=-1, sampling number is N xN y, N xAnd N yAll get 2 power, m, n are the numberings of thing light field sampled point, and p, q are the numberings of hologram page light field sampled point, and the span of p, q is identical with the scope of m, n;
(2) the hologram page light field of establishing after step (1) conversion is made up of a plurality of expressions unit, on each expression unit the aperture of a rectangle as diffraction is set, and calculates rectangular correlation parameter, i.e. each rectangular height w on each expression unit by formula yWith the offset delta of rectangle apart from the expression unit center at its place:
(a) try to achieve each rectangular height w by following formula y:
w y = h | U h ( pΔu , qΔv ) | Max ( | U h | )
Wherein, h is the height of expression unit, | X| represents to ask the mould of X, and function Max represents maximizing;
(b) try to achieve by following formula and represent respectively on the hologram page light field in the unit that rectangle is apart from the offset delta of the expression unit center at its place:
δ = λ arg [ U h ( pΔu , qΔv ) ] 2 π sin 2 θ
Wherein, λ is a wavelength, and function arg represents to get the argument main value, the angle when 2 θ are reconstruct between incident light and holographic facet normal;
According to rectangular w in each unit yWith the δ parameter, generate computed hologram, promptly holoframe passes through the reconstruct of thing light field and produces new animation frame;
(3) judged whether the residue animation frame, if not then animation end; The kinematic parameter that then continues to calculate the next frame animation is arranged, and promptly this animation transverse translation is apart from x dWith the longitudinal translation distance y dAnd the anglec of rotation d of this animation;
(4) the translation distance x in the kinematic parameter of the next frame animation of trying to achieve according to step (3) dWith the longitudinal translation distance y dAnd the anglec of rotation α of this animation, judge that next frame is compared with present frame whether to change, if no change then changes step (3); If change, the translation distance x in the kinematic parameter of the next frame animation of trying to achieve according to step (3) then dWith the longitudinal translation distance y dJudge whether translation of animation, if step (5) is then directly carried out in no translation, if there is translation then to pass through the phase change Φ of each sampled point of formula calculation holographic drawing light field PqWith represent that respectively rectangle is apart from the offset delta of the expression unit center at its place in the unit on the hologram page light field of calculating after the translation ":
Phase change Φ according to each sampled point of formula calculation holographic drawing light field Pq:
Φ pq = 2 π ( px d m + qy d n )
This phase change is reflected to present frame hologram page light field, is about to U h(p, q) superior phase factor exp (j Φ on former basis Pq).
According to representing that respectively rectangle is apart from the offset delta of the expression unit center at its place in the unit on the hologram page light field after the formula calculating translation ":
δ d = - λΦ pq 2 π sin 2 θ
δ′=δ+δ d
&delta; &prime; &prime; = &delta; &prime; - &lambda; / sin 2 &theta; , &delta; &prime; > &lambda; / 2 sin 2 &theta; &delta; &prime; , - &lambda; / 2 sin 2 &theta; &le; &delta; &prime; &le; &lambda; / 2 sin 2 &theta; &delta; &prime; + &lambda; / sin 2 &theta; , &delta; &prime; < - &lambda; / 2 sin 2 &theta;
δ dRectangular displacement in the expression unit that the expression animation causes because of translation, δ be former frame represent rectangle in the unit apart from the expression unit center at its place side-play amount, δ ' for present frame represent rectangle in the unit apart from the expression unit center at its place side-play amount, δ " be the correction to δ ', the phase place that makes its expression is between-π~π;
(5) anglec of rotation α in the kinematic parameter of the next frame animation of trying to achieve according to step (3) judges next frame compares with present frame whether rotation is arranged, if then directly generate computed hologram without spin, reconstruct produces animation frame through the thing light field then; If rotation is arranged then to the hologram page light field rotation alpha of present frame:
Hologram page light field U with present frame h(p, frequency spectrum center q) obtains U move on to the center of matrix from the initial point of matrix after c(r, s), the present frame coordinate is that (r, s), its scope is-N x/ 2≤r≤N x/ 2-1 ,-N y/ 2≤s≤N y/ 2-1, after rotation, the coordinate of corresponding sampled point is (r ', s '):
r &prime; = r &times; cos ( &alpha; ) + s &times; sin ( &alpha; ) s &prime; = - r &times; sin ( &alpha; ) + s &times; cos ( &alpha; )
Postrotational hologram page light field is U c(r ', s ') adopts arest neighbors sample mode or bilinear interpolation sample mode to carry out resampling to postrotational hologram page light field, and the hologram page light field of establishing after the sampling is
Figure A200810220610D0007173648QIETU
, then
Figure A200810220610D0007173648QIETU
The frequency spectrum center be moved back into the initial point of matrix from the center of matrix, promptly convert the hologram page light field U that represents with the positive frequency coefficient to h(p q), changes step (2) then.
To better implement the present invention, step (5) is described by the hologram page light field resampling of arest neighbors sample mode to present frame, specifically is meant:
Figure A200810220610D00075
Wherein, function round represents round.
Step (5) is described by using the hologram page light field resampling of bilinear interpolation sample mode to present frame, specifically is meant:
After the former figure rotation, on its figure some the numerical value of (r ', s ') pass through symbol by apart from its four nearest somes decisions
Figure A200810220610D00081
To r ', s ' rounds up and down respectively, just can obtain these four points with rounded coordinate, obtains new hologram page light field through the following formula interpolation:
Figure A200810220610D00083
After considering former figure rotation, its light field field of definition with wait to ask the field of definition of light field inconsistent, if
Figure A200810220610D00084
In any one does not exist, then get U h &prime; &prime; ( r , s ) = 0 .
Action principle of the present invention is: the generation of a frame holographic cartoon is a two-dimension fourier transform problem in essence, first frame of animation calculates circuitous phase type hologram by classic method, next, judge at first whether the next frame animation translation has taken place, if translation has taken place, then directly calculate the situation of change of phase place on the hologram page light field, and this variation is reflected in the circuitous phase type hologram face light field of next frame; And then judge whether to have taken place rotation, if rotate, then present frame hologram page light field is rotated same angle, and according to the position resampling of former sampled point, the variation with phase place and mould is reflected in the circuitous phase type hologram face light field of next frame then.By above-mentioned steps, just can avoid each frame animation all to carry out Fourier transform, and directly produce calculating holographic cartoon, calculated amount significantly reduces.
The present invention compared with prior art has following advantage and beneficial effect:
(1) saved a large amount of computing times, traditional method is to produce calculating holographic cartoon by calculating each frame animation respectively, this need carry out a large amount of Fourier transforms, very consuming time, the while also is difficult to reach the purpose of real-time demonstration, and the present invention is according to the inner link of computed hologram in translation in the time domain and rotation animation and the frequency domain, directly according to translation and rotation parameter, utilize the computed hologram of initial frame, directly obtain the computed hologram of other each frame, eliminated and calculated redundancy.
If the number of thing light field sampled point is m * n, the static calculation hologram need calculate two dimension discrete fourier transform, and its calculated amount is:
The complex multiplication number of times:
Figure A200810220610D00086
Complex addition number of times: mn (log 2Mn).
In addition, need the parameter of expression unit on the calculation holographic drawing light field, promptly the height of rectangle diffraction aperture and position need with constant level real multiplications and addition, and therefore amount is at long last: O (mn).The computation complexity of static calculation hologram is O (mnlog like this 2The computation complexity of mn), Here it is each frame of classic method calculating holographic cartoon.
New method only need be calculated the Fourier transform of first frame, and its calculated amount is a constant, and the calculated amount of first frame is shared each frame of back, if the animation frame number is more, this calculated amount can be ignored.Expression cell parameters on other each frame utilizes new method directly to calculate according to the parameter of its former frame, each expression unit constant level real multiplications and addition, and therefore the calculated amount of every frame animation is: O (mn).
As seen from the above analysis, the computation complexity of each frame of classic method calculating holographic cartoon is O (mnlog 2Mn), the calculated amount of the every frame animation of new method is: O (mn).The time complexity of new method has been saved one to the order of magnitude than classic method.Contrast by experiment, the computing time that new method needs is than low two orders of magnitude of classic method, as shown in Figure 1.
(2) realized the possibility that calculating holographic cartoon shows in real time, because calculated amount limits greatly, still do not utilize at present the computed hologram technology to generate the real world applications that animation frame shows in real time continuously, the enforcement of this patent can produce the 3-D view of dynamic change apace in the space, realize real 3-D display, effect is true to nature.
(3) requirements on hardware equipment is low, less investment, easier realization.As use classic method, because its calculated amount is very big, so need more expensive specialized hardware, present imaging system needs relevant devices such as projection screen mostly, need install and fix equipment in occasions such as large evening party, squares, with generally removing later, both lost time waste of manpower again, financial resources, material resources; And use quick calculation method of the present invention, and having reduced the equipment input, computed hologram adapted space photomodulator just can be at space display holography picture.
Description of drawings
Fig. 1 is the relativity presentation graphs of the inventive method and classic method execution time;
Fig. 2 is the synoptic diagram that incident light produces circuitous phase place;
Fig. 3 is the structural representation of expression unit in the hologram page light field;
Fig. 4 (a) is the synoptic diagram of thing light field;
Fig. 4 (b) is the synoptic diagram of computed hologram;
Fig. 5 (a) is the original object plane light field synoptic diagram before the translation;
Fig. 5 (b) is the synoptic diagram of the original calculation hologram before the translation;
Fig. 5 (c) is the synoptic diagram of the computed hologram after the translation;
Fig. 5 (d) is the synoptic diagram of the thing light field reconstruct after the translation;
Fig. 6 is that the hologram page light field rearranges;
Fig. 7 is that the hologram page light field is rotated;
Fig. 8 (a) is the synoptic diagram of original thing light field;
Fig. 8 (b) is the synoptic diagram of original hologram face light field rotation 0 degree back thing light field reconstruct;
Fig. 8 (c) is the synoptic diagram of original hologram face light field rotation π/12 back thing light field reconstruct;
Fig. 8 (d) is the synoptic diagram of original hologram face light field rotation π/6 back thing light field reconstruct;
Fig. 8 (e) is the synoptic diagram of original hologram face light field rotation π/4 back thing light field reconstruct;
Fig. 8 (f) is the synoptic diagram of original hologram face light field rotation π/3 back thing light field reconstruct;
Fig. 8 (g) is the synoptic diagram that original hologram face light field is rotated 5 π/12 back thing light field reconstruct;
Fig. 8 (h) is the synoptic diagram of thing light field reconstruct behind the original hologram face light field rotation pi/2;
Fig. 9 is the process flow diagram that calculating holographic cartoon produces.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
The quick generation method of this calculating holographic cartoon may further comprise the steps, as shown in Figure 9:
(1) the input animation sequence is equidistantly sampled to the thing light field of first frame, carries out discrete Fourier transform (DFT), if having a focal length is the infinitely great lens of f, thing light field and hologram page light field lay respectively on the forward and backward focal plane of these lens, and establishing wavelength is λ, then hologram page light field U h(u is v) with thing light field U o(x, y) pass between is:
U h ( u , v ) = 1 &lambda;f &Integral; - &infin; &infin; &Integral; U o ( x , y ) exp [ - j 2 &pi; &lambda;f ( ux + vy ) ] dxdy
J wherein 2=-1, constant factor 1/ λ f can give up, and it only has influence on the brightness of holographic images.The sampling interval that makes the hologram plane for (Δ u, Δ are (Δ x, Δ y) with the sampling interval of object plane v), and the thing light field is applied random phase, carry out discrete Fourier transform (DFT) by following formula and obtain the hologram page light field:
U h ( p&Delta;u , q&Delta;v ) = &Sigma; m = 0 N x - 1 &Sigma; n = 0 N y - 1 U o ( m&Delta;x , n&Delta;y ) exp [ j 2 &pi; ( pm N x + qn N y ) ] - - - ( 1 )
Wherein, sampling number is N xN y, N xAnd N yAll get 2 power, m, n are the numberings of thing light field sampled point, and p, q are the numberings of hologram page light field sampled point, and the span of p, q is identical with the scope of m, n.
(2) as shown in Figure 2, adopt circuitous phase method to represent computed hologram.If with a plane wave illumination hologram sheet from axle, the direction of incident beam and the angle between hologram sheet are 2 θ, the optical field distribution that then shines on the hologram page is:
U p(x,y)=exp[-j2πxsin2θ/λ]
As shown in Figure 3, calculation holographic drawing light field is divided into N xN yIndividual expression unit, each represents that the unit equals λ/sin2 θ at the width of x direction, and like this, incident light is period profile in each expression between unit, and each inside, unit has comprised-all phase places of π~π.Each represents that the unit is unqualified at y direction height value h, and height value h increases, and then the brightness of imaging increases.A fourier coefficient is all represented in each expression unit, on the expression unit, a rectangle is set, as the aperture of diffraction.
For the needs of circuitous phase method itself, rectangular width w xLittle more a lot of than the expression cell width, but consider diffraction efficiency, again can not be too narrow.Here select w xFor:
&lambda; 16 sin 2 &theta; &le; w x &le; &lambda; 8 sin 2 &theta;
Rectangular height w yBe directly proportional with the mould of fourier coefficient, with the maximal value of all fourier coefficient moulds be expressed as Max (| U h|), w then yObtain by following formula:
w y = h | U h ( p&Delta;u , q&Delta;v ) | Max ( | U h | )
Wherein, h is the height of expression unit, | X| represents to ask the mould of any plural X, and function Max represents maximizing;
Rectangular elements is directly proportional with the phase place of fourier coefficient apart from the offset delta of the expression unit center at its place, can be obtained by following formula:
&delta; = &lambda; arg [ U h ( p&Delta;u , q&Delta;v ) ] 2 &pi; sin 2 &theta;
Wherein, λ is a wavelength, and function arg represents to get the argument main value;
Suppose that the thing light field represented to pass through the calculating of above-mentioned steps so as Fig. 4 (a) by piece image, just can obtain calculation holographic Fig. 4 (b) that a width of cloth is represented by circuitous phase method.
(3) judged whether the residue animation frame, if not then animation end; The kinematic parameter that then continues to calculate the next frame animation is arranged, and promptly this animation transverse translation is apart from x dWith the longitudinal translation distance y dAnd the anglec of rotation α of this animation.
(4) the translation distance x in the kinematic parameter of the next frame animation of trying to achieve according to step (3) dWith the longitudinal translation distance y dAnd the anglec of rotation α of this animation, judge that next frame is compared with present frame whether to change, if no change then changes step (3); If change, then the transverse translation in the kinematic parameter of the next frame animation of trying to achieve according to step (3) is apart from x dWith the longitudinal translation distance y dJudge whether translation of animation, if step (5) is then directly carried out in no translation, if there is translation then to pass through the phase change Φ of each sampled point of formula calculation holographic drawing light field PqWith represent respectively on the calculation holographic drawing light field that rectangle is apart from the offset delta of the expression unit center at its place in the unit ":
Original hologram face light field U hObtain through formula (1), then the hologram page light field U after the conversion h' be:
U h′(pΔu,qΔv)=U h(pΔu,qΔv)exp(-jΦ pq)
Wherein &Phi; pq = 2 &pi; ( px d m + qy d n )
The following formula explanation can be asked phase change according to translation distance.The variation of phase place is reflected in the expression unit, is the variation of rectangle diffraction aperture far from the side-play amount at center.Therefore, need variation, be directly changed into the offset delta of rectangle diffraction aperture " this phase place.Like this, just do not needed Fourier transform once more.Rectangular displacement δ in the expression unit that causes because of the animation translation dFor:
&delta; d = - &lambda;&Phi; pq 2 &pi; sin 2 &theta; - - - ( 2 )
Its former frame that is added to is represented in the unit rectangle on the offset delta of the expression unit center at its place, obtain present frame represent the offset delta of rectangular expression unit center apart from its place in the unit ':
δ′=δ+δ d (3)
With representing that respectively rectangle is apart from the offset delta of the expression unit center at its place in the unit on the hologram page light field after formula (4) the calculating translation ":
&delta; &prime; &prime; = &delta; &prime; - &lambda; / sin 2 &theta; , &delta; &prime; > &lambda; / 2 sin 2 &theta; &delta; &prime; , - &lambda; / 2 sin 2 &theta; &le; &delta; &prime; &le; &lambda; / 2 sin 2 &theta; &delta; &prime; + &lambda; / sin 2 &theta; , &delta; &prime; < - &lambda; / 2 sin 2 &theta; - - - ( 4 )
" be the correction to δ ', the phase place that makes its expression is between-π~π for δ.
(5) anglec of rotation α in the kinematic parameter of the next frame animation of trying to achieve according to step (3) judges next frame compares with present frame whether rotation is arranged, if then directly generate computed hologram without spin, reconstruct produces animation frame through the thing light field then; If rotation is arranged then to the hologram page light field rotation alpha of present frame, adopt arest neighbors sample mode or bilinear interpolation sample mode to carry out resampling, the hologram page light field after the sampling is
Figure A200810220610D0012174050QIETU
, then
Figure A200810220610D0012174100QIETU
The frequency spectrum center be moved back into the initial point of matrix from the center of matrix, change step (2) then;
If the hologram page light field of animation present frame is U h(p, q), if the U that does not have the translation animation then to obtain for former frame h(p Δ u, q Δ v), otherwise be to obtain in the step (3)
Figure A200810220610D0012174116QIETU
Because they obtain by discrete Fourier transform (DFT), so U h(p, q) each value representation is the positive frequency coefficient, they all first to limit.In order to implement " rotation ", promptly rotate around true origin, therefore to rearrange.As Fig. 6, with the hologram page light field U of present frame h(p, frequency spectrum center q) obtains U move on to the center of matrix from the initial point of matrix after c(r, s), here-N x/ 2≤r<N x/ 2 ,-N y/ 2≤s<N y/ 2:
With the present frame coordinate (r, s) after the rotation, the coordinate of corresponding sampled point is (r ', s '):
r &prime; = r &times; cos ( &alpha; ) + s &times; sin ( &alpha; ) s &prime; = - r &times; sin ( &alpha; ) + s &times; cos ( &alpha; )
If postrotational hologram page light field is U c(r ', s '), as dotted portion among Fig. 7.Because the expression of former frame hologram page light field is in a horizontal flat vertical rectangular extent, therefore in this zone, resample, make the present frame hologram page light field form that obtains be the solid line part among Fig. 7.In the part of both region overlappings, can resample by arest neighbors sampling or bilinear interpolation sample mode, non-overlapped part is approximately 0.
Postrotational hologram page light field is resampled, and the hologram page light field of establishing after the sampling is
Figure A200810220610D0012174149QIETU
Then
Figure A200810220610D00131
The frequency spectrum center be moved back into the initial point of matrix from the center of matrix, promptly convert the hologram page light field U that represents with the positive frequency coefficient to h(p, q).
To better implement the present invention, step (5) is described by the hologram page light field resampling of arest neighbors sample mode to present frame, specifically is meant:
Wherein, function round represents round.
Step (5) is described by using the hologram page light field resampling of bilinear interpolation sample mode to present frame, specifically is meant:
After the former figure rotation, on it some the numerical value of (r ', s ') pass through symbol by apart from its four nearest somes decisions
Figure A200810220610D00134
To r ', s ' rounds up and down respectively, just can obtain these four points with rounded coordinate.Obtain new hologram page light field through the following formula interpolation:
Figure A200810220610D00136
After considering former figure rotation, its light field field of definition with wait to ask the field of definition of light field inconsistent, if
Figure A200810220610D00137
In any one does not exist, then get U h &prime; &prime; ( r , s ) = 0 .
Because thing light field signal is at time domain internal rotation angle degree α, then the hologram page light field in the frequency domain is rotated same angle, therefore, according to this characteristic, after calculating the hologram page light field of animation present frame, only need this hologram page light field anglec of rotation α just can be obtained the computed hologram of next frame animation, thereby avoid reusing Fourier transform, accelerate arithmetic speed greatly.
Fig. 5 (a) has shown the reconstruct situation of animation object plane light field after obtaining new hologram page light field after a series of translations to Fig. 5 (d).Be the original object plane light field of 256 * 256 sampled points in Fig. 5 (a), represent the present frame in the animation, can obtain the computed hologram shown in Fig. 5 (b) according to the method in step 1, the step 2.Literal in the thing light field move right 100 sampling interval, move down 80 sampling interval after, form the computed hologram of next frame animation, see Fig. 5 (c), it is to be obtained by the method that step 4 is introduced.Utilize the computed hologram reconstruct thing light field of Fig. 5 (c), can get next frame animation shown in Fig. 5 (d).Comparison diagram 5 (a) and Fig. 5 (d) as can be known, new method can effectively be worked.
Fig. 8 (a) has shown animation object plane light field after a series of rotations to Fig. 8 (h), the reconstruct situation behind each the frame computed hologram that obtains by the arest neighbors interpolation sampling.Can see, between each anglec of rotation of 0~pi/2, except that having the sharp image at interval two ends, each middle image all has ghost image, its rule is: increase since 0 with rotation angle, image expands a plurality of gradually from independent one, and the distance between them also increases gradually; After rotation angle surpassed π/4, a plurality of images were gathered gradually, and after rotation angle reaches pi/2, are merged into an independent picture.
Above-mentioned animation effect can produce a kind of effect of change in the space, and the virtual display that is used for the space article can bring good visual experience.The reason that produces this animation is, when the postrotational resampling of hologram page light field, can cause phase place than mistake, have ghost image after the reconstruct.But when the anglec of rotation was the integral multiple of pi/2, the resample points grid overlapped fully with the crude sampling dot grid, so sampling error is very little, can obtain quite accurate reconstruct, so be an independent image.
The foregoing description is a preferred implementation of the present invention; but embodiments of the present invention are not limited by the examples; other any do not deviate from the change done under spirit of the present invention and the principle, it is main to revise, substitute, combination, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (3)

1, a kind of quick generation method of calculating holographic cartoon may further comprise the steps:
(1) the input animation sequence is equidistantly sampled to the thing light field of first frame, carries out discrete Fourier transform (DFT), obtains hologram page light field after the conversion according to formula:
U h ( p&Delta;u , q&Delta;v ) = &Sigma; m = 0 N x - 1 &Sigma; n = 0 N y - 1 U o ( m&Delta;x , n&Delta;y ) exp [ j 2 &pi; ( pm N x + qn N y ) ]
Wherein, (x y) is the coordinate on plane, thing light field place, U o(x y) is the thing light field, and (u v) is the coordinate on plane, hologram page light field place, U h(p Δ u, q Δ v) can note by abridging and make U h(p q), is hologram page light field, j 2=-1, sampling number is N xN y, N xAnd N yAll get 2 power, m, n are the numberings of thing light field sampled point, and p, q are the numberings of hologram page light field sampled point, and span is identical with the scope of m, n;
(2) the hologram page light field of establishing after step (1) conversion is made up of a plurality of expressions unit, on each expression unit the aperture of a rectangle as diffraction is set, and calculates rectangular correlation parameter, i.e. each rectangular height w on each expression unit by formula yWith the offset delta of rectangle apart from the expression unit center at its place:
(a) try to achieve each rectangular height by following formula:
w y = h | U h ( p&Delta;u , q&Delta;v ) | Max ( | U h | )
Wherein, h is the height of expression unit, | X| represents to ask the mould of X, and function Max represents maximizing;
(b) try to achieve by following formula and represent respectively on the hologram page light field in the unit that rectangle is apart from the offset delta of the expression unit center at its place:
&delta; = - &lambda; arg [ U h ( p&Delta;u , q&Delta;v ) ] 2 &pi; sin 2 &theta;
Wherein, λ is a wavelength, and function arg represents to get the argument main value, the angle when 2 θ are reconstruct between incident light and holographic facet normal;
According to rectangular w in each unit yWith the δ parameter, generate computed hologram, promptly holoframe passes through the reconstruct of thing light field and produces new animation frame;
(3) judged whether the residue animation frame, if not then animation end; The kinematic parameter that then continues to calculate the next frame animation is arranged, and promptly this animation transverse translation is apart from x dWith the longitudinal translation distance y dAnd the anglec of rotation α of this animation;
(4) the translation distance x in the kinematic parameter of the next frame animation of trying to achieve according to step (3) dWith the longitudinal translation distance y dAnd the anglec of rotation α of this animation, judge that the next frame animation is compared with the present frame animation whether to change, if no change then changes step (3); If change, the translation distance x in the kinematic parameter of the next frame animation of trying to achieve according to step (3) then dWith the longitudinal translation distance y dJudge whether translation of animation, if step (5) is then directly carried out in no translation, if there is translation then to pass through the phase change Φ of each sampled point on the formula calculation holographic drawing light field PqWith represent that respectively rectangle is apart from the offset delta of the expression unit center at its place in the unit on the hologram page light field of calculating after the translation ":
Phase change Φ according to each sampled point on the formula calculation holographic drawing light field Pq:
&Phi; pq = 2 &pi; ( px d m + qy d n )
This phase change is reflected to present frame hologram page light field, is about to U h(p, q) superior phase factor exp (j Φ on former basis Pq);
Calculate according to formula and to represent respectively on the hologram page light field after the translation in the unit that rectangle is apart from the offset delta " of the expression unit center at its place:
&delta; d = - &lambda;&Phi; pq 2 &pi; sin 2 &theta;
δ′=δ+δ d
&delta; &prime; &prime; = &delta; &prime; - &lambda; / sin 2 &theta; , &delta; &prime; > &lambda; / 2 sin 2 &theta; &delta; &prime; , - &lambda; / 2 sin 2 &theta; &le; &delta; &prime; &le; &lambda; / 2 sin 2 &theta; &delta; &prime; + &lambda; / sin 2 &theta; , &delta; &prime; < - &lambda; / 2 sin 2 &theta;
δ dRectangular displacement in the expression unit that the expression animation causes because of translation, δ be former frame represent rectangle in the unit apart from the expression unit center at its place side-play amount, δ ' for present frame represent rectangle in the unit apart from the expression unit center at its place side-play amount, δ " be the correction to δ ', the phase place that makes its expression is between-π~π;
(5) anglec of rotation α in the kinematic parameter of the next frame animation of trying to achieve according to step (3) judges the next frame animation compares with the present frame animation whether rotation is arranged, if then directly generate computed hologram without spin, reconstruct produces animation frame through the thing light field then; If rotation is arranged then to the hologram page light field rotation alpha of present frame:
Hologram page light field U with present frame h(p, frequency spectrum center q) obtains U move on to the center of matrix from the initial point of matrix after c(r, s), the present frame coordinate is that (r, s), its scope is-N x/ 2≤r≤N x/ 2-1 ,-N y/ 2≤s≤N y/ 2-1, after rotation, the coordinate of corresponding sampled point is (r ', s '):
r &prime; = r &times; cos ( &alpha; ) + s &times; sin ( &alpha; ) s &prime; = - r &times; sin ( &alpha; ) + s &times; cos ( &alpha; )
Postrotational hologram page light field is U c(r ', s ') adopts arest neighbors sample mode or bilinear interpolation sample mode to carry out resampling to postrotational hologram page light field, and the hologram page light field of establishing after the sampling is
Figure A200810220610C00035
Then The frequency spectrum center be moved back into the initial point of matrix from the center of matrix, promptly convert the hologram page light field U that represents with the positive frequency coefficient to h(p q), changes step (2) then.
2, according to the quick generation method of a kind of calculating holographic cartoon described in the claim 1, it is characterized in that: step (5) is described by the hologram page light field resampling of arest neighbors sample mode to present frame, specifically is meant:
Figure A200810220610C00041
Wherein, function round represents round.
3, according to the quick generation method of a kind of calculating holographic cartoon described in the claim 1, it is characterized in that: step (5) is described by using the hologram page light field resampling of bilinear interpolation sample mode to present frame, specifically is meant:
After the former figure rotation, on it some the numerical value of (r ', s ') pass through symbol by apart from its four nearest somes decisions
Figure A200810220610C00043
To r ', s ' rounds up and down respectively, just can obtain these four points with rounded coordinate, obtains new hologram page light field through the following formula interpolation:
Figure A200810220610C00044
Figure A200810220610C00045
After considering former figure rotation, its light field field of definition with wait to ask the field of definition of light field inconsistent, if
Figure A200810220610C00048
Figure A200810220610C00049
In any one does not exist, then get U h &prime; &prime; ( r , s ) = 0 .
CN2008102206107A 2008-12-30 2008-12-30 Rapid generation method for calculating holographic cartoon Expired - Fee Related CN101452581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102206107A CN101452581B (en) 2008-12-30 2008-12-30 Rapid generation method for calculating holographic cartoon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102206107A CN101452581B (en) 2008-12-30 2008-12-30 Rapid generation method for calculating holographic cartoon

Publications (2)

Publication Number Publication Date
CN101452581A true CN101452581A (en) 2009-06-10
CN101452581B CN101452581B (en) 2010-12-08

Family

ID=40734793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102206107A Expired - Fee Related CN101452581B (en) 2008-12-30 2008-12-30 Rapid generation method for calculating holographic cartoon

Country Status (1)

Country Link
CN (1) CN101452581B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103217887A (en) * 2012-01-20 2013-07-24 三星电子株式会社 Apparatus and method of generating hologram based on pattern reuse
CN103293934A (en) * 2012-02-29 2013-09-11 Lg电子株式会社 A holographic display device and a method for generating hologram using redundancy of 3d video
CN104698802A (en) * 2015-03-24 2015-06-10 四川大学 Large-size calculation holographic representation method
WO2017173933A1 (en) * 2016-04-06 2017-10-12 阿里巴巴集团控股有限公司 Object image display method, device, and system
CN110007581A (en) * 2019-03-26 2019-07-12 桂林电子科技大学 A kind of orthogonal scanning regards projection more and calculates method for generating holograms and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014176827A1 (en) * 2013-05-03 2014-11-06 City University Of Hong Kong Generation and display of holograms for low resolution devices

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103217887A (en) * 2012-01-20 2013-07-24 三星电子株式会社 Apparatus and method of generating hologram based on pattern reuse
CN103217887B (en) * 2012-01-20 2017-09-29 三星电子株式会社 The apparatus and method for producing hologram are reused based on pattern
CN103293934A (en) * 2012-02-29 2013-09-11 Lg电子株式会社 A holographic display device and a method for generating hologram using redundancy of 3d video
US9285770B2 (en) 2012-02-29 2016-03-15 Lg Electronics Inc. Holographic display device and method for generating hologram using redundancy of 3D video
CN103293934B (en) * 2012-02-29 2016-06-22 Lg电子株式会社 Holographic display and utilize 3D video redundancy generate hologram method
CN104698802A (en) * 2015-03-24 2015-06-10 四川大学 Large-size calculation holographic representation method
WO2017173933A1 (en) * 2016-04-06 2017-10-12 阿里巴巴集团控股有限公司 Object image display method, device, and system
CN107272983A (en) * 2016-04-06 2017-10-20 阿里巴巴集团控股有限公司 A kind of methods of exhibiting of images of items, apparatus and system
CN110007581A (en) * 2019-03-26 2019-07-12 桂林电子科技大学 A kind of orthogonal scanning regards projection more and calculates method for generating holograms and device
CN110007581B (en) * 2019-03-26 2021-03-23 桂林电子科技大学 Method and device for generating orthogonal scanning multi-view projection calculation hologram

Also Published As

Publication number Publication date
CN101452581B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
CN101452581B (en) Rapid generation method for calculating holographic cartoon
TWI409716B (en) A computer device for generating a video image and for expanding Real - time generation of image - like image of 3D rendering drawing pipeline
Chen et al. Computer generated hologram with geometric occlusion using GPU-accelerated depth buffer rasterization for three-dimensional display
CN102027420B (en) Method for encoding computer-generated holograms in pixelated light modulators
US20110176190A1 (en) Speckle-noise reduction in holographic projections
Lee et al. Semi-analytic texturing algorithm for polygon computer-generated holograms
Kang et al. Compensated phase-added stereogram for real-time holographic display
Jackin et al. Decomposition method for fast computation of gigapixel-sized Fresnel holograms on a graphics processing unit cluster
Wang et al. Fast diffraction calculation of cylindrical computer generated hologram based on outside-in propagation model
Blinder et al. Analytic computation of line-drawn objects in computer generated holography
Ohsawa et al. Computer-generated holograms using multiview images captured by a small number of sparsely arranged cameras
Hua et al. Multiview holographic 3D display based on blazed Fresnel DOE
JP2018180261A (en) Hologram generating device, hologram generating program and holographic projection system
Zeng et al. Off-axis phase-only holograms of 3D objects using accelerated point-based Fresnel diffraction algorithm
Sun et al. Acceleration and expansion of a photorealistic computer-generated hologram using backward ray tracing and multiple off-axis wavefront recording plane methods
Kakue et al. Review of real-time reconstruction techniques for aerial-projection holographic displays
Kim et al. Accelerated synthesis of wide-viewing angle polygon computer-generated holograms using the interocular affine similarity of three-dimensional scenes
Symeonidou et al. Three-dimensional rendering of computer-generated holograms acquired from point-clouds on light field displays
Han et al. Optical realization of 360° cylindrical holography
Min et al. Wigner inverse transform based computer generated hologram for large object at far field from its perspective light field
Li et al. Optimized layered method for real-time interactive holographic display based on ray-tracing technique
CN102568031A (en) Parallel digital construction method of three-dimensional image
Xu et al. Calculation of computer-generated hologram (CGH) from 3D object of arbitrary size and viewing angle
CN111830811A (en) High-definition three-dimensional holographic display method based on diffraction field superposition and implementation device thereof
Pang et al. Dynamic holographic imaging of real-life scene

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101208

Termination date: 20121230