CN106547101B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN106547101B
CN106547101B CN201710049366.1A CN201710049366A CN106547101B CN 106547101 B CN106547101 B CN 106547101B CN 201710049366 A CN201710049366 A CN 201710049366A CN 106547101 B CN106547101 B CN 106547101B
Authority
CN
China
Prior art keywords
grating
display screen
angle
line
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710049366.1A
Other languages
Chinese (zh)
Other versions
CN106547101A (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.)
Ningbo Wanwei Display Technology Co Ltd
Original Assignee
Ningbo Wanwei Display Technology Co Ltd
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 Ningbo Wanwei Display Technology Co Ltd filed Critical Ningbo Wanwei Display Technology Co Ltd
Priority to CN201710049366.1A priority Critical patent/CN106547101B/en
Publication of CN106547101A publication Critical patent/CN106547101A/en
Application granted granted Critical
Publication of CN106547101B publication Critical patent/CN106547101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B30/00Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images
    • G02B30/20Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes
    • G02B30/26Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes of the autostereoscopic type
    • G02B30/27Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes of the autostereoscopic type involving lenticular arrays
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/001Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes using specific devices not provided for in groups G09G3/02 - G09G3/36, e.g. using an intermediate record carrier such as a film slide; Projection systems; Display of non-alphanumerical information, solely or in combination with alphanumerical information, e.g. digital display on projected diapositive as background
    • G09G3/003Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes using specific devices not provided for in groups G09G3/02 - G09G3/36, e.g. using an intermediate record carrier such as a film slide; Projection systems; Display of non-alphanumerical information, solely or in combination with alphanumerical information, e.g. digital display on projected diapositive as background to produce spatial visual effects

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention provides a kind of data processing method and device, which comprises obtain multiple spatial points position and multiple groups described in grating grating parameter;Calculate separately the corresponding left eye light intensity of each spatial point under the grating parameter of the grating described in each group and right eye light intensity;The corresponding left eye light intensity of each spatial point and right eye light intensity, form multiple right and left eyes spatial distribution images under the grating parameter of the grating according in each group;It is selected from a right and left eyes spatial distribution image along the maximum position of preset direction width, the position is corresponding with one group of spatial point, this group of spatial point is equidistant with the display screen, regard this group of spatial point as optimal viewing distance at a distance from display screen;Under this group of spatial point, the corresponding grating parameter in the maximum position of width selected from the multiple right and left eyes spatial distribution image is as optimal grating parameter.The method can obtain best grating parameter and optimal viewing point simultaneously, further, allow users to obtain optimal stereo display effect, user experience is promoted.

Description

