The present invention is the applying date on May 12nd, 2008, Application No. 200880129158.1, entitled " is used to survey
The divisional application of the application for a patent for invention of the system and method for measuring the potential eye fatigue of stereoscopic motion picture ".
Embodiment
It should be understood that:Each element shown in accompanying drawing can be realized with the various forms of hardware, software and its combination.
Preferably, these elements are with hardware and appropriate in the one or more that can include processor, memory and input/output interface
The combination of software on the common apparatus of ground programming is realized.
This description illustrates the principle of the disclosure.Accordingly, it will be recognized that:Those skilled in the art can design implementation originally
Principle disclosed is simultaneously included in the various arrangements in the spirit and scope of present principles, although herein without clearly description or
The arrangement is shown.
All examples and conditional language described herein are intended for the purpose of teaching to help reader to understand this public affairs
The principle opened and contributed by the present inventor to promote the design of prior art, and should be interpreted to be not restricted to this tool
The example and condition of body narration.
In addition, all statements for describing principle, aspect and the embodiment and its particular example of the disclosure herein are intended to wrap
Include its 26S Proteasome Structure and Function equivalent.In addition, it is intended that:Such equivalent includes currently known equivalent and developed in the future
Equivalent both, that is, developed execution identical function any element, regardless of whether its structure how.
Thus, for example, it would be recognized by those skilled in the art that:The block diagram presented herein represents to implement the illustrative of present principles
The conceptual view of circuit.Similarly, it will be recognized that:Any flow diagram (flow chart), flow chart (flow
Diagram), the expression such as state transition graph, false code can be substantially represented in computer-readable medium and therefore by calculating
The various processing of machine or computing device, irrespective of whether clearly showing such computer or processor.
It can be provided by using specialized hardware and the hardware that is able to carry out software associated with appropriate software
The function of the various elements shown in figure.When utilizing a processor to provide the function, can utilize single application specific processor,
The function is provided using single shared processor or the multiple independent processors that can be shared using some of them.Separately
Outside, term " processor " or " controller " are clearly able to carry out the hard of software using being not construed as exclusively referring to
Part, but impliedly can unrestrictedly include digital signal processor (" DSP ") hardware, the read-only storage for storing software
Device (" ROM "), random access memory (" RAM ") and nonvolatile memory.
The hardware of other conventional and/or customs can also be included.Similarly, any switch shown in figure is concept
Property.Their function can by the operation of programmed logic, pass through special logic, the friendship by programme-control and special logic
Even perform mutually or manually, as more specifically understood from context, specific skill can be selected by implementer
Art.
In its claim, be represented as the part for performing specified function any element be intended to comprising perform that
Any mode of individual function, such as including:A) perform the circuit element of that function combination or b) with proper circuit phase group
Any type of software closed, therefore including firmware or microcode etc., the proper circuit is used to perform the software software
To perform the function.The disclosure limited by this claim resides in the fact that, i.e. with the side required by claim
The function of being provided by various described parts is combined and brought together by formula.It is taken as that appointing for those functions can be provided
What part and those parts being shown in which are equivalent.
Generally, stereoscopic motion picture is made up of left eye and right eye picture sequence.Applied for cinema, spectators generally must not
3D glasses (for example, polarization or shutter glasses) viewing 3D is not worn to present.For the display without glasses, although 3D display
Mechanism is different, but the principle that 3D is perceived is identical.That is, 3D systems will make left eye watch left-eye image, and right eye
Only watch eye image.The two images can be grouped together by human brain, correctly to perceive 3D scenes.However, the system
The fatigue and eye fatigue of eyes muscle may be potentially resulted in, because following two reasons:
1. the convergent point and focus of eyes are different.When we watch true 3D scenes, the focus of our eyes with
Convergent point is roughly the same.However, when we watch 3D films, the focus 10 of our eyes is had to always on the screen 12,
And the convergent point 14 of our eyes is had in the above or below of screen 12, to perceive correct 3D scenes, such as Fig. 1 institutes
Show.The difference is the principal element for promoting the fatigue of eyes muscle therefore to cause eye fatigue.
The depth of object changes in 2.3D motion pictures.When the depth of object changes, our eyes have to adjust
Convergent point keeps focus on screen to perceive correct 3D effect.If depth change is frequent and unexpected, I
Eyes must not infrequently change convergent point, cause the tired out of eyes muscle.
So in brief, eye fatigue is mainly caused by two reasons:1) between the convergent point of eyes and focus away from
From (that is, focusing distance 16 as shown in Figure 1);And 2) the change of convergent point 14.Therefore, measuring eye fatigue needs in consideration
Two, face factor.
Present disclose provides one kind be used for measure watch 3D present (for example, stereoscopic motion picture) when by the audience's feeling to
Potential eye fatigue system and method.The eye fatigue measuring system and method for the disclosure are based on parallax (or depth) and regarded
The measurement of difference conversion.This solution is useful for directing 3D films effectively made with editor and comfortable.
The system and method for the disclosure consider:During the distance between the convergent point of the eyes of beholder and focus are presented with 3D
The depth of the object focused on is closely related, and parallax of the depth of object that 3D is focused in presenting also with the pixel of object has
Close.Fig. 2 shows the relation for the variable that viewing 3D is related in presenting.It can be seen that:Given focusing distance (Cd) 16, perceived
Depth (Dp) 18, spectators' distance (Ad) 20, convergence angle (Ca) 22, eye distance (Ed) 24 and parallax (Ds) 26, are present following
Relation.
1.Cd, Dp and Ad relation:Ad=Cd+Dp
2.Cd, Ds, Ad and Ed relation:Cd (1/Ds+1/Ed)=Ad/Ed
3.Ca, Ed, Ad and Cd relation:Cd=2atan (Ed/ (2 (Ad-Cd)))
When convergent point as shown in Figure 3 behind screen when, these relations keep correct, as long as allowing negative parallax and negative convergence
Distance.For niche audience, eye distance (Ed) 24 and spectators' distance (Ad) 20 are constant during presentation, and are assembled
Distance (Cd) 16, the depth (Dp) 18 perceived, convergence angle (Ca) 22 and parallax (Ds) 26 change during motion picture.Base
In these relations, the calculating of convergent point can be reduced to the estimation of depth or parallax.This causes simpler algorithm for estimating.Because
Many Disparity estimations be present, so traditional parallax measurement can be used for eye fatigue estimation.
Referring now to Fig. 4, exemplary system components in accordance with an embodiment of the present disclosure are shown.Scanning device can be provided
103, for being numeral by film printed document (film print) 104 (for example, camera original negative film (film negative)) scanning
Form (such as Cineon forms or SMPTE DPX files).Scanning device 103 can include for example will be defeated from film generation video
The telecine gone out or any equipment (Arri LocPro such as, such as with video frequency outputTM).Alternately, can be direct
Use the file 106 (for example, being in the file of computer-reader form) from post production process or digital movie.Meter
The potential source of calculation machine readable documents is AVIDTMEditor, DPX file, D5 tapes.
The film printed document scanned is input into postprocessing device 102 (for example, computer).With following hardware
The computer, such as one or more centres of the hardware are realized on any computer platform of various known calculations machine platforms
Manage unit (CPU), the memory 110 and such as key of such as random access memory (RAM) and/or read-only storage (ROM)
(multiple) input/output (I/O) user interface of disk and pointer control device (for example, mouse or control stick) and display device
112.Computer platform also includes operating system and micro-instruction code.Various processing described here and function can be via behaviour
Make a part for micro-instruction code or a part of (or combinations thereof) of software application for system execution.In one embodiment
In, software application is positively embodied on program storage device, and it can upload to any suitable machine (such as later stage
Processing equipment 102) and be performed.In addition, various other ancillary equipment can be by various interfaces and bus structures (such as simultaneously
Row port, serial port or USB (USB)) it is connected to computer platform.Other ancillary equipment can include extra
Storage device 124 and printer (printer) 128.Printer 128 can be used for the (example of revision 126 for developing and printing film
Such as, the stereoscopic version of film), wherein the result as technology described below, may be changed using the object of 3D modeling
Or alternative scenario or multiple scenes.
Alternately, in computer-reader form (for example, can be stored on external fixed disk drive 124
Digital movie) file/film printed document 106 can be directly inputted in computer 102.It is noted that term " film as used herein
(film) film printed document or digital movie can " be referred to.
Software program includes the eye fatigue measurement stored in the memory 110 and reduces module 114, is being seen for measuring
See the potential eye fatigue experienced when 3D is presented by spectators or beholder.
Eye fatigue, which measures and reduced module 114, includes disparity estimator 116, is arranged to estimate in the first image
The parallax (the first and second images produce stereo pairs) of at least one corresponding points at least one point and the second image, and
And for each at least one point in the first image and at least one corresponding points in the second image from estimated
Parallax generation disparity map.Disparity estimator 116 includes being configured as the pixel for matching the pixel in the first and second images
With cost function 132, and for smoothness constraint to be applied to the smooth cost function 134 of disparity estimation.Disparity estimator 116
Also include being used for the belief propagation algorithm or function 136 and DYNAMIC PROGRAMMING algorithm or letter for minimizing estimated parallax
Number 138, the DYNAMIC PROGRAMMING algorithm or function 138 utilize the result of the determination adaptation function applied to the first and second images
To initialize belief propagation function 136 to accelerate belief propagation function 136.It is to be understood that belief propagation and dynamic routine
Design is only for determining two illustrative methods of parallax, and can use other disparity estimations by disparity estimator 116
Method and algorithm.
Parallax conversion estimator 118 is provided, for the conversion or change of the parallax for determining stereo-picture.Eye fatigue is provided
Estimator 120, for the associated figure based on the disparity map from disparity estimator 116 and from parallax conversion estimator 118
The parallax conversion of picture, estimates potential eye fatigue.
Eye fatigue measure and reduce module 114 also include parallax offset mechanism 122, for adjustment the first and second images it
Between parallax to reduce potential eye fatigue.Depth map generator 123 is also provided, for by inverting (invert) disparity map
Parallax value and disparity map is converted into depth map.In one embodiment, depth map generator 123 reduces potential eyes with being used for
The parallax offset mechanism 122 of fatigue cooperates, as will be described below.
Fig. 5 is according to the flow chart of the illustrative methods of an aspect of this disclosure, and the illustrative methods are used to measure extremely
The potential eye fatigue of few two two dimension (2D) images.Initially, postprocessing device 102 obtains at least two two-dimentional (2D) figures
Picture, such as the stereo pairs (step 202) with left eye and right-eye view.Postprocessing device 102 can be by being located
At least two 2D are obtained in the digital standard image file (digital master image file) of computer-readable format
Image.Digital video file can be obtained by using the time series of digital camera capture movement image.Alternately, can be with
Video sequence is captured by traditional film type cameras.In this scenario, film is scanned via scanning device 103.
It is to be understood that either scanning film or film are in number format, the digital document of film will wrap
Include instruction or the information of the position on each frame, for example, frame number, since the film time etc..Digital image file it is every
Individual frame will include an image, for example, I1、I2、…In。
Stereo-picture can be shot by two cameras with identical setting.Any one of camera is demarcated as with phase
Same focal length, focal spot height and parallel focal plains;Or known camera parameter is must be based on to deflect (warp) image, seem
They are shot by the camera with parallel focal plains.The deflection includes camera calibration (camera calibration) and phase
Machine adjustment (camera rectification).Demarcation and the EP point of calibration procedures adjustment stereo-picture so that EP point essence
It is really the horizontal scanning line of image.Because corresponding point discovery occurs along EP point, calibration procedures are simple by corresponding search
Turn to only along scanning line search, this greatly reduces calculating cost.Corresponding points correspond to the picture of same scene point in image
Element.
Next, in step 204, via disparity estimator 116 for each point estimation parallax in scene (for example, frame)
Figure.Parallax for each scene point is calculated as the relative distance of the match point in left eye and eye image, i.e. find it is left and
The pixel corresponding to same scene point in right image.For example, if the horizontal coordinate of a point is x in left-eye image, and
The horizontal coordinate of its corresponding points is x ' in eye image, then parallax d=x '-x.
In one embodiment of estimating disparity, initially, stereo pairs are obtained.Calculate parallax cost function, including meter
Calculate pixel matching cost function 132 and calculate smooth cost function 134.Inexpensive Stereo matching optimization is performed (for example, dynamic journey
Sequence design function 138), to obtain the originally determined result of two images of Stereo matching.Then the result of low cost optimization is used
In initialization belief propagation function 136, to accelerate belief propagation function to minimize parallax cost function.It is to be understood that
Other methods for disparity estimation are known in the art, and can be by the system and method for the disclosure using described other
Method.
In step 206, determine that parallax is changed.The basic parallax conversion that two types be present:Filmstrip (for example, scene,
Camera lens etc.) between be probably unexpected parallax conversion, it is and generally contiguous in filmstrip (for example, scene, camera lens etc.)
Parallax conversion.As discussed below, fragment means the sequence of the frame comprising identical content.
Parallax conversion between fragment is typically discontinuous and unexpected.So in order to measure parallax conversion, estimate first
The disparity map of the start frame of the last frame of fragment and current clip before.In other words, it is assumed that regarding at the end of the i-th fragment
Poor figure is Di, and the disparity map at the beginning of (i+1) fragment is Di+1, then parallax difference is
δ D=Di+1-Di (1)
It is poor using absolute parallax for the amplitude for the change that fathoms
| δ D |=| Di+1-Di| (2)
Change to obtain overall parallax, changed using maximum disparity, it is
Or changed using mean parallax, it is
Wherein W and H is the width and height of disparity map.
For the picture in fragment, parallax conversion is typically continuous, but the big parallax conversion in a small amount of time also will
Promote the eye fatigue of spectators.Change similar to the parallax between fragment, parallax difference can be used as measurement, i.e. δ D=Di+1-
Di.However, not only the measurement will be performed in piece section boundary in each frame.Here, determine in the pixel inside a frame
Mean parallax value in mean parallax value rather than the pixel of each frame of leap, then calculates the difference between each successive frame.
Being changed by big parallax and/or parallax causes eye fatigue.Therefore, in step 208, changed based on disparity map and parallax
Estimate eye fatigue.The system and method for the disclosure utilize very rough eye fatigue model.The system and method are assumed to deposit
By the eye fatigue function related to the parallax at every frame and parallax change, and eye fatigue sense is tired out across each frame
Product, but exponential damping over time.
Firstly it is assumed that there exists " instant eye fatigue function "It will the eye fatigue as caused by parallax
With mean parallaxChanged with parallaxIt is related.Then, if parallax remains zero after the i-th frame, eyes are tired
Labor measurement can be expressed as attenuation model, as follows
WhereinIt is to model function of the parallax to the immediate impact of eye fatigue.λ is attenuation coefficient.Should
If model hypothesis no longer have parallax (that is, convergent point is changed into focus) on screen, then eye fatigue is by fast fade.Pay attention to
Arrive:Because the suddenly change of parallax is there may be between each fragment, therefore functionFor the frame in fragment
Frame between each fragment is probably different, and this is the reason for they are treated differently for printing above.FunctionSimple examples can beWithBetween linear combination, it is as follows:
Wherein a and b is weight coefficient, and it should be not for the parallax conversion between the parallax conversion in fragment and fragment
With.A and b value can be with empirically determined.
When parallax keeps changing across each frame, then, eye fatigue senses this and accumulated over time.However, eye
Eyeball fatigue can not rise forever, it is possible to model the diminuendo effect of eye fatigue sense over time using function.S function is used
It is as follows in the saturation modeling to eye fatigue sense:
S (ES)=1/ (1+exp (- ES)) (7)
Figure 6 illustrates the shape of the function.
These key elements are given, overall eye fatigue is measured and can recursively defined at frame i, as follows:
Wherein ESi(ti) it is eye fatigue measurement in the i-th frame, and tiIt it is the time of the i-th frame, and λ is to be used to control
The constant of the rate of decay.The calculating of the measurement can be realized by simulation over time.
Fig. 7 is the diagram of eye fatigue measurement equation over time.It is determined that in the eye fatigue of (i-t) frame, and
And exp (- λ t) decay factor is applied to eye fatigue measurement.As a result the instant eye fatigue group of functions and then with the i-th frame
Close.Sigmoid function is applied to combined result to determine the eye fatigue in the i-th frame.
Reference picture 8, it is illustrated that instant eye fatigue function and the measurement of overall eye fatigue.In each frame (for example, frame 1,2
Deng) on curve be the frame instant eye fatigue function, and the curve in measurement point is instant eye fatigue function
Accumulation.Referring again to Fig. 5, in step 210, it is determined that whether the overall eye fatigue undergone by beholder is subjected to.In a reality
Apply in example, the measurement of overall eye fatigue is visualized as curve map to operator (for example, director and editor), so as to according to song
Line chart determines whether eye fatigue is too high.In another embodiment, overall eye fatigue can be measured compared with predetermined threshold,
To determine the need for correcting.For example, generation represents the curve of overall eye fatigue measurement, then by each point on curve
Value compared with predetermined threshold.In this embodiment, for different types of scene and film, predetermined threshold will be different.
If it is determined that eye fatigue is too high, then parallax correction or mediation will be performed to stereo-picture in step 212
(grading) to reduce eye fatigue.Mediation is the process for the parallax value for smoothly crossing over each frame.Pass through smoothly regarding across each frame
Difference, it is possible to reduce the suddenly change of parallax, and therefore can reduce eye fatigue.For reducing an exemplary side of parallax
Method is referred to as assembling adjustment, and it adjusts convergent point to realize by offseting eye image to the left or to the right.By to the left or to
Right avertence moves eye image, can manually decrease or increase the parallax of pixel, cause smaller or greater overall depth respectively.
The problem of image shift, is the depth increase equal amount of all pixels, and this is unrelated with 3D scene geometries.So
And if accurate depth map is available, the new view of the scene with new virtual camera positions may be synthesized, so as to
Reduce parallax.In this embodiment, using below equation z=Bf/d, (wherein B is the distance between two cameras, also referred to as base
Line, and f is the focal length of camera), the parallax value d for each scene point being determined above is changed by depth map generator 123
For depth value z, (distance i.e. from scene point to camera).Each depth of at least one image (for example, left-eye view image)
Angle value is stored in depth map.The depth value of depth map accordingly changes, to synthesize new view while to reduce the parallax of image.
For example, in order to create new view, change depth value first, then repaint new left or right (or both) image.Again
Drawing process creates the new right side (or left) image using left (or right) image and depth map.Depth value is the 3D letters of pixel
Breath, therefore, it is possible to use the technology of such as ray trace, to be the 2D pixels in new view by 3D point-renderings.New regards
Figure will be tired by the eyes for causing reduction for beholder or spectators with smaller parallax or the conversion of smaller parallax, and therefore
Labor.
Referring now to Fig. 4, such as correspondence image and associated depth map are stored in storage device 124, and can be with
It is retrieved and is played back for 3D.In addition, all correction chart pictures of motion picture or video clipping can be deposited with associated depth map
Store up in the individual digit file 130 of stereoscopic version of motion picture or editing is represented.Digital document 130 can be stored in storage
Retrieved after being used in equipment 124, for example, the stereoscopic version for developing and printing original film.
Although the embodiment for the teaching for being incorporated to the disclosure, people in the art have been shown specifically and described herein
Member can easily design the embodiment for any other change for being still incorporated to these teachings.Have been described and watched for measuring
(it is intended to illustrative rather than limit to the preferred embodiment of the system and method for the potential eye fatigue that 3D is experienced when presenting
Property processed), it is noted that it can modify and change according to teaching those skilled in the art above.It will consequently be understood that
It can be carried out in the specific embodiment of the disclosed disclosure, in the scope of the present disclosure such as by appended claims general introduction
Change.