CN106547101A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN106547101A
CN106547101A CN201710049366.1A CN201710049366A CN106547101A CN 106547101 A CN106547101 A CN 106547101A CN 201710049366 A CN201710049366 A CN 201710049366A CN 106547101 A CN106547101 A CN 106547101A
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.)
Granted
Application number
CN201710049366.1A
Other languages
Chinese (zh)
Other versions
CN106547101B (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, and methods described includes:Obtain the position of multiple spatial points and the grating parameter of multigroup grating;The corresponding left eye light intensity of each described spatial point and right eye light intensity are calculated under the grating parameter of grating described in each group respectively;Under the grating parameter of grating according in each group, the corresponding left eye light intensity of each described spatial point and right eye light intensity, form multiple right and left eyes spatial distribution images;Select 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, and this group of spatial point is equal with the distance of the display screen, using the distance of this group of spatial point and display screen as optimal viewing distance;Under this group of spatial point, the corresponding grating parameter in position of the width maximum selected from the plurality of right and left eyes spatial distribution image is used as optimum grating parameter.Methods described can obtain optimal grating parameter and optimal viewing point simultaneously, further so that user is obtained in that optimal stereo display effect, and Consumer's Experience is lifted.

Description

Data processing method and device
Technical field
The present invention relates to computer application field, in particular to a kind of data processing method and device.
Background technology
In three-dimensional display system, stereo display effect is limited to the setting of grating parameter and the viewing point residing for user, when Grating parameter arrange not to or user residing for viewing location it is bad, can all affect stereo display effect.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of data processing method and device, above-mentioned to solve Problem.
To achieve these goals, the technical scheme that the embodiment of the present invention is adopted is as follows:
In a first aspect, embodiments providing a kind of data processing method, three-dimensional display system is applied to, it is described vertical Body display system includes grating and display screen, the central point of the middle light hole of the grating and the central point pair of the display screen Together, methods described includes:Obtain the position of multiple spatial points and the grating parameter of multigroup grating;Calculated in each group institute respectively State under the grating parameter of grating the corresponding left eye light intensity of each described spatial point and right eye light intensity;The grating according in each group Under grating parameter, the corresponding left eye light intensity of each described spatial point and right eye light intensity, form multiple right and left eyes spatial distribution images, The grating parameter of each grating described in one group of the right and left eyes spatial distribution image correspondence;From a right and left eyes spatial distribution Select 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 The distance of display screen is equal, using the distance of this group of spatial point and display screen as optimal viewing distance;Under this group of spatial point, from The corresponding grating parameter in position of the width maximum selected in the plurality of right and left eyes spatial distribution image is joined as optimum grating Number.
Second aspect, embodiments provides a kind of data processing equipment, is applied to three-dimensional display system, described vertical Body display system includes grating and display screen, the central point of the middle light hole of the grating and the central point pair of the display screen Together, described device includes:Acquisition module, for obtaining the position of multiple spatial points and the grating parameter of multigroup grating;Meter Module is calculated, for calculating under the grating parameter of grating described in each group the corresponding left eye light intensity of each described spatial point and the right side respectively Eye is strong;Processing module, for basis under the grating parameter of grating described in each group the corresponding left eye light of each described spatial point Strong and right eye light intensity, forms multiple right and left eyes spatial distribution images, each described one group of institute of right and left eyes spatial distribution image correspondence State the grating parameter of grating;Selecting module, for selecting along preset direction width from a right and left eyes spatial distribution image The maximum position of degree, the position are corresponding with one group of spatial point, and this group of spatial point is equal with the distance of the display screen, by the group The distance of spatial point and display screen is used as optimal viewing distance;Under this group of spatial point, from the plurality of right and left eyes spatial distribution The corresponding grating parameter in position of the width maximum selected in image is used as optimum 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 spatial point position and multigroup grating, and each institute under the grating parameter of grating described in each group is calculated respectively State the corresponding left eye light intensity of spatial point and right eye light intensity, further, under the grating parameter of grating according in each group each 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 Select 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 put it is equal with the distance of the display screen, using the distance of this group of spatial point and display screen as optimal viewing distance;In the group Under spatial point, the corresponding grating parameter conduct in position of the width maximum selected from the plurality of right and left eyes spatial distribution image Optimum grating parameter, in this way, enabling while optimal grating parameter and optimal viewing distance are obtained, further So that user is obtained in that optimal stereo display effect, and Consumer's Experience is lifted.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by to be used attached needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the schematic diagram that user terminal provided in an embodiment of the present invention is interacted with server.
Fig. 2 is the structural representation 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 principle schematic 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 that another part principle of step S323 in a kind of data processing method provided in an embodiment of the present invention is illustrated 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 structured flowchart of data processing equipment provided in an embodiment of the present invention 500.
Figure 12 is the structured flowchart 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 accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and be designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represent similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then in subsequent accompanying drawing which further need not be defined and is explained.Meanwhile, the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 shows the schematic diagram that server provided in an embodiment of the present invention 120 is interacted with user terminal 110.Institute State server 120 to be communicatively coupled with one or more user terminals 110 by network, to enter row data communication or interaction. The server 120 can be the webserver, database server etc..The user terminal 110 can be PC (personal computer, PC), panel computer, smart mobile 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 the use shown in Fig. 1 Family terminal 110 or server 120.The electronic equipment 200 includes memory 201, processor 202 and mixed-media network modules mixed-media 203.
Memory 201 can be used to store software program and module, and the such as user terminal in the embodiment of the present invention uses number According to the corresponding programmed instruction/module of processing method and processing device, processor 202 is stored in the software in memory 201 by operation Program and module, so as to perform various function application and data processing, that is, realize the user terminal in the embodiment of the present invention Using 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:Operating system 221 and service module 222.Wherein operating system 221, for example may be used For LINUX, UNIX, WINDOWS, its may include it is various for management system task (such as memory management, storage device control, Power management etc.) component software and/or driving, and can mutually communicate with various hardware or component software, so as to provide other The running environment of component software.On the basis of service module 222 operates in operating system 221, and by the net of operating system 221 The request for carrying out automatic network is monitored in network service, is completed corresponding data processing according to request, and is returned result to client. That is, service module 222 is for client offer network service.
Mixed-media network modules mixed-media 203 is used to receive and send network signal.Above-mentioned network signal may include wireless signal or have Line signal.
It is appreciated that the structure shown in Fig. 2 is only illustrated, the electronic equipment 200 may also include more more than shown in Fig. 2 Or less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 can adopt hardware, software Or its combination is realized.
Data processing method provided in an embodiment of the present invention can run on the user terminal 110 shown in Fig. 1 or service In device 120.The method, and will be according to the corresponding left eye light intensity of each described spatial point and the right side by obtaining multiple spatial point positions The corresponding spatial point of subgraph of the width maximum selected in the right and left eyes spatial distribution image that eye is formed by force, as optimal sight Examine a little, grating parameter corresponding with the optimal viewing point as optimum grating parameter, in this way, enabling while Optimal grating parameter and optimal viewing point are obtained, further so that user is obtained in that optimal stereo display effect, user Experience is lifted.Below the data processing method is described in detail.
The flow chart that Fig. 3 shows a kind of data processing method provided in an embodiment of the present invention, refers to Fig. 3, the side Method includes:
Step S310, obtains the position of multiple spatial points and the grating parameter of multigroup grating.
Some spatial point position coordinates can be input into by user terminal, spatial point position coordinate is sent to into server, So that server obtains multiple spatial point positions.
Wherein, the position of the spatial point can be configured according to the different size of display screen, for example, can be with root According to the different size of display screen, the spatial point position coordinate being set in normal observation distance range.In this way, can be with Reduce the calculating time.
Fig. 4 to Fig. 5 is referred to, Fig. 4 shows a kind of three-dimensional display system, the three-dimensional display system includes grating and shows Screen, the central point of the middle light hole of the grating are alignd with the central point of the display screen.If grating has even number light hole And the light hole number of the grating is NumG, then the middle light hole of grating is grating NumG/2+1 from left to right Light hole;If the light hole number that grating is odd number light hole and the grating is NumG, the middle light hole of grating is The grating (NumG+1)/2 light hole from left to right.
Fig. 5 is referred to, by taking a spatial point as an example, it is assumed that the spatial point position coordinate for getting is (xs, zs).Assume root May determine that the spatial point and the grating respectively positioned at the not homonymy of liquid crystal display according to the coordinate of the spatial point.
Step S320, calculates under the grating parameter of grating described in each group the corresponding left eye light of each described spatial point respectively Strong and right eye light intensity.
As a kind of embodiment, the grating parameter include the distance of grating and display screen, the thang-kng hole width of grating, And the light barrier width of grating.
Fig. 6 is referred to, as a kind of embodiment, each space is calculated under the grating parameter of grating described in a group respectively The step of corresponding left eye light intensity of point and right eye light intensity, can include:
Step S321, using one of through hole of the grating as pending through hole.
Step S322, obtains the original position and end position of the pending through hole.
The original position of the pending through hole refers to the through hole near the lead to the hole site of adjacent left side grating, and this is pending The end position of through hole refers to the through hole near the lead to the hole site of adjacent the right grating.
Fig. 5 is referred to, the starting position coordinates of the pending through hole are (xge, zge), the stop bits of the pending through hole Coordinate is put for (xgs, zgs).
As shown in fig. 5, it is assumed that coordinate system with the starting position of display screen matrix as (0,0) origin, then the 1st picture of display screen Plain starting position coordinates for (0,0), then n-th p pixel starting position coordinates of display screen be (xps, zps=0), wherein, xps Can be calculated according to following formula:
Xps=(np-1) × dwLCD
N-th p pixel end position coordinate of display screen is (xpe, zpe=0), wherein, xpe can be according to following formula meters Calculate:
Xpe=xps+dwLCD
Wherein, dwLCD is liquid crystal display pixel width.
Assume that grating is distGL with the distance of display screen, n-th g grating light hole starting position coordinates is (xgs, zgs =-distGL).It is understood that after the pre-setting apart from distGL of grating and display screen, xgs need to be calculated only, As in grating, through hole number is different, 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 periodicities of the NumG for grating, dwGtrn are the light hole of grating Width, light barrier width of the dwGopq for grating.
Further, n-th g grating light hole end position coordinate is (xge, zge=-distGL), wherein:
Xge=xgs+dwGtrn
Wherein, thang-kng hole widths of the dwGtrn for grating.
Step S323, calculates the first joining position of the first line and the display screen, the second line and the display screen Second joining position, wherein, first line is current spatial point and the line of the original position, and second line is The line of current spatial point and the end position.
Refer to Fig. 5, first line refer to spatial point (xs, zs) and the pending through hole original position (xgs, Zgs line), the first joining position refer to first line and the display screen intersection point (xa, 0);Second line is Refer to the line of spatial point (xs, zs) and the end position (xge, zge) of the pending through hole, the second joining position refers to this Second line and the display screen intersection point (xb, 0).
Fig. 7 is referred to, used as a kind of embodiment, step S323 includes:
Step S410, calculates the first angle of the first line and the grating normal direction, the second line and the grating respectively Second angle of normal direction.
Refer to Fig. 5, it is assumed that space point coordinates is (xs, zs), now space point coordinates (xs, zs) is led to n-th g grating The line (i.e. the first line) of the original position (xgs, zgs=-distGL) of unthreaded hole and the first folder with the grating normal direction Angle θ s meet:
It is understood that the first angle theta s can be calculated by anti-solution trigonometric function.
Further, end position (xge, the zge=- of space point coordinates (xs, zs) and n-th g grating light hole DistGL line (i.e. the second line)) is met with the second angle Θ e of the grating normal direction:
Step S420, according to first angle and second angle, calculates first line in the display screen First joining position, second line is in the second joining position of the display screen.
As shown in figure 5, abscissa of first line in the first joining position of the display screen is xa, described second Abscissa of the line in the second joining position of the display screen is xb.
Assume that the grating has certain light angle of divergence, and the light angle of divergence of the grating is θ.
(1) when θ s≤θ and θ e≤θ is met simultaneously:
Due toTherefore xa can be calculated according to following formula (1):
In the same manner, xb can be calculated according to following formula (1) or formula (2):
(2) if θ is s >=θ and θ e >=θ, it is not required to calculate effect of this light hole to (xs, zs), i.e., no longer calculates the thang-kng The number of odd even pixel in hole, into the judgement flow process of next light hole;
(3) 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 original position, the first joining position is calculated Put;According to second angle, the smooth angle of divergence and the end position, the second joining position is calculated.
Fig. 8 is referred to, as a kind of embodiment, it is assumed that the light angle of divergence is θ, if θ is s≤θ < θ e, with the straight line of θ angles With the intersection point of grating (xgm, zgm) as the pending light hole end position, due to zgm=zgs=zge=-distGL, Therefore the value of xgm need to only be calculated:
Xgm=xs+tg θ (zs-zgm)
The abscissa xa constant (being calculated according to formula (1)) of the first joining position now, but the second joining position Abscissa xb coordinates should be point (xs, zs) with (xgm, zgm) line and display screen intersection point abscissa, the abscissa can use Geometrical relationship is obtained:
Xb=xs+zs × tg θ
Fig. 9 is referred to, as another embodiment, if θ s are > θ >=θ e, with the straight line of θ angles and the intersection point of grating (xgm, zgm), needs due to zgm=zgs=zge=-distGL therefore only to calculate as the pending light hole original position The value of xgm:
Xgm=xs-tg θ (zs-zgm)
The now abscissa xb coordinates of the second joining position constant (according to formula (2) or formula (3) calculating), but first The abscissa xa coordinates of joining position should be point (xs, zs) and (xgm, zgm) line and the intersection point abscissa of display screen, be somebody's turn to do Abscissa can be obtained with geometrical relationship:
Xa=xs-zs × tg θ
Step S324, calculates the number of the number of strange pixel and idol vegetarian refreshments in intersecting area respectively, described intersecting Region refers to the region between the second joining position and the first joining position;
As a kind of embodiment, it is assumed that xa then can calculate nps according to following formula on n-th ps pixel:
Wherein, if when xa is exactly the integral multiple of dwLCD (namely in pixel pitch), the calculated value of nps thinks xa In next pixel.
Assume that xb on n-th pe pixel, then can calculate npe according to following formula:
Wherein, if when xb is exactly the integral multiple of dwLCD (namely in pixel pitch), the calculated value of npe is thought Xb is in a upper pixel.
It is understood that by judging xa, xb respectively on which pixel, just it is known that in the intersecting area Comprising strange pixel number and idol vegetarian refreshments number.
Step S325, using the next through hole of the grating as pending through hole, until having processed all through holes, by institute There is the total number that the strange pixel in the corresponding intersecting area of through hole is added as left eye light intensity, will be all through holes corresponding intersecting The total number that idol vegetarian refreshments in region is added is used as right eye light intensity.
Step S330, under the grating parameter of grating according in each group the corresponding left eye light intensity of each described spatial point and Right eye light intensity, forms multiple right and left eyes spatial distribution images, each light described in one group of the right and left eyes spatial distribution image correspondence The grating parameter of grid.
As a kind of embodiment, can respectively by each space point coordinates under the grating parameter of 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 described right and left eyes spatial distribution image include multiple subgraphs for characterizing right and left eyes width.Figure 10 is referred to, 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 represents right and left eyes light intensity, light beam respectively The width of the subgraph of the grey or black of pencil, is the width of the left eye (correspondence grey)/right eye (correspondence black).
Step S340, selects along the maximum position of preset direction width from a right and left eyes spatial distribution image, The position is corresponding with one group of spatial point, and this group of spatial point is equal with the distance of the display screen, by this group of spatial point and display The distance of screen is used as optimal viewing distance;Under this group of spatial point, select from the plurality of right and left eyes spatial distribution image The maximum corresponding grating parameter in position of width is used as optimum grating parameter.
Figure 10 is referred to, the preset direction is vertical direction, as the right and left eyes spatial distribution image is gone up in the horizontal direction The corresponding vertical width of diverse location it is different, 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 Breadth Maximum The width of central point) center distance behaviour eye pupil away from generally 65 to 75mm.
Data processing method provided in an embodiment of the present invention, by obtaining multiple spatial point positions and multigroup grating Grating parameter, and the corresponding left eye light intensity of each described spatial point and the right side are calculated under the grating parameter of grating described in each group respectively Eye is strong, further, under the grating parameter of grating according in each group the corresponding left eye light intensity of each described spatial point and Right eye light intensity, forms multiple right and left eyes spatial distribution images, multiple described from a right and left eyes spatial distribution image The maximum corresponding spatial point of subgraph of width is selected in subgraph, as optimal viewing point;Under the optimal viewing point, from The corresponding grating parameter of subgraph of the width maximum selected in the plurality of right and left eyes spatial distribution image is used as optimum grating Parameter, in this way, enabling while optimal grating parameter and optimal viewing point are obtained, further so that user Optimal stereo display effect is obtained in that, Consumer's Experience is lifted.
Figure 11 is referred to, is the high-level schematic functional block diagram of data processing equipment provided in an embodiment of the present invention 500.The number Three-dimensional display system is applied to according to processing meanss 500, the three-dimensional display system includes grating and display screen, in the grating Between the central point of light hole align with the central point of the display screen, the data processing equipment 500 includes acquisition module 510, meter Calculate module 520, processing module 530 and selecting module 540.
Acquisition module 510, for obtaining the position of multiple spatial points and the grating parameter of multigroup grating.
Computing module 520, for calculating each described spatial point correspondence under the grating parameter of grating described in each group respectively Left eye light intensity and right eye light intensity.
As a kind of embodiment, the grating parameter include the distance of grating and display screen, the thang-kng hole width of grating, And the light barrier width of grating.
Figure 12 is referred to, used as a kind of embodiment, the computing module 520 includes the first mark module 521, at first Reason module 522, Second processing module 523, the 3rd processing module 524, and the second mark module 525.
First mark module 521, for using one of through hole of the grating as pending through hole.
First processing module 522, for obtaining the original position and end position of the pending through hole.
Second processing module 523, for calculating the first joining position of the first line and the display screen, the second line with Second joining position of the display screen, wherein, first line is the line of current spatial point and the original position, described Second line is the line of current spatial point and the end position.
Figure 13 is referred to, used as a kind of embodiment, Second processing module 523 includes the first calculating sub module 5231 and Two calculating sub modules 5232.
First calculating sub module 5231, for calculating the first angle of the first line and the grating normal direction respectively, the Second angle of two lines and the grating normal direction.
Second calculating sub module 5232, connects for according to first angle and second angle, calculating described first , in the first joining position of the display screen, second line is in the second joining position of the display screen for line.
Specifically, second calculating sub module 5232, if being located at described the specifically for the light angle of divergence of the grating Between one angle and second angle, according to first angle, the smooth angle of divergence and the original position, institute is calculated State the first joining position;According to second angle, the smooth angle of divergence and the end position, second phase is calculated Position of intersecting point.
3rd processing module 524, it is individual with idol vegetarian refreshments for calculating the number of strange pixel in intersecting area respectively Number, the intersecting area refer to the region between the second joining position and the first joining position.
Second mark module 525, for using the next through hole of the grating as pending through hole, until having processed There is through hole, the total number that the strange pixel in all through holes corresponding intersecting area is added, will be all logical used as left eye light intensity The total number that idol vegetarian refreshments in the corresponding intersecting area in hole is added is used as right eye light intensity.
Processing module 530, for basis under the grating parameter of grating described in each group the corresponding left side of each described spatial point Eye is strong and right eye light intensity, forms multiple right and left eyes spatial distribution images, each described right and left eyes spatial distribution image correspondence one The grating parameter of the group grating.
Selecting module 540, it is maximum along preset direction width for selecting from a right and left eyes spatial distribution image Position, the position is corresponding with one group of spatial point, and this group of spatial point is equal with the distance of the display screen, by this group of spatial point With the distance of display screen as optimal viewing distance;Under this group of spatial point, from the plurality of right and left eyes spatial distribution image The corresponding grating parameter in position of the width maximum selected is used as optimum grating parameter.
Each module can be that now, above-mentioned each module can be stored in electronic equipment 200 by software code realization above In memory 201.Each module equally can be realized by hardware such as IC chip above.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
The data processing equipment provided by the embodiment of the present invention, which realizes the technique effect and preceding method of principle and generation Embodiment is identical, is brief description, and device embodiment part does not refer to part, refers in corresponding in preceding method embodiment Hold.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other modes are realized.Device embodiment described above is only schematically, for example flow chart and block diagram in accompanying drawing Show the device of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of module, program segment or a code Part, a part for the module, program segment or code are used to realize holding for the logic function for specifying comprising one or more Row instruction.It should also be noted that at some as in the implementations replaced, the function of being marked in square frame can also be being different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, and they are sometimes Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing the function or action of regulation Realize in the system of hardware, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is realized using in the form of software function module and as independent production marketing or when using, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and second or the like relational terms are used merely to an entity or operation Make a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this Actual relation or order.And, term " including ", "comprising" or its any other variant are intended to nonexcludability Comprising so that a series of process, method, article or equipment including key elements not only includes those key elements, but also wrapping Other key elements being not expressly set out are included, or also includes intrinsic for this process, method, article or equipment wanting Element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that wanting including described The process of element, method, also there is other identical element in article or equipment.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exist Similar terms is represented in figure below, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing Which is further defined and is explained.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of data processing method, it is characterised in that be applied to three-dimensional display system, the three-dimensional display system includes grating With display screen, the central point of the middle light hole of the grating alignd with the central point of the display screen, and methods described includes:
Obtain the position of multiple spatial points and the grating parameter of multigroup grating;
The corresponding left eye light intensity of each described spatial point and right eye light intensity are calculated under the grating parameter of grating described in each group respectively;
Under the grating parameter of grating according in each group, the corresponding left eye light intensity of each described spatial point and right eye light intensity, form Multiple right and left eyes spatial distribution images, the grating parameter of each grating described in one group of the right and left eyes spatial distribution image correspondence;
Select from a right and left eyes spatial distribution image along the maximum position of preset direction width, the position with one group Spatial point correspondence, this group of spatial point are equal with the distance of the display screen, using the distance of this group of spatial point and display screen as most Good viewing distance;Under this group of spatial point, the position of the width maximum selected from the plurality of right and left eyes spatial distribution image Corresponding grating parameter is used as optimum grating parameter.
2. method according to claim 1, it is characterised in that the grating parameter include grating and display screen distance, The light barrier width of the thang-kng hole width and grating of grating.
3. method according to claim 2, it is characterised in that calculate each respectively under the grating parameter of grating described in a group The step of corresponding left eye light intensity of individual spatial point and right eye light intensity, including:
Using one of through hole of the grating as pending through hole;
Obtain the original position and end position of the pending through hole;
Calculate the second joining position of the first joining position of the first line and the display screen, the second line and the display screen Put, wherein, first line is the line of current spatial point and the original position, second line be current spatial point with The line of the end position;
Calculate the number of the number of strange pixel and idol vegetarian refreshments in intersecting area respectively, the intersecting area refers to described the Region between two-phase position of intersecting point and the first joining position;
Using the next through hole of the grating as pending through hole, until having processed all through holes, will be all through holes corresponding The total number that strange pixel in intersecting area is added as left eye light intensity, by the idol in all through holes corresponding intersecting area The total number that vegetarian refreshments is added is used as right eye light intensity.
4. method according to claim 3, it is characterised in that the first line of the calculating intersects the first of the display screen Point position, the second line in the second joining position of the display screen, including:
The first angle of the first line and the grating normal direction, the second line and the second of the grating normal direction are calculated respectively Angle;
According to first angle and second angle, first line is calculated in the first joining position of the display screen Put, second line is in the second joining position of the display screen.
5. method according to claim 4, it is characterised in that described according to first angle and second angle, First line is calculated in the first joining position of the display screen, second joining of second line in the display screen Position, including:
If the light angle of divergence of the grating be located between first angle and second angle, according to first angle, The smooth angle of divergence and the original position, calculate the first joining position;Sent out according to second angle, the light Scattered angle and the end position, calculate the second joining position.
6. a kind of data processing equipment, it is characterised in that be applied to three-dimensional display system, the three-dimensional display system includes grating With display screen, the central point of the middle light hole of the grating alignd with the central point of the display screen, and described device includes:
Acquisition module, for obtaining the position of multiple spatial points and the grating parameter of multigroup grating;
Computing module, for calculating under the grating parameter of grating described in each group the corresponding left eye light of each described spatial point respectively Strong and right eye light intensity;
Processing module, for basis under the grating parameter of grating described in each group the corresponding left eye light intensity of each described spatial point and Right eye light intensity, forms multiple right and left eyes spatial distribution images, each light described in one group of the 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, and this group of spatial point is equal with the distance of the display screen, by this group of spatial point and display The distance of screen is used as optimal viewing distance;Under this group of spatial point, select from the plurality of right and left eyes spatial distribution image The maximum corresponding grating parameter in position of width is used as optimum grating parameter.
7. device according to claim 6, it is characterised in that the grating parameter include grating and display screen distance, The light barrier width of the thang-kng hole width and grating of grating.
8. device according to claim 7, it is characterised in that the computing module includes the first mark module, at first Reason module, Second processing module, the 3rd processing module, and the second mark module,
First mark module, for using one of through hole of the grating as pending through hole;
The first processing module, for obtaining the original position and end position of the pending through hole;
The Second processing module, for calculating the first joining position of the first line and the display screen, the second line with should Second joining position of display screen, wherein, first line is the line of current spatial point and the original position, described the Two lines are the line of current spatial point and the end position;
3rd processing module, for calculating the number of the number of strange pixel and idol vegetarian refreshments in intersecting area respectively, The intersecting area refers to the region between the second joining position and the first joining position;
Second mark module, owns as pending through hole until having processed for using the next through hole of the grating Through hole, using the total number of the strange pixel addition in all through holes corresponding intersecting area as left eye light intensity, by all through holes The total number that idol vegetarian refreshments in corresponding intersecting area is added is used as right eye light intensity.
9. device according to claim 8, it is characterised in that the Second processing module include the first calculating sub module and Second calculating sub module,
First calculating sub module, for calculating the first angle of the first line and the grating normal direction respectively, second connects Second angle of line and the grating normal direction;
Second calculating sub module, exists for according to first angle and second angle, calculating first line First joining position of the display screen, second line is in the second joining position of the display screen.
10. device according to claim 9, it is characterised in that second calculating sub module, if specifically for the light The light angle of divergence of grid be located between first angle and second angle, according to first angle, the smooth angle of divergence, And the original position, calculate the first joining position;According to second angle, the smooth angle of divergence and the knot Beam position, calculates the second joining 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 true CN106547101A (en) 2017-03-29
CN106547101B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540794A (en) * 2018-03-30 2018-09-14 上海玮舟微电子科技有限公司 Show detection method, device, equipment and the storage medium of equipment row's graph parameter
CN110297333A (en) * 2019-07-08 2019-10-01 中国人民解放军陆军装甲兵学院 A kind of light field display system adjusting method and system