Data processing method and device
Technical field
The present invention relates to computer application fields, in particular to a kind of data processing method and device.
Background technique
In three-dimensional display system, stereo display effect be limited to grating parameter setting and user locating for viewing point, when Grating parameter setting not pair or viewing location locating for user is bad, can all influence stereo display effect.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of data processing method and device, it is above-mentioned to solve Problem.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, it is applied to three-dimensional display system the embodiment of the invention provides a kind of data processing method, it is described vertical Body display system includes grating and display screen, the central point pair of the central point and the display screen of the intermediate light hole of the grating Together, which comprises obtain multiple spatial points position and multiple groups described in grating grating parameter;It calculates separately in each group institute State the corresponding left eye light intensity of each spatial point under the grating parameter of grating and right eye light intensity;The grating according in each group The corresponding left eye light intensity of each spatial point and right eye light intensity, form multiple right and left eyes spatial distribution images under grating parameter, The grating parameter of grating described in each right and left eyes spatial distribution image is one group corresponding;From a right and left eyes spatial distribution Selected in image along the maximum position of preset direction width, the position is corresponding with one group of spatial point, this group of spatial point with it is described Display screen is equidistant, and regard this group of spatial point as optimal viewing distance at a distance from display screen;Under this group of spatial point, from The corresponding grating parameter in the maximum position of width selected in the multiple right and left eyes spatial distribution image is joined as optimal grating Number.
Second aspect, the embodiment of the invention provides a kind of data processing equipments, are applied to three-dimensional display system, described vertical Body display system includes grating and display screen, the central point pair of the central point and the display screen of the intermediate light hole of the grating Together, described device includes: acquisition module, for obtain multiple spatial points position and multiple groups described in grating grating parameter;Meter Module is calculated, the corresponding left eye light intensity of each spatial point and the right side under the grating parameter for calculating separately the grating described in each group Eye is strong;Processing module, the corresponding left eye light of each spatial point under the grating parameter for the grating according in each group Strong and right eye light intensity forms multiple right and left eyes spatial distribution images, each corresponding one group of institute of the right and left eyes spatial distribution image State the grating parameter of grating;Selecting module, it is wide along preset direction for being selected from a right and left eyes spatial distribution image Maximum position is spent, the position is corresponding with one group of spatial point, this group of spatial point is equidistant with the display screen, by the group Spatial point is used as optimal viewing distance at a distance from display screen;Under this group of spatial point, from the multiple right and left eyes spatial distribution The corresponding grating parameter in the maximum position of the width selected in image is as optimal grating parameter.
Compared with prior art, a kind of data processing method provided in an embodiment of the present invention and device, it is multiple by obtaining The grating parameter of grating described in spatial point position and multiple groups, and calculate separately each institute under the grating parameter of the grating described in each group The corresponding left eye light intensity of spatial point and right eye light intensity are stated, it is further, each under the grating parameter of the grating according in each group The corresponding left eye light intensity of the spatial point and right eye light intensity, form multiple right and left eyes spatial distribution images, from a left and right It selects in eye spatial distribution image along the maximum position of preset direction width, the position is corresponding with one group of spatial point, and the group is empty Between point be equidistant with the display screen, by this group of spatial point as optimal viewing distance at a distance from display screen;In the group Under spatial point, the corresponding grating parameter conduct in the maximum position of width selected from the multiple right and left eyes spatial distribution image Optimal grating parameter makes it possible to obtain best grating parameter and optimal viewing distance simultaneously, further in this way , it allows users to obtain optimal stereo display effect, user experience is promoted.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the schematic diagram that user terminal provided in an embodiment of the present invention and server interact.
Fig. 2 is the structural schematic diagram of server provided in an embodiment of the present invention.
Fig. 3 is a kind of flow chart of data processing method provided in an embodiment of the present invention.
Fig. 4 is the schematic diagram of three-dimensional display system provided in an embodiment of the present invention.
Fig. 5 is the schematic illustration of data processing method provided in an embodiment of the present invention.
Fig. 6 is the detail flowchart of step S320 in a kind of data processing method provided in an embodiment of the present invention.
Fig. 7 is the detail flowchart of step S323 in a kind of data processing method provided in an embodiment of the present invention.
Fig. 8 is the Some principles schematic diagram of step S323 in a kind of data processing method provided in an embodiment of the present invention.
Fig. 9 is another part principle signal of step S323 in a kind of data processing method provided in an embodiment of the present invention Figure.
Figure 10 is the signal of the right and left eyes spatial distribution image in a kind of data processing method provided in an embodiment of the present invention Figure.
Figure 11 is a kind of structural block diagram of data processing equipment 500 provided in an embodiment of the present invention.
Figure 12 is the structural block diagram of computing module 520 in a kind of data processing equipment 500 provided in an embodiment of the present invention.
Figure 13 is the structural frames of Second processing module 523 in a kind of data processing equipment 500 provided in an embodiment of the present invention Figure.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 shows the schematic diagram that server 120 provided in an embodiment of the present invention is interacted with user terminal 110.Institute It states server 120 to be communicatively coupled by network with one or more user terminals 110, to carry out data communication or interaction. The server 120 can be network server, database server etc..The user terminal 110 can be PC (personal computer, PC), tablet computer, smart phone, personal digital assistant (personal digital Assistant, PDA), mobile unit, wearable device etc..
As shown in Fig. 2, being the block diagram of electronic equipment 200.The electronic equipment 200 can be use shown in FIG. 1 Family terminal 110 or server 120.The electronic equipment 200 includes memory 201, processor 202 and network module 203.
Memory 201 can be used for storing software program and module, as the user terminal in the embodiment of the present invention uses number According to the corresponding program instruction/module of processing method and processing device, processor 202 is by running the software being stored in memory 201 Program and module, thereby executing various function application and data processing, i.e. user terminal in the realization embodiment of the present invention Use data processing method.Memory 201 may include high speed random access memory, may also include nonvolatile memory, such as one Or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.Further, in above-mentioned memory 201 Software program and module may also include that operating system 221 and service module 222.Wherein operating system 221, such as can For LINUX, UNIX, WINDOWS, may include it is various for management system task (such as memory management, the control of storage equipment, Power management etc.) component software and/or driving, and can mutually be communicated with various hardware or component software, to provide other The running environment of component software.Service module 222 operates on the basis of operating system 221, and passes through the net of operating system 221 The request for carrying out automatic network is monitored in network service, completes corresponding data processing according to request, and return to processing result to client.? That is service module 222 is used to provide network service to client.
Network module 203 is for receiving and transmitting network signal.Above-mentioned network signal may include wireless signal or have Line signal.
It is appreciated that structure shown in Fig. 2 is only to illustrate, the electronic equipment 200 may also include more than shown in Fig. 2 Perhaps less component or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can use hardware, software Or combinations thereof realize.
Data processing method provided in an embodiment of the present invention can run on user terminal 110 shown in FIG. 1 or service In device 120.This method, and will be according to the corresponding left eye light intensity of each spatial point and the right side by obtaining multiple spatial point positions The corresponding spatial point of the maximum subgraph of width selected in the right and left eyes spatial distribution image that eye is formed by force is seen as best It examines a little, grating parameter corresponding with the optimal viewing point in this way, makes it possible to simultaneously as optimal grating parameter Best grating parameter and optimal viewing point are obtained, further, allows users to obtain optimal stereo display effect, user Experience is promoted.The data processing method is described in detail below.
Fig. 3 shows a kind of flow chart of data processing method provided in an embodiment of the present invention, referring to Fig. 3, the side Method includes:
Step S310, obtain multiple spatial points position and multiple groups described in grating grating parameter.
Some spatial point position coordinates can be inputted by user terminal, send server for spatial point position coordinate, So that server obtains multiple spatial point positions.
Wherein, the position of the spatial point can be configured according to the different sizes of display screen, for example, can root According to the different sizes of display screen, the spatial point position coordinate that is set as in normal observation distance range.It in this way, can be with It reduces and calculates the time.
Fig. 4 to Fig. 5 is please referred to, Fig. 4 shows a kind of three-dimensional display system, which includes grating and display Screen, the central point of the intermediate light hole of the grating and the center point alignment of the display screen.If grating has even number light hole And the light hole number of the grating is NumG, then the intermediate light hole of grating is NumG/2+1 from left to right, the grating Light hole;If the light hole number that grating is odd number light hole and the grating is NumG, the intermediate light hole of grating is (NumG+1)/2 light hole of the grating from left to right.
Referring to Fig. 5, by taking a spatial point as an example, it is assumed that the spatial point position coordinate got is (xs, zs).Assuming that root It may determine that the spatial point and the grating are located at the not ipsilateral of liquid crystal display according to the coordinate of the spatial point.
Step S320 calculates separately the corresponding left eye light of each spatial point under the grating parameter of the grating described in each group Strong and right eye light intensity.
As an implementation, the grating parameter include grating at a distance from display screen, the light passing hole width of grating, And the light-blocking board width of grating.
Referring to Fig. 6, as an implementation, each space is calculated separately under the grating parameter of the grating described in one group The step of corresponding left eye light intensity of point and right eye light intensity, may include:
Step S321, using one of through-hole of the grating as through-hole to be processed.
Step S322 obtains initial position and the end position of the through-hole to be processed.
The initial position of the through-hole to be processed refers to the through-hole near the lead to the hole site of adjacent left side grating, this is to be processed The end position of through-hole refers to the through-hole near the lead to the hole site of adjacent the right grating.
Referring to Fig. 5, the starting position coordinates of the through-hole to be processed are (xge, zge), the stop bits of the through-hole to be processed Setting coordinate is (xgs, zgs).
As shown in fig. 5, it is assumed that coordinate system with the starting position of display screen matrix for (0,0) origin, then the 1st picture of display screen Plain starting position coordinates are (0,0), then the p pixel starting position coordinates of display screen n-th are (xps, zps=0), wherein xps It can be calculated according to following formula:
Xps=(np-1) × dwLCD
The p pixel end position coordinate of display screen n-th is (xpe, zpe=0), wherein xpe can be according to following formula meters It calculates:
Xpe=xps+dwLCD
Wherein, dwLCD is liquid crystal display pixel width.
Assuming that grating is distGL at a distance from display screen, n-th g grating light hole starting position coordinates is (xgs, zgs =-distGL).It is understood that xgs only need to be calculated after grating is pre-set with display screen distance distGL, Since through-hole number is different in grating, the calculation of xgs is different, and a point situation is introduced below.
(1) if grating has even number light hole, xgs can be calculated according to following formula:
(2) if grating has odd number light hole, xgs can be calculated according to following formula:
Wherein, NumP is pixel number on display screen, and NumG is the periodicity of grating, and dwGtrn is the light hole of grating Width, dwGopq are the light-blocking board width of grating.
Further, n-th g grating light hole end position coordinate is (xge, zge=-distGL), in which:
Xge=xgs+dwGtrn
Wherein, dwGtrn is the light passing hole width of grating.
Step S323 calculates the first crosspoint position of the first line and the display screen, the second line and the display screen Second crosspoint position, wherein first line is the line of current spatial point and the initial position, and second line is The line of current spatial point and the end position.
Referring to Fig. 5, first line refer to spatial point (xs, zs) and the through-hole to be processed initial position (xgs, Zgs line), the first crosspoint position refer to the intersection point (xa, 0) of first line Yu the display screen;Second line is Refer to the line of spatial point (xs, zs) and the end position (xge, zge) of the through-hole to be processed, which refers to this The intersection point (xb, 0) of second line and the display screen.
Referring to Fig. 7, as an implementation, step S323 includes:
Step S410 calculates separately the first angle of the first line Yu the grating normal direction, the second line and the grating Second angle of normal direction.
Referring to Fig. 5, assuming that spatial point coordinate is (xs, zs), spatial point coordinate (xs, zs) and n-th g grating are logical at this time The line (i.e. the first line) of the initial position (xgs, zgs=-distGL) of unthreaded hole is pressed from both sides with the first of the grating normal direction Angle θ s meets:
It is understood that the first angle theta s can be calculated by anti-solution trigonometric function.
Further, end position (xge, the zge=- of spatial point coordinate (xs, zs) and n-th g grating light hole Second angle Θ e of line (i.e. the second line) and the grating normal direction distGL) meets:
Step S420 calculates first line in the display screen according to first angle and second angle First crosspoint position, second line is in the second crosspoint position of the display screen.
As shown in figure 5, first line the first crosspoint position of the display screen abscissa be xa, described second Abscissa of the line in the second crosspoint position of the display screen is xb.
Assuming that there are certain light angles of divergence for the grating, and the light angle of divergence of the grating is θ.
(1) when meeting θ s≤θ and θ e≤θ simultaneously:
Due toTherefore xa can be calculated according to following formula (1):
Similarly, xb can be calculated according to following formula (1) or formula (2):
(2) it if θ s >=θ and θ e >=θ, is not required to calculate effect of this light hole to (xs, zs), i.e., no longer calculates the light passing The number of odd even pixel in hole, into the judgement process of next light hole;
(3) it is used as a kind of specific embodiment, if the light angle of divergence of the grating is located at first angle and described the Between two angles, according to first angle, the smooth angle of divergence and the initial position, the first intersection point is calculated It sets;According to second angle, the smooth angle of divergence and the end position, second crosspoint position is calculated.
Referring to Fig. 8, as an implementation, it is assumed that the light angle of divergence is θ, if θ s≤θ < θ e, with the straight line of θ angle It is used as the light hole end position to be processed with the intersection point (xgm, zgm) of grating, due to zgm=zgs=zge=-distGL, Therefore the value of xgm need to only be calculated:
Xgm=xs+tg θ (zs-zgm)
The abscissa xa of the first crosspoint position at this time constant (being calculated according to formula (1)), but the second crosspoint position Abscissa xb coordinate should be point (xs, zs) Yu (xgm, zgm) line and display screen intersection point abscissa, the abscissa is available Geometrical relationship is found out:
Xb=xs+zs × tg θ
Referring to Fig. 9, as another embodiment, if θ s > θ >=θ e, with the intersection point of the straight line of θ angle and grating (xgm, zgm) only needs to calculate as the light hole initial position to be processed due to zgm=zgs=zge=-distGL The value of xgm:
Xgm=xs-tg θ (zs-zgm)
The abscissa xb coordinate of the second crosspoint position is constant (being calculated according to formula (2) or formula (3)) at this time, but first The abscissa xa coordinate of crosspoint position should be the intersection point abscissa of point (xs, zs) Yu (xgm, zgm) line and display screen, should Abscissa can be found out with geometrical relationship:
Xa=xs-zs × tg θ
Step S324 calculates separately the number of the number of odd pixel and idol vegetarian refreshments in intersecting area, the intersection Region refers to the region between second crosspoint position and first crosspoint position;
As an implementation, it is assumed that xa then can calculate nps according to following formula on n-th ps pixel:
Wherein, if the calculated value of nps thinks xa when xa is exactly the integral multiple of dwLCD (namely in pixel pitch) In next pixel.
Assuming that xb then can calculate npe according to following formula on n-th pe pixel:
Wherein, if the calculated value of npe is thought when xb is exactly the integral multiple of dwLCD (namely in pixel pitch) Xb is in a upper pixel.
It is understood that by judging that xa, xb on which pixel, can know in the intersecting area respectively The number for the odd pixel for including and the number of idol vegetarian refreshments.
Step S325, using next through-hole of the grating as through-hole to be processed, until having handled all through-holes, by institute The total number for having the odd pixel in the corresponding intersecting area of through-hole to be added is as left eye light intensity, by the corresponding intersection of all through-holes The total number that idol vegetarian refreshments in region is added is as right eye light intensity.
Step S330, under the grating parameter of the grating according in each group the corresponding left eye light intensity of each spatial point and Right eye light intensity forms multiple right and left eyes spatial distribution images, light described in each described one group of right and left eyes spatial distribution image correspondence The grating parameter of grid.
As an implementation, can respectively by spatial point coordinate each under the grating parameter of the grating described in each group and The corresponding left eye light intensity of each spatial point and right eye light intensity are input in third party software, form multiple right and left eyes spatial distribution maps Picture, each right and left eyes spatial distribution image include the subgraph of multiple characterization right and left eyes width.Referring to Fig. 10, Figure 10 shows The schematic diagram of a width right and left eyes spatial distribution image is gone out, the grey and black in figure respectively represent right and left eyes light intensity, light beam The width of the subgraph of the grey or black of pencil, the as width of left eye (corresponding the grey)/right eye (corresponding black).
Step S340 is selected from a right and left eyes spatial distribution image along the maximum position of preset direction width, The position is corresponding with one group of spatial point, this group of spatial point is equidistant with the display screen, by this group of spatial point and display The distance of screen is as optimal viewing distance;Under this group of spatial point, selected from the multiple right and left eyes spatial distribution image The corresponding grating parameter in the maximum position of width is as optimal grating parameter.
Referring to Fig. 10, the preset direction be vertical direction, due to the right and left eyes spatial distribution image in the horizontal direction on Different location it is corresponding vertical of different size, the maximum position of vertical width is selected from the right and left eyes spatial distribution image.
Wherein, (central point of i.e. one of grey subgraph is apart from adjacent black subgraph for two neighboring maximum width The width of central point) center spacing be people's eye pupil away from generally 65 to 75mm.
Data processing method provided in an embodiment of the present invention, by obtaining grating described in multiple spatial point positions and multiple groups Grating parameter, and calculate separately the corresponding left eye light intensity of each spatial point under the grating parameter of the grating described in each group and the right side Eye is strong, further, under the grating parameter of the grating according in each group the corresponding left eye light intensity of each spatial point and Right eye light intensity forms multiple right and left eyes spatial distribution images, from multiple described in a right and left eyes spatial distribution image The corresponding spatial point of the maximum subgraph of width is selected in subgraph, as optimal viewing point;Under the optimal viewing point, from The corresponding grating parameter of the maximum subgraph of width selected in the multiple right and left eyes spatial distribution image is as optimal grating Parameter makes it possible to obtain best grating parameter and optimal viewing point simultaneously, further, so that user in this way Optimal stereo display effect can be obtained, user experience is promoted.
Figure 11 is please referred to, is the functional block diagram of data processing equipment 500 provided in an embodiment of the present invention.The number It is applied to three-dimensional display system according to processing unit 500, the three-dimensional display system includes grating and display screen, in the grating Between light hole central point and the display screen center point alignment, the data processing equipment 500 include obtain module 510, meter Calculate module 520, processing module 530 and selecting module 540.
Obtain module 510, for obtain multiple spatial points position and multiple groups described in grating grating parameter.
Computing module 520, each spatial point is corresponding under the grating parameter for calculating separately the grating described in each group Left eye light intensity and right eye light intensity.
As an implementation, the grating parameter include grating at a distance from display screen, the light passing hole width of grating, And the light-blocking board width of grating.
Figure 12 is please referred to, as an implementation, the computing module 520 includes the first mark module 521, at first Manage module 522, Second processing module 523, third processing module 524 and the second mark module 525.
First mark module 521, for using one of through-hole of the grating as through-hole to be processed.
First processing module 522, for obtaining initial position and the end position of the through-hole to be processed.
Second processing module 523, for calculating the first crosspoint position of the first line and the display screen, the second line with Second crosspoint position of the display screen, wherein first line is the line of current spatial point and the initial position, described Second line is the line of current spatial point and the end position.
Figure 13 is please referred to, as an implementation, Second processing module 523 includes the first computational submodule 5231 and the Two computational submodules 5232.
First computational submodule 5231, for calculating separately the first angle of the first line Yu the grating normal direction, the Second angle of two lines and the grating normal direction.
Second computational submodule 5232, for calculating described first and connecting according to first angle and second angle Line is in the first crosspoint position of the display screen, and second line is in the second crosspoint position of the display screen.
Specifically, second computational submodule 5232, if the light angle of divergence specifically for the grating is located at described the Between one angle and second angle, according to first angle, the smooth angle of divergence and the initial position, institute is calculated State the first crosspoint position;According to second angle, the smooth angle of divergence and the end position, second phase is calculated Intersection position.
Third processing module 524, for calculating separately of the number of odd pixel and idol vegetarian refreshments in intersecting area Number, the intersecting area refer to the region between second crosspoint position and first crosspoint position.
Second mark module 525, for using next through-hole of the grating as through-hole to be processed, until having handled There is through-hole, the total number that the odd pixel in the corresponding intersecting area of all through-holes is added, will be all logical as left eye light intensity The total number that idol vegetarian refreshments in the corresponding intersecting area in hole is added is as right eye light intensity.
Processing module 530, the corresponding left side of each spatial point under the grating parameter for the grating according in each group Eye is strong and right eye light intensity, forms multiple right and left eyes spatial distribution images, each right and left eyes spatial distribution image corresponding one The grating parameter of the group grating.
Selecting module 540, it is maximum along preset direction width for being selected from a right and left eyes spatial distribution image Position, the position is corresponding with one group of spatial point, this group of spatial point is equidistant with the display screen, by this group of spatial point With at a distance from display screen be used as optimal viewing distance;Under this group of spatial point, from the multiple right and left eyes spatial distribution image The corresponding grating parameter in the maximum position of the width selected is as optimal grating parameter.
Above each module can be by software code realization, at this point, above-mentioned each module can be stored in electronic equipment 200 In memory 201.Above each module can equally be realized by hardware such as IC chip.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
The technical effect and preceding method of data processing equipment provided by the embodiment of the present invention, realization principle and generation Embodiment is identical, and to briefly describe, Installation practice part does not refer to place, can refer in corresponding in preceding method embodiment Hold.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access The various media that can store program code such as memory (RAM, Random Access Memory), magnetic or disk.It needs It is noted that herein, relational terms such as first and second and the like are used merely to an entity or operation It is distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation, there are any this Actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, article or equipment for including a series of elements not only includes those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method, article or equipment of element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. a kind of data processing method, which is characterized in that be applied to three-dimensional display system, the three-dimensional display system includes grating With display screen, the central point of the intermediate light hole of the grating and the center point alignment of the display screen, which comprises
Obtain multiple spatial points position and multiple groups described in grating grating parameter;
Calculate separately the corresponding left eye light intensity of each spatial point under the grating parameter of the grating described in each group and right eye light intensity; The grating parameter includes grating at a distance from display screen, the light-blocking board width of the light passing hole width of grating and grating;
The corresponding left eye light intensity of each spatial point and right eye light intensity, form under the grating parameter of the grating according in each group Multiple right and left eyes spatial distribution images, the grating parameter of grating described in each described one group of right and left eyes spatial distribution image correspondence;
Selected from a right and left eyes spatial distribution image along the maximum position of preset direction width, the position with one group Spatial point is corresponding, this group of spatial point is equidistant with the display screen, by this group of spatial point as most at a distance from display screen Good viewing distance;Under this group of spatial point, the maximum position of width selected from the multiple right and left eyes spatial distribution image Corresponding grating parameter is as optimal grating parameter;
Wherein, the corresponding left eye light intensity of each spatial point and right eye light intensity are calculated separately under the grating parameter of the grating described in one group The step of, comprising:
Using one of through-hole of the grating as through-hole to be processed;
Obtain initial position and the end position of the through-hole to be processed;
The first line and the first crosspoint position of the display screen are calculated, the second line intersects point with the second of the display screen Set, wherein first line be current spatial point and the initial position line, second line be current spatial point and The line of the end position;
Calculate separately in intersecting area the number of odd pixel and the number of idol vegetarian refreshments, the intersecting area refers to described the Region between two-phase intersection position and first crosspoint position;
It is until having handled all through-holes, all through-holes are corresponding using next through-hole of the grating as through-hole to be processed The total number that odd pixel in intersecting area is added is as left eye light intensity, by the idol in the corresponding intersecting area of all through-holes The total number that vegetarian refreshments is added is as right eye light intensity.
2. the method according to claim 1, wherein first line that calculates is in the first intersection of the display screen Point position, the second line is in the second crosspoint position of the display screen, comprising:
Calculate separately the first angle of the first line Yu the grating normal direction, the second line and the second of the grating normal direction Angle;
According to first angle and second angle, first line is calculated in the first intersection point of the display screen It sets, second line is in the second crosspoint position of the display screen.
3. according to the method described in claim 2, it is characterized in that, described according to first angle and second angle, First line is calculated in the first crosspoint position of the display screen, second crosspoint of second line in the display screen Position, comprising:
If the light angle of divergence of the grating between first angle and second angle, according to first angle, The smooth angle of divergence and the initial position calculate first crosspoint position;It is sent out according to second angle, the light Angle and the end position are dissipated, second crosspoint position is calculated.
4. a kind of data processing equipment, which is characterized in that be applied to three-dimensional display system, the three-dimensional display system includes grating With display screen, the center point alignment of the central point of the intermediate light hole of the grating and the display screen, described device includes:
Obtain module, for obtain multiple spatial points position and multiple groups described in grating grating parameter;
Computing module, the corresponding left eye light of each spatial point under the grating parameter for calculating separately the grating described in each group Strong and right eye light intensity;The grating parameter include grating at a distance from display screen, the light passing hole width of grating and grating it is light-blocking Board width;
Processing module, under the grating parameter for the grating according in each group the corresponding left eye light intensity of each spatial point and Right eye light intensity forms multiple right and left eyes spatial distribution images, light described in each described one group of right and left eyes spatial distribution image correspondence The grating parameter of grid;
Selecting module, for selecting from a right and left eyes spatial distribution image along the maximum position of preset direction width, The position is corresponding with one group of spatial point, this group of spatial point is equidistant with the display screen, by this group of spatial point and display The distance of screen is as optimal viewing distance;Under this group of spatial point, selected from the multiple right and left eyes spatial distribution image The corresponding grating parameter in the maximum position of width is as optimal grating parameter;
Wherein,
The computing module includes the first mark module, first processing module, Second processing module, third processing module and the Two mark modules,
First mark module, for using one of through-hole of the grating as through-hole to be processed;
The first processing module, for obtaining initial position and the end position of the through-hole to be processed;
The Second processing module, for calculating the first crosspoint position of the first line and the display screen, the second line with should Second crosspoint position of display screen, wherein first line is the line of current spatial point and the initial position, described the Two lines are the line of current spatial point and the end position;
The third processing module, for calculating separately the number of the number of odd pixel and idol vegetarian refreshments in intersecting area, The intersecting area refers to the region between second crosspoint position and first crosspoint position;
Second mark module, for owning until having handled using next through-hole of the grating as through-hole to be processed Through-hole, the total number that the odd pixel in the corresponding intersecting area of all through-holes is added is as left eye light intensity, by all through-holes The total number that idol vegetarian refreshments in corresponding intersecting area is added is as right eye light intensity.
5. device according to claim 4, which is characterized in that the Second processing module include the first computational submodule and Second computational submodule,
First computational submodule, for calculating separately the first angle of the first line Yu the grating normal direction, second connects Second angle of line and the grating normal direction;
Second computational submodule, for calculating first line and existing according to first angle and second angle First crosspoint position of the display screen, second line is in the second crosspoint position of the display screen.
6. device according to claim 5, which is characterized in that second computational submodule, if being specifically used for the light The light angle of divergence of grid between first angle and second angle, according to first angle, the smooth angle of divergence, And the initial position, calculate first crosspoint position;According to second angle, the smooth angle of divergence and the knot Beam position calculates second crosspoint position.
CN201710049366.1A 2017-01-22 2017-01-22 Data processing method and device Active CN106547101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710049366.1A CN106547101B (en) 2017-01-22 2017-01-22 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710049366.1A CN106547101B (en) 2017-01-22 2017-01-22 Data processing method and device

