CN102802015B - Stereo image parallax optimization method - Google Patents

Stereo image parallax optimization method Download PDF

Info

Publication number
CN102802015B
CN102802015B CN201210299888.4A CN201210299888A CN102802015B CN 102802015 B CN102802015 B CN 102802015B CN 201210299888 A CN201210299888 A CN 201210299888A CN 102802015 B CN102802015 B CN 102802015B
Authority
CN
China
Prior art keywords
parallax
parallax value
stereo
value
minimum
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.)
Expired - Fee Related
Application number
CN201210299888.4A
Other languages
Chinese (zh)
Other versions
CN102802015A (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.)
Tsinghua University
Original Assignee
Tsinghua 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 Tsinghua University filed Critical Tsinghua University
Priority to CN201210299888.4A priority Critical patent/CN102802015B/en
Publication of CN102802015A publication Critical patent/CN102802015A/en
Application granted granted Critical
Publication of CN102802015B publication Critical patent/CN102802015B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a stereo image parallax optimization method which comprises the following steps that: firstly, a minimum parallax value Pmin and a maximum parallax value Pmax are determined under a world coordinate system; then the minimum parallax value Pmin and the maximum parallax value Pmax under the world coordinate system are converted into a minimum parallax value P1min and a maximum parallax value P1max under a stereoscopic display screen coordinate system; and then an offset pixel number PNmin corresponding to the parallax value when the virtual object is nearest the viewer and an offset pixel number PNmax corresponding to the parallax value when the virtual object is farthest away from the viewer are calculated; and finally, offset pixel number PN between the corresponding points at left and right views is calculated according to a depth map, a zero depth layer is set and the parallax is optimized. By combining the display performance of a stereo mobile terminal and the stereo sensing physiological function of human eyes in the method, the optimal parallax range can be deduced, the current stereo video can be optimized and adjusted based on the parallax range, and the comfort degree of watching a video on the mobile terminal can be improved.

Description

