CN109922326A - The resolution ratio of naked eye 3D video image determines method, apparatus, medium and equipment - Google Patents

The resolution ratio of naked eye 3D video image determines method, apparatus, medium and equipment Download PDF

Info

Publication number
CN109922326A
CN109922326A CN201910252406.1A CN201910252406A CN109922326A CN 109922326 A CN109922326 A CN 109922326A CN 201910252406 A CN201910252406 A CN 201910252406A CN 109922326 A CN109922326 A CN 109922326A
Authority
CN
China
Prior art keywords
compressed
images
naked eye
resolution
horizontal
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
CN201910252406.1A
Other languages
Chinese (zh)
Other versions
CN109922326B (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.)
Shenzhen Xinzhiwei Technology Co Ltd
Original Assignee
Shenzhen Xinzhiwei 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 Shenzhen Xinzhiwei Technology Co Ltd filed Critical Shenzhen Xinzhiwei Technology Co Ltd
Priority to CN201910252406.1A priority Critical patent/CN109922326B/en
Publication of CN109922326A publication Critical patent/CN109922326A/en
Application granted granted Critical
Publication of CN109922326B publication Critical patent/CN109922326B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The resolution ratio that the embodiment of the present application discloses naked eye 3D video image determines method, apparatus, medium and equipment.This method comprises: obtaining the angle of the grating and horizontal direction above grating screen;According to the angle of grating and horizontal direction, the horizontal compression factor and the vertical compression factor for forming the two images of a frame naked eye 3D rendering are determined;It is compressed using the horizontal resolution of horizontal compression factor pair two images, with the utilization vertical compression factor, the vertical resolution for the two images for forming a frame naked eye 3D rendering is compressed, the compressed horizontal resolution of two images and compressed vertical resolution are obtained.By executing technical solution provided by the present embodiment, the information of equipment can be shown according to naked eye 3D rendering, determine the resolution ratio for forming two images of a frame naked eye 3D rendering, so as to improve image due to the unbalanced problem of the resolution ratio being spliced to form, and it can reduce the effect of data space required for two images transimission and storage.

Description

