CN108769668A - Method for determining position and device of the pixel in VR display screens in camera imaging - Google Patents

Method for determining position and device of the pixel in VR display screens in camera imaging Download PDF

Info

Publication number
CN108769668A
CN108769668A CN201810548557.7A CN201810548557A CN108769668A CN 108769668 A CN108769668 A CN 108769668A CN 201810548557 A CN201810548557 A CN 201810548557A CN 108769668 A CN108769668 A CN 108769668A
Authority
CN
China
Prior art keywords
position information
bright
pixel point
display screens
bright pixel
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
CN201810548557.7A
Other languages
Chinese (zh)
Other versions
CN108769668B (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.)
Goertek Optical Technology Co Ltd
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN201810548557.7A priority Critical patent/CN108769668B/en
Publication of CN108769668A publication Critical patent/CN108769668A/en
Application granted granted Critical
Publication of CN108769668B publication Critical patent/CN108769668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses pixel in a kind of camera imaging VR display screens method for determining position and device, including:Obtain the image that the pattern that camera is shown through VR camera lenses shooting VR display screens obtains, wherein pattern is the pattern that VR display screens light pixel formation in a manner of equidistant;It determines each first position information of bright pixel point in the picture and the second position information in VR display screens, and establishes the correspondence of first position information and second position information;In the region for determining every four adjacent bright pixel points encirclements, the third place information of each dark pixel point in the picture;Based on each region, arbitrary three bright pixels point is selected, and utilize correspondence, determine the corresponding first position information of three bright pixel points and second position information;According to the third place information of dark pixel point, the corresponding first position information of three bright pixel points and second position information, fourth location information of the dark pixel point in VR display screens is determined.

Description