A kind of stereo-picture parallax optimization method
Technical field
The invention belongs to video imaging technical field, relate to parallax optimization method, particularly a kind of stereo-picture parallax optimization method that can increase three-dimensional vivid effect when bore hole is watched three-dimensional video-frequency on mobile terminal device.
Background technology
The hot showing of 2009 3D films in the end of the year " A Fanda ", has lighted the enthusiasm of people to 3D film, between ensuing several years, and the focus that 3D film is popular beyond doubt and medium field is paid close attention to, film quantity cumulative year after year.And along with market craving for three-dimensional movie and television contents, also impel increasing company to make three-dimensional video-frequency, research and development Stereoscopic Video Presentation system and relevant device, the various mobile terminals with three-dimensional display function also arise at the historic moment in the meantime, such as stereo mobile telephone, stereo digital camera, stereo game machine etc.
At present, the mobile terminal with three-dimensional display function has following characteristics: the one, and bore hole 3D does not need to wear glasses, and mobile terminal can be divided into slit stereo display mobile terminal and lens type stereo display mobile terminal by optical spectroscopy; The 2nd, the physical size of the display screen of mobile terminal is less, and cause thus to view and admire angle and distance less; The 3rd, optical parametric, the display screen size of the bore hole stereoscopic display screen of the mobile terminal of different brands, support that the resolution of video is not identical.
From above feature, mobile terminal stereo display scope is little and specification is versatile and flexible.But the specification of 3D film source is all unified at present, and be the three-dimensional video-frequency of making in order to meet the large-sized display devices such as 3D TV or 3D computer monitor substantially.The parallax parameter scope of such three-dimensional video-frequency is watched and is had good effect on large-sized display device.And if three-dimensional large scale film source is carried out after simple vast scale down-sampling, being placed in less Three-dimensional movable terminal and appreciating, can, along with the proportional linearity of down-sampling changes, can not there is entanglement in parallax information, the phenomenon of three-dimensional distortion, thus affect the display quality of stereo-picture and watch comfort level.
Summary of the invention
The present invention is intended at least solve the technical problem existing in prior art, has proposed to special innovation a kind of stereo-picture parallax optimization method.
In order to realize above-mentioned purpose of the present invention, the invention provides a kind of stereo-picture parallax optimization method, it comprises the steps:
S1: under world coordinate system, determine minimum parallax value Pmin and maximum disparity value Pmax, described minimum parallax value Pmin is the parallax value corresponding with the converge like the spokes of a wheel at the hub distance L min of minimum, and described maximum disparity value Pmax is the parallax value corresponding with the converge like the spokes of a wheel at the hub distance L max of maximum;
S2: convert the minimum parallax value Pmin under world coordinate system and maximum disparity value Pmax to minimum parallax value P1min and maximum disparity value P1max under stereoscopic display screen screen coordinate system;
S3: calculate the parallax value corresponding offset pixels number P Nmin of dummy object when nearest apart from beholder and the dummy object corresponding offset pixels number P of the parallax value Nmax apart from beholder farthest time;
S4: calculate the number of pixels PN being offset between corresponding points in the view of left and right according to depth map, depth zero layer is set and parallax is optimized.
The present invention is in conjunction with the physiological function of Three-dimensional movable terminal display performance and Human Perception solid, derive best disparity range, and the parallax of existing three-dimensional video-frequency is regulated to optimization according to this scope, improve the comfort level of watching three-dimensional video-frequency on mobile terminal.
Additional aspect of the present invention and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Brief description of the drawings
Above-mentioned and/or additional aspect of the present invention and advantage accompanying drawing below combination is understood becoming the description of embodiment obviously and easily, wherein:
Fig. 1 is two kinds of situations of converge like the spokes of a wheel at the hub in prior art and focal adjustments;
Fig. 2 be in the best view and admire apart from time maximum disparity and minimum parallax comparison diagram;
Fig. 3 is the flow chart of stereo-picture parallax optimization method of the present invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
For a better understanding of the present invention, first the principle to Human Perception solid and asthenopic reason make a presentation.The about 65mm of human eye spacing, while watching object, eyes remove to watch the scenery of objective three-dimensional world from two slightly different angles, due to the projection of optics, drop on the corresponding diverse location of right and left eyes retina from the picture point of observer's different distance, fusion by neural net forms stereoscopic vision in human brain, and horizontal position difference on retina of both eyes is binocular parallax.
Converge like the spokes of a wheel at the hub and the regulatory function that eyes have provides extremely trickle resolution capability to vision system to the things degree of depth and spatial perception, and converge like the spokes of a wheel at the hub and focal adjustments inconsistent be to produce asthenopic main cause, in real world, converge like the spokes of a wheel at the hub is consistent with focal adjustments, as shown in figure as left in Fig. 1.And in the time watching stereo-picture, as shown in the right figure of Fig. 1, if in the scope that can merge at optic nerve network depending on extent, although converge like the spokes of a wheel at the hub inconsistent with focal adjustments, still right and left eyes anaglyph can be fused into a width stereo-picture, make beholder experience stereoscopic depth of perception, but the converge like the spokes of a wheel at the hub and inconsistent caused visual fatigue of focal adjustments is not eliminable, can only reduce as far as possible.
As shown in Figure 2, in the time changing the size of a width stereo-picture, relative parallax also changes along with the change in size of image, but because the distance between people's eyes is constant, at large-screen, watch at a distance the disparity range of the disparity range of three-dimensional video-frequency from the small screen, while closely watching three-dimensional video-frequency by mobile terminal different.
View and admire disparity range for the best that draws three-dimensional video-frequency, the present invention proposes a kind of stereo-picture parallax optimization method, as shown in Figure 3, this stereo-picture parallax optimization method comprises the steps:
S1: under world coordinate system, determine minimum parallax value Pmin and maximum disparity value Pmax, described minimum parallax value Pmin is the parallax value corresponding with the converge like the spokes of a wheel at the hub distance L min of minimum, and described maximum disparity value Pmax is the parallax value corresponding with the converge like the spokes of a wheel at the hub distance L max of maximum;
S2: convert the minimum parallax value Pmin under world coordinate system and maximum disparity value Pmax to minimum parallax value P1min and maximum disparity value P1max under stereoscopic display screen screen coordinate system;
S3: calculate the parallax value corresponding offset pixels number P Nmin of dummy object when nearest apart from beholder and the dummy object corresponding offset pixels number P of the parallax value Nmax apart from beholder farthest time;
S4: calculate the number of pixels PN being offset between corresponding points in the view of left and right according to depth map, depth zero layer is set and parallax is optimized.
Under world coordinate system, when people are in the time that mobile terminal is watched three-dimensional video-frequency, usually can, by device prompts, view and admire as good apart from 30 centimetres to 40 centimetres of screens.In execution mode, suppose that it is 40 centimetres that the best is viewed and admired distance, i.e. adjustable range H=40cm, minimum converge like the spokes of a wheel at the hub distance L min is 28cm, maximum converge like the spokes of a wheel at the hub distance L max is 80cm.Get the distance O=6.5cm between two, the parallax value corresponding with the converge like the spokes of a wheel at the hub distance of minimum and maximum converge like the spokes of a wheel at the hub distance is designated as respectively Pmin and Pmax, and parallax value is that left eye coordinates deducts right eye coordinates, specifies that left viewpoint is positive direction to right viewpoint.In the present embodiment, be taken as-2.7cm of minimum parallax value Pmin, maximum disparity value Pmax, for getting 3.25cm, calculates with following formula, as shown in Figure 2:
P min = ( H - L min ) * O L min = - 2.7 cm - - - ( 1 )
P max = ( L max - H ) * O L max = 3.25 cm - - - ( 2 )
In the time that parallax value is negative value, sensation dummy object is in screen front; When parallax be on the occasion of time, sensation dummy object is at the rear of screen.In the time that parallax value is zero, sensation dummy object is in screen surface.In the time that parallax value is between minimum parallax and maximum disparity value, what people can be comfortable watches three-dimensional video-frequency, experiences good stereoeffect.
According to stereoscopic vision binocular parallax principle, the mapping relations between the dummy object of experiencing from real-world object to human eye comprise four step coordinate system transformations,, first, are transformed into video camera space coordinates from the space coordinates of real-world object that is; Secondly, be transformed into video camera two-dimensional coordinate system from video camera space coordinates, CCD coordinate system then, is transformed into the screen coordinate system of three-dimensional display from video camera two-dimensional coordinate system; Finally, be transformed into from screen coordinate system the tridimensional virtual object coordinates system that human eye is experienced.
Utilize coordinate system conversion method the parallax value under world coordinate system to be transformed into the screen coordinate system of stereoscopic display screen, in the process of conversion, in conjunction with the width W of mobile terminal screen and the size of height H, convert the minimum parallax value Pmin under world coordinate system and maximum disparity value Pmax to minimum parallax value P1min and maximum disparity value P1max under stereoscopic display screen screen coordinate system.
The display screen of different size will obtain the disparity range of different sizes like this, this is just the mobile terminal of different display sizes, determine a best disparity range, give follow-up parallax adjustment, foundation is provided, in the present embodiment, according to different mobile terminal display performance, obtain the offset pixels number P Nmax of the offset pixels number P Nmin of the parallax value corresponding same pixel of dummy object when nearest apart from beholder in the view of left and right and the dummy object corresponding same pixel of parallax value apart from beholder farthest time in the view of left and right.
Circular is:
P 1 min PN min = W Wpic - - - ( 3 )
P 1 max PN max = W Wpic - - - ( 4 )
Wherein, W is the width of mobile terminal display screen physical size;
Wpic is the width of the image resolution ratio of mobile terminal, is the number of pixels of picture traverse;
for the density of mobile terminal pixel, be every centimetre of number of pixels comprising.。
According to above result, utilize depth map to calculate in left and right view offset pixels number between corresponding points:
PN = PN min + di ( PN max - PN min ) 255 - - - ( 5 )
Wherein, PN is the offset pixels number corresponding with parallax, and di is depth value corresponding to each pixel, and the scope of this value is 0 to 255,0 to represent object distance people farthest, and the 255 object distance people that write on one's behalf are nearest.
Watch stereo mobile telephone, close together, the nearer distance of viewing and admiring, feels bad people's eyes.Therefore should reduce negative parallax, reduce the stereoeffect of outstanding screen.
The present invention gets the parameter 125 of deep space, and as depth zero layer, the parallax value that is positioned at the pixel of this depth layer is made as zero, and the pixel before depth zero layer is outstanding effect; Pixel after depth zero layer is the effect of depression.By left view, according to the parallax value of formula (5) gained, entirety reduces PN o.
PN O = PN min + 125 × ( PN max - PN min ) 255 - - - ( 6 )
PN obefore parallax optimization, the corresponding offset pixels number of parallax value that depth zero layer should be offset.
The present invention is in conjunction with the physiological function of the display performances such as length, width and the pixel quantity of the moving terminal of Three-dimensional movable terminal and Human Perception solid, derive best disparity range, and the parallax of existing three-dimensional video-frequency is regulated to optimization according to this scope, improve the comfort level of watching three-dimensional video-frequency on mobile terminal.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that not departing from principle of the present invention and aim, can carry out multiple variation, amendment, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.