Citations (7)

* 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
US20120120065A1 (en) * 2010-11-12 2012-05-17 Samsung Electronics Co., Ltd. Image providing apparatus and image providing method based on user's location
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
CN105635711A (en) * 2014-11-24 2016-06-01 三星电子株式会社 Method of determining calibration parameter for three-dimensional (3d) display device and 3d display device using the method
CN105898284A (en) * 2015-11-24 2016-08-24 徐州维林苑文化传媒有限公司 Continuous viewpoint mirror-free three-dimensional grating parameter superiority judging method
CN105911712A (en) * 2016-06-30 2016-08-31 北京邮电大学 Multi-view-point liquid crystal display LCD naked-eye 3D (Three Dimensional) display method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120120065A1 (en) * 2010-11-12 2012-05-17 Samsung Electronics Co., Ltd. Image providing apparatus and image providing method based on user's location
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
CN105635711A (en) * 2014-11-24 2016-06-01 三星电子株式会社 Method of determining calibration parameter for three-dimensional (3d) display device and 3d display device using the method
CN105898284A (en) * 2015-11-24 2016-08-24 徐州维林苑文化传媒有限公司 Continuous viewpoint mirror-free three-dimensional grating parameter superiority judging method
CN105911712A (en) * 2016-06-30 2016-08-31 北京邮电大学 Multi-view-point liquid crystal display LCD naked-eye 3D (Three Dimensional) display method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540794A (en) * 2018-03-30 2018-09-14 上海玮舟微电子科技有限公司 Show detection method, device, equipment and the storage medium of equipment row's graph parameter
CN108540794B (en) * 2018-03-30 2021-02-19 张家港康得新光电材料有限公司 Method, device and equipment for detecting layout parameters of display equipment and storage medium
CN110297333A (en) * 2019-07-08 2019-10-01 中国人民解放军陆军装甲兵学院 A kind of light field display system adjusting method and system
CN110297333B (en) * 2019-07-08 2022-01-18 中国人民解放军陆军装甲兵学院 Light field display system adjusting method and system

