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.
As shown in Figure 1, being the block diagram of the application controlling terminal 100.The controlling terminal 100 is filled including 3D display
Set 200, memory 101, storage control 102, processor 103, Peripheral Interface 104, input-output unit 105, display unit
106 and other.
The memory 101, processor 103, Peripheral Interface 104, input-output unit 105, is shown storage control 102
Show that each element of unit 106 is directly or indirectly electrically connected between each other, to realize the transmission or interaction of data.For example, these
Element can be realized by one or more communication bus or signal wire be electrically connected between each other.The 3D display device 200 wraps
The control can be stored in the memory 101 or be solidificated in the form of software or firmware (firmware) by including at least one
Software function module in the operating system (operating system, OS) of terminal 100.The processor 103 is for executing
The executable module stored in memory 101, such as the 3D display device 200 software function module that includes or computer journey
Sequence.
Wherein, memory 101 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 101 is for storing program, and the processor 103 executes described program after receiving and executing instruction, aforementioned
Method performed by the controlling terminal 100 that the stream process that the embodiment of the present application any embodiment discloses defines can be applied to handle
In device 103, or realized by processor 103.
Processor 103 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 103 can
To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), specific integrated circuit (ASIC),
Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard
Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present application.General processor
It can be microprocessor or the processor 103 be also possible to any conventional processor etc..
Various input/output devices are couple processor 103 and memory 101 by the Peripheral Interface 104.Some
In embodiment, Peripheral Interface 104, processor 103 and storage control 102 can be realized in one single chip.Other one
In a little examples, they can be realized by independent chip respectively.
Input-output unit 105 is used to be supplied to the interaction that user input data realizes user and the controlling terminal 100.
The input-output unit may be, but not limited to, mouse, keyboard, touch screen etc..
Display unit 106 is referred to for display image data to user in the controlling terminal 100.In the present embodiment,
The display unit 106 can be liquid crystal display or touch control display.It, can be to support single-point and more if touch control display
Capacitance type touch control screen or resistance type touch control screen of point touch control operation etc..Single-point and multi-point touch operation is supported to refer to touch control display
It can sense one or more positions while the touch control operation generated on the touch control display, and the touching that this is sensed
Control operation transfers to processor to be calculated and handled.
In the present embodiment, which can be computer or other control equipment.
It should be understood that structure shown in FIG. 1 is only to illustrate, controlling terminal 100 can also include more than shown in Fig. 1
Or less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or
A combination thereof is realized.
First embodiment
The embodiment of the invention provides a kind of 3D display methods, refer to Fig. 2, this method comprises:
Step S110: the crosstalk ratio between the left-eye image and eye image that display module is shown is obtained.
Before being shown, when controlling terminal first obtains current 3D display equipment display image, left-eye image and the right side
Crosstalk ratio between eye image, i.e. crosstalk of the left-eye image to the crosstalk and eye image of eye image to left-eye image.
The crosstalk ratio that controlling terminal obtains can be what user was inputted by input-output unit 105.It is also possible to lead to
It calculates and obtains after the display in advance to left eye test image and right eye test image.Specifically, as indicated at 3, step S110
May include:
Step S111: control display module shows left eye test image and right eye test image.
The left eye test image and right eye test image are the image for testing the crosstalk ratio of display module, pixel
Value can be set according to actual needs.Wherein, left eye test image is when testing the crosstalk ratio of display module, and display module is shown
Correspond to left eye viewing location for left eye viewing image, likewise, right eye test image be test display module
When crosstalk ratio, what display module was shown corresponds to the image for right eye viewing of right eye viewing location.
Controlling terminal controls display module according to 3D display side after obtaining left eye test image and right eye test image
Formula shows left eye test image and right eye test image.For example, display module includes multiple columns of display elements arranged side by side,
Multiple columns of display elements alternately display the sub- test image of left eye test image and the sub- test image of right eye test image, show
The sub- test image for all left eye test images shown constitutes the left eye test image, the son test of the right eye test image of display
The image construction right eye test image.
It should be understood that display module is particularly shown mode in this reality to left eye test image and right eye test image
It applies and is not intended as limiting in example, determined according to the actual displayed situation of display module.
Step S112: control image acquisition equipment obtains left eye test effect in the corresponding viewing location of left eye test image
Figure.
In the present embodiment, the image acquisition equipment can be video camera or other.The corresponding sight of left eye test image
See that position is viewer's left eye position at the best viewing location of the 3D display equipment.Image acquisition equipment is in left eye
The left eye test effect figure that the corresponding viewing location of test image is got be viewer at best viewing location when left eye
The image seen.
Step S113: it is aobvious that the display module is calculated according to the left eye test image and the left eye test effect figure
The crosstalk ratio between left-eye image and eye image shown.
The left eye test effect figure that image acquisition equipment is got is to be surveyed when left eye test image is shown by right eye
Image after attempting the crosstalk of picture, thus it is possible to calculate display module according to left eye test image and left eye test effect figure
The left-eye image and eye image crosstalk ratio of display.
Circular can be, and obtain the first pixel value of the left eye test image, the right eye test image
The second pixel value and the left eye test effect figure third pixel value.The third pixel value and described first is calculated again
Ratio between the difference of pixel value and second pixel value, the left-eye image shown using the ratio as display module and right eye
Crosstalk ratio between image.For example, the first pixel value of left eye test image is m, the second pixel value of right eye test image is
The third pixel value of n, left eye test effect figure are k, then the calculating of crosstalk ratio can be r=(k-m)/k*100%.
In the present embodiment, left eye test image can be set to the same image of each pixel pixel value, and right eye is surveyed
Attempt the image as may be set to be each pixel pixel value, then with the pixel value of a pixel in test image
Pixel value as corresponding test image.If the pixel value of each pixel is different in test image or test effect figure
It causes, it can be using the average pixel value in image as the pixel value of image.Certainly, test image and the pixel of test effect figure
The method of determination of value is also possible to other, is not intended as limiting in the present embodiment.
In the present embodiment, it is also possible to obtain the first pixel value of the left eye test image, the right eye test chart
4th pixel value of the second pixel value of picture and the right eye test effect figure;The 4th pixel value and described the are calculated again
Ratio between the difference of two pixel values and first pixel value, the left-eye image shown using the ratio as display module and the right side
Crosstalk ratio between eye image.
In addition, in the present embodiment, can repeatedly test the crosstalk in display module between left-eye image and eye image
Rate, using the average value of the crosstalk ratio of multiple test acquisition as the crosstalk ratio between right and left eyes image in display module.
Step S120: according to the crosstalk ratio, left-eye image is calculated in each frame image to be shown by eye image
Crosstalk crosstalk pixel value, calculate crosstalk picture of the eye image by the crosstalk of left-eye image in each frame image to be shown
Element value.
Specifically, left-eye image includes multiple sub- left-eye images in each frame image to be shown, eye image includes more
A sub- eye image, every sub- left-eye image show that the position of left-eye image is shown in display module accordingly, show mould
Complete display of the block to the Display Realization left-eye image of multiple sub- left-eye images.Likewise, every sub- eye image is in display mould
Block shows that the position of eye image is shown accordingly.
Still by taking display module includes multiple columns of display elements arranged side by side as an example, every height of multiple sub- left-eye images
Left-eye image is display image of the same size with columns of display elements, every sub- eye image of multiple sub- eye images be with
The display of columns of display elements image of the same size.Multiple columns of display elements alternately display sub- left-eye image and sub- right eye figure
Picture can be, and the first columns of display elements shows that first sub- left-eye image, second columns of display elements show first character right eye
Image, third columns of display elements show that second sub- left-eye image, the 4th columns of display elements show second word right eye figure
Picture, and so on.
In the present embodiment, crosstalk of the left-eye image by the crosstalk of eye image in each frame image to be shown is calculated
Pixel value includes: the crosstalk pixel value for calculating the crosstalk for the corresponding sub- eye image that each sub- left-eye image is subject to.It calculates
Eye image is included: to calculate each height right side by the crosstalk pixel value of the crosstalk of left-eye image in each frame image to be shown
The crosstalk pixel value of the crosstalk for the corresponding sub- left-eye image that eye image is subject to.
Specifically, to can be the son adjacent with the sub- left-eye image right for the corresponding sub- eye image of each sub- left-eye image
Eye image, likewise, to can be the son adjacent with the sub- eye image left for the corresponding sub- left-eye image of each sub- eye image
Eye image.If a sub- left-eye image corresponds to multiple sub- eye images, a certain height right side for calculating wherein fixed-direction can be
The crosstalk pixel value that the crosstalk pixel value of eye image is subject to as the left-eye image, is also possible to calculate multiple sub- eye images
Crosstalk pixel value of the crosstalk pixel value as the sub- left-eye image.The crosstalk pixel value and sub- left-eye image that sub- eye image is subject to
Calculation it is consistent.
Multiple pixels in group left-eye image have different pixel value, multiple pixels in sub- eye image
With different pixel value, it can be corresponding each pixel and calculate crosstalk pixel value, for example, with certain sub- eye image
First pixel calculates crosstalk ratio and obtains in the eye image first pixel to first pixel of other left-eye images
Point crosstalk pixel value, other pixels are similarly.Be also possible to use crosstalk ratio multiplied by corresponding subgraph average pixel value as
Crosstalk pixel value.
Step S130: corresponding crosstalk is subtracted in the left-eye image and eye image in the image to be shown from each frame
Pixel value obtains the corresponding display image of each frame image to be shown.
Corresponding crosstalk pixel value is subtracted in left-eye image and eye image in the image to be shown from each frame can
To be: the crosstalk pixel value of corresponding sub- eye image is subtracted from each sub- left-eye image, from each sub- eye image
In subtract the crosstalk pixel value of corresponding sub- left-eye image.Specifically, the pixel value of each pixel of every sub- left-eye image
Corresponding crosstalk pixel value is subtracted, the pixel value of each pixel of every sub- eye image subtracts corresponding crosstalk pixel value.
When each pixel of correspondence calculates crosstalk pixel value, subtracted pair from each pixel in every sub- left-eye image
The crosstalk pixel value that the pixel of corresponding position is calculated in the sub- eye image answered, from each of every sub- eye image
Pixel subtracts the crosstalk pixel value that the pixel of corresponding position in corresponding sub- left-eye image is calculated.For example, certain height
First pixel of left eye subtract be corresponding eye image the crosstalk picture that is obtained multiplied by crosstalk ratio of first pixel
Element value, other each pixels are similarly.
Step S140: control 3D display equipment shows that image is shown to each frame.
Display equipment shows that image is shown to each frame by display module.Due to the left-eye image in display image
And eye image has subtracted crosstalk pixel value, left-eye image and eye image during display by crosstalk, picture
Element value increases, and the image for seeing viewer and the image to be displayed of actual needs display are more nearly, and is effectively improved crosstalk.
Second embodiment
A kind of 3D display device 200 is present embodiments provided, Fig. 4 is referred to, described device 200 includes: that crosstalk obtains mould
Block 210, for obtaining the crosstalk ratio between the left-eye image and eye image that display module is shown;Computing module 220 is used for root
According to the crosstalk ratio, crosstalk pixel value of the left-eye image by the crosstalk of eye image in each frame image to be shown is calculated,
Calculate crosstalk pixel value of the eye image by the crosstalk of left-eye image in each frame image to be shown;Image processing module
230, for subtracting corresponding crosstalk pixel value from the left-eye image and eye image in each frame image to be shown, obtain
Obtain each frame corresponding display image of image to be shown;Display control module 240, for controlling 3D display equipment to each frame
Display image is shown.
Further, in the present embodiment, it includes: display control unit that the crosstalk, which obtains 210 pieces of mould, aobvious for controlling
Show that module shows left eye test image and right eye test image;Image acquisition unit, for controlling image acquisition equipment on a left side
The corresponding viewing location of eye test image obtains left eye test effect figure;Crosstalk ratio computing unit, for being surveyed according to the left eye
Attempt as and the left eye test effect figure calculate string between the left-eye image and eye image that the display module is shown
Disturb rate.
In the present embodiment, the crosstalk ratio computing unit may include: that pixel obtains subelement, for obtaining the left side
The of eye the first pixel value of test image, the second pixel value of the right eye test image and the left eye test effect figure
Three pixel values;Computation subunit, for calculating the difference and second pixel of the third pixel value and first pixel value
Ratio between value, the crosstalk ratio between left-eye image and eye image shown using the ratio as display module.
It in the present embodiment, include multiple sub- left-eye images and multiple sub- right eye figures in each frame image to be shown
Picture, the computing module 220 are used to calculate the crosstalk of the crosstalk for the corresponding sub- eye image that each sub- left-eye image is subject to
Pixel value calculates the crosstalk pixel value of the crosstalk for the corresponding sub- left-eye image that each sub- eye image is subject to;Described image
Processing module 230 is used to subtract the crosstalk pixel value of corresponding sub- eye image from each sub- left-eye image, from each
The crosstalk pixel value of corresponding sub- left-eye image is subtracted in sub- eye image.
Specifically, in the present embodiment, the crosstalk of the crosstalk for the corresponding sub- eye image that each sub- left-eye image is subject to
Pixel value is equal to the pixel value of the corresponding sub- eye image multiplied by crosstalk ratio;The corresponding son that each sub- eye image is subject to
The crosstalk pixel value of the crosstalk of left-eye image is equal to the pixel value of the corresponding sub- left-eye image multiplied by crosstalk ratio.
In conclusion 3D display method and device provided in an embodiment of the present invention, can show according in 3D display equipment
The crosstalk ratio between right and left eyes image that module is shown calculates between the right and left eyes image obtained in each frame image to be shown
Crosstalk pixel value, then subtract eye image to the pixel cross-talk value of left-eye image from left-eye image, subtract from eye image
Go left-eye image to display image is obtained after the pixel cross-talk value of eye image, so that the display shown in viewing 3D display equipment
When image, the left-eye image watched is the left-eye image subtracted after crosstalk pixel value, and when eye image watched subtracts
Eye image after crosstalk pixel value, improves the crosstalk between right and left eyes image, and does not need to come using optical device
Improve 3D crosstalk, does not increase the complexity of 3D display equipment.
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: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs
Illustrate, herein, such as first and second, another or the like relational terms are used merely to an entity or behaviour
Make with another entity or operate distinguish, without necessarily requiring or implying between these entities or operation there are it is any this
The actual relationship of kind or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Include so that include a series of elements process, method, article or equipment not only include those elements, but also
Including 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.