Claims (4)

1. a stereo-picture parallax optimization method, is characterized in that, comprises the steps:
S1: under world coordinate system, determine minimum parallax value Pmin and maximum disparity value Pmax, described minimum parallax value Pmin is the parallax value corresponding with the converge like the spokes of a wheel at the hub distance L min of minimum, and described maximum disparity value Pmax is the parallax value corresponding with the converge like the spokes of a wheel at the hub distance L max of maximum;
S2: convert the minimum parallax value Pmin under world coordinate system and maximum disparity value Pmax to minimum parallax value P1min and maximum disparity value P1max under stereoscopic display screen screen coordinate system;
S3: calculate the parallax value corresponding offset pixels number P Nmin of dummy object when nearest apart from beholder and the dummy object corresponding offset pixels number P of the parallax value Nmax apart from beholder farthest time, circular is:
P 1 min PN min = W Wpic ,
P 1 min PN min = W Wpic ,
Wherein, the width that W is mobile terminal, the resolution of the three-dimensional video-frequency that Wpic is mobile terminal, i.e. the pixel quantity of video Width;
S4: calculate the number of pixels PN being offset between corresponding points in the view of left and right according to depth map, depth zero layer is set and parallax is optimized, the described method according to the number of pixels PN being offset between corresponding points in the view of depth map calculating left and right is:
PN = PN min + di ( PN max - PN min ) 255 ,
Wherein, di is the depth value of i pixel in three-dimensional video-frequency.
2. stereo-picture parallax optimization method as claimed in claim 1, is characterized in that, the converge like the spokes of a wheel at the hub distance L min of described minimum is 28cm, and the converge like the spokes of a wheel at the hub distance L max of described maximum is 80cm.
3. stereo-picture parallax optimization method as claimed in claim 1, is characterized in that, described minimum parallax value Pmin is-2.7cm that described maximum disparity value Pmax is 3.25cm.
4. stereo-picture parallax optimization method as claimed in claim 1, is characterized in that, in described three-dimensional video-frequency, the span of the depth value di of i pixel is 0≤di≤255.
CN201210299888.4A 2012-08-21 2012-08-21 Stereo image parallax optimization method Expired - Fee Related CN102802015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210299888.4A CN102802015B (en) 2012-08-21 2012-08-21 Stereo image parallax optimization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299888.4A CN102802015B (en) 2012-08-21 2012-08-21 Stereo image parallax optimization method