Publications (2)

Publication Number Publication Date
CN106547101A CN106547101A (en) 2017-03-29
CN106547101B true CN106547101B (en) 2019-05-03

Family

ID=58398723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710049366.1A Active CN106547101B (en) 2017-01-22 2017-01-22 Data processing method and device

Country Status (1)

Country Link
CN (1) CN106547101B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540794B (en) * 2018-03-30 2021-02-19 张家港康得新光电材料有限公司 Method, device and equipment for detecting layout parameters of display equipment and storage medium
CN110297333B (en) * 2019-07-08 2022-01-18 中国人民解放军陆军装甲兵学院 Light field display system adjusting method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033324A (en) * 2010-12-17 2011-04-27 深圳创维-Rgb电子有限公司 Method and system for adjusting visual range of grating barrier type 3D display system
CN102510504A (en) * 2011-09-27 2012-06-20 深圳超多维光电子有限公司 Display range determination and display method and device for naked eye stereo display system
CN102662283A (en) * 2012-05-25 2012-09-12 天马微电子股份有限公司 Liquid-crystal slit grating, stereoscopic display device and calibration method of stereoscopic display device
CN105911712A (en) * 2016-06-30 2016-08-31 北京邮电大学 Multi-view-point liquid crystal display LCD naked-eye 3D (Three Dimensional) display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101732131B1 (en) * 2010-11-12 2017-05-04 삼성전자주식회사 Image providing apparatus and image providng method based on user's location
KR102370062B1 (en) * 2014-11-24 2022-03-04 삼성전자주식회사 Method of determining calibration parameter for 3d display device and 3d display device thereof
CN105898284A (en) * 2015-11-24 2016-08-24 徐州维林苑文化传媒有限公司 Continuous viewpoint mirror-free three-dimensional grating parameter superiority judging method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033324A (en) * 2010-12-17 2011-04-27 深圳创维-Rgb电子有限公司 Method and system for adjusting visual range of grating barrier type 3D display system
CN102510504A (en) * 2011-09-27 2012-06-20 深圳超多维光电子有限公司 Display range determination and display method and device for naked eye stereo display system
CN102662283A (en) * 2012-05-25 2012-09-12 天马微电子股份有限公司 Liquid-crystal slit grating, stereoscopic display device and calibration method of stereoscopic display device
CN105911712A (en) * 2016-06-30 2016-08-31 北京邮电大学 Multi-view-point liquid crystal display LCD naked-eye 3D (Three Dimensional) display method and device