The resolution ratio of naked eye 3D video image determines method, apparatus, medium and equipment
Technical field
The invention relates to medical domain more particularly to a kind of resolution ratio of naked eye 3D video image determine method, Device, medium and equipment.
Background technique
In the field of medicine, in order to more accurately provide diagnosing and treating data for doctor, using medical device Broad development comes the technology of direct imaging.
In various diagnostic techniques, it may all be related to the processing and imaging of medical image, and in cavity mirror system, it is Doctor can be given to provide more intuitive image, naked eye 3D rendering system introduction is medical image applications burning hoter at present Project.3D rendering system can be by: dual camera acquires camera lens, camera host, LED cold light source, naked eye 3D display equipment etc. Composition.In the prior art, it is divided into single channel transmission of video and storage and two-pass video transimission and storage two ways, single-pass Road transmission of video and storage mode are divided into Side by side (left-right format), Top bottom (top-down format), Line by Line (upper and lower stagger scheme).But single channel generally requires to keep the picture format of 16:9 (or 18:9 etc.) ratio, to view Frequency compresses the problems such as unreasonable, and left-right format carries out horizontal direction compression to image, and horizontal resolution reduces half, top-down format Vertical direction is compressed with upper and lower stagger scheme, vertical resolution reduces half.Both compress modes allow image matter It measures unbalance.The mode of two-pass video transimission and storage, i.e. two paths of signals line transmission, such as two SDI (serial simultaneously Digital interface, digital component serial line interface), two HDMI (HighDefinition Multimedia Interface, high-definition media interface) etc..For this mode there are wiring complexity, hardware cost is high, while it is also possible to occurring The disadvantages of picture frame is asynchronous.Therefore, how to overcome the problems, such as that image resolution ratio is unbalanced, and reduce hardware transport at This, becomes those skilled in the art's urgent problem to be solved.
Summary of the invention
The resolution ratio that the embodiment of the present application provides naked eye 3D video image determines method, apparatus, medium and equipment, Ke Yishi The information that equipment is now shown according to naked eye 3D rendering, determines the resolution ratio for forming two images of a frame naked eye 3D rendering, thus Image can be improved due to the unbalanced problem of the resolution ratio being spliced to form, and can reduce two images transimission and storage institute The effect of the data space needed.
In a first aspect, the resolution ratio that the embodiment of the present application provides a kind of naked eye 3D video image determines method, this method Include:
Obtain the angle of the grating and horizontal direction above grating screen;
According to the angle of the grating and horizontal direction, the horizontal pressure for the two images for forming a frame naked eye 3D rendering is determined The contracting factor and the vertical compression factor;
Using the horizontal compression factor, the horizontal resolution for the two images for forming a frame naked eye 3D rendering is pressed Contracting, and the vertical compression factor is utilized, the vertical resolution for the two images for forming a frame naked eye 3D rendering is compressed, Obtain the compressed horizontal resolution of two images and compressed vertical resolution.
Further, after obtaining the compressed horizontal resolution of two images and compressed vertical resolution, institute State method further include:
Compressed two images are merged according to preset format, obtain the compressed naked eye 3D rendering of a frame, and to pressure Naked eye 3D rendering after contracting is stored and/or is transmitted.
Further, using the horizontal compression factor, to the level point for the two images for forming a frame naked eye 3D rendering Resolution is compressed, and utilizes the vertical compression factor, the vertical resolution to the two images for forming a frame naked eye 3D rendering Rate is compressed, and the compressed horizontal resolution of two images and compressed vertical resolution are obtained, comprising:
By the product of the horizontal resolution of two images and the horizontal compression factor, as the compressed level point of two images Resolution;
By the product of the vertical resolution of two images and the vertical compression factor, compressed vertical point as two images Resolution.
Further, according to the angle of the grating and horizontal direction, the two width figures for forming a frame naked eye 3D rendering are determined The horizontal compression factor and the vertical compression factor of picture, comprising:
The horizontal compression factor and vertical compression for forming the two images of a frame naked eye 3D rendering are determined using following formula The factor:
ScaleX=0.5* (θ/90 ° 2-);
ScaleY=0.5* (θ/90 ° 1+);
Wherein, θ be grating and horizontal direction angle, scaleX be the horizontal compression factor, scaleY be vertical compression because Son.
Further, if grating and the angle of horizontal direction are acute angle, the angle of grating and horizontal direction is directly determined For θ;If grating and the angle of horizontal direction are obtuse angle, it is determined that (angle of 180 °-grating and horizontal direction) is θ.
Further, compressed two images are merged according to preset format, obtains the compressed naked eye 3D figure of a frame Picture, and compressed naked eye 3D rendering is stored and/or transmitted, comprising:
Compressed two images are merged according to left-right format, top-down format or upper and lower stagger scheme, obtain a frame Compressed naked eye 3D rendering, and compressed naked eye 3D rendering is stored and/or transmitted.
Second aspect, the embodiment of the present application provide a kind of resolution ratio determining device of naked eye 3D video image, the device Include:
Angle obtains module, for obtaining the angle of grating and horizontal direction above grating screen;
Compressibility factor determining module determines for the angle according to the grating and horizontal direction and forms a frame naked eye 3D The horizontal compression factor and the vertical compression factor of the two images of image;
Resolution ratio determining module, for utilizing the horizontal compression factor, to the two width figures for forming a frame naked eye 3D rendering The horizontal resolution of picture is compressed, and utilizes the vertical compression factor, to the two images for forming a frame naked eye 3D rendering Vertical resolution compressed, obtain the compressed horizontal resolution of two images and compressed vertical resolution.
Further, described device further include:
It is compressed to obtain a frame for merging compressed two images according to preset format for image application module Naked eye 3D rendering, and compressed naked eye 3D rendering is stored and/or transmitted.
Further, the resolution ratio determining module includes:
Horizontal resolution compression unit, for making the product of the horizontal resolution of two images and the horizontal compression factor For the compressed horizontal resolution of two images;
Vertical resolution compression unit, for making the product of the vertical resolution of two images and the vertical compression factor For the compressed vertical resolution of two images.
Further, the compressibility factor determining module is specifically used for:
The horizontal compression factor and vertical compression for forming the two images of a frame naked eye 3D rendering are determined using following formula The factor:
ScaleX=0.5* (θ/90 ° 2-);
ScaleY=0.5* (θ/90 ° 1+);
Wherein, θ be grating and horizontal direction angle, scaleX be the horizontal compression factor, scaleY be vertical compression because Son.
It is further:
If grating and the angle of horizontal direction are acute angle, the angle for directly determining grating and horizontal direction is θ;If grating Angle with horizontal direction is obtuse angle, it is determined that (angle of 180 °-grating and horizontal direction) is θ.
Further, described image application module is specifically used for:
Compressed two images are merged according to left-right format, top-down format or upper and lower stagger scheme, obtain a frame Compressed naked eye 3D rendering, and compressed naked eye 3D rendering is stored and/or transmitted.
The third aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence realizes the resolution ratio determination side of the naked eye 3D video image as described in the embodiment of the present application when the program is executed by processor Method.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real The resolution ratio for applying naked eye 3D video image described in example determines method.
Technical solution provided by the embodiment of the present application, by the folder for obtaining grating and horizontal direction above grating screen Angle;According to the angle of the grating and horizontal direction, determine the horizontal compressions of the two images for forming a frame naked eye 3D rendering because Son and the vertical compression factor;Using the horizontal compression factor, to the level point for the two images for forming a frame naked eye 3D rendering Resolution is compressed, and utilizes the vertical compression factor, the vertical resolution to the two images for forming a frame naked eye 3D rendering Rate is compressed, and the compressed horizontal resolution of two images and compressed vertical resolution are obtained.By using the application Provided technical solution may be implemented the information for showing equipment according to naked eye 3D rendering, determine and form a frame naked eye 3D rendering Two images resolution ratio, so as to improve image due to the unbalanced problem of the resolution ratio being spliced to form, and can Reduce the effect of data space required for two images transimission and storage.
Detailed description of the invention
Fig. 1 is that the resolution ratio for the naked eye 3D video image that the embodiment of the present application one provides determines the flow chart of method;
Fig. 2 is the schematic diagram for the display screen that the embodiment of the present application one provides;
Fig. 3 is the structural schematic diagram of the resolution ratio determining device for the naked eye 3D video image that the embodiment of the present application two provides;
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present application four provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just Part relevant to the application is illustrated only in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is that the resolution ratio for the naked eye 3D video image that the embodiment of the present application one provides determines the flow chart of method, this reality The case where example may be adapted to image resolution ratio is determined in naked eye 3D rendering synthesis process is applied, this method can be by the embodiment of the present application The resolution ratio determining device of provided naked eye 3D video image executes, the device can by the mode of software and/or hardware Lai It realizes, and can be integrated in the electronic equipment synthesized to two images for forming a frame 3D rendering.
As shown in Figure 1, the resolution ratio of the naked eye 3D video image determines that method includes:
The angle of grating and horizontal direction above S110, acquisition grating screen.
Wherein, in naked eye 3D video playing, need to formed each frame image there are the two images of parallax into Row rendering, then by the pixel filling after rendering to grating screen, due on grating screen with the grating of proper alignment, two Width image projects in viewer's left and right eye respectively after grating beam splitting, forms stereoscopic visual effect.However it is arranged vertically Grating can form moire fringes when forming stereoscopic visual effect, in order to evade moire fringes problem, water of the grating with showing screen Square there are an angles between.Fig. 2 is the schematic diagram for the display screen that the embodiment of the present application one provides, as shown in Fig. 2, bottom It is display screen layer, such as LCD (Liquid Crystal Display, liquid crystal display) screen, upper layer is grating layer, the item of grating Line arch is not vertical, but has a tilt angle theta with horizontal direction.It in the present embodiment, can be by obtaining naked eye The display equipment of 3D, the i.e. mode of the data information of grating screen get the folder of grating and horizontal direction above grating screen Angle.
S120, according to the angle of the grating and horizontal direction, determine the two images for forming a frame naked eye 3D rendering The horizontal compression factor and the vertical compression factor.
After determining the angle of grating and horizontal direction, it can determine and be formed according to the angle of grating and horizontal direction The horizontal compression factor and the vertical compression factor of the two images of one frame naked eye 3D rendering.For example, can be according to more than the angle String value and sine value determine the horizontal compression factor and the vertical compression factor, can also be according to other calculations of the angle come really Determine the horizontal compression factor and the vertical compression factor.
In the present embodiment, it is with the ratio between the horizontal and vertical resolution ratio of two images for forming a frame naked eye 3D rendering For 16:9, if two images or so splice, obtained result is 32:9, if the display resolution of display screen is 16: 9, then original half can be compressed in horizontal direction, if two images splice up and down, obtained result is 16:18, If the display resolution of display screen is 16:9, original half can be compressed in vertical direction.Therefore do not considering light When grid and the angle of horizontal direction, the left and right obtained horizontal compression factor of splicing is scaleX=0.5, the compression of vertical direction because Son is scaleY=1.And when splicing up and down or staggeredly splicing up and down, the obtained horizontal compression factor is scaleX=1, vertically The compressibility factor in direction is scaleY=0.5.Two kinds of connecting methods all can be to the compression factor mistake on some direction as a result, Height, at the result for influencing imaging effect.Therefore the present embodiment is used by the angle according to the grating and horizontal direction, really Determine the horizontal compression factor and the vertical compression factor, splicing can be taken into account in this way and shows the resolution of image caused by two processes The loss of rate achievees the effect that the resolution ratio of more reasonable determining image.
S130, the horizontal resolution using the horizontal compression factor, to the two images for forming a frame naked eye 3D rendering Compressed, and utilize the vertical compression factor, to formed a frame naked eye 3D rendering two images vertical resolution into Row compression, obtains the compressed horizontal resolution of two images and compressed vertical resolution.
In the present embodiment, two images can be compressed respectively, then is spliced, it can also be first to two images Spliced, obtains spliced image and carry out compression processing again.Preferably, this programme is used and is first compressed, then the mode spliced It is handled.Specifically, can use the horizontal compression factor, the level to the two images for forming a frame naked eye 3D rendering Resolution ratio is compressed, and utilizes the vertical compression factor, to vertical point of the two images for forming a frame naked eye 3D rendering Resolution is compressed, and the compressed horizontal resolution of two images and compressed vertical resolution are obtained.Again to two images Spliced.
In the present embodiment, optionally, the compressed horizontal resolution of two images and vertical point compressed is being obtained After resolution, the method also includes: compressed two images are merged according to preset format, it is compressed naked to obtain a frame Eye 3D rendering, and compressed naked eye 3D rendering is stored and/or transmitted.Wherein it is possible to the naked eye 3D rendering that will be obtained It is stored in a certain specific position, image transmitting can also be carried out by transmission line, such as be transmitted in display equipment and shown. In this way, by the image after compression processing can transmission, storage and display end can with reasonable resolution sizes into Row processing, meets the demand of viewer, while not carrying out biggish burden to the hardware strap of transimission and storage, is especially transmitting In the process, it can only pass through single thread, transmit out the effect of preferable 3D rendering.
Technical solution provided by the embodiment of the present application, by the folder for obtaining grating and horizontal direction above grating screen Angle;According to the angle of the grating and horizontal direction, determine the horizontal compressions of the two images for forming a frame naked eye 3D rendering because Son and the vertical compression factor;Using the horizontal compression factor, to the level point for the two images for forming a frame naked eye 3D rendering Resolution is compressed, and utilizes the vertical compression factor, the vertical resolution to the two images for forming a frame naked eye 3D rendering Rate is compressed, and the compressed horizontal resolution of two images and compressed vertical resolution are obtained.By using the application Provided technical solution may be implemented the information for showing equipment according to naked eye 3D rendering, determine and form a frame naked eye 3D rendering Two images resolution ratio, so as to improve image due to the unbalanced problem of the resolution ratio being spliced to form, and can Reduce the effect of data space required for two images transimission and storage.
Based on the above technical solution, optionally, using the horizontal compression factor, scheme to a frame naked eye 3D is formed The horizontal resolution of the two images of picture is compressed, and utilizes the vertical compression factor, to one frame naked eye 3D rendering of formation The vertical resolutions of two images compressed, obtain the compressed horizontal resolution of two images and vertical point compressed Resolution, comprising: by the product of the horizontal resolution of two images and the horizontal compression factor, as the compressed level of two images Resolution ratio;By the product of the vertical resolution of two images and the vertical compression factor, compressed vertical point as two images Resolution.It wherein, can during being compressed by horizontal resolution and vertical resolution of the compressibility factor to two images To use in such a way that original horizontal resolution and the horizontal compression factor make product, and with original vertical resolution and hang down Straight compressibility factor makees the mode of product.For example, can obtain the horizontal compression factor and the vertical compression factor by calculating, make two Person is respectively less than 1, and meets the viewing demand of user, is such as all larger than 0.5, in this way, can be obtained by determining compressibility factor Compressed horizontal resolution and vertical resolution, can either save storage and the transmission space of picture, and can satisfy and make Use demand of the user to resolution ratio.
On the basis of above-mentioned each technical solution, optionally, according to the angle of the grating and horizontal direction, determines and formed The horizontal compression factor and the vertical compression factor of the two images of one frame naked eye 3D rendering, comprising: shape is determined using following formula At the horizontal compression factor and the vertical compression factor of the two images of a frame naked eye 3D rendering:
ScaleX=0.5* (θ/90 ° 2-);
ScaleY=0.5* (θ/90 ° 1+);
Wherein, θ be grating and horizontal direction angle, scaleX be the horizontal compression factor, scaleY be vertical compression because Son.
Wherein, θ can be the positive direction with horizontal direction with the angle of grating and horizontal direction, in the present embodiment Angle, be also possible to the angle with the negative direction of horizontal direction.
Based on the above technical solution, optionally, it if grating and the angle of horizontal direction are acute angle, directly determines Grating and the angle of horizontal direction are θ;If grating and the angle of horizontal direction are obtuse angle, it is determined that (180 °-grating and level side To angle) be θ.It can be obtained by scaleX in this way less than 90 ° for acute angle wherein it is possible to obtain the θ in substituted into formula It, in this way can be to avoid the resolution ratio in a direction to naked eye 3D rendering with the value that scaleY is greater than 0.5, and less than 1 It compresses excessive, influences the normal viewing of user.
Illustratively, it can be carried out in the present embodiment with θ=75 ° apart from explanation, then scaleX=0.5833, scaleY =0.9167.Angle between grating and LCD horizontal line is θ=75 °, and scaleX=0.5833 is calculated through preceding formula, SacleY=0.9167 then carries out the compression of same ratio to the left figure of original image and right figure respectively, if original left right figure As resolution ratio is 1920*1080, then resolution ratio is 1120*990 (calculation method: 1920*scaleX=after compression 1120,1080*scaleY=990).Then the two width figure is merged as resolution ratio 2240*990, then carry out transmission and Storage.Processing in this way, first, improve the unbalanced problem of image of left and right figure or upper following figure isotype;Second, it reduces The data volume of the uncompressed data transimission and storage of original two width figure.
In the present embodiment, it since upper and lower stagger scheme is the pixel row using two images as unit, adds one by one Into naked eye 3D rendering, so if theoretically its obtained naked eye 3D rendering is identical with top-down format without overcompression, So do not illustrated individually to it in the present embodiment, no matter left-right format, top-down format or upper and lower stagger scheme, It can be adapted for the method that the above-mentioned resolution ratio to image is confirmed.
Embodiment two
Fig. 3 is the structural schematic diagram of the resolution ratio determining device for the naked eye 3D video image that the embodiment of the present application two provides. As shown in figure 3, the resolution ratio determining device of the naked eye 3D video image, comprising:
Angle obtains module 310, for obtaining the angle of grating and horizontal direction above grating screen;
Compressibility factor determining module 320 determines for the angle according to the grating and horizontal direction and forms a frame naked eye The horizontal compression factor and the vertical compression factor of the two images of 3D rendering;
Resolution ratio determining module 330, for utilizing the horizontal compression factor, to two width for forming a frame naked eye 3D rendering The horizontal resolution of image is compressed, and utilizes the vertical compression factor, to the two width figures for forming a frame naked eye 3D rendering The vertical resolution of picture is compressed, and the compressed horizontal resolution of two images and compressed vertical resolution are obtained.
Technical solution provided by the embodiment of the present application, by the folder for obtaining grating and horizontal direction above grating screen Angle;According to the angle of the grating and horizontal direction, determine the horizontal compressions of the two images for forming a frame naked eye 3D rendering because Son and the vertical compression factor;Using the horizontal compression factor, to the level point for the two images for forming a frame naked eye 3D rendering Resolution is compressed, and utilizes the vertical compression factor, the vertical resolution to the two images for forming a frame naked eye 3D rendering Rate is compressed, and the compressed horizontal resolution of two images and compressed vertical resolution are obtained.By using the application Provided technical solution may be implemented the information for showing equipment according to naked eye 3D rendering, determine and form a frame naked eye 3D rendering Two images resolution ratio, so as to improve image due to the unbalanced problem of the resolution ratio being spliced to form, and can Reduce the effect of data space required for two images transimission and storage.
On the basis of above-mentioned each technical solution, optionally, described device further include:
It is compressed to obtain a frame for merging compressed two images according to preset format for image application module Naked eye 3D rendering, and compressed naked eye 3D rendering is stored and/or transmitted.
On the basis of above-mentioned each technical solution, optionally, the resolution ratio determining module includes:
Horizontal resolution compression unit, for making the product of the horizontal resolution of two images and the horizontal compression factor For the compressed horizontal resolution of two images;
Vertical resolution compression unit, for making the product of the vertical resolution of two images and the vertical compression factor For the compressed vertical resolution of two images.
On the basis of above-mentioned each technical solution, optionally, the compressibility factor determining module is specifically used for:
The horizontal compression factor and vertical compression for forming the two images of a frame naked eye 3D rendering are determined using following formula The factor:
ScaleX=0.5* (θ/90 ° 2-);
ScaleY=0.5* (θ/90 ° 1+);
Wherein, θ be grating and horizontal direction angle, scaleX be the horizontal compression factor, scaleY be vertical compression because Son.
It is optional on the basis of above-mentioned each technical solution:
If grating and the angle of horizontal direction are acute angle, the angle for directly determining grating and horizontal direction is θ;If grating Angle with horizontal direction is obtuse angle, it is determined that (angle of 180 °-grating and horizontal direction) is θ.
On the basis of above-mentioned each technical solution, optionally, described image application module is specifically used for:
Compressed two images are merged according to left-right format, top-down format or upper and lower stagger scheme, obtain a frame Compressed naked eye 3D rendering, and compressed naked eye 3D rendering is stored and/or transmitted.
Method provided by the application any embodiment can be performed in the said goods, has the corresponding functional module of execution method And beneficial effect.
Embodiment three
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable Instruction determines method, this method packet for executing a kind of resolution ratio of naked eye 3D video image when being executed by computer processor It includes:
Obtain the angle of the grating and horizontal direction above grating screen;
According to the angle of the grating and horizontal direction, the horizontal pressure for the two images for forming a frame naked eye 3D rendering is determined The contracting factor and the vertical compression factor;
Using the horizontal compression factor, the horizontal resolution for the two images for forming a frame naked eye 3D rendering is pressed Contracting, and the vertical compression factor is utilized, the vertical resolution for the two images for forming a frame naked eye 3D rendering is compressed, Obtain the compressed horizontal resolution of two images and compressed vertical resolution.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Lan Basi (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the computer system being wherein performed, or It can be located in different second computer systems, second computer system is connected to computer by network (such as internet) System.Second computer system can provide program instruction to computer for executing.Term " storage medium " may include can To reside in different location two or more storage mediums of (such as in the different computer systems by network connection). Storage medium can store the program instruction (such as being implemented as computer program) that can be performed by one or more processors.
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application The resolution ratio for the naked eye 3D video image that executable instruction is not limited to the described above determines operation, and it is any that the application can also be performed The resolution ratio of naked eye 3D video image provided by embodiment determines the relevant operation in method.
Example IV
The embodiment of the present application provides a kind of equipment, and naked eye 3D video provided by the embodiments of the present application can be integrated in the equipment The resolution ratio determining device of image.Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present application four provides.As shown in figure 4, Present embodiments provide a kind of equipment 400 comprising: one or more processors 420;Storage device 410, for storing one Or multiple programs, when one or more of programs are executed by one or more of processors 420, so that one or more A processor 420 realizes that the resolution ratio of naked eye 3D video image provided by the embodiment of the present application determines method, this method comprises:
Obtain the angle of the grating and horizontal direction above grating screen;
According to the angle of the grating and horizontal direction, the horizontal pressure for the two images for forming a frame naked eye 3D rendering is determined The contracting factor and the vertical compression factor;
Using the horizontal compression factor, the horizontal resolution for the two images for forming a frame naked eye 3D rendering is pressed Contracting, and the vertical compression factor is utilized, the vertical resolution for the two images for forming a frame naked eye 3D rendering is compressed, Obtain the compressed horizontal resolution of two images and compressed vertical resolution.
Certainly, it will be understood by those skilled in the art that processor 420 can also realize that the application any embodiment is provided The resolution ratio of naked eye 3D video image determine the technical solution of method.
The equipment 400 that Fig. 4 is shown is only an example, should not function to the embodiment of the present application and use scope bring Any restrictions.
As shown in figure 4, the equipment 400 includes processor 420, storage device 410, input unit 430 and output device 440;The quantity of processor 420 can be one or more in equipment, in Fig. 4 by taking a processor 420 as an example;Place in equipment Reason device 420, storage device 410, input unit 430 can be connected with output device 440 by bus or other modes, in Fig. 4 For being connected by bus 450.
Storage device 410 is used as a kind of computer readable storage medium, and it is executable to can be used for storing software program, computer Program and modular unit, as the resolution ratio of the naked eye 3D video image in the embodiment of the present application determines that the corresponding program of method refers to It enables.
Storage device 410 can mainly include storing program area and storage data area, wherein storing program area can store operation Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal. In addition, storage device 410 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, storage device 410 It can further comprise the memory remotely located relative to processor 420, these remote memories can pass through network connection.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving number, character information or the voice messaging of input, and generate the use with equipment Family setting and the related key signals input of function control.Output device 440 may include the equipment such as display screen, loudspeaker.
Equipment provided by the embodiments of the present application may be implemented the information for showing equipment according to naked eye 3D rendering, determine and be formed The resolution ratio of two images of one frame naked eye 3D rendering, so as to improve image since the resolution ratio being spliced to form is unbalanced Problem, and can reduce the effect of data space required for two images transimission and storage.
Resolution ratio determining device, storage medium and the equipment of the naked eye 3D video image provided in above-described embodiment are executable The resolution ratio of naked eye 3D video image provided by the application any embodiment determines method, has and executes the corresponding function of this method It can module and beneficial effect.The not technical detail of detailed description in the above-described embodiments, reference can be made to the application any embodiment institute The resolution ratio of the naked eye 3D video image of offer determines method.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. a kind of resolution ratio of naked eye 3D video image determines method characterized by comprising
Obtain the angle of the grating and horizontal direction above grating screen;
According to the angle of the grating and horizontal direction, determine the horizontal compressions of the two images for forming a frame naked eye 3D rendering because Son and the vertical compression factor;
Using the horizontal compression factor, the horizontal resolution for the two images for forming a frame naked eye 3D rendering is compressed, With using the vertical compression factor, the vertical resolution for the two images for forming a frame naked eye 3D rendering is compressed, is obtained To the compressed horizontal resolution of two images and compressed vertical resolution.
2. the method according to claim 1, wherein obtaining the compressed horizontal resolution of two images and pressure After vertical resolution after contracting, the method also includes:
Compressed two images are merged according to preset format, obtain the compressed naked eye 3D rendering of a frame, and to compression after Naked eye 3D rendering stored and/or transmitted.
3. the method according to claim 1, wherein using the horizontal compression factor, to one frame naked eye of formation The horizontal resolution of the two images of 3D rendering is compressed, and utilizes the vertical compression factor, to one frame naked eye 3D of formation The vertical resolution of the two images of image is compressed, obtain the compressed horizontal resolution of two images and it is compressed hang down Straight resolution ratio, comprising:
By the product of the horizontal resolution of two images and the horizontal compression factor, as the compressed horizontal resolution of two images Rate;
By the product of the vertical resolution of two images and the vertical compression factor, as the compressed vertical resolution of two images Rate.
4. the method according to claim 1, wherein determining shape according to the angle of the grating and horizontal direction At the horizontal compression factor and the vertical compression factor of the two images of a frame naked eye 3D rendering, comprising:
The horizontal compression factor and the vertical compression factor for forming the two images of a frame naked eye 3D rendering are determined using following formula:
ScaleX=0.5* (θ/90 ° 2-);
ScaleY=0.5* (θ/90 ° 1+);
Wherein, θ is the angle of grating and horizontal direction, and scaleX is the horizontal compression factor, and scaleY is the vertical compression factor.
5. according to the method described in claim 4, it is characterized in that, if grating and the angle of horizontal direction are acute angle, directly The angle for determining grating and horizontal direction is θ;If grating and the angle of horizontal direction are obtuse angle, it is determined that (180 °-grating and water Square to angle) be θ.
6. according to the method described in claim 2, it is characterized in that, compressed two images are merged according to preset format, The compressed naked eye 3D rendering of a frame is obtained, and compressed naked eye 3D rendering is stored and/or transmitted, comprising:
Compressed two images are merged according to left-right format, top-down format or upper and lower stagger scheme, obtain frame compression Naked eye 3D rendering afterwards, and compressed naked eye 3D rendering is stored and/or transmitted.
7. a kind of resolution ratio determining device of naked eye 3D video image characterized by comprising
Angle obtains module, for obtaining the angle of grating and horizontal direction above grating screen;
Compressibility factor determining module determines for the angle according to the grating and horizontal direction and forms a frame naked eye 3D rendering Two images the horizontal compression factor and the vertical compression factor;
Resolution ratio determining module, for utilizing the horizontal compression factor, to the two images for forming a frame naked eye 3D rendering Horizontal resolution is compressed, and utilizes the vertical compression factor, to hanging down for the two images for forming a frame naked eye 3D rendering Straight resolution ratio is compressed, and the compressed horizontal resolution of two images and compressed vertical resolution are obtained.
8. device according to claim 7, which is characterized in that described device further include:
Image application module obtains the compressed naked eye of a frame for merging compressed two images according to preset format 3D rendering, and compressed naked eye 3D rendering is stored and/or transmitted.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Realize that the resolution ratio such as naked eye 3D video image of any of claims 1-6 determines method when row.
10. a kind of electronic equipment, including memory, processor and storage are on a memory and can be in the computer of processor operation Program, which is characterized in that the processor is realized when executing the computer program as of any of claims 1-6 The resolution ratio of naked eye 3D video image determines method.
CN201910252406.1A 2019-03-29 2019-03-29 Method, device, medium and equipment for determining resolution of naked eye 3D video image Expired - Fee Related CN109922326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910252406.1A CN109922326B (en) 2019-03-29 2019-03-29 Method, device, medium and equipment for determining resolution of naked eye 3D video image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910252406.1A CN109922326B (en) 2019-03-29 2019-03-29 Method, device, medium and equipment for determining resolution of naked eye 3D video image

Publications (2)

Publication Number Publication Date
CN109922326A true CN109922326A (en) 2019-06-21
CN109922326B CN109922326B (en) 2020-11-06

Family

ID=66967795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910252406.1A Expired - Fee Related CN109922326B (en) 2019-03-29 2019-03-29 Method, device, medium and equipment for determining resolution of naked eye 3D video image

Country Status (1)

Country Link
CN (1) CN109922326B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065848A (en) * 2022-06-10 2022-09-16 展讯半导体(成都)有限公司 Display data transmission method, electronic equipment and module equipment
WO2023216619A1 (en) * 2022-02-11 2023-11-16 广东未来科技有限公司 3d display method and 3d display device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH104567A (en) * 1996-06-18 1998-01-06 Sony Corp Three-dimension stereoscopic video signal converter, video camera equipment and optical adaptor for picking up image of the converter
CN1700776A (en) * 2004-05-21 2005-11-23 株式会社东芝 Method for displaying three-dimensional image, method for capturing three-dimensional image, and three-dimensional display apparatus
CN101374244A (en) * 2007-08-21 2009-02-25 株式会社东芝 Stereoscopic image display apparatus
US20120120205A1 (en) * 2010-11-15 2012-05-17 Stmicroelectronics, Inc. Accelerated black frame insertion for displaying 3d content
CN103149697A (en) * 2013-03-19 2013-06-12 珠海真幻科技有限公司 Cylindrical lens stereoscopic image vision aid screen and stereoscopic image reconstruction system
CN103516983A (en) * 2012-06-28 2014-01-15 卡西欧计算机株式会社 Image processing device, imaging device and image processing method
CN105372823A (en) * 2015-12-08 2016-03-02 上海天马微电子有限公司 Stereoscopic display device
CN106507088A (en) * 2016-12-14 2017-03-15 郑州胜龙信息技术股份有限公司 Receive the 3 D image display method of upper and lower and left-right format piece source signal
CN206584127U (en) * 2017-03-21 2017-10-24 深圳市锐视界立体显示技术有限公司 A kind of portrait layout lens pillar and picture element arrangement and 3D screens
CN108152975A (en) * 2016-12-05 2018-06-12 群创光电股份有限公司 Three-dimensional display apparatus
CN108761816A (en) * 2018-08-13 2018-11-06 成都工业学院 Non-uniform resolution and wide viewing angle double vision 3D display device and method
CN108981611A (en) * 2018-07-25 2018-12-11 浙江大学 A kind of digital projection raster image fitting correction method based on distortion complete modification

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH104567A (en) * 1996-06-18 1998-01-06 Sony Corp Three-dimension stereoscopic video signal converter, video camera equipment and optical adaptor for picking up image of the converter
CN1700776A (en) * 2004-05-21 2005-11-23 株式会社东芝 Method for displaying three-dimensional image, method for capturing three-dimensional image, and three-dimensional display apparatus
CN101374244A (en) * 2007-08-21 2009-02-25 株式会社东芝 Stereoscopic image display apparatus
US20120120205A1 (en) * 2010-11-15 2012-05-17 Stmicroelectronics, Inc. Accelerated black frame insertion for displaying 3d content
CN103516983A (en) * 2012-06-28 2014-01-15 卡西欧计算机株式会社 Image processing device, imaging device and image processing method
CN103149697A (en) * 2013-03-19 2013-06-12 珠海真幻科技有限公司 Cylindrical lens stereoscopic image vision aid screen and stereoscopic image reconstruction system
CN105372823A (en) * 2015-12-08 2016-03-02 上海天马微电子有限公司 Stereoscopic display device
CN108152975A (en) * 2016-12-05 2018-06-12 群创光电股份有限公司 Three-dimensional display apparatus
CN106507088A (en) * 2016-12-14 2017-03-15 郑州胜龙信息技术股份有限公司 Receive the 3 D image display method of upper and lower and left-right format piece source signal
CN206584127U (en) * 2017-03-21 2017-10-24 深圳市锐视界立体显示技术有限公司 A kind of portrait layout lens pillar and picture element arrangement and 3D screens
CN108981611A (en) * 2018-07-25 2018-12-11 浙江大学 A kind of digital projection raster image fitting correction method based on distortion complete modification
CN108761816A (en) * 2018-08-13 2018-11-06 成都工业学院 Non-uniform resolution and wide viewing angle double vision 3D display device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023216619A1 (en) * 2022-02-11 2023-11-16 广东未来科技有限公司 3d display method and 3d display device
CN115065848A (en) * 2022-06-10 2022-09-16 展讯半导体(成都)有限公司 Display data transmission method, electronic equipment and module equipment
CN115065848B (en) * 2022-06-10 2023-11-17 展讯半导体(成都)有限公司 Display data transmission method, electronic equipment and module equipment

Also Published As

Publication number Publication date
CN109922326B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
KR101468746B1 (en) Stereoscopic Format Converter
US7804995B2 (en) Stereoscopic format converter
JP5011316B2 (en) Rendering the output image
US8570319B2 (en) Perceptually-based compensation of unintended light pollution of images for projection display systems
US9219902B2 (en) 3D to stereoscopic 3D conversion
TWI542190B (en) Method and system for encoding a 3d image signal, encoded 3d image signal, method and system for decoding a 3d image signal
US20120113219A1 (en) Image conversion apparatus and display apparatus and methods using the same
US11436787B2 (en) Rendering method, computer product and display apparatus
CN103238337B (en) Three-dimensional image acquisition system and method
CN101102443B (en) Image display system
CN109922326A (en) The resolution ratio of naked eye 3D video image determines method, apparatus, medium and equipment
US11223817B2 (en) Dual stereoscopic image display apparatus and method
US20120032954A1 (en) Apparatus and method for reproducing stereoscopic images, providing a user interface appropriate for a 3d image signal
CN102768761A (en) Three-dimension video drawing method based on perspective transformation
CN108520547A (en) Image processing method, device, equipment and storage medium
CN112351267A (en) Video display method, display controller, display control card and display control system
WO2016195167A1 (en) Content conversion method, content conversion apparatus, and program for multi-layered hologram
CN110809147A (en) Image processing method and device, computer storage medium and electronic equipment
WO2024093893A1 (en) Spatial reality display method, spatial reality display system, and non-volatile computer-readable storage medium
CN112083901A (en) Image processing method, device, equipment and storage medium
CN109951694A (en) Display methods, device, storage medium and the equipment of naked eye 3D medical video image
JP4481275B2 (en) 3D video information transmission method
TWI530155B (en) Method, device for packing multi-view frame and non-transitory storage medium for storing packed frame
Liu et al. Deinterlacing of depth-image-based three-dimensional video for a depth-image-based rendering system
JP7197716B2 (en) Handling interoperable 3D image content

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

Granted publication date: 20201106

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