Publications (2)

Publication Number Publication Date
CN102802015A CN102802015A (en) 2012-11-28
CN102802015B true CN102802015B (en) 2014-09-10

Family

ID=47200967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210299888.4A Expired - Fee Related CN102802015B (en) 2012-08-21 2012-08-21 Stereo image parallax optimization method

Country Status (1)

Country Link
CN (1) CN102802015B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260040B (en) * 2013-04-12 2016-03-16 南京熊猫电子制造有限公司 3D based on human-eye visual characteristic shows adaptive regulation method
TWI628619B (en) * 2017-05-17 2018-07-01 國立交通大學 Method and device for generating stereoscopic images
CN110007475A (en) * 2019-04-17 2019-07-12 万维云视(上海)数码科技有限公司 Utilize the method and apparatus of virtual depth compensation eyesight

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102157012A (en) * 2011-03-23 2011-08-17 深圳超多维光电子有限公司 Method for three-dimensionally rendering scene, graphic image treatment device, equipment and system
WO2011159673A1 (en) * 2010-06-14 2011-12-22 Qualcomm Incorporated Calculating disparity for three-dimensional images
CN102375673A (en) * 2010-08-11 2012-03-14 Lg电子株式会社 Method for controlling depth of image and mobile terminal using the method
WO2012050040A1 (en) * 2010-10-12 2012-04-19 シャープ株式会社 Stereoscopic image conversion device and stereoscopic image display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011159673A1 (en) * 2010-06-14 2011-12-22 Qualcomm Incorporated Calculating disparity for three-dimensional images
CN102375673A (en) * 2010-08-11 2012-03-14 Lg电子株式会社 Method for controlling depth of image and mobile terminal using the method
WO2012050040A1 (en) * 2010-10-12 2012-04-19 シャープ株式会社 Stereoscopic image conversion device and stereoscopic image display device
CN102157012A (en) * 2011-03-23 2011-08-17 深圳超多维光电子有限公司 Method for three-dimensionally rendering scene, graphic image treatment device, equipment and system