Also Published As

Publication number Publication date
CN106547101B (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN104661011B (en) Stereoscopic image display method and hand-held terminal
CN110288692B (en) Illumination rendering method and device, storage medium and electronic device
CN102110280B (en) Spatial data processing method and device
CN108292438A (en) It is rendered using the light field of the image of variable computational complexity
CN106803899A (en) The method and apparatus for merging image
CN112100795B (en) Computer aided design drawing comparison method and device
EP3879446A2 (en) Method for detecting vehicle lane change, roadside device, cloud control platform and program product
CN102760308B (en) Method and device for node selection of object in three-dimensional virtual reality scene
DE112016006922T5 (en) Detecting activity in a video footage based on depth information
CN112712053A (en) Sitting posture information generation method and device, terminal equipment and storage medium
KR20190098884A (en) Method of operating light field 3d display device having rgbg pixel structure, and light field 3d display device
CN105430331A (en) Method and device for adjusting display direction of monitor image
CN107481309A (en) Three-dimensional reflection rendering intent and device
CN106547101A (en) Data processing method and device
CN103164864A (en) Triangularization method of polygon in computer image processing and system using the same
CN107833227B (en) Drawing method and system for circular cutting area
CN105069841A (en) Sea and land combined visualization method based on OSG three-dimensional engine
CN102074025A (en) Image stylized drawing method and device
US20230169680A1 (en) Beijing *** netcom science technology co., ltd.
CN109189537B (en) The dynamic display method of page info calculates equipment and computer storage medium
US9275481B2 (en) Viewport-based contrast adjustment for map features
CN203616950U (en) Display device
CN102053837A (en) Collision detection and avoidance method and device for space entity element marking
CN112667137B (en) Switching display method and device for house type graph and house three-dimensional model
CN108564637A (en) Geometrical model arrangement method and device

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