Also Published As

Publication number Publication date
CN106547101A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
US10694175B2 (en) Real-time automatic vehicle camera calibration
CN105825493A (en) Image registration method and device
CN105072431A (en) Glasses-free 3D playing method and glasses-free 3D playing system based on human eye tracking
EP3879446A2 (en) Method for detecting vehicle lane change, roadside device, cloud control platform and program product
CN111766951B (en) Image display method and apparatus, computer system, and computer-readable storage medium
CN106547101B (en) Data processing method and device
CN105516579A (en) Image processing method and device and electronic equipment
KR20190098884A (en) Method of operating light field 3d display device having rgbg pixel structure, and light field 3d display device
CN112712053A (en) Sitting posture information generation method and device, terminal equipment and storage medium
JP2016126318A (en) Naked-eye stereoscopic image display method with wide view angle and display device
CN106095372A (en) A kind of display control method and electronic equipment
CN110288692A (en) Irradiation rendering method and device, storage medium and electronic device
CN106791818B (en) Test the method for camera resolving power and the equipment for the test of camera resolving power
CN107464265A (en) A kind of parameter calibration system and method for binocular panorama camera
CN110363837A (en) The processing method and processing device of texture image, electronic equipment, storage medium in game
CN104143308B (en) The display methods of a kind of 3-D view and device
CN103543835A (en) LCD (liquid crystal display) display angle adjusting method, device and system
EP2180716A1 (en) Autostereoscopic display with observer tracking
CN102651754A (en) Method, equipment and system for white board content sharing
CN105022171B (en) Three-dimensional display methods and system
CN109901716B (en) Sight point prediction model establishing method and device and sight point prediction method
CN108429905B (en) Naked eye 3D display method and device, electronic equipment and storage medium
CN102970515B (en) Method and device for realizing abnormal splicing
US20170171537A1 (en) 3d display method and device for executing same
CN112529769B (en) Method and system for adapting two-dimensional image to screen, computer equipment and storage medium

Legal Events

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