Also Published As

Publication number Publication date
CN102802015A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN107105213B (en) Stereoscopic display device
JP4468341B2 (en) 3D image display method and 3D image display apparatus
CN103595987B (en) Stereoscopic display device, image processing apparatus and image processing method
US8000521B2 (en) Stereoscopic image generating method and apparatus
CN101587386B (en) Method, device and system for processing cursor
WO2011036827A1 (en) 3d image display device and 3d image display method
US9754379B2 (en) Method and system for determining parameters of an off-axis virtual camera
KR102121389B1 (en) Glassless 3d display apparatus and contorl method thereof
CN103984108B (en) Nakedness-yet stereoscopic display method and device based on vibrating grating
US6788274B2 (en) Apparatus and method for displaying stereoscopic images
CN104635337B (en) The honeycomb fashion lens arra method for designing of stereo-picture display resolution can be improved
CN106842599A (en) A kind of 3D visual imagings method and realize the glasses of 3D visual imagings
KR101975246B1 (en) Multi view image display apparatus and contorl method thereof
CN104581119A (en) Display method of 3D images and head-wearing equipment
CN108345108A (en) Head-mounted display apparatus, the generation method of three-dimensional image information and device
CN102802015B (en) Stereo image parallax optimization method
CN116567191A (en) Stereoscopic vision content parallax adjustment method for comfort level improvement
CN103676167A (en) Stereoscopic display device and storage medium
US20120188226A1 (en) Method and system for displaying stereoscopic images
CN107172409A (en) Camber display screen bore hole 3D display methods and device
US20130208097A1 (en) Three-dimensional imaging system and image reproducing method thereof
CN206618900U (en) Head-mounted display apparatus
CN103609104A (en) Interactive user interface for stereoscopic effect adjustment
CN206133120U (en) Display panel and display device
CN103969836A (en) View angle expanding method used for multi-viewpoint auto-stereoscopic display

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140910

CF01 Termination of patent right due to non-payment of annual fee