Method for determining position and device of the pixel in VR display screens in camera imaging
Technical field
The present invention relates to VR equipment technical field of measurement and test, aobvious in VR more particularly, to pixel in a kind of camera imaging Determining device of the pixel in the position of VR display screens in the method for determining position of display screen, a kind of camera imaging.
Background technology
Test for camera lens in VR (Virtual Reality, virtual reality) equipment, in order to preferably reflect production Product state needs the imaging by camera through the VR display screens of camera lens shooting in VR equipment to establish correspondence with VR display screens.
Using the correspondence of camera imaging and VR display screens that prior art is established, there are large errors.For example, It is to deviate 5 pixel (pixel) or more that camera imaging coordinate system, which corresponds to the error in VR display screen coordinate systems,.
Accordingly, it is desirable to provide a kind of new technical solution, for the above-mentioned prior art in technical problem be improved.
Invention content
It is an object of the present invention to provide pixel in a kind of camera imaging the position of VR display screens determination it is new Technical solution.
According to the first aspect of the invention, pixel is provided in a kind of camera imaging in the determination of the position of VR display screens Method, including:
Obtain the image that the pattern that camera is shown through VR camera lenses shooting VR display screens obtains, wherein the pattern is institute State the pattern that VR display screens light pixel formation in a manner of equidistant;
Determine first position information of each bright pixel point in described image and the second confidence in the VR display screens Breath, and establish the correspondence of the first position information and the second position information;
In the region for determining every four adjacent bright pixel points encirclements, the third place of each dark pixel point in described image Information;
Based on each region, arbitrary three bright pixels point is selected, and utilize the correspondence, determine described three The corresponding first position information of bright pixel point and second position information;
According to the third place information of dark pixel point, the corresponding first position information of three bright pixels point and Two location informations determine fourth location information of the dark pixel point in the VR display screens.
Optionally it is determined that first position information of each bright pixel point in described image, including:
Based on each bright pixel point, the identification region for surrounding bright pixel point is determined;
Determine the gray value of each pixel in the identification region;
Select the maximum pixel of gray value, and the position by the maximum pixel of the gray value in described image First position information of the information as the bright pixel point in described image.
Optionally it is determined that first position information of each bright pixel point in described image and the second of the VR display screens Location information, and the correspondence of the first position information and the second position information is established, including:
Each bright pixel point in described image is ranked up, determines that each bright pixel point is residing in all bright pixel points Line number and columns, and, each bright pixel point that the VR display screens are shown is ranked up, determines each bright pixel point all bright Residing line number and columns in pixel;
The first position information of bright pixel point with same number of rows and columns, in described image and the VR are shown The second position information for shielding the bright pixel point of display establishes correspondence.
Optionally, using the correspondence, determine the corresponding first position information of three bright pixels point and Second position information, including:
Determine three bright pixels point line number respectively residing in all bright pixel points in described image and columns;
According to three bright pixels point line number, columns and institute respectively residing in all bright pixel points in described image Correspondence is stated, determines the corresponding first position information of three bright pixels point and second position information.
Optionally, the optical axis of the optical axis of the camera and the VR camera lenses meets claimed below:The optical axis of the camera with It is preset between the optical axis of the VR camera lenses in when having angle, the angle of the optical axis of the camera and the optical axis of the VR camera lenses is located at In angular range;There are when shifting deviation between the optical axis of the camera and the optical axis of the VR camera lenses, the optical axis of the camera It is located within the scope of predetermined deviation with the shifting deviation of the optical axis of the VR camera lenses
Optionally, the first position information and the third place information are the two-dimensional coordinate set up in described image Coordinate value in system, the second position information and the 4th location information are that the two dimension set up on the VR display screens is sat Coordinate value in mark system, wherein
The two-dimensional coordinate system set up in described image is using the horizontal direction of described image as x-axis direction, with described The coordinate system that the vertical direction of image is established as y-axis direction,
The two-dimensional coordinate system set up on the VR display screens is using the horizontal direction of the VR display screens as x-axis side To the coordinate system established using the vertical direction of the VR display screens as y-axis direction.
According to the second aspect of the invention, pixel is provided in a kind of camera imaging in the determination of the position of VR display screens Device, including:
Acquisition module, the image obtained for obtaining the pattern that camera is shown through VR camera lenses shooting VR display screens, wherein The pattern is the pattern that the VR display screens light pixel formation in a manner of equidistant;
Corresponding relation building module, for determining first position information of each bright pixel point in described image and described The second position information of VR display screens, and establish the correspondence of the first position information and the second position information;
First determining module, for determining in region that every four adjacent bright pixel points surround, each dark pixel point is in institute State the third place information in image;
Second determining module selects arbitrary three bright pixels point, and utilize the correspondence for being based on each region Relationship determines the corresponding first position information of three bright pixels point and second position information;
Third determining module, for respectively being corresponded to according to the third place information of dark pixel point, three bright pixels point First position information and second position information, determine fourth location information of the dark pixel point in the VR display screens.
Optionally, the corresponding relation building module is further used for:
Based on each bright pixel point, the identification region for surrounding bright pixel point is determined;
Determine the gray value of each pixel in the identification region;
Select the maximum pixel of gray value, and the position by the maximum pixel of the gray value in described image First position information of the information as the bright pixel point in described image.
Optionally, the corresponding relation building module is further used for:
Each bright pixel point in described image is ranked up, determines that each bright pixel point is residing in all bright pixel points Line number and columns, and, each bright pixel point that the VR display screens are shown is ranked up, determines each bright pixel point all bright Residing line number and columns in pixel;
The first position information of bright pixel point with same number of rows and columns, in described image and the VR are shown The second position information for shielding the bright pixel point of display establishes correspondence.
According to the third aspect of the invention we, pixel is provided in a kind of camera imaging in the determination of the position of VR display screens Device, including:Memory and processor, wherein for storing instruction, described instruction is for controlling the processing for the memory Device is operated to execute the method according to any one of first aspect.
The advantageous effect of one embodiment of the present of invention is, improves in camera imaging pixel in the position of VR display screens The determination precision set.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Description of the drawings
It is combined in the description and the attached drawing of a part for constitution instruction shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 be in camera imaging according to an embodiment of the invention pixel in the method for determining position of VR display screens Process chart.
Fig. 2 is the part sectional drawing for the pattern that VR display screens according to an embodiment of the invention are shown.
Fig. 3 is the position view of camera according to an embodiment of the invention and VR equipment.
Fig. 4 is the part sectional drawing for the pattern that VR display screens according to an embodiment of the invention are shown.
Fig. 5 is the partial schematic diagram of the image for the pattern that the VR display screens of camera shooting are shown.
Fig. 6 is the another partial schematic diagram of the image for the pattern that the VR display screens of camera shooting are shown.
Fig. 7 be in camera imaging according to an embodiment of the invention pixel in the determining device of the position of VR display screens Structural schematic diagram.
Fig. 8 be in camera imaging according to an embodiment of the invention pixel in the determining device of the position of VR display screens Hardware architecture diagram.
Specific implementation mode
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition having Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention And its application or any restrictions that use.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
An embodiment provides pixel in a kind of camera imaging the position of VR display screens determination side Method.Fig. 1 be in camera imaging according to an embodiment of the invention pixel at the place of the method for determining position of VR display screens Manage flow chart.Referring to Fig. 1, this method includes at least step S101 to step S105.
Step S101 obtains the image that the pattern that camera is shown through VR camera lenses shooting VR display screens obtains, wherein the figure Case is the pattern that VR display screens light pixel formation in a manner of equidistant.
Fig. 2 is the part sectional drawing for the pattern that VR display screens according to an embodiment of the invention are shown.Referring to Fig. 2, light Pixel each bright pixel point adjacent thereto spacing it is equal.The spacing can be arbitrary pixel number.For example, the spacing For 10 pixel numbers.
The display color for the pixel lighted can be any in red, green, blue.When the pixel lighted is shown as When red, the rgb value of the pixel is (255,0,0).When the pixel lighted is shown in green, the rgb value of the pixel For (0,255,0).When the pixel lighted is shown as blue, the rgb value of the pixel is (0,0,255).
Fig. 3 is the position view of camera according to an embodiment of the invention and VR equipment.Referring to Fig. 3, VR equipment is only Show VR camera lenses and VR display screens.The ideal position relationship of camera and VR equipment is camera when being shot, the light of camera The optical axis of axis and VR camera lenses is completely superposed.But such case is difficult to meet.
In the embodiment of the present invention, when being shot, the optical axis of camera and the optical axis of VR camera lenses meet claimed below camera: It is preset between the optical axis and the optical axis of VR camera lenses of camera in when having angle, the angle of the optical axis of camera and the optical axis of VR camera lenses is located at In angular range;There are when shifting deviation between the optical axis and the optical axis of VR camera lenses of camera, the light of the optical axis and VR camera lenses of camera The shifting deviation of axis is located within the scope of predetermined deviation.
The present embodiments relate to camera can be industrial camera.
The present embodiments relate to VR camera lenses can be fish eye lens, can also be any other type camera lens.
Step S102 determines each first position information of bright pixel point in the picture and the second confidence in VR display screens Breath, and establish the correspondence of first position information and second position information.
In one embodiment of the present of invention, the two-dimensional coordinate system set up in the picture, the two-dimensional coordinate system is with image Horizontal direction is as x-axis direction, the coordinate system established using the vertical direction of image as y-axis direction.Each bright pixel point is in image In first position information be the two-dimensional coordinate system that each bright pixel point is set up in the picture coordinate value.It is set up on VR display screens Two-dimensional coordinate system, the two-dimensional coordinate system are using the horizontal direction of VR display screens as x-axis direction, with the vertical direction of VR display screens The coordinate system established as y-axis direction.Each bright pixel point is that each bright pixel point is aobvious in VR in the second position information of VR display screens The coordinate value for the two-dimensional coordinate system set up in display screen.
Due to the amplification of VR camera lenses, multiple pixels represent a picture on VR display screens in the image of camera shooting Vegetarian refreshments.In order to accurately determine out the first position information of each bright pixel point in the picture, in the embodiment of the present invention, first, base In each bright pixel point, determine the identification region for surrounding bright pixel point, then, it is determined that in identification region each pixel gray scale Value selects the maximum pixel of gray value from the gray value of each pixel in identification region, and by the maximum picture of gray value The location information of vegetarian refreshments in the picture is as the first position information of bright pixel point in the picture.The size of identification region can root Depending on specific test case.
By taking identification region is the region of 3*3 as an example, which includes 9 pixels.The gray scale of 9 pixels Value is respectively 81,144,112,77,165,115,36,83,46.The maximum pixel of gray value is 165 corresponding pixels.Really It is the location information of 165 corresponding pixels in the picture to make gray value, and is surrounded the location information as identification region Bright pixel point first position information in the picture.
In one embodiment of the present of invention, first, each bright pixel point in image is ranked up, determines each bright pixel point Residing line number and columns in all bright pixel points, and, each bright pixel point that VR display screens are shown is ranked up, is determined Each bright pixel point line number residing in all bright pixel points and columns.Then, by it is with same number of rows and columns, in image Bright pixel point first position information and the second position information of bright pixel point that shows of VR display screens establish correspondence.
Fig. 4 is the part sectional drawing for the pattern that VR display screens according to an embodiment of the invention are shown.
Fig. 5 is the partial schematic diagram of the image for the pattern that the VR display screens of camera shooting are shown.With Fig. 4 and
For partial schematic diagram shown in Fig. 5, to establish the correspondence of first position information and second position information into Row explanation.Location information of the bright pixel point on VR display screens positioned at the upper left corners Fig. 4 is (x2, y2).Positioned at the upper left corners Fig. 4 Bright pixel point is ordered as being located at the 71st row, the 194th row.Bright pixel point positioned at the upper left corners Fig. 5 is in the image that camera is shot Location information be (x1, y1).Positioned at the upper left corners Fig. 5 bright pixel point be ordered as be located at the 71st row, the 194th row.Positioned at Fig. 4 The bright pixel point line number having the same and columns of the bright pixel point and the upper left corners Fig. 5 in the upper left corner, will be positioned at the bright of the upper left corners Fig. 4 Location information of the pixel on VR display screens and position of the bright pixel point in the image that camera is shot positioned at the upper left corners Fig. 5 Information establishes correspondence.The content of the correspondence include the residing line number and columns of bright pixel point, bright pixel point One location information and second position information.
Step S103 determines in region that every four adjacent bright pixel points surround, each dark pixel point in the picture the Three location informations.
The third place information of each dark pixel point in the picture is the two-dimensional coordinate system that each dark pixel point is set up in the picture Coordinate value.
Step S104 is based on each region, selects arbitrary three bright pixels point, and utilize correspondence, determines three The corresponding first position information of a bright pixel point and second position information.
In one embodiment of the present of invention, first, determine three bright pixel points in the picture in all bright pixel points respectively Residing line number and columns.Then, according to line number respectively residing in three bright pixel points in the picture all bright pixel points, row Number and correspondence, determine the corresponding first position information of three bright pixel points and second position information.
Fig. 6 is the partial schematic diagram of the image for the pattern that the VR display screens of camera shooting are shown.In the embodiment of the present invention, from In four adjacent bright pixel points shown in Fig. 6, three bright pixels selecting can be following any combination, bright pixel point 1, bright Pixel 2 and bright pixel point 3, bright pixel point 1, bright pixel point 2 and bright pixel point 4, bright pixel point 1, bright pixel point 3 and bright pixel Point 4, bright pixel point 2, bright pixel point 3 and bright pixel point 4.
Step S105 believes according to the third place information of dark pixel point, the corresponding first position of three bright pixel points Breath and second position information, determine fourth location information of the dark pixel point in VR display screens.
Fourth location information of the dark pixel point in VR display screens is the seat for the two-dimensional coordinate system set up on VR display screens Scale value.
It is right by taking three bright pixels selected are bright pixel point 1, bright pixel point 2 and bright pixel point 3 shown in Fig. 6 as an example Determine that the 4th location information of the point of the dark pixel shown in Fig. 6 a illustrates.Bright pixel point 1, bright pixel point 2 and bright pixel point 3 exist First position information in the image of camera shooting is respectively (x1, y1), (x2, y2), (x3, y3).Bright pixel point 1, bright pixel point 2 It is respectively (x with second position information of the bright pixel point 3 on VR display screens1d, y1d), (x2d, y2d), (x3d, y3d).Dark pixel point The third place information of a in the image that camera is shot is (x, y).Based on following calculating formula, the of dark pixel point a is calculated Four location information (xd, yd),
xd=x1d+(x2d-x1d)*[(x-x1)/(x2-x1)]-calculating formula (1),
yd=y1d+(y3d-y1d)*[(y-y1)/(y3-y1)]-calculating formula (2).
Dark pixel point a and dark pixel point b in Fig. 6 are shown as white, it is only for embody its position in figure 6 It sets, is explained in order to illustrate, in fact, dark pixel point a and dark pixel point b are shown as black.
Dark pixel point b shown in Fig. 6 is located at same a line, in this case, above-mentioned meter with bright pixel point 1, bright pixel point 2 Formula (1), calculating formula (2) are equally applicable.
For the dark pixel point of the edge in camera imaging, the number of the bright pixel point due to surrounding the dark pixel point Less than three, therefore, the bright pixel point completion three of the dark pixel point will be surrounded.For example, in the image of camera shooting, according to The adjacent two bright pixels point of the dark pixel point determines third bright pixel point to be supplemented, and determines a third to be supplemented The location information of bright pixel point in the picture, and, according to the adjacent two bright pixels point of the dark pixel point, determination is to be supplemented Third bright pixel point, and determine the location information of third bright pixel point to be supplemented on VR display screens.Then, it recycles Above-mentioned calculating formula (1), calculating formula (2), determine the 4th location information of the dark pixel point.The is supplemented in the image of camera shooting When three bright pixel points, third bright pixel point can be located at same row with any bright pixel point in known two bright pixels point Or same row, so that the region that these three bright pixel points surround can surround the dark pixel point.Meanwhile third bright pixel point With positioned at go together or the spacing of the known bright pixel point of same column be equal to known two bright pixels point between spacing.In VR The mode of third bright pixel point and the mode that third bright pixel point is supplemented in the image of camera shooting are supplemented on display screen It is identical.
Pixel improves phase in the method for determining position of VR display screens in camera imaging provided in an embodiment of the present invention Pixel can be such that its precision reaches within a pixel in the determination precision of the position of VR display screens in machine imaging.
Pixel can be used for really in the method for determining position of VR display screens in camera imaging provided in an embodiment of the present invention Determine the size of VR display screens display area.
Based on same inventive concept, An embodiment provides pixels in a kind of camera imaging to be shown in VR The determining device of the position of screen.Fig. 7 be in camera imaging according to an embodiment of the invention pixel in the position of VR display screens The structural schematic diagram for the determining device set.Referring to Fig. 7, which includes at least:Acquisition module 710 is penetrated for obtaining camera The image that the pattern that VR camera lenses shooting VR display screens are shown obtains, wherein pattern is that VR display screens light picture in a manner of equidistant The pattern that vegetarian refreshments is formed;Corresponding relation building module 720, for determine the first position information of each bright pixel point in the picture and In the second position information of VR display screens, and establish the correspondence of first position information and second position information;First determines Module 730, for determining in region that every four adjacent bright pixel points surround, the third place of each dark pixel point in the picture Information;Second determining module 740 selects arbitrary three bright pixels point, and close using corresponding for being based on each region System, determines the corresponding first position information of three bright pixel points and second position information;Third determining module 750, is used for According to the third place information of dark pixel point, the corresponding first position information of three bright pixel points and second position information, Determine fourth location information of the dark pixel point in VR display screens.
In one embodiment of the present of invention, corresponding relation building module 720 is further used for:Based on each bright pixel Point determines the identification region for surrounding bright pixel point;Determine the gray value of each pixel in identification region;Select gray value maximum Pixel, and first using the location information of the maximum pixel of gray value in the picture as bright pixel point in the picture Confidence ceases.
In one embodiment of the present of invention, corresponding relation building module 720 is further used for:To each bright pixel in image Point is ranked up, and determines each bright pixel point line number residing in all bright pixel points and columns, and, VR display screens are shown Each bright pixel point be ranked up, determine each bright pixel point line number residing in all bright pixel points and columns;There to be phase With the second for the bright pixel point that line number and columns, bright pixel point in image first position information and VR display screens are shown Confidence breath establishes correspondence.
In one embodiment of the present of invention, the second determining module 740 is further used for:Determine that three bright pixels point exists Line number respectively residing in all bright pixel points and columns in described image;According to three bright pixels point in described image Line number, columns and the correspondence respectively residing, determine that three bright pixels point respectively corresponds in all bright pixel points First position information and second position information.
Fig. 8 be in camera imaging according to an embodiment of the invention pixel in the determining device of the position of VR display screens Hardware architecture diagram.Referring to Fig. 8, determining device of the pixel in the position of VR display screens includes in camera imaging:Storage Device 820 and processor 810.For storing instruction, which is operated for control processor 810 to execute memory 820 Method for determining position of the pixel in VR display screens in the camera imaging provided according to any embodiment of the present invention.
Host of the present invention can be system, method and/or computer program product.Computer program product can be with Including computer readable storage medium, containing for making processor realize the computer-readable journey of various aspects of the invention Sequence instructs.
Computer readable storage medium can be can keep and store the instruction used by instruction execution equipment tangible Equipment.Computer readable storage medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, fire wall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
For execute the computer program instructions that operate of the present invention can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages Arbitrarily combine the source code or object code write, programming language include object-oriented programming language-such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer-readable program refers to Order can be executed fully, partly be executed on the user computer, as an independent software package on the user computer Execute, part on the user computer part on the remote computer execute or completely on a remote computer or server It executes.In situations involving remote computers, remote computer can include LAN by the network-of any kind (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize internet Service provider is connected by internet).In some embodiments, believe by using the state of computer-readable program instructions Breath comes personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or programmable logic Array (PLA), the electronic circuit can execute computer-readable program instructions, to realize various aspects of the invention.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special purpose computer or other programmable datas The processor of processing unit, to produce a kind of machine so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, work(specified in one or more of implementation flow chart and/or block diagram box is produced The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, to be stored with instruction Computer-readable medium includes then a manufacture comprising in one or more of implementation flow chart and/or block diagram box The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment so that series of operation steps are executed on computer, other programmable data processing units or miscellaneous equipment, with production Raw computer implemented process, so that executed on computer, other programmable data processing units or miscellaneous equipment Instruct function action specified in one or more of implementation flow chart and/or block diagram box.
Flow chart and block diagram in attached drawing show the system, method and computer journey of multiple embodiments according to the present invention The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part for instruction, module, program segment or a part for instruction include one or more for real The executable instruction of logic function as defined in existing.In some implementations as replacements, the function of being marked in box can also Occur in a different order than that indicated in the drawings.For example, two continuous boxes can essentially be basically executed in parallel, it Can also execute in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram and/or flow The combination of each box in figure and the box in block diagram and or flow chart can use function or action as defined in executing Dedicated hardware based system is realized, or can be realized using a combination of dedicated hardware and computer instructions.For this It is well known that, realized by hardware mode for field technology personnel, software and hardware is realized and passed through by software mode In conjunction with mode realize it is all of equal value.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport In principle, the practical application or to the technological improvement in market for best explaining each embodiment, or make the art its Its those of ordinary skill can understand each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.

Claims (10)

1. method for determining position of the pixel in VR display screens in a kind of camera imaging, which is characterized in that including:
Obtain the image that the pattern that camera is shown through VR camera lenses shooting VR display screens obtains, wherein the pattern is the VR Display screen lights the pattern of pixel formation in a manner of equidistant;
Determine first position information of each bright pixel point in described image and the second position information in the VR display screens, and Establish the correspondence of the first position information and the second position information;
In the region for determining every four adjacent bright pixel points encirclements, the third place letter of each dark pixel point in described image Breath;
Based on each region, arbitrary three bright pixels point is selected, and utilize the correspondence, determine three bright pictures The corresponding first position information of vegetarian refreshments and second position information;
According to the third place information of dark pixel point, the corresponding first position information of three bright pixels point and second Confidence ceases, and determines fourth location information of the dark pixel point in the VR display screens.
2. according to the method described in claim 1, it is characterized in that, determining first position of each bright pixel point in described image Information, including:
Based on each bright pixel point, the identification region for surrounding bright pixel point is determined;
Determine the gray value of each pixel in the identification region;
Select the maximum pixel of gray value, and the location information by the maximum pixel of the gray value in described image As first position information of the bright pixel point in described image.
3. according to the method described in claim 1, it is characterized in that, determining first position of each bright pixel point in described image Information and second position information in the VR display screens, and establish the first position information and the second position information Correspondence, including:
Each bright pixel point in described image is ranked up, determines each bright pixel point line number residing in all bright pixel points And columns, and, each bright pixel point that the VR display screens are shown is ranked up, determines each bright pixel point in all bright pixels Residing line number and columns in point;
The first position information of bright pixel point with same number of rows and columns, in described image and the VR are shown into screen display The second position information of the bright pixel point shown establishes correspondence.
4. according to the method described in claim 3, it is characterized in that, using the correspondence, three bright pixels are determined The corresponding first position information of point and second position information, including:
Determine three bright pixels point line number respectively residing in all bright pixel points in described image and columns;
According to three bright pixels point line number respectively residing in all bright pixel points in described image, columns and described right It should be related to, determine the corresponding first position information of three bright pixels point and second position information.
5. according to the method described in claim 1, it is characterized in that, the optical axis of the camera and the optical axis of the VR camera lenses meet It is claimed below:Between the optical axis of the camera and the optical axis of the VR camera lenses in have angle when, the optical axis of the camera with it is described The angle of the optical axis of VR camera lenses is located within the scope of predetermined angle;Exist between the optical axis of the camera and the optical axis of the VR camera lenses When shifting deviation, the optical axis of the camera and the shifting deviation of the optical axis of the VR camera lenses are located within the scope of predetermined deviation.
6. according to the method described in claim 1, it is characterized in that, the first position information and the third place information are Coordinate value in the two-dimensional coordinate system set up in described image, the second position information and the 4th location information be Coordinate value in the two-dimensional coordinate system set up on the VR display screens, wherein
The two-dimensional coordinate system set up in described image is using the horizontal direction of described image as x-axis direction, with described image The coordinate system established as y-axis direction of vertical direction,
The two-dimensional coordinate system set up on the VR display screens be using the horizontal direction of the VR display screens as x-axis direction, with The coordinate system that the vertical direction of the VR display screens is established as y-axis direction.
7. determining device of the pixel in the position of VR display screens in a kind of camera imaging, which is characterized in that including:
Acquisition module, the image obtained for obtaining the pattern that camera is shown through VR camera lenses shooting VR display screens, wherein described Pattern is the pattern that the VR display screens light pixel formation in a manner of equidistant;
Corresponding relation building module, for determine first position information of each bright pixel point in described image and in the VR it is aobvious The second position information of display screen, and establish the correspondence of the first position information and the second position information;
First determining module, for determining in region that every four adjacent bright pixel points surround, each dark pixel point is in the figure The third place information as in;
Second determining module selects arbitrary three bright pixels point, and utilize the corresponding pass for being based on each region System, determines the corresponding first position information of three bright pixels point and second position information;
Third determining module, for according to the third place information of dark pixel point, three bright pixels point corresponding the One location information and second position information determine fourth location information of the dark pixel point in the VR display screens.
8. device according to claim 7, which is characterized in that the corresponding relation building module is further used for:
Based on each bright pixel point, the identification region for surrounding bright pixel point is determined;
Determine the gray value of each pixel in the identification region;
Select the maximum pixel of gray value, and the location information by the maximum pixel of the gray value in described image As first position information of the bright pixel point in described image.
9. device according to claim 7, which is characterized in that the corresponding relation building module is further used for:
Each bright pixel point in described image is ranked up, determines each bright pixel point line number residing in all bright pixel points And columns, and, each bright pixel point that the VR display screens are shown is ranked up, determines each bright pixel point in all bright pixels Residing line number and columns in point;
The first position information of bright pixel point with same number of rows and columns, in described image and the VR are shown into screen display The second position information of the bright pixel point shown establishes correspondence.
10. determining device of the pixel in the position of VR display screens in a kind of camera imaging, which is characterized in that including:Memory And processor, wherein for storing instruction, described instruction is operated for controlling the processor to execute the memory Method according to any one of claim 1 to 6.
CN201810548557.7A 2018-05-31 2018-05-31 Method for determining position and device of the pixel in VR display screen in camera imaging Active CN108769668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810548557.7A CN108769668B (en) 2018-05-31 2018-05-31 Method for determining position and device of the pixel in VR display screen in camera imaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810548557.7A CN108769668B (en) 2018-05-31 2018-05-31 Method for determining position and device of the pixel in VR display screen in camera imaging

Publications (2)

Publication Number Publication Date
CN108769668A true CN108769668A (en) 2018-11-06
CN108769668B CN108769668B (en) 2019-08-20

Family

ID=64001054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810548557.7A Active CN108769668B (en) 2018-05-31 2018-05-31 Method for determining position and device of the pixel in VR display screen in camera imaging

Country Status (1)

Country Link
CN (1) CN108769668B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658384A (en) * 2018-11-23 2019-04-19 歌尔股份有限公司 The control method of screen test position fix, apparatus and system
CN111694158A (en) * 2020-06-17 2020-09-22 Oppo广东移动通信有限公司 Calibration method, calibration equipment and calibration system for near-eye display device
CN113034585A (en) * 2021-04-25 2021-06-25 歌尔股份有限公司 Offset state test method, test device and storage medium
CN113467602A (en) * 2020-03-31 2021-10-01 中国移动通信集团浙江有限公司 VR display method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631901A (en) * 2016-02-22 2016-06-01 上海乐相科技有限公司 Method and device for determining movement information of to-be-detected object
CN106054392A (en) * 2016-08-10 2016-10-26 深圳多哚新技术有限责任公司 Alignment method of optical lens and display screen in VR equipment and system thereof
US9589348B1 (en) * 2016-05-31 2017-03-07 Oculus Vr, Llc Camera calibration system
CN106488223A (en) * 2016-10-20 2017-03-08 苏州艾微视图像科技有限公司 The method of adjustment of photographic head active optical axis
CN106970711A (en) * 2017-04-27 2017-07-21 上海欢米光学科技有限公司 The method and apparatus that VR display devices are alignd with display terminal screen
CN107063646A (en) * 2017-06-27 2017-08-18 歌尔科技有限公司 Method, device and the virtual reality helmet of lens effective focal length are determined using camera
CN206930429U (en) * 2017-06-27 2018-01-26 歌尔科技有限公司 The device and virtual reality helmet of lens back focal length are determined using camera
CN207215431U (en) * 2017-09-21 2018-04-10 上海闻泰电子科技有限公司 A kind of virtual reality device lens test device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631901A (en) * 2016-02-22 2016-06-01 上海乐相科技有限公司 Method and device for determining movement information of to-be-detected object
US9589348B1 (en) * 2016-05-31 2017-03-07 Oculus Vr, Llc Camera calibration system
CN106054392A (en) * 2016-08-10 2016-10-26 深圳多哚新技术有限责任公司 Alignment method of optical lens and display screen in VR equipment and system thereof
CN106488223A (en) * 2016-10-20 2017-03-08 苏州艾微视图像科技有限公司 The method of adjustment of photographic head active optical axis
CN106970711A (en) * 2017-04-27 2017-07-21 上海欢米光学科技有限公司 The method and apparatus that VR display devices are alignd with display terminal screen
CN107063646A (en) * 2017-06-27 2017-08-18 歌尔科技有限公司 Method, device and the virtual reality helmet of lens effective focal length are determined using camera
CN206930429U (en) * 2017-06-27 2018-01-26 歌尔科技有限公司 The device and virtual reality helmet of lens back focal length are determined using camera
CN207215431U (en) * 2017-09-21 2018-04-10 上海闻泰电子科技有限公司 A kind of virtual reality device lens test device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658384A (en) * 2018-11-23 2019-04-19 歌尔股份有限公司 The control method of screen test position fix, apparatus and system
CN109658384B (en) * 2018-11-23 2023-05-09 歌尔股份有限公司 Screen test positioning control method, device and system
CN113467602A (en) * 2020-03-31 2021-10-01 中国移动通信集团浙江有限公司 VR display method and system
CN113467602B (en) * 2020-03-31 2024-03-19 中国移动通信集团浙江有限公司 VR display method and system
CN111694158A (en) * 2020-06-17 2020-09-22 Oppo广东移动通信有限公司 Calibration method, calibration equipment and calibration system for near-eye display device
CN113034585A (en) * 2021-04-25 2021-06-25 歌尔股份有限公司 Offset state test method, test device and storage medium
CN113034585B (en) * 2021-04-25 2023-02-28 歌尔光学科技有限公司 Offset state test method, test device and storage medium

Also Published As

Publication number Publication date
CN108769668B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN108769668B (en) Method for determining position and device of the pixel in VR display screen in camera imaging
US11269244B2 (en) System and method for calibrating a display system using manual and semi-manual techniques
US10872467B2 (en) Method for data collection and model generation of house
AU2019281667B2 (en) Data collection and model generation method for house
US10755480B2 (en) Displaying content in an augmented reality system
US9386297B2 (en) Image generating apparatus generating reconstructed image, method, and computer-readable recording medium
US10970915B2 (en) Virtual viewpoint setting apparatus that sets a virtual viewpoint according to a determined common image capturing area of a plurality of image capturing apparatuses, and related setting method and storage medium
CN110084797B (en) Plane detection method, plane detection device, electronic equipment and storage medium
CN108761994A (en) The detection method and device of the assembling of camera module and virtual reality device
JP2014170374A (en) Ar system employing optical see-through type hmd
JP6380685B2 (en) Dimension measuring device
CN110033507B (en) Method, device and equipment for drawing internal trace of model map and readable storage medium
WO2018213702A1 (en) Augmented reality system
CN103327217A (en) Video processing method and video processing device
CN102957895A (en) Satellite map based global mosaic video monitoring display method
JP2018113683A (en) Image processing apparatus, image processing method, and program
CN110740545B (en) On-site light spot arrangement method and system, storage medium and lamp control equipment
CN108965863B (en) The control method and device at camera optics center and the alignment of the lens centre VR
US20240202975A1 (en) Data processing
KR102154684B1 (en) System for outputting of multi-projector and method thereof
JP2016162392A (en) Three-dimensional image processing apparatus and three-dimensional image processing system
JP2016032298A (en) Apparatus and method for rendering image
CN110163952A (en) Methods of exhibiting, device, terminal and the storage medium of indoor figure
JP2020507100A (en) Method for projecting image onto curved projection area and projection system therefor
CN113836337A (en) BIM display method, device, equipment and storage medium

Legal Events

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

Effective date of registration: 20201014

Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building)

Patentee after: GoerTek Optical Technology Co.,Ltd.

Address before: 261031 Dongfang Road, Weifang high tech Development Zone, Shandong, China, No. 268

Patentee before: GOERTEK Inc.

TR01 Transfer of patent right