技术领域technical field
本发明涉及虚拟技术领域,特别是涉及一种虚像像距测量系统和虚像像距的确定方法。The invention relates to the field of virtual technology, in particular to a virtual image image distance measuring system and a method for determining the virtual image image distance.
背景技术Background technique
虚拟现实(Virtual Reality,VR)和增强现实(Augmented Reality,AR)等显示设备所成的像都是虚像,其中虚像像距的测量是非常重要的。因为虚像像距直接影响到反畸变和空间位置深度的效果,在视觉上是最接近于显示设备的消费者感受的。如果虚像像距不正确,会直接影响到软硬件参数的匹配和显示设备的最终效果。Images formed by display devices such as virtual reality (Virtual Reality, VR) and augmented reality (Augmented Reality, AR) are all virtual images, and the measurement of the image distance of the virtual images is very important. Because the virtual image distance directly affects the effect of anti-distortion and spatial position depth, it is visually closest to the consumer experience of the display device. If the virtual image distance is not correct, it will directly affect the matching of software and hardware parameters and the final effect of the display device.
目前,确定虚像像距主要有以下方式:1.根据光学系统的成像公式得到虚像像距。2.采用透射式拍照对显示设备进行拍照,通过图像处理得出物距和虚像像距。3.在人眼处拍摄双目照片,通过立体视线辐辏角计算虚像像距。以上方案的缺点都是对设备要求较高,比如方式一对光学系统的组装精度要求较高,方式二对照射短波光的设备要求较高,方式三对拍摄立体视线的设备搭建要求较高。因此,找出一种对设备要求较低的确定虚像像距的方法成为亟待解决的技术问题。At present, there are mainly the following ways to determine the image distance of the virtual image: 1. Obtain the image distance of the virtual image according to the imaging formula of the optical system. 2. Use transmission photography to take pictures of the display device, and obtain the object distance and virtual image distance through image processing. 3. Take binocular photos at the human eye, and calculate the virtual image distance through the convergence angle of the stereo line of sight. The disadvantages of the above solutions are the high requirements on equipment. For example, the assembly accuracy of the optical system in the first method is relatively high, the requirements on the equipment for irradiating short-wave light are higher in the second method, and the equipment construction requirements for shooting stereo vision are higher in the third method. Therefore, finding a method for determining the image distance of a virtual image that requires less equipment has become an urgent technical problem to be solved.
发明内容Contents of the invention
本发明提供一种虚像像距测量系统和虚像像距的确定方法,以解决现有技术中确定虚像像距对设备要求很高的问题。The invention provides a virtual image image distance measurement system and a virtual image image distance determination method to solve the problem in the prior art that determining the virtual image image distance requires high equipment.
为了解决上述问题,本发明实施例公开了一种虚像像距测量系统,所述虚像像距测量系统用于测量显示设备显示的虚拟物体的虚像像距,所述系统包括拍摄装置、参考物体和量测装置;In order to solve the above problems, an embodiment of the present invention discloses a virtual image distance measurement system, the virtual image distance measurement system is used to measure the virtual image distance of a virtual object displayed on a display device, and the system includes a shooting device, a reference object and measuring device;
所述拍摄装置具有第一拍摄位置和第二拍摄位置,在所述第一拍摄位置,所述显示设备位于所述拍摄装置的光轴上;在所述第二拍摄位置,所述参考物体位于所述拍摄装置的光轴上;The photographing device has a first photographing position and a second photographing position, at the first photographing position, the display device is located on the optical axis of the photographing device; at the second photographing position, the reference object is located at on the optical axis of the photographing device;
所述拍摄装置,用于处于所述第一拍摄位置时,在预设模式下对所述虚拟物体进行对焦,使所述虚拟物体在所述拍摄装置中清晰成像;The shooting device is configured to focus on the virtual object in a preset mode when it is in the first shooting position, so that the virtual object can be clearly imaged in the shooting device;
所述参考物体,用于在所述拍摄装置处于第二拍摄位置且在对焦状态时,沿所述光轴移动,直至在所述拍摄装置中清晰成像;The reference object is used to move along the optical axis until it is clearly imaged in the shooting device when the shooting device is in a second shooting position and in a focused state;
所述量测装置,用于标定所述参考物体在所述拍摄装置中清晰成像时,所述参考物体与所述拍摄装置之间的距离,所述距离为所述虚拟物体的虚像像距。The measuring device is used to calibrate the distance between the reference object and the shooting device when the reference object is clearly imaged in the shooting device, and the distance is the virtual image distance of the virtual object.
可选地,所述系统还包括导轨,所述拍摄装置设置在所述导轨上,所述导轨垂直于所述拍摄装置的光轴;Optionally, the system further includes a guide rail on which the photographing device is arranged, and the guide rail is perpendicular to an optical axis of the photographing device;
所述拍摄装置可沿所述导轨在所述第一拍摄位置与所述第二拍摄位置之间移动。The photographing device can move along the guide rail between the first photographing position and the second photographing position.
可选地,所述系统还包括旋转台,所述拍摄装置固定在所述旋转台上;Optionally, the system further includes a rotating platform, the photographing device is fixed on the rotating platform;
所述拍摄装置可随所述旋转台转动,在所述第一拍摄位置与所述第二拍摄位置之间切换。The photographing device can rotate with the rotating platform to switch between the first photographing position and the second photographing position.
可选地,所述显示设备、所述拍摄装置和所述参考物体的高度相同。Optionally, the heights of the display device, the photographing device and the reference object are the same.
可选地,所述预设模式下所述拍摄装置的拍摄参数为最长焦距和最大光圈。Optionally, the shooting parameters of the shooting device in the preset mode are the longest focal length and the largest aperture.
为了解决上述问题,本发明实施例还公开了一种虚像像距的确定方法,应用于如上述的虚像像距测量系统;In order to solve the above problems, the embodiment of the present invention also discloses a method for determining the image distance of a virtual image, which is applied to the above-mentioned virtual image image distance measurement system;
所述方法包括:The methods include:
拍摄装置处于第一拍摄位置时,在预设模式下对显示设备显示的虚拟物体进行对焦,使所述虚拟物体在拍摄装置中清晰成像;When the shooting device is in the first shooting position, focus on the virtual object displayed on the display device in a preset mode, so that the virtual object can be clearly imaged in the shooting device;
所述拍摄装置处于第二拍摄位置且在对焦状态时,沿所述光轴移动参考物体,直至所述参考物体在所述拍摄装置中清晰成像;When the photographing device is in the second photographing position and in a focusing state, moving the reference object along the optical axis until the reference object is clearly imaged in the photographing device;
采用量测装置标定所述参考物体在所述拍摄装置中清晰成像时,所述参考物体与所述拍摄装置之间的距离,所述距离为所述虚拟物体的虚像像距。A measuring device is used to calibrate the distance between the reference object and the shooting device when the reference object is clearly imaged in the shooting device, and the distance is the virtual image distance of the virtual object.
可选地,所述拍摄装置设置在导轨上,所述导轨垂直于所述拍摄装置的光轴;Optionally, the photographing device is arranged on a guide rail, and the guide rail is perpendicular to the optical axis of the photographing device;
在所述沿所述光轴移动参考物体之前,所述方法还包括:Before said moving a reference object along said optical axis, said method further comprises:
沿所述导轨移动所述拍摄装置,使所述拍摄装置的位置从所述第一拍摄位置移动至所述第二拍摄位置。The photographing device is moved along the guide rail, so that the position of the photographing device is moved from the first photographing position to the second photographing position.
可选地,所述拍摄装置固定在旋转台上;Optionally, the photographing device is fixed on a rotating platform;
在所述沿所述光轴移动参考物体之前,所述方法还包括:Before said moving a reference object along said optical axis, said method further comprises:
转动所述旋转台,使所述拍摄装置的位置从所述第一拍摄位置切换至所述第二拍摄位置。Rotating the rotary table switches the position of the photographing device from the first photographing position to the second photographing position.
可选地,所述显示设备、所述拍摄装置和所述参考物体的高度相同。Optionally, the heights of the display device, the photographing device and the reference object are the same.
可选地,所述预设模式下所述拍摄装置的拍摄参数为最长焦距和最大光圈。Optionally, the shooting parameters of the shooting device in the preset mode are the longest focal length and the largest aperture.
与现有技术相比,本发明包括以下优点:Compared with the prior art, the present invention includes the following advantages:
虚像像距测量系统用于测量显示设备显示的虚拟物体的虚像像距,系统包括拍摄装置、参考物体和量测装置;拍摄装置具有第一拍摄位置和第二拍摄位置,在第一拍摄位置,显示设备位于拍摄装置的光轴上;在第二拍摄位置,参考物体位于所述拍摄装置的光轴上;拍摄装置处于第一拍摄位置时,在预设模式下对虚拟物体进行对焦,使虚拟物体在拍摄装置中清晰成像,即通过拍摄装置获得虚像像距。参考物体在拍摄装置处于第二拍摄位置且在对焦状态时,沿光轴移动,直至在拍摄装置中清晰成像,即将拍摄装置获得的虚像像距转换为参考物体与拍摄装置之间的距离。量测装置标定参考物体在拍摄装置中清晰成像时,参考物体与拍摄装置之间的距离,距离为虚拟物体的虚像像距。本发明实施例中,通过拍摄装置将虚拟物体的虚像像距转换为参考物体与拍摄装置之间的距离,使得确定虚像像距的方法简单易操作,能够满足虚拟现实设备和增强现实设备等显示设备的检测校正需求,解决了现有技术中确定虚像像距对设备要求较高的问题。The virtual image image distance measuring system is used to measure the virtual image image distance of a virtual object displayed on a display device. The system includes a shooting device, a reference object and a measuring device; the shooting device has a first shooting position and a second shooting position. In the first shooting position, The display device is located on the optical axis of the shooting device; at the second shooting position, the reference object is located on the optical axis of the shooting device; The object is clearly imaged in the shooting device, that is, the image distance of the virtual image is obtained through the shooting device. When the photographing device is in the second shooting position and in focus, the reference object moves along the optical axis until it is clearly imaged in the photographing device, that is, the image distance of the virtual image obtained by the photographing device is converted into the distance between the reference object and the photographing device. The measuring device calibrates the distance between the reference object and the shooting device when the reference object is clearly imaged in the shooting device, and the distance is the virtual image distance of the virtual object. In the embodiment of the present invention, the virtual image distance of the virtual object is converted into the distance between the reference object and the photographing device through the photographing device, so that the method for determining the virtual image distance is simple and easy to operate, and can meet the requirements of displaying devices such as virtual reality equipment and augmented reality equipment. The detection and correction requirements of the equipment solve the problem of high equipment requirements for determining the image distance of the virtual image in the prior art.
附图说明Description of drawings
图1示出了本发明实施例一提供的一种虚像像距测量系统的结构示意图之一;FIG. 1 shows one of the structural schematic diagrams of a virtual image distance measurement system provided by Embodiment 1 of the present invention;
图2示出了本发明实施例一提供的一种虚像像距测量系统的结构示意图之二;Fig. 2 shows the second structural schematic diagram of a virtual image image distance measurement system provided by Embodiment 1 of the present invention;
图3示出了本发明实施例一提供的一种虚像像距测量系统的结构示意图之三;FIG. 3 shows the third structural schematic diagram of a virtual image distance measurement system provided by Embodiment 1 of the present invention;
图4示出了本发明实施例二提供的一种虚像像距的确定方法的步骤流程图。FIG. 4 shows a flow chart of the steps of a method for determining the image distance of a virtual image provided by Embodiment 2 of the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
实施例一Embodiment one
参照图1,示出了本发明实施例提供的一种虚像像距测量系统的结构示意图。所述虚像像距测量系统用于测量显示设备20显示的虚拟物体的虚像像距,所述系统包括拍摄装置101、参考物体102和量测装置103;Referring to FIG. 1 , it shows a schematic structural diagram of a virtual image distance measuring system provided by an embodiment of the present invention. The virtual image distance measuring system is used to measure the virtual image distance of the virtual object displayed on the display device 20, and the system includes a shooting device 101, a reference object 102 and a measuring device 103;
所述拍摄装置101具有第一拍摄位置S1和第二拍摄位置S2,在所述第一拍摄位置S1,所述显示设备20位于所述拍摄装置101的光轴上;在所述第二拍摄位置S2,所述参考物体102位于所述拍摄装置101的光轴上;The shooting device 101 has a first shooting position S1 and a second shooting position S2, in the first shooting position S1, the display device 20 is located on the optical axis of the shooting device 101; in the second shooting position S2, the reference object 102 is located on the optical axis of the photographing device 101;
所述拍摄装置101,用于处于所述第一拍摄位置S1时,在预设模式下对所述虚拟物体进行对焦,使所述虚拟物体在所述拍摄装置101中清晰成像;The shooting device 101 is configured to focus on the virtual object in a preset mode when in the first shooting position S1, so that the virtual object can be clearly imaged in the shooting device 101;
所述参考物体102,用于在所述拍摄装置101处于第二拍摄位置S2且在对焦状态时,沿所述光轴移动,直至在所述拍摄装置101中清晰成像;The reference object 102 is configured to move along the optical axis until the photographing device 101 is clearly imaged in the photographing device 101 when the photographing device 101 is in the second photographing position S2 and in a focused state;
所述量测装置103,用于标定所述参考物体102在所述拍摄装置101中清晰成像时,所述参考物体102与所述拍摄装置101之间的距离,所述距离为所述虚拟物体的虚像像距。The measuring device 103 is used to calibrate the distance between the reference object 102 and the shooting device 101 when the reference object 102 is clearly imaged in the shooting device 101, and the distance is the virtual object virtual image distance.
本实施例中,显示设备20显示虚拟物体,显示设备20包括但不限于虚拟现实设备和增强现实设备。In this embodiment, the display device 20 displays virtual objects, and the display device 20 includes but not limited to a virtual reality device and an augmented reality device.
虚像像距测量系统用于测量虚拟物体的虚像像距,系统包括拍摄装置101、参考物体102和量测装置103,拍摄装置101可以在第一拍摄位置S1和第二拍摄位置S2之间切换。当拍摄装置101处于第一拍摄位置S1时,显示设备20位于拍摄装置101的光轴上;当拍摄装置101处于第二拍摄位置S2时,参考物体102位于拍摄装置101的光轴上。拍摄装置101包括但不限于相机,则拍摄装置101的光轴可以是相机镜头的光轴。The virtual image distance measurement system is used to measure the virtual image distance of a virtual object. The system includes a shooting device 101, a reference object 102 and a measuring device 103. The shooting device 101 can switch between a first shooting position S1 and a second shooting position S2. When the photographing device 101 is at the first photographing position S1, the display device 20 is located on the optical axis of the photographing device 101; when the photographing device 101 is at the second photographing position S2, the reference object 102 is located on the optical axis of the photographing device 101. The photographing device 101 includes but is not limited to a camera, and the optical axis of the photographing device 101 may be the optical axis of a camera lens.
拍摄装置101处于第一拍摄位置S1时,在预设模式下对虚拟物体进行对焦,使得虚拟物体在拍摄装置101中清晰成像。可选地,所述预设模式下所述拍摄装置101的拍摄参数为最长焦距和最大光圈。其中,焦距和光圈是影响景深(Depth of Field,DOF)的重要因素,焦距越长,景深越浅;光圈越大,景深越浅。因此在最长焦距和最大光圈的预设模式下,可以得到最浅的景深。景深是指在摄影机镜头或其他成像器前沿能够取得清晰图像的成像所测定的被摄物体前后距离范围。具体地,在聚焦完成后,在焦点前后的范围内都能够形成清晰的像,这一前一后的距离范围,就叫做景深。景深很浅时,拍摄物前后的距离范围则很小,因而可以较准确地确定拍摄物的位置。也就是说,本实施例中在景深很浅,且虚拟物体清晰成像时,可以准确地获得虚拟物体的虚像像距。When the photographing device 101 is at the first photographing position S1 , it focuses on the virtual object in a preset mode, so that the virtual object is clearly imaged in the photographing device 101 . Optionally, the shooting parameters of the shooting device 101 in the preset mode are the longest focal length and the largest aperture. Among them, focal length and aperture are important factors affecting the depth of field (Depth of Field, DOF). The longer the focal length, the shallower the depth of field; the larger the aperture, the shallower the depth of field. Therefore, in the preset mode with the longest focal length and maximum aperture, the shallowest depth of field can be obtained. Depth of field refers to the front and back distance range of the subject measured by imaging that can obtain clear images at the front of the camera lens or other imagers. Specifically, after the focus is completed, a clear image can be formed in the range before and after the focus, and this distance range before and after is called the depth of field. When the depth of field is very shallow, the distance range before and after the subject is very small, so the position of the subject can be determined more accurately. That is to say, in this embodiment, when the depth of field is very shallow and the virtual object is clearly imaged, the image distance of the virtual image of the virtual object can be accurately obtained.
拍摄装置101处于第二拍摄位置S2且与上述相同的对焦状态时,参考物体102沿光轴移动,直至在拍摄装置101中清晰成像。可以理解的是,参考物体102在拍摄装置101中清晰成像时,将虚拟物体的虚像像距,转换为参考物体102与拍摄装置101之间的距离。When the photographing device 101 is in the second photographing position S2 and in the same focusing state as above, the reference object 102 moves along the optical axis until it is clearly imaged in the photographing device 101 . It can be understood that when the reference object 102 is clearly imaged in the photographing device 101 , the virtual image distance of the virtual object is converted into the distance between the reference object 102 and the photographing device 101 .
此时,采用量测装置103标定参考物体102与拍摄装置101之间的距离,即可得到虚拟物体的虚像像距。量测装置103可以是尺,也可以是红外线测距装置,本发明实施例对此不作详细限定,可以根据实际情况进行设置。At this time, the measuring device 103 is used to calibrate the distance between the reference object 102 and the photographing device 101 to obtain the virtual image distance of the virtual object. The measuring device 103 may be a ruler or an infrared distance measuring device, which is not limited in detail in the embodiment of the present invention, and may be set according to actual conditions.
可选地,参考图2所示的虚像像距测量系统的结构示意图,所述系统还包括导轨104,所述拍摄装置101设置在所述导轨104上,所述导轨104垂直于所述拍摄装置101的光轴;Optionally, referring to the structural schematic diagram of the virtual image distance measuring system shown in FIG. 101 optical axis;
所述拍摄装置101可沿所述导轨104在所述第一拍摄位置S1与所述第二拍摄位置S2之间移动。The photographing device 101 can move between the first photographing position S1 and the second photographing position S2 along the guide rail 104 .
本实施例中,拍摄装置101在第一拍摄位置S1和第二拍摄位置S2之间切换,可以通过导轨104实现。具体地,将拍摄装置101设置在导轨104上,拍摄装置101沿导轨104移动。其中,导轨104垂直于拍摄装置101的光轴,可以确保虚像像距的准确性。In this embodiment, the switching of the photographing device 101 between the first photographing position S1 and the second photographing position S2 can be realized through the guide rail 104 . Specifically, the photographing device 101 is set on the guide rail 104 , and the photographing device 101 moves along the guide rail 104 . Wherein, the guide rail 104 is perpendicular to the optical axis of the photographing device 101 , which can ensure the accuracy of the image distance of the virtual image.
可选地,参考图3所示的虚像像距测量系统的结构示意图,所述系统还包括旋转台105,所述拍摄装置101固定在所述旋转台105上;Optionally, referring to the schematic structural diagram of the virtual image distance measuring system shown in FIG. 3 , the system further includes a rotary table 105, and the photographing device 101 is fixed on the rotary table 105;
所述拍摄装置101可随所述旋转台105转动,在所述第一拍摄位置S1与所述第二拍摄位置S2之间切换。The photographing device 101 can rotate with the rotating platform 105 to switch between the first photographing position S1 and the second photographing position S2.
本实施例中,拍摄装置101在第一拍摄位置S1和第二拍摄位置S2之间切换,还可以通过旋转台105实现。具体地,将拍摄装置101固定在旋转台105上,转动旋转台105时,拍摄装置101可随旋转台105转动,从而实现位置的切换。旋转台的转动角度可以是180°,也可以是90°,本发明实施例对此不作详细限定,可以根据实际情况进行设置。In this embodiment, the switching of the photographing device 101 between the first photographing position S1 and the second photographing position S2 can also be realized through the rotating platform 105 . Specifically, the photographing device 101 is fixed on the rotating platform 105, and when the rotating platform 105 is rotated, the photographing device 101 can rotate with the rotating platform 105, so as to realize switching of positions. The rotation angle of the rotary table may be 180° or 90°, which is not limited in detail in the embodiment of the present invention, and may be set according to actual conditions.
可选地,所述显示设备20、所述拍摄装置101和所述参考物体102的高度相同。Optionally, the heights of the display device 20 , the photographing device 101 and the reference object 102 are the same.
本实施例中,显示设备20、拍摄装置101和参考物体102处于同一高度,可以确保成像效果,进而可以保证虚像像距的准确性。In this embodiment, the display device 20 , the photographing device 101 and the reference object 102 are at the same height, which can ensure the imaging effect and further ensure the accuracy of the image distance of the virtual image.
综上所述,本发明实施例中,虚像像距测量系统用于测量显示设备显示的虚拟物体的虚像像距,系统包括拍摄装置、参考物体和量测装置;拍摄装置具有第一拍摄位置和第二拍摄位置,在第一拍摄位置,显示设备位于拍摄装置的光轴上;在第二拍摄位置,参考物体位于所述拍摄装置的光轴上;拍摄装置处于第一拍摄位置时,在预设模式下对虚拟物体进行对焦,使虚拟物体在拍摄装置中清晰成像,即通过拍摄装置获得虚像像距。参考物体在拍摄装置处于第二拍摄位置且在对焦状态时,沿光轴移动,直至在拍摄装置中清晰成像,即将拍摄装置获得的虚像像距转换为参考物体与拍摄装置之间的距离。量测装置标定参考物体在拍摄装置中清晰成像时,参考物体与拍摄装置之间的距离,距离为虚拟物体的虚像像距。本发明实施例中,通过拍摄装置将虚拟物体的虚像像距转换为参考物体与拍摄装置之间的距离,使得确定虚像像距的方法简单易操作,能够满足虚拟现实设备和增强现实设备等显示设备的检测校正需求,解决了现有技术中确定虚像像距对设备要求较高的问题。In summary, in the embodiment of the present invention, the virtual image distance measurement system is used to measure the virtual image distance of the virtual object displayed on the display device. The system includes a shooting device, a reference object and a measuring device; the shooting device has a first shooting position and In the second shooting position, at the first shooting position, the display device is located on the optical axis of the shooting device; at the second shooting position, the reference object is located on the optical axis of the shooting device; In the setting mode, the virtual object is focused, so that the virtual object is clearly imaged in the shooting device, that is, the image distance of the virtual image is obtained through the shooting device. When the photographing device is in the second shooting position and in focus, the reference object moves along the optical axis until it is clearly imaged in the photographing device, that is, the image distance of the virtual image obtained by the photographing device is converted into the distance between the reference object and the photographing device. The measuring device calibrates the distance between the reference object and the shooting device when the reference object is clearly imaged in the shooting device, and the distance is the virtual image distance of the virtual object. In the embodiment of the present invention, the virtual image distance of the virtual object is converted into the distance between the reference object and the photographing device through the photographing device, so that the method for determining the virtual image distance is simple and easy to operate, and can meet the requirements of displaying devices such as virtual reality equipment and augmented reality equipment. The detection and correction requirements of the equipment solve the problem of high equipment requirements for determining the image distance of the virtual image in the prior art.
实施例二Embodiment two
参照图4,示出了本发明实施例提供的一种虚像像距的确定方法的步骤流程图。应用于如实施例一所述的虚像像距测量系统,所述方法包括:Referring to FIG. 4 , it shows a flowchart of steps of a method for determining the image distance of a virtual image provided by an embodiment of the present invention. Applied to the virtual image image distance measuring system as described in Embodiment 1, the method includes:
步骤301,拍摄装置101处于第一拍摄位置S1时,在预设模式下对显示设备20显示的虚拟物体进行对焦,使所述虚拟物体在拍摄装置101中清晰成像。Step 301 , when the shooting device 101 is in the first shooting position S1 , focus on the virtual object displayed on the display device 20 in a preset mode, so that the virtual object is clearly imaged in the shooting device 101 .
本实施例中,显示设备20显示虚拟物体,拍摄装置101在第一拍摄位置S1时,显示设备20位于拍摄装置101的光轴上,拍摄装置101在预设模式下对虚拟物体进行对焦,虚拟物体在拍摄装置101中清晰成像。In this embodiment, the display device 20 displays a virtual object, and when the shooting device 101 is at the first shooting position S1, the display device 20 is located on the optical axis of the shooting device 101, and the shooting device 101 focuses on the virtual object in a preset mode, and the virtual Objects are clearly imaged in the camera 101 .
可选地,所述预设模式下所述拍摄装置101的拍摄参数为最长焦距和最大光圈。也就是说,在预设模式下采用最浅的景深进行对焦,从而通过拍摄装置101获得准确的虚拟物体的虚像像距。Optionally, the shooting parameters of the shooting device 101 in the preset mode are the longest focal length and the largest aperture. That is to say, in the preset mode, the shallowest depth of field is used for focusing, so that the accurate image distance of the virtual image of the virtual object can be obtained through the photographing device 101 .
步骤302,所述拍摄装置101处于第二拍摄位置S2且在对焦状态时,沿所述光轴移动参考物体102,直至所述参考物体102在所述拍摄装置101中清晰成像。Step 302 , when the photographing device 101 is in the second photographing position S2 and in a focusing state, move the reference object 102 along the optical axis until the reference object 102 is clearly imaged in the photographing device 101 .
本实施例中,拍摄装置101在与上述相同的对焦状态下,切换至第二拍摄位置S2,沿光轴移动参考物体102,使得参考物体102在拍摄装置101中清晰成像。此时,通过拍摄装置101将虚拟物体的虚像像距,转换为参考物体102与拍摄装置101之间的距离。In this embodiment, the photographing device 101 switches to the second photographing position S2 in the same focusing state as above, and moves the reference object 102 along the optical axis, so that the reference object 102 is clearly imaged in the photographing device 101 . At this time, the image distance of the virtual image of the virtual object is converted into the distance between the reference object 102 and the photographing device 101 by the photographing device 101 .
可选地,所述拍摄装置101设置在导轨104上,所述导轨104垂直于所述拍摄装置101的光轴;沿所述导轨104移动所述拍摄装置101,使所述拍摄装置101的位置从所述第一拍摄位置S1移动至所述第二拍摄位置S2。Optionally, the photographing device 101 is arranged on a guide rail 104, and the guide rail 104 is perpendicular to the optical axis of the photographing device 101; the photographing device 101 is moved along the guide rail 104 so that the position of the photographing device 101 Move from the first shooting position S1 to the second shooting position S2.
具体地,将拍摄装置101设置在导轨104上,拍摄装置101可以沿导轨104移动,从而实现拍摄装置101在第一拍摄位置S1和第二拍摄位置之间的切换。导轨104垂直于拍摄装置101的光轴,可以确保虚像像距的准确性。Specifically, the photographing device 101 is arranged on the guide rail 104 , and the photographing device 101 can move along the guide rail 104 , so as to realize switching between the first photographing position S1 and the second photographing position of the photographing device 101 . The guide rail 104 is perpendicular to the optical axis of the photographing device 101, which can ensure the accuracy of the image distance of the virtual image.
可选地,所述拍摄装置101固定在旋转台105上;转动所述旋转台105,使所述拍摄装置101的位置从所述第一拍摄位置S1切换至所述第二拍摄位置S2。Optionally, the photographing device 101 is fixed on the rotating platform 105; the rotating platform 105 is rotated to switch the position of the photographing device 101 from the first photographing position S1 to the second photographing position S2.
具体地,将拍摄装置101固定在旋转台105上,拍摄装置101可随旋转台105转动,从而实现拍摄装置101在第一拍摄位置S1和第二拍摄位置S2之间的切换。本发明实施例对旋转台的转动角度不作详细限定,可以根据实际情况进行设置。Specifically, the photographing device 101 is fixed on the rotating platform 105, and the photographing device 101 can rotate with the rotating platform 105, so that the photographing device 101 can switch between the first photographing position S1 and the second photographing position S2. The embodiments of the present invention do not limit the rotation angle of the rotary table in detail, and may be set according to actual conditions.
可选地,所述显示设备20、所述拍摄装置101和所述参考物体102的高度相同。Optionally, the heights of the display device 20 , the photographing device 101 and the reference object 102 are the same.
具体地,显示设备20、拍摄装置101和参考物体102处于同一高度,确保虚拟物体和参考物体102在拍摄装置101中成像的成像效果,从而确保虚像像距的准确性。Specifically, the display device 20, the photographing device 101 and the reference object 102 are at the same height to ensure the imaging effect of the virtual object and the reference object 102 in the photographing device 101, thereby ensuring the accuracy of the virtual image distance.
步骤303,采用量测装置103标定所述参考物体102在所述拍摄装置101中清晰成像时,所述参考物体102与所述拍摄装置101之间的距离,所述距离为所述虚拟物体的虚像像距。Step 303, using the measuring device 103 to calibrate the distance between the reference object 102 and the shooting device 101 when the reference object 102 is clearly imaged in the shooting device 101, the distance is the distance of the virtual object virtual image distance.
本实施例中,当参考物体102在拍摄装置101中清晰成像时,参考物体102与拍摄装置101之间的距离为虚拟物体的虚像像距。本发明实施例对量测装置103不作详细限定,可以根据实际情况进行设置。In this embodiment, when the reference object 102 is clearly imaged in the photographing device 101 , the distance between the reference object 102 and the photographing device 101 is the virtual image distance of the virtual object. The embodiment of the present invention does not limit the measuring device 103 in detail, and may be set according to actual conditions.
综上所述,本发明实施例中,拍摄装置处于第一拍摄位置时,在预设模式下对显示设备显示的虚拟物体进行对焦,使虚拟物体在拍摄装置中清晰成像,即通过拍摄装置获得虚像像距;拍摄装置处于第二拍摄位置且在对焦状态时,沿光轴移动参考物体,直至参考物体在拍摄装置中清晰成像,即通过拍摄装置将虚像像距转换为参考物体与拍摄装置之间的距离;采用量测装置标定参考物体在所述拍摄装置中清晰成像时,参考物体与拍摄装置之间的距离,距离为虚拟物体的虚像像距。通过拍摄装置将虚拟物体的虚像像距转换为参考物体与拍摄装置之间的距离,使得确定虚像像距的方法简单易操作,能够满足虚拟现实设备和增强现实设备等显示设备的检测校正需求,解决了现有技术中确定虚像像距对设备要求较高的问题。To sum up, in the embodiment of the present invention, when the shooting device is in the first shooting position, the virtual object displayed on the display device is focused in the preset mode, so that the virtual object can be clearly imaged in the shooting device, that is, the image obtained by the shooting device Virtual image distance; when the shooting device is in the second shooting position and in the focusing state, move the reference object along the optical axis until the reference object is clearly imaged in the shooting device, that is, the virtual image distance is converted into the distance between the reference object and the shooting device through the shooting device The distance between them; when the reference object is clearly imaged in the shooting device using a measuring device, the distance between the reference object and the shooting device is the virtual image distance of the virtual object. The virtual image distance of the virtual object is converted into the distance between the reference object and the photographing device through the shooting device, so that the method for determining the virtual image distance is simple and easy to operate, and can meet the detection and correction requirements of display devices such as virtual reality equipment and augmented reality equipment, The problem in the prior art that determining the image distance of a virtual image requires high equipment is solved.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of, or also include elements inherent in, such a process, method, commodity, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上对本发明所提供的一种虚像像距测量系统和虚像像距的确定方法,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。Above, a kind of virtual image image distance measurement system provided by the present invention and a method for determining the virtual image image distance have been introduced in detail. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only It is used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, this The content of the description should not be construed as limiting the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810135917.0ACN108362479B (en) | 2018-02-09 | 2018-02-09 | A virtual image distance measurement system and a method for determining the virtual image distance |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810135917.0ACN108362479B (en) | 2018-02-09 | 2018-02-09 | A virtual image distance measurement system and a method for determining the virtual image distance |
| Publication Number | Publication Date |
|---|---|
| CN108362479Atrue CN108362479A (en) | 2018-08-03 |
| CN108362479B CN108362479B (en) | 2021-08-13 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810135917.0AActiveCN108362479B (en) | 2018-02-09 | 2018-02-09 | A virtual image distance measurement system and a method for determining the virtual image distance |
| Country | Link |
|---|---|
| CN (1) | CN108362479B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110057552A (en)* | 2019-04-23 | 2019-07-26 | 芋头科技(杭州)有限公司 | Virtual image distance measurement method, device, equipment and controller and medium |
| CN110336996A (en)* | 2019-06-27 | 2019-10-15 | 歌尔股份有限公司 | Virtual image distance test method, device, head-mounted device, and computer-readable storage medium |
| CN112326205A (en)* | 2020-10-30 | 2021-02-05 | 歌尔光学科技有限公司 | Virtual image distance detection tool and its calibration method, virtual image distance detection method |
| CN112763186A (en)* | 2020-11-19 | 2021-05-07 | 塔普翊海(上海)智能科技有限公司 | Virtual image distance measuring system and method |
| CN113395439A (en)* | 2020-03-13 | 2021-09-14 | 深圳惠牛科技有限公司 | Virtual image distance measuring method, system, device and terminal equipment |
| CN115103177A (en)* | 2022-05-09 | 2022-09-23 | 北京闪亮视觉智能科技有限公司 | Method for detecting virtual image distance of electronic equipment |
| CN115278084A (en)* | 2022-07-29 | 2022-11-01 | 维沃移动通信有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
| CN116558782A (en)* | 2023-04-25 | 2023-08-08 | 歌尔光学科技有限公司 | Virtual image distance detection method, device, equipment and medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104019963A (en)* | 2014-05-28 | 2014-09-03 | 上海理工大学 | Plane light source virtual image distance measurement device and method thereof |
| CN106127714A (en)* | 2016-07-01 | 2016-11-16 | 南京睿悦信息技术有限公司 | A kind of measuring method of virtual reality head-mounted display equipment distortion parameter |
| CN106908041A (en)* | 2017-03-20 | 2017-06-30 | 成都通甲优博科技有限责任公司 | The method and apparatus that a kind of near field calibration for cameras implements far-field measurement |
| CN107101808A (en)* | 2017-06-27 | 2017-08-29 | 歌尔科技有限公司 | Method, device and the virtual reality helmet of lens back focal length are determined using camera |
| CN107454377A (en)* | 2016-05-31 | 2017-12-08 | 深圳市微付充科技有限公司 | A kind of algorithm and system that three-dimensional imaging is carried out using camera |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104019963A (en)* | 2014-05-28 | 2014-09-03 | 上海理工大学 | Plane light source virtual image distance measurement device and method thereof |
| CN107454377A (en)* | 2016-05-31 | 2017-12-08 | 深圳市微付充科技有限公司 | A kind of algorithm and system that three-dimensional imaging is carried out using camera |
| CN106127714A (en)* | 2016-07-01 | 2016-11-16 | 南京睿悦信息技术有限公司 | A kind of measuring method of virtual reality head-mounted display equipment distortion parameter |
| CN106908041A (en)* | 2017-03-20 | 2017-06-30 | 成都通甲优博科技有限责任公司 | The method and apparatus that a kind of near field calibration for cameras implements far-field measurement |
| CN107101808A (en)* | 2017-06-27 | 2017-08-29 | 歌尔科技有限公司 | Method, device and the virtual reality helmet of lens back focal length are determined using camera |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110057552A (en)* | 2019-04-23 | 2019-07-26 | 芋头科技(杭州)有限公司 | Virtual image distance measurement method, device, equipment and controller and medium |
| CN110336996A (en)* | 2019-06-27 | 2019-10-15 | 歌尔股份有限公司 | Virtual image distance test method, device, head-mounted device, and computer-readable storage medium |
| CN113395439A (en)* | 2020-03-13 | 2021-09-14 | 深圳惠牛科技有限公司 | Virtual image distance measuring method, system, device and terminal equipment |
| CN112326205A (en)* | 2020-10-30 | 2021-02-05 | 歌尔光学科技有限公司 | Virtual image distance detection tool and its calibration method, virtual image distance detection method |
| CN112763186A (en)* | 2020-11-19 | 2021-05-07 | 塔普翊海(上海)智能科技有限公司 | Virtual image distance measuring system and method |
| CN115103177A (en)* | 2022-05-09 | 2022-09-23 | 北京闪亮视觉智能科技有限公司 | Method for detecting virtual image distance of electronic equipment |
| CN115103177B (en)* | 2022-05-09 | 2025-07-29 | 火离科技(上海)有限公司 | Virtual image distance detection method of electronic equipment |
| CN115278084A (en)* | 2022-07-29 | 2022-11-01 | 维沃移动通信有限公司 | Image processing method, image processing device, electronic equipment and storage medium |
| CN116558782A (en)* | 2023-04-25 | 2023-08-08 | 歌尔光学科技有限公司 | Virtual image distance detection method, device, equipment and medium |
| Publication number | Publication date |
|---|---|
| CN108362479B (en) | 2021-08-13 |
| Publication | Publication Date | Title |
|---|---|---|
| CN108362479A (en) | A kind of determination method of virtual image image distance measuring system and virtual image image distance | |
| US9183620B2 (en) | Automated tilt and shift optimization | |
| CN107063646B (en) | Method and device for determining effective focal length of lens by adopting camera and virtual reality headset | |
| CN107101808B (en) | Method and device for determining back focus of lens by using camera, and virtual reality head-mounted device | |
| CN108012147B (en) | The virtual image of AR imaging system is away from test method and device | |
| CN203616781U (en) | Binocular three-dimensional reconstruction visual system based on slide guide rails | |
| JP2018528388A5 (en) | ||
| CN110148454B (en) | Positioning method, positioning device, server and storage medium | |
| CN106596077B (en) | Double-lens positioning detection system and double-lens positioning detection method | |
| CN106353747A (en) | Distance measurement method and distance measurement device | |
| JP2018528631A (en) | Stereo autofocus | |
| CN104972147B (en) | Cylindrical mirror optical axis fixing method | |
| TWI587060B (en) | Camera device with multi-lens | |
| CN111614951B (en) | Optical axis calibration equipment and method for integrated pan-tilt camera | |
| WO2019105315A1 (en) | Method and system for testing field of view | |
| US7228069B2 (en) | Focusing method for digital camera using plural spatial frequencies | |
| CN107037683A (en) | A kind of method of projecting apparatus and auto-focusing | |
| US10539412B2 (en) | Measuring and correcting optical misalignment | |
| CN111879260B (en) | Parallelism measuring equipment and method | |
| WO2016197494A1 (en) | Method and device for adjusting focusing area | |
| CN111951205A (en) | A dual-light microscope imaging system of infrared and visible light and its image fusion method | |
| TW201013172A (en) | Lens testing device with variable testing patterns | |
| CN110426183A (en) | A kind of system and method for testing lens field angle | |
| CN103162619A (en) | Image measurement instrument and image measuring method | |
| CN207197787U (en) | The device and virtual reality helmet of lens effective focal length are determined using camera |
| 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 |