WO2017133160A1 - Smart eyeglass perspective method and system - Google Patents

Smart eyeglass perspective method and system Download PDF

Info

Publication number
WO2017133160A1
WO2017133160A1 PCT/CN2016/086347 CN2016086347W WO2017133160A1 WO 2017133160 A1 WO2017133160 A1 WO 2017133160A1 CN 2016086347 W CN2016086347 W CN 2016086347W WO 2017133160 A1 WO2017133160 A1 WO 2017133160A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
image
scene
display
human eye
Prior art date
Application number
PCT/CN2016/086347
Other languages
French (fr)
Chinese (zh)
Inventor
艾韬
蔡铁峰
Original Assignee
深圳市易瞳科技有限公司
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 深圳市易瞳科技有限公司 filed Critical 深圳市易瞳科技有限公司
Publication of WO2017133160A1 publication Critical patent/WO2017133160A1/en

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B27/0172Head mounted characterised by optical features
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/0101Head-up displays characterised by optical features
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B30/00Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images
    • G02B30/20Optical systems or apparatus for producing three-dimensional [3D] effects, e.g. stereoscopic images by providing first and second parallax images to an observer's left and right eyes
    • G02B30/34Stereoscopes providing a stereoscopic pair of separated images corresponding to parallactically displaced views of the same object, e.g. 3D slide viewers
    • G02B30/36Stereoscopes providing a stereoscopic pair of separated images corresponding to parallactically displaced views of the same object, e.g. 3D slide viewers using refractive optical elements, e.g. prisms, in the optical path between the images and the observer
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/0101Head-up displays characterised by optical features
    • G02B2027/0132Head-up displays characterised by optical features comprising binocular systems
    • G02B2027/0134Head-up displays characterised by optical features comprising binocular systems of stereoscopic type
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/0101Head-up displays characterised by optical features
    • G02B2027/014Head-up displays characterised by optical features comprising information/image processing systems
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B2027/0178Eyeglass type

Definitions

  • the present invention relates to the field of smart glasses, and in particular, to a smart glasses perspective method and system.
  • ambient light can be received by the human eye through the glasses, which are optically transparent.
  • the scenery light can not be received by the human eye, and the human eye indirectly perceives the external scene by watching the image on the display screen.
  • the external scene pose, size, etc. which are indirectly perceived by the human eye may appear.
  • the information is inconsistent with the external scene information directly perceived by the naked eye of the human eye, and thus the human eye cannot accurately perceive the external scene.
  • the invention provides a method and a system for fluoroscopy of an intelligent glasses, which are intended to solve the problem that the information, such as the position and size of the external scene, which is indirectly perceived by the human eye during the wearing process of the existing smart glasses, is inconsistent with the external scene information directly perceived by the naked eye of the human eye.
  • the information such as the position and size of the external scene, which is indirectly perceived by the human eye during the wearing process of the existing smart glasses, is inconsistent with the external scene information directly perceived by the naked eye of the human eye.
  • a smart glasses perspective method comprising the following steps:
  • Step a Assembling the smart glasses so that the human eye axis, the magnifier optical axis, and the camera optical axis are on the same straight line, the normal direction of the display screen is parallel to the optical axis of the magnifying glass, and the center of the half-screen display area corresponding to a single human eye and the light source of the magnifying glass The line is on the same line as the human eye axis;
  • Step b running the smart glasses, and generating an image on the external scene through the camera, so that the image is displayed on the display screen according to a certain mapping relationship;
  • Step c Wear smart glasses and use the magnifying glass to display the image displayed on the display Zoom in and zoom out the image to a distance that the human eye can comfortably view.
  • the technical solution adopted by the embodiment of the present invention further includes: before the step a, the method further comprises: selecting a size and a resolution of the smart glasses display screen; setting a focal length of the magnifying glass; and respectively setting a distance of the human eye to the optical center of the magnifying glass, The distance from the center of the magnifier to the display, and the distance from the center of the magnifier to the center of the camera.
  • the technical solution adopted by the embodiment of the present invention further includes: before the a, the method further comprises: calculating a required camera angle of view for avoiding a missing field of view of the human eye, and calculating a required camera resolution with a matching display resolution as a target. .
  • the technical solution adopted by the embodiment of the present invention further includes: calculating the field of view of the camera by:
  • the camera's horizontal field of view is:
  • d em is the distance from the human eye to the optical center of the magnifying glass
  • d mc is the distance from the optical center of the magnifying glass to the optical center of the camera
  • d md is the distance from the optical center of the magnifying glass to the display screen
  • f m is the focal length of the magnifying glass
  • q x And q y is the half-screen display area width and height of the display corresponding to a single camera
  • d eo is the distance from the human eye to the scene
  • d co is the distance from the camera to the scene
  • f c is the camera focal length
  • dX is the camera single pixel Horizontal physical size
  • dY is the vertical dimension of the camera's single pixel
  • d ev is the distance from the human eye to the virtual image
  • d mv is the distance from the optical center of the magnifying glass to the virtual image of the scene
  • d vo is the distance from the virtual image of the scene to the scene
  • the technical solution adopted by the embodiment of the present invention further includes: the calculation formula of the calculation camera resolution is:
  • N x is the horizontal maximum pixel number corresponding to the half-screen display area of one eye
  • N y is the maximum vertical pixel number
  • the technical solution adopted by the embodiment of the present invention further includes: in the step b, the displaying the image on the display screen according to a certain mapping relationship is to display the image to the human eye at a certain scaling ratio;
  • the image scaling p x in the landscape direction is:
  • the image scaling p y in the portrait direction is:
  • a smart glasses perspective system including a camera, a display screen, and a magnifying glass; the camera corresponds to a position of a human eye, and the display screen is located between the camera and the magnifying glass.
  • the magnifying glass is located in the smart glasses near the human eye.
  • the magnifier optical axis and the camera optical axis are on the same line
  • the normal direction of the display screen is parallel to the optical axis of the magnifying glass
  • the axes are on the same line; the camera is used to generate an image on the external scene, and the image is displayed on the display screen in a certain mapping relationship, and the magnifying glass is used to enlarge the image displayed on the display screen, and pull the image Displayed as far as the human eye can comfortably view.
  • the technical solution adopted by the embodiment of the present invention further includes: an operation processing unit, wherein the operation processing unit is respectively connected to the camera and the display screen signal, and is configured to perform distortion correction, polar line correction processing, and display by the camera-generated image.
  • the screen displays the processed image.
  • the technical solution adopted by the embodiment of the present invention further includes: calculating a field of view of the camera:
  • the camera's horizontal field of view is:
  • d is the distance light magnifier em human eye heart to heart
  • d is the distance MC magnifying the optical center of the optical center of the camera
  • d is the distance MD is the optical center display screen magnifier
  • f m is the focal length of the magnifying glass
  • q x And q y is the half-screen display area width and height of the display corresponding to a single camera
  • d eo is the distance from the human eye to the scene
  • d co is the distance from the camera to the scene
  • f c is the camera focal length
  • dX is the camera single pixel Horizontal physical size
  • dY is the vertical dimension of the camera's single pixel
  • d ev is the distance from the human eye to the virtual image
  • d mv is the distance from the optical center of the magnifying glass to the virtual image of the scene
  • d vo is the distance from the virtual image of the scene to the scene
  • s d is the scene in the display Size
  • the technical solution adopted by the embodiment of the present invention further includes: displaying the image on the display screen according to a certain mapping relationship, specifically: displaying the image to the human eye at a certain scaling ratio; and the method for solving the image scaling ratio includes:
  • the ratio of the size of the scene on the display to the physical size of a single pixel on the display is the number of pixels the scene occupies on the display, and the size of the scene on the camera and the physics of a single pixel on the camera's imaging surface
  • the size ratio is the number of pixels the scene occupies on the camera's imaging surface, namely:
  • the image scaling p x in the landscape direction is:
  • the image scaling p y in the portrait direction is:
  • the invention has the beneficial effects that the smart glasses perspective method and system of the embodiment of the invention image the external scene through the camera, and the generated image is displayed on the display screen after processing, and is displayed on the display screen through the magnifying glass.
  • Image is magnified so that The image is far away to the distance that the human eye can comfortably watch, so that when the human eye wears the smart glasses, it accurately senses the pose and size information of the external scene as the naked eye, and improves the wearer's comfort and viewing accuracy.
  • FIG. 1 is a flow chart of a method for seeing a smart glasses according to an embodiment of the present invention
  • FIG. 2 is a parameter identification diagram of smart glasses according to an embodiment of the present invention.
  • FIG. 3 is a schematic perspective view of a smart glasses according to an embodiment of the present invention.
  • 4(a), 4(b), and 4(c) are schematic diagrams showing a method of calculating a field of view of a camera according to an embodiment of the present invention
  • FIG. 5 is a schematic structural view of a smart eyeglass perspective system according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for seeing a smart glasses according to an embodiment of the present invention.
  • the smart glasses perspective method of the embodiment of the invention comprises the following steps:
  • Step 100 Select the size and resolution of the smart glasses display screen
  • the smart glasses of the embodiments of the present invention include a camera, a display, and a display.
  • the large mirror, the display is located between the camera and the magnifying glass, the magnifying glass is located on the side of the smart glasses close to the human eye, the camera is used to generate images of the external scene, and the generated image is processed by the arithmetic processing unit (such as distortion correction, polar line school) Correction) Displayed by the display screen, the magnifying glass is used to enlarge the image displayed on the display, and the image is pulled far to the distance that the human eye can comfortably watch, that is, the human eye's clear vision distance (about 250mm), so that the human eye is wearing
  • the smart glasses of the embodiment of the invention can accurately sense the position and size of the external scene as the naked eyes.
  • Step 200 setting a focal length of the magnifying glass
  • Step 300 respectively set the distance from the human eye to the optical center of the magnifying glass, the distance from the optical center of the magnifier to the display screen, and the distance from the optical center of the magnifying glass to the optical center of the camera;
  • Step 400 Calculate a camera angle of view and calculate a camera resolution
  • selecting the camera field angle can avoid the lack of field of view such as black borders in the field of view of the human eye, and selecting the camera resolution can prevent the image from being interpolated and then zoomed in to the human eye.
  • Step 500 assembling the smart glasses, and making the human eye axis, the magnifier optical axis, and the camera optical axis on the same straight line, the normal direction of the display screen is parallel to the optical axis of the magnifying glass, and the center of the half-screen display area corresponding to a single human eye and the magnifying glass light center The line is on the same line as the human eye axis;
  • FIG. 2 is a smart glasses parameter identification diagram according to an embodiment of the present invention
  • FIG. 3 is a schematic perspective view of the smart glasses according to an embodiment of the present invention.
  • a is the distance d em of the human eye to the optical center of the magnifying glass
  • b is the distance d md from the optical center of the magnifying glass to the display screen
  • c is the distance d mc from the optical center of the magnifying glass to the optical center of the camera.
  • the horizontal axis of the solid line represents the human eye, the magnifying glass, the optical axis of the camera, and the normal of the display screen, wherein the human eye is at the point e of the horizontal axis, the magnifying glass is at the m point, and the display is at the d point, f1 is The distance of m is the focal length of the magnifying glass.
  • the camera is at point c, the distance from f2 to c is the focal length of the camera, the v point is the position of the image displayed on the display in the magnifying glass corresponding to the virtual image, and the o point is the position given by the outside world. .
  • the imaging of the scene in the human eye and the imaging of the naked eye in the human eye will be the same, thus achieving perspective.
  • the display screen, the magnifying glass, and the distance d md of the magnifying glass center and the display screen, the magnifying glass center and the camera light have been selected according to factors such as human visual characteristics.
  • the distance magnifying optical center of the camera optical center d mc the distance magnifying optical center of the display screen the distance d md
  • human The distance between the eye of the eye and the center of the magnifier d em , the focal length of the magnifier f m , the half-screen display area of the display corresponding to a single camera is q x , the height is q y , and the half-screen display area of the single-eye display is the maximum horizontal number of pixels.
  • the maximum number of pixels in the vertical direction is N y , so that the camera angle of view and resolution are calculated according to the above parameters;
  • the field of view of the scene corresponding to the camera is the minimum angle of view required by the camera. Therefore, it is known that the image size on the display screen is the size of the half-screen image display area of the display screen, and the angle of view of the scene object at the camera is the value of the field of view to be solved.
  • d eo be the distance from the human eye to the scene
  • d co is the distance from the camera's optical center to the scene
  • f c is the camera focal length
  • the camera's single pixel horizontal physical size is dX
  • the vertical size is dY
  • d ev is the human eye.
  • the distance to the virtual image, d mv is the distance from the magnifying glass to the virtual image of the scene
  • d vo is the distance from the virtual image to the scene
  • the size of the scene in the display is s d
  • the corresponding virtual image size is s v
  • the size of the scene is s o .
  • the image size of the scene in the camera is s c
  • the horizontal physical size of a single pixel on the display screen is dx and the vertical size is dy.
  • d co d eo -d em -d mc
  • d vo d eo -d em -d mv
  • d ev d em +d mv .
  • the camera's field of view is too small, under the premise of satisfying the perspective, it may happen that the image obtained by the camera cannot cover the full display (in a certain sense, it is to cover the field of view of the full eye), resulting in wearing the smart glasses perspective method.
  • the field of view of the human eye has a black field and other fields of view missing.
  • the camera field of view needs to be smaller than a certain value, as shown in Figure 4(a), Figure 4(b), Figure 4(c). Shown as a schematic diagram of the camera field of view.
  • the solid horizontal axis represents the common optical axis of the human eye, the magnifying glass, and the camera, and the normal of the display screen.
  • a is the human eye
  • b is the magnifying glass
  • c is the display screen
  • d is the virtual image of the image displayed on the display screen in the magnifying glass
  • the length of the vertical line at c represents the half-screen image display of the display screen.
  • the size of the area is, under the premise of perspective, the field of view of the human eye obtained by viewing the image on the display screen outside the d distance is V.
  • the field of view of the camera is W. Try to avoid the lack of field of view such as black borders in the human eye field. It is necessary to have as much as possible the field of view of the camera to include the field of view obtained by the human eye by viewing the image of the display screen.
  • the camera field angle ⁇ is large enough to satisfy Therefore, when the scene is at a distance of d, under the premise of perspective, it can ensure that there is no missing field of view such as black circles.
  • the camera's horizontal field of view is:
  • the corner needs that specific value that cannot be less than.
  • the resolution of the display screen is selected.
  • the resolution of the camera is too low, the camera resolution will not match the resolution of the display.
  • the image captured by the camera is interpolated and displayed to the human eye, that is, the image is enlarged.
  • the camera resolution can not be less than a certain specificity without interpolating the image and displaying it to the human eye. value.
  • the method for calculating the resolution of the camera in the embodiment of the present invention is:
  • the minimum resolution of the camera requires that the camera captures the image and the image on the display is 1:1.
  • the calculation steps are as follows:
  • the number of pixels in the camera is also L d .
  • the distance d em of the human eye and the magnifying glass can be measured when the user wears it.
  • the present invention proposes to define the minimum value of d eo as the human eye clear distance 250 mm, and this d
  • the minimum value of eo is substituted into equations (5) and (6) to obtain the specific value that the camera resolution needs to be less than.
  • Step 600 Power on the smart glasses, generate images by the camera of the smart glasses, perform distortion correction correction on the generated images, and correct the polar lines, so that the images are displayed on the display screen according to a certain mapping relationship;
  • mapping the image captured by the camera and the image displayed on the display screen includes: mapping the image captured by the camera to the display screen needs to solve the following problems:
  • the camera lens has certain radial distortion and tangential distortion.
  • the generated image needs to be distorted.
  • the image distortion can be obtained by camera calibration, and the camera internal parameters including the distortion coefficient are obtained, and then the image is dedistorted in the camera;
  • the image distortion elimination method is prior art, and the present invention will not be described again.
  • the two cameras on the smart glasses are often not precisely aligned. There is vertical parallax between the images obtained by the two cameras. If there is a parallax image that is displayed to the human eye, it will give a binocular stereo vision band. It is difficult, so it is necessary to eliminate vertical parallax by polar line correction; this method of eliminating vertical parallax is a prior art, and the present invention will not be described again.
  • the camera captures the scaling of the image when the image is displayed on the display.
  • the virtual image size of the scene seen by the human eye in the magnifying glass should satisfy:
  • the size of the scene on the display screen can be further determined as follows:
  • the ratio of the size of the scene on the display to the physical size of a single pixel on the display is the number of pixels occupied by the scene on the display, and the ratio of the size of the scene on the camera to the physical size of a single pixel on the camera's imaging surface is the scene in the camera.
  • Step 700 Wearing smart glasses, magnifying the image displayed on the display screen through the smart glasses magnifying glass, and extending the image to a distance that the human eye can comfortably watch, thereby realizing the perspective of the smart glasses.
  • FIG. 5 is a schematic structural diagram of a smart glasses perspective system according to an embodiment of the present invention.
  • the smart glasses fluoroscopy system of the embodiment of the present invention comprises a camera 1, an arithmetic processing unit 2, a display screen 3 and a magnifying glass 4; wherein the camera 1 comprises two, the two cameras 1 respectively corresponding to the position of the human eye 5;
  • the processing unit 2 is separately connected to the camera 1 and the display screen 3, and the display screen 3 is located between the camera 1 and the magnifying glass 4, and the magnifying glass 4 is located on the side of the smart glasses close to the human eye 5.
  • Camera 1 is used to generate an image of an external scene
  • an arithmetic processing unit 2 is used for performing distortion correction, polar line correction and the like on the image generated by the camera 1, and displaying the processed image on the display screen 3 in a certain mapping relationship
  • the magnifying glass 4 is used for performing the image displayed on the display screen 3. Zooming in, thereby extending the image to a distance that the human eye 5 can comfortably view, that is, the human eye's clear vision distance, so that the human eye can accurately sense the posture of the external scene as the naked eye when wearing the smart glasses of the embodiment of the present invention. Information such as size.
  • the assembling manner of the smart glasses perspective system of the embodiment of the present invention includes: selecting the size and resolution of the smart glasses display screen 3; setting the focal length of the magnifying glass 4; respectively setting the optical center of the human eye 5 to the optical center of the magnifying glass 4 Distance, the distance from the magnifying glass 4 light to the display 3, and the distance from the magnifying glass 4 to the optical center of the camera 1; after calculating the field of view and resolution of the camera 1, the smart glasses are assembled, and the human eye axis and the magnifying glass are lighted.
  • the optical axis of the axis and the camera 1 are on the same straight line, and the normal direction of the display screen 3 is parallel to the optical axis of the magnifying glass 4, and the center of the half-screen display area corresponding to the single human eye 5 is connected with the optical center of the magnifying glass 4 and the optical axis of the human eye 5
  • the smart glasses are powered on, and the camera 1 of the smart glasses generates an image for the external scene, and the distortion correction and the polar line correction are performed on the generated image by the arithmetic processing unit 2, so that the image is displayed in a certain mapping relationship.
  • the image displayed on the display screen 3 is enlarged by the smart glasses magnifier 4, and the image is pulled far to the distance that the human eye can comfortably display, and the smart is realized.
  • a perspective view mirror wherein, the field of view angle of the selected camera 1 can avoid the lack of field of view such as black border in the field of view of the human eye 5, and the resolution of the selected camera 1 can prevent the image from being interpolated and then enlarged to the human eye 5 for viewing.
  • FIG. 2 is a smart glasses parameter identification diagram according to an embodiment of the present invention
  • FIG. 3 is a schematic perspective view of the smart glasses according to an embodiment of the present invention.
  • a is the distance d em of the human eye 5 light center to the optical center of the magnifying glass 4
  • b is the distance d md of the magnifying glass 4 to the display screen 3
  • c is the distance d from the optical center of the magnifying glass 4 to the optical center of the camera 1.
  • Mc is the distance d from the optical center of the magnifying glass 4 to the optical center of the camera 1.
  • the horizontal axis of the solid line represents the human eye 5, the magnifier 4, the optical axis of the camera 1, and the normal of the display screen 3, wherein the human eye 5 is at the e point of the horizontal axis, the magnifying glass 4 is at the m point, and the display screen 3
  • the distance from f1 to m is the focal length of magnifier 4
  • camera 1 is at point c
  • the distance from f2 to c is the focal length of camera 1
  • point v is the image displayed on display screen 3 corresponding to the virtual image in magnifier 4.
  • point o is the location of the scene given by the outside world.
  • the imaging of the scene in the human eye 5 and the imaging of the naked eye scene in the human eye 5 will be the same, thereby achieving fluoroscopy.
  • the display screen 3, the magnifying glass 4, the distance d md of the optical center of the magnifying glass 4 and the display screen 3, and the magnifying glass have been selected according to factors such as the visual characteristics of the human eye 5.
  • the distance from the human eye 5 to the magnifying glass 4 light center d em the distance from the magnifying glass 4 to the optical center of the camera 1 d mc , the distance from the magnifying glass 4 to the display 3 d md , the magnifying glass 4 focal length f m
  • the display screen 3 corresponding to the single camera 1 displays the area width q x and the height q y in half screen;
  • the image size on the display screen 3 is the size of the half screen image display area of the display screen 3, and the object is at the angle of view corresponding to the camera 1, and the value of the obtained angle of view is the value to be solved.
  • d eo be the distance from the human eye 5 to the scene
  • d co is the distance from the center of the camera 1 to the scene
  • f c is the focal length of the camera 1
  • the horizontal physical size of the camera 1 is dX and the vertical dimension is dY
  • d ev is the distance from the human eye 5 to the virtual image
  • d mv is the distance from the optical center of the magnifying glass 4 to the virtual image of the scene
  • d vo is the distance from the virtual image of the scene to the scene
  • the size of the scene in the display 3 is s d
  • the corresponding virtual image size is s v
  • the size of the scene is s o
  • the size of the scene in the camera 1 is s c
  • the horizontal physical size of the single pixel on the display 3 is dx
  • the vertical size is dy.
  • the field of view of the camera 1 When the field of view of the camera 1 is too small, under the premise of satisfying the perspective, it may happen that the image obtained by the camera 1 cannot cover the full display 3 (in a certain sense, it is to cover the field of view of the full eye 5), resulting in wearing In the perspective method and system of the smart glasses, the field of view of the human eye 5 appears with a missing field of view such as black edges. Under the premise of satisfying the perspective, in order to ensure that the image obtained by the camera 1 can cover the full display 3, the field of view of the camera 1 needs to be smaller than a certain value, as shown in Fig. 4(a), Fig. 4(b), Fig. 4 (c) is a schematic diagram of the calculation method of the camera 1 field of view.
  • the solid horizontal axis represents the common optical axis of the human eye 5, the magnifying lens 4, and the camera 1, and the normal of the display screen 3.
  • a is the human eye 5
  • b is the magnifying glass 4
  • c is the display screen 3
  • d is the virtual image of the image displayed on the display screen 3 in the magnifying glass 4
  • the length of the vertical line at c represents the display
  • the size of the half-screen image display area of the screen 3 is, under the premise of the perspective, the field of view of the human eye 5 obtained by viewing the image on the display screen 3 outside the d distance is V.
  • one more camera 1 is compared to Fig.
  • the field of view of the camera 1 is W.
  • the camera 1 angle of view ⁇ is large enough to satisfy Therefore, when the scene is at a distance d, under the premise of perspective, it can be ensured that the human eye 5 does not see the black field and other fields of view missing.
  • the minimum angle of view required by the camera 1 can be obtained by substituting the display size of the display unit 3 corresponding to the display area of the single camera 1 into the formula (2).
  • the horizontal field of view of camera 1 is:
  • the vertical field of view of camera 1 is:
  • the field angle needs that specific value that cannot be less than.
  • the resolution of the display screen 3 is selected according to factors such as the visual resolving power of the human eye, when the resolution of the camera 1 is too low, the resolution of the camera 1 does not match the resolution of the display screen 3, and the camera 1 needs to be
  • the captured image is displayed and displayed to the human eye, that is, the enlarged image.
  • the resolution of the camera 1 cannot be less than A specific value.
  • the manner of calculating the resolution of the camera 1 in the embodiment of the present invention is:
  • the display screen 3 corresponding to the single camera 1 has a half screen display area width q x and a height q y , a display screen 3 half screen horizontal maximum pixel number N x , and a vertical maximum pixel number N y ;
  • the minimum resolution of camera 1 requires that the image captured by camera 1 and the image on display 3 be displayed 1:1.
  • the calculation steps are as follows:
  • the number of pixels in the camera 1 is also L d .
  • the distance d em of the human eye 5 light center and the magnifying glass 4 light center can be measured when the user wears, and the smaller the d eo is, the larger the resolution is required.
  • the present invention proposes to define the minimum value of d eo as the human eye 5 clear vision distance 250 mm. , the minimum value of d eo this into equation (5) and (6) can be obtained that the camera need not be less than a specific value of a resolution.
  • mapping the image captured by the camera 1 and the image displayed on the display screen 3 includes: mapping the image captured by the camera 1 to the display screen 3 needs to solve the following problems:
  • the generated image needs to be distorted.
  • the image distortion can be corrected by the camera 1 to obtain the internal parameters of the camera 1 including the distortion coefficient, and then the camera 1 is de-distorted.
  • the image distortion elimination method is prior art, and the present invention will not be described again.
  • the two cameras 1 on the smart glasses are often not precisely aligned. There is vertical parallax between the images obtained by the two cameras 1. If the image with parallax is displayed to the human eye 5, it will give a double Stereoscopic vision brings difficulties, so it is necessary to eliminate vertical parallax by polar line correction; this method of eliminating vertical parallax is a prior art, and the present invention will not be described again.
  • the camera 1 captures the zoom ratio of the image when the image is displayed on the display screen 3.
  • p y is the scaling in the vertical direction.
  • the virtual image size of the scene seen by the human eye 5 in the magnifying glass 4 as shown in Fig. 1 should satisfy:
  • the size of the scene on the display screen 3 can be further determined as follows:
  • the ratio of the size of the scene on the display screen 3 to the physical size of a single pixel on the display screen 3 is the number of pixels occupied by the scene on the display screen 3, and the size of the scene on the camera 1 and the physical size of a single pixel on the imaging surface of the camera 1
  • the ratio is the number of pixels the scene occupies on the imaging surface of camera 1.
  • the smart glasses perspective method and system of the embodiment of the invention image the external scene through the camera, and the generated image is displayed through the display screen after processing, and the display screen is displayed through the magnifying glass.
  • the image on the image is enlarged to extend the image to a distance that the human eye can comfortably view, so that when the human eye wears the smart glasses, it accurately senses the pose and size information of the external scene as the naked eye, and improves the wearer's comfort and Watch the accuracy.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A smart eyeglass perspective method, comprising the following steps: step a (S500): assembling smart eyeglasses so that an optical axis of human eyes (5), an optical axis of a magnifier (4), and an optical axis of a camera (1) are collinear, a normal direction of a display screen (3) is parallel to the optical axis of the magnifier, and a connection line between the center of a half-screen display area corresponding to a single human eye and an optical center of the magnifier is collinear with the optical axis of the human eyes; step b (S600): operating the smart eyeglasses, generating an image of an external scene by using the camera, and displaying the image on the display screen according to a given mapping relation; and step c (S700): wearing the smart eyeglasses, magnifying the image displayed on the display screen by using the magnifier, and displaying the image after zooming out till it is comfortable for the human eyes to view the image. Also disclosed is a smart eyeglass perspective system. The smart eyeglass perspective method and perspective system enable a human wearing smart eyeglasses to accurately sense pose and size information of an external scene as if sensing with naked eyes, thereby improving comfort and viewing accuracy of a wearer.

Description

一种智能眼镜透视方法及系统Intelligent glasses perspective method and system 技术领域Technical field
本发明涉及智能眼镜技术领域,尤其涉及一种智能眼镜透视方法及系统。The present invention relates to the field of smart glasses, and in particular, to a smart glasses perspective method and system.
背景技术Background technique
对于大多数眼镜,外界景物光能穿过眼镜被人眼接收到,它们是光学透明的。而当人佩戴智能眼镜时,景物光无法被人眼接收到,人眼是通过观看显示屏上的图像间接地感知外界景物,此时可能出现人眼间接感知到的外界景物位姿、大小等信息与人眼裸眼直接感知的外界景物信息不一致的情况,从而导致人眼无法准确的感知外界景物。For most glasses, ambient light can be received by the human eye through the glasses, which are optically transparent. When a person wears smart glasses, the scenery light can not be received by the human eye, and the human eye indirectly perceives the external scene by watching the image on the display screen. At this time, the external scene pose, size, etc. which are indirectly perceived by the human eye may appear. The information is inconsistent with the external scene information directly perceived by the naked eye of the human eye, and thus the human eye cannot accurately perceive the external scene.
发明内容Summary of the invention
本发明提供了一种智能眼镜透视方法及系统,旨在解决现有的智能眼镜在佩戴过程中人眼间接感知到的外界景物位姿、大小等信息与人眼裸眼直接感知的外界景物信息不一致的技术问题。The invention provides a method and a system for fluoroscopy of an intelligent glasses, which are intended to solve the problem that the information, such as the position and size of the external scene, which is indirectly perceived by the human eye during the wearing process of the existing smart glasses, is inconsistent with the external scene information directly perceived by the naked eye of the human eye. Technical problem.
为了解决以上提出的问题,本发明采用的技术方案为:一种智能眼镜透视方法,包括以下步骤:In order to solve the above problems, the technical solution adopted by the present invention is: a smart glasses perspective method, comprising the following steps:
步骤a:装配智能眼镜,使人眼光轴、放大镜光轴、相机光轴在同一直线上,显示屏法线方向与放大镜光轴平行,单个人眼对应的半屏显示区域中心与放大镜光心的连线与人眼光轴在同一条直线上;Step a: Assembling the smart glasses so that the human eye axis, the magnifier optical axis, and the camera optical axis are on the same straight line, the normal direction of the display screen is parallel to the optical axis of the magnifying glass, and the center of the half-screen display area corresponding to a single human eye and the light source of the magnifying glass The line is on the same line as the human eye axis;
步骤b:运行智能眼镜,通过相机对外界景物生成图像,使图像按一定的映射关系显示在显示屏上;Step b: running the smart glasses, and generating an image on the external scene through the camera, so that the image is displayed on the display screen according to a certain mapping relationship;
步骤c:佩戴智能眼镜,通过放大镜对显示屏上显示的图像进行 放大,将图像拉远到人眼能舒适观看的距离进行显示。Step c: Wear smart glasses and use the magnifying glass to display the image displayed on the display Zoom in and zoom out the image to a distance that the human eye can comfortably view.
本发明实施例采取的技术方案还包括:所述步骤a前还包括:选定智能眼镜显示屏的大小与分辨率;设定放大镜焦距;并分别设定人眼光心到放大镜光心的距离、放大镜光心到显示屏的距离、以及放大镜光心到相机光心的距离。The technical solution adopted by the embodiment of the present invention further includes: before the step a, the method further comprises: selecting a size and a resolution of the smart glasses display screen; setting a focal length of the magnifying glass; and respectively setting a distance of the human eye to the optical center of the magnifying glass, The distance from the center of the magnifier to the display, and the distance from the center of the magnifier to the center of the camera.
本发明实施例采取的技术方案还包括:所述a前还包括:以避免人眼视场缺失为目标计算所需相机视场角,并以匹配显示屏分辨率为目标计算所需相机分辨率。The technical solution adopted by the embodiment of the present invention further includes: before the a, the method further comprises: calculating a required camera angle of view for avoiding a missing field of view of the human eye, and calculating a required camera resolution with a matching display resolution as a target. .
本发明实施例采取的技术方案还包括:所述计算相机视场角的计算方式为:The technical solution adopted by the embodiment of the present invention further includes: calculating the field of view of the camera by:
相机水平视场角为:The camera's horizontal field of view is:
Figure PCTCN2016086347-appb-000001
Figure PCTCN2016086347-appb-000001
相机垂直视场角为:The vertical field of view of the camera is:
Figure PCTCN2016086347-appb-000002
Figure PCTCN2016086347-appb-000002
在上述公式中,dem为人眼光心到放大镜光心的距离,dmc为放大镜光心到相机光心的距离,dmd为放大镜光心到显示屏的距离,fm为放大镜焦距,qx及qy为单个相机对应的显示屏半屏显示区域宽度及高度,deo为人眼光心到景物的距离,dco为相机光心到景物的距离,fc为相机焦距,dX为相机单个像素横向物理尺寸,dY为相机单个像素纵向尺寸,dev为人眼到虚像的距离,dmv为放大镜光心到景物虚像的距离,dvo为景物虚像到景物的距离,sd为显示屏中景物大小,sv为对应虚像大小,so为景物大小,sc为景物在相机中成像大小,dx为显示屏上单个像素横向物理尺寸、dy为显示屏上单个像素纵向尺寸。 In the above formula, d em is the distance from the human eye to the optical center of the magnifying glass, d mc is the distance from the optical center of the magnifying glass to the optical center of the camera, d md is the distance from the optical center of the magnifying glass to the display screen, and f m is the focal length of the magnifying glass, q x And q y is the half-screen display area width and height of the display corresponding to a single camera, d eo is the distance from the human eye to the scene, d co is the distance from the camera to the scene, f c is the camera focal length, and dX is the camera single pixel Horizontal physical size, dY is the vertical dimension of the camera's single pixel, d ev is the distance from the human eye to the virtual image, d mv is the distance from the optical center of the magnifying glass to the virtual image of the scene, d vo is the distance from the virtual image of the scene to the scene, and s d is the scene in the display Size, s v is the corresponding virtual image size, s o is the size of the scene, s c is the size of the scene in the camera, dx is the horizontal physical size of a single pixel on the display, and dy is the vertical size of a single pixel on the display.
本发明实施例采取的技术方案还包括:所述计算相机分辨率的计算公式为:The technical solution adopted by the embodiment of the present invention further includes: the calculation formula of the calculation camera resolution is:
Figure PCTCN2016086347-appb-000003
Figure PCTCN2016086347-appb-000003
在上述公式中,Nx为单眼对应半屏显示区域横向最大像素数、Ny为纵向最大像素数。In the above formula, N x is the horizontal maximum pixel number corresponding to the half-screen display area of one eye, and N y is the maximum vertical pixel number.
本发明实施例采取的技术方案还包括:在所述步骤b中,所述使图像按一定的映射关系显示在显示屏上即为将图像以一定缩放比例显示给人眼;所述图像缩放比例的求解方法包括:在满足透视要求下,景物在显示屏中应该要占有的像素数与景物在相机中占有的像素数的比值即为图像缩放比例p=(px,py),其中px为水平方向上的缩放比例,py为垂直方向上的缩放比例;景物在显示屏上大小与显示屏上单个像素的物理尺寸的比值就是景物在显示屏上占的像素数,而景物在相机上成像大小与相机成像面上单个像素的物理尺寸比值就是景物在相机成像面上占的像素数,即:The technical solution adopted by the embodiment of the present invention further includes: in the step b, the displaying the image on the display screen according to a certain mapping relationship is to display the image to the human eye at a certain scaling ratio; The solution method includes: when satisfying the perspective requirement, the ratio of the number of pixels that the scene should occupy in the display screen to the number of pixels occupied by the scene in the camera is the image scaling ratio p=(p x , p y ), where p x is the scaling in the horizontal direction, and p y is the scaling in the vertical direction; the ratio of the size of the scene on the display to the physical size of a single pixel on the display is the number of pixels occupied by the scene on the display, and the scene is in The ratio of the image size on the camera to the physical size of a single pixel on the camera's imaging surface is the number of pixels the scene occupies on the camera's imaging surface, ie:
在横向方向上图像缩放比例px为:The image scaling p x in the landscape direction is:
Figure PCTCN2016086347-appb-000004
Figure PCTCN2016086347-appb-000004
在纵向方向上图像缩放比例py为:The image scaling p y in the portrait direction is:
Figure PCTCN2016086347-appb-000005
Figure PCTCN2016086347-appb-000005
本发明实施例采取的另一技术方案为:一种智能眼镜透视系统,包括相机、显示屏及放大镜;所述相机与人眼的位置相对应,所述显示屏位于相机与放大镜之间,所述放大镜位于智能眼镜靠近人眼的一 侧,且人眼光轴、放大镜光轴及相机光轴在同一直线上,显示屏法线方向与放大镜光轴平行,单个人眼对应的半屏显示区域中心与放大镜光心的连线与人眼光轴在同一条直线上;所述相机用于对外界景物生成图像,所述图像按一定的映射关系显示在显示屏上,所述放大镜用于对显示屏上显示的图像进行放大,将图像拉远到人眼能舒适观看的距离进行显示。Another technical solution adopted by the embodiment of the present invention is: a smart glasses perspective system, including a camera, a display screen, and a magnifying glass; the camera corresponds to a position of a human eye, and the display screen is located between the camera and the magnifying glass. The magnifying glass is located in the smart glasses near the human eye. Side, and the human eye axis, the magnifier optical axis and the camera optical axis are on the same line, the normal direction of the display screen is parallel to the optical axis of the magnifying glass, and the connection between the center of the half-screen display area corresponding to a single human eye and the optical center of the magnifying glass and the human eye The axes are on the same line; the camera is used to generate an image on the external scene, and the image is displayed on the display screen in a certain mapping relationship, and the magnifying glass is used to enlarge the image displayed on the display screen, and pull the image Displayed as far as the human eye can comfortably view.
本发明实施例采取的技术方案还包括:还包括运算处理单元,所述运算处理单元分别与相机及显示屏信号连接,用于对相机生成的图像进行畸变校正、极线校正处理,并通过显示屏显示处理后的图像。The technical solution adopted by the embodiment of the present invention further includes: an operation processing unit, wherein the operation processing unit is respectively connected to the camera and the display screen signal, and is configured to perform distortion correction, polar line correction processing, and display by the camera-generated image. The screen displays the processed image.
本发明实施例采取的技术方案还包括:所述相机视场角的计算方式为:The technical solution adopted by the embodiment of the present invention further includes: calculating a field of view of the camera:
相机水平视场角为:The camera's horizontal field of view is:
Figure PCTCN2016086347-appb-000006
Figure PCTCN2016086347-appb-000006
相机垂直视场角为:The vertical field of view of the camera is:
Figure PCTCN2016086347-appb-000007
Figure PCTCN2016086347-appb-000007
所述相机分辨率的计算公式为:The calculation formula of the camera resolution is:
Figure PCTCN2016086347-appb-000008
Figure PCTCN2016086347-appb-000008
Figure PCTCN2016086347-appb-000009
Figure PCTCN2016086347-appb-000009
在上述公式中,dem为人眼光心到放大镜光心的距离,dmc为放大镜光心到相机光心的距离,dmd为放大镜光心到显示屏的距离,fm为放大镜焦距,qx及qy为单个相机对应的显示屏半屏显示区域宽度及高度,deo为人眼光心到景物的距离,dco为相机光心到景物的距离,fc为 相机焦距,dX为相机单个像素横向物理尺寸,dY为相机单个像素纵向尺寸,dev为人眼到虚像的距离,dmv为放大镜光心到景物虚像的距离,dvo为景物虚像到景物的距离,sd为显示屏中景物大小,sv为对应虚像大小,so为景物大小,sc为景物在相机中成像大小,dx为显示屏上单个像素横向物理尺寸、dy为显示屏上单个像素纵向尺寸;Nx为单眼对应半屏显示区域横向最大像素数、Ny为纵向最大像素数。In the above formula, d is the distance light magnifier em human eye heart to heart, d is the distance MC magnifying the optical center of the optical center of the camera, d the distance MD is the optical center display screen magnifier, f m is the focal length of the magnifying glass, q x And q y is the half-screen display area width and height of the display corresponding to a single camera, d eo is the distance from the human eye to the scene, d co is the distance from the camera to the scene, f c is the camera focal length, and dX is the camera single pixel Horizontal physical size, dY is the vertical dimension of the camera's single pixel, d ev is the distance from the human eye to the virtual image, d mv is the distance from the optical center of the magnifying glass to the virtual image of the scene, d vo is the distance from the virtual image of the scene to the scene, and s d is the scene in the display Size, s v is the corresponding virtual image size, s o is the size of the scene, s c is the size of the scene in the camera, dx is the horizontal physical size of a single pixel on the display, dy is the vertical size of a single pixel on the display; N x is a single eye Corresponding to the horizontal maximum number of pixels in the half-screen display area, N y is the maximum number of pixels in the vertical direction.
本发明实施例采取的技术方案还包括:所述图像按一定的映射关系显示在显示屏上具体为:将图像以一定缩放比例显示给人眼;所述图像缩放比例的求解方法包括:景物在显示屏中应该要占有的像素数与景物在相机中占有的像素数的比值即为图像缩放比例p=(px,py),其中px为水平方向上的缩放比例,py为垂直方向上的缩放比例;景物在显示屏上大小与显示屏上单个像素的物理尺寸的比值就是景物在显示屏上占的像素数,而景物在相机上成像大小与相机成像面上单个像素的物理尺寸比值就是景物在相机成像面上占的像素数,即:The technical solution adopted by the embodiment of the present invention further includes: displaying the image on the display screen according to a certain mapping relationship, specifically: displaying the image to the human eye at a certain scaling ratio; and the method for solving the image scaling ratio includes: The ratio of the number of pixels that should be occupied in the display to the number of pixels occupied by the scene in the camera is the image scaling p=(p x , p y ), where p x is the scaling in the horizontal direction and p y is vertical The scaling in the direction; the ratio of the size of the scene on the display to the physical size of a single pixel on the display is the number of pixels the scene occupies on the display, and the size of the scene on the camera and the physics of a single pixel on the camera's imaging surface The size ratio is the number of pixels the scene occupies on the camera's imaging surface, namely:
在横向方向上图像缩放比例px为:The image scaling p x in the landscape direction is:
Figure PCTCN2016086347-appb-000010
Figure PCTCN2016086347-appb-000010
在纵向方向上图像缩放比例py为:The image scaling p y in the portrait direction is:
Figure PCTCN2016086347-appb-000011
Figure PCTCN2016086347-appb-000011
与现有技术相比,本发明的有益效果在于:本发明实施例的智能眼镜透视方法及系统通过相机对外界景物成像,生成的图像在处理后通过显示屏显示,并通过放大镜对显示屏上的图像进行放大,从而将 图像拉远到人眼能舒适观看的距离,使得人眼在佩戴智能眼镜时就如同裸眼一样准确感知外界景物的位姿、大小信息,提高佩戴者的舒适度和观看准确度。Compared with the prior art, the invention has the beneficial effects that the smart glasses perspective method and system of the embodiment of the invention image the external scene through the camera, and the generated image is displayed on the display screen after processing, and is displayed on the display screen through the magnifying glass. Image is magnified so that The image is far away to the distance that the human eye can comfortably watch, so that when the human eye wears the smart glasses, it accurately senses the pose and size information of the external scene as the naked eye, and improves the wearer's comfort and viewing accuracy.
附图说明DRAWINGS
图1为本发明实施例的智能眼镜透视方法的流程图;1 is a flow chart of a method for seeing a smart glasses according to an embodiment of the present invention;
图2为本发明实施例的智能眼镜参数标识图;2 is a parameter identification diagram of smart glasses according to an embodiment of the present invention;
图3是本发明实施例的智能眼镜透视视觉示意图;3 is a schematic perspective view of a smart glasses according to an embodiment of the present invention;
图4(a)、图4(b)、图4(c)是本发明实施例的相机视场计算方式示意图;4(a), 4(b), and 4(c) are schematic diagrams showing a method of calculating a field of view of a camera according to an embodiment of the present invention;
图5是本发明实施例的智能眼镜透视系统的结构示意图。FIG. 5 is a schematic structural view of a smart eyeglass perspective system according to an embodiment of the present invention.
具体实施方式detailed description
为了便于理解本发明,下面将参照相关附图对本发明进行更全面的描述。附图中给出了本发明的较佳实施例。但是,本发明可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本发明的公开内容的理解更加透彻全面。In order to facilitate the understanding of the present invention, the present invention will be described more fully hereinafter with reference to the accompanying drawings. Preferred embodiments of the invention are shown in the drawings. However, the invention may be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the understanding of the present disclosure will be more fully understood.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。All technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention.
请参阅图1,是本发明实施例的智能眼镜透视方法的流程图。本发明实施例的智能眼镜透视方法包括以下步骤:Please refer to FIG. 1 , which is a flowchart of a method for seeing a smart glasses according to an embodiment of the present invention. The smart glasses perspective method of the embodiment of the invention comprises the following steps:
步骤100:选定智能眼镜显示屏的大小与分辨率;Step 100: Select the size and resolution of the smart glasses display screen;
在步骤100中,本发明实施例的智能眼镜包括相机、显示屏及放 大镜,显示屏位于相机与放大镜之间,放大镜位于智能眼镜靠近人眼的一侧,相机用于对外界景物生成图像,生成的图像由运算处理单元处理后(比如畸变校校正、极线校校正)通过显示屏进行显示,放大镜用于放大显示屏上显示的图像,并将图像拉远到人眼能舒适观看的距离,也就是人眼明视距离(250mm左右),使得人眼在佩戴本发明实施例的智能眼镜时可以如同裸眼一样准确感知外界景物的位姿及大小等信息。In step 100, the smart glasses of the embodiments of the present invention include a camera, a display, and a display. The large mirror, the display is located between the camera and the magnifying glass, the magnifying glass is located on the side of the smart glasses close to the human eye, the camera is used to generate images of the external scene, and the generated image is processed by the arithmetic processing unit (such as distortion correction, polar line school) Correction) Displayed by the display screen, the magnifying glass is used to enlarge the image displayed on the display, and the image is pulled far to the distance that the human eye can comfortably watch, that is, the human eye's clear vision distance (about 250mm), so that the human eye is wearing The smart glasses of the embodiment of the invention can accurately sense the position and size of the external scene as the naked eyes.
步骤200:设定放大镜焦距;Step 200: setting a focal length of the magnifying glass;
步骤300:分别设定人眼光心到放大镜光心的距离、放大镜光心到显示屏的距离、以及放大镜光心到相机光心的距离;Step 300: respectively set the distance from the human eye to the optical center of the magnifying glass, the distance from the optical center of the magnifier to the display screen, and the distance from the optical center of the magnifying glass to the optical center of the camera;
步骤400:计算相机视场角,并计算相机分辨率;Step 400: Calculate a camera angle of view and calculate a camera resolution;
在步骤400中,选定相机视场角可以避免人眼的视场出现黑边等视场缺少情况,选定相机分辨率可以避免图像需要插值后放大给人眼看。In step 400, selecting the camera field angle can avoid the lack of field of view such as black borders in the field of view of the human eye, and selecting the camera resolution can prevent the image from being interpolated and then zoomed in to the human eye.
步骤500:装配智能眼镜,并使人眼光轴、放大镜光轴、相机光轴在同一直线上,显示屏法线方向与放大镜光轴平行,单个人眼对应的半屏显示区域中心与放大镜光心的连线与人眼光轴在同一条直线上;Step 500: assembling the smart glasses, and making the human eye axis, the magnifier optical axis, and the camera optical axis on the same straight line, the normal direction of the display screen is parallel to the optical axis of the magnifying glass, and the center of the half-screen display area corresponding to a single human eye and the magnifying glass light center The line is on the same line as the human eye axis;
在步骤500中,具体如图2和图3所示,图2是本发明实施例的智能眼镜参数标识图,图3是本发明实施例的智能眼镜透视视觉示意图。在图2中,a为人眼光心到放大镜光心的距离dem,b为放大镜光心到显示屏的距离dmd,c为放大镜光心到相机光心的距离dmc。在图3中,实线横轴代表了人眼、放大镜、相机的光轴以及显示屏的法线,其中人眼在横轴的e点,放大镜在m点,显示屏在d点,f1到m的距离是放大镜的焦距,相机在c点,f2到c的距离为相机的焦距,v 点为显示屏上显示的图像在放大镜中对应虚像的位置,o点为外界给定一景物的位置。景物在人眼中的成像与裸眼时景物在人眼内的成像会相同,从而做到透视。In the step 500, as shown in FIG. 2 and FIG. 3, FIG. 2 is a smart glasses parameter identification diagram according to an embodiment of the present invention, and FIG. 3 is a schematic perspective view of the smart glasses according to an embodiment of the present invention. In Fig. 2, a is the distance d em of the human eye to the optical center of the magnifying glass, b is the distance d md from the optical center of the magnifying glass to the display screen, and c is the distance d mc from the optical center of the magnifying glass to the optical center of the camera. In Fig. 3, the horizontal axis of the solid line represents the human eye, the magnifying glass, the optical axis of the camera, and the normal of the display screen, wherein the human eye is at the point e of the horizontal axis, the magnifying glass is at the m point, and the display is at the d point, f1 is The distance of m is the focal length of the magnifying glass. The camera is at point c, the distance from f2 to c is the focal length of the camera, the v point is the position of the image displayed on the display in the magnifying glass corresponding to the virtual image, and the o point is the position given by the outside world. . The imaging of the scene in the human eye and the imaging of the naked eye in the human eye will be the same, thus achieving perspective.
在已经满足了智能眼镜的装配要求的前提下,进一步假设已经根据人眼视觉特性等因素选定了显示屏、放大镜以及确定了放大镜光心与显示屏的距离dmd、放大镜光心与相机光心的距离dmc、人眼光心到放大镜光心的距离dem,从而已知如下智能眼镜参数:放大镜光心与相机光心的距离dmc、放大镜光心与显示屏的距离dmd、人眼光心与放大镜光心的距离dem、放大镜焦距fm、单个相机对应的显示屏半屏显示区域宽度为qx、高度为qy、单眼对应显示屏半屏显示区域横向最大像素数为Nx、纵向最大像素数为Ny,从而根据以上参数计算计算相机视场角及分辨率;Under the premise that the assembly requirements of the smart glasses have been met, it is further assumed that the display screen, the magnifying glass, and the distance d md of the magnifying glass center and the display screen, the magnifying glass center and the camera light have been selected according to factors such as human visual characteristics. heart of the distance d mc, heart to the human eye from the optical center of the magnifier d em, such as the glasses known parameters: the distance magnifying optical center of the camera optical center d mc, magnifying optical center of the display screen the distance d md, human The distance between the eye of the eye and the center of the magnifier d em , the focal length of the magnifier f m , the half-screen display area of the display corresponding to a single camera is q x , the height is q y , and the half-screen display area of the single-eye display is the maximum horizontal number of pixels. x , the maximum number of pixels in the vertical direction is N y , so that the camera angle of view and resolution are calculated according to the above parameters;
其中,计算相机视场角的方式为:Among them, the way to calculate the camera's field of view is:
已知:人眼光心到放大镜光心的距离dem、放大镜光心到相机光心的距离dmc、放大镜光心到显示屏的距离dmd、放大镜焦距fm、单个相机对应的显示屏半屏显示区域宽度qx及高度qyKnown: heart to the human eye from the optical center of the magnifier d em, the distance d mc magnifying the optical center of the camera optical center, a distance d md magnifying the optical center of the display, magnifying the focal length f m, corresponding to a single camera display half The screen display area width q x and height q y ;
求:在透视前提下,相机需要的最小视场角α=(αxy),其中αx为水平视场角,αy为垂直视场角;Find: Under the premise of perspective, the minimum field of view angle α=(α xy ) required by the camera, where α x is the horizontal field of view angle and α y is the vertical field of view angle;
解:当外界景物在显示屏上的图像刚好充满显示屏时,景物对应相机的视场角就为相机需要的最小视场角。由此,已知景物在显示屏上成像大小为显示屏半屏图像显示区域大小,求景物在相机对应的视场角,所得视场角的值就是待求解的值。为了方便说明,令deo为人眼光心到景物的距离,dco为相机光心到景物的距离,fc为相机焦距, 相机单个像素横向物理尺寸为dX、纵向尺寸为dY,dev为人眼到虚像的距离,dmv为放大镜光心到景物虚像的距离,dvo为景物虚像到景物的距离,显示屏中景物大小为sd,则对应虚像大小为sv,景物大小为so,景物在相机中成像大小为sc,显示屏上单个像素横向物理尺寸为dx、纵向尺寸为dy。其中:
Figure PCTCN2016086347-appb-000012
dco=deo-dem-dmc
Figure PCTCN2016086347-appb-000013
Figure PCTCN2016086347-appb-000014
dvo=deo-dem-dmv,dev=dem+dmv
Solution: When the image of the external scene on the display just fills the display, the field of view of the scene corresponding to the camera is the minimum angle of view required by the camera. Therefore, it is known that the image size on the display screen is the size of the half-screen image display area of the display screen, and the angle of view of the scene object at the camera is the value of the field of view to be solved. For convenience of explanation, let d eo be the distance from the human eye to the scene, d co is the distance from the camera's optical center to the scene, f c is the camera focal length, the camera's single pixel horizontal physical size is dX, the vertical size is dY, and d ev is the human eye. The distance to the virtual image, d mv is the distance from the magnifying glass to the virtual image of the scene, d vo is the distance from the virtual image to the scene, and the size of the scene in the display is s d , the corresponding virtual image size is s v , and the size of the scene is s o . The image size of the scene in the camera is s c , and the horizontal physical size of a single pixel on the display screen is dx and the vertical size is dy. among them:
Figure PCTCN2016086347-appb-000012
d co =d eo -d em -d mc ,
Figure PCTCN2016086347-appb-000013
Figure PCTCN2016086347-appb-000014
d vo =d eo -d em -d mv ,d ev =d em +d mv .
当相机视场角过小时,在满足透视的前提下,就可能出现相机得到的图像无法覆盖满显示屏(在一定意义上说就是要覆盖满人眼的视场),导致佩戴智能眼镜透视方法及系统时人眼的视场出现黑边等视场缺失情况。在满足透视的前提下,为了确保相机得到的图像能覆盖满显示屏,则相机视场角需要不能小于某特定值,具体如图4(a)、图4(b)、图4(c)所示,为相机视场计算方式示意图。其中,实线横轴代表了人眼、放大镜、相机共同的光轴以及显示屏的法线。在图4(a)的横轴上,a为人眼,b为放大镜,c为显示屏,d为显示屏显示的图像在放大镜中的虚像,c处竖线的长度代表显示屏半屏图像显示区域的大小,则在透视前提下,人眼通过观看显示屏上图像获得的在d距离外的视场为V。在图4(b)的横轴上,相较于图4(a)多了一个相机,当相机视场角为θ时,相机的视场为W。要尽量避免人眼视场出现黑边等视场缺失情况,就需要让相机视场尽可能多的包含人眼通过观看显示屏的图像获得的视场。在图4(c)中,相机视场角θ足够大到满足
Figure PCTCN2016086347-appb-000015
所以当景物在d距离外,在透视前提下,能确保 不出现人眼看到黑边等视场缺失情况。
When the camera's field of view is too small, under the premise of satisfying the perspective, it may happen that the image obtained by the camera cannot cover the full display (in a certain sense, it is to cover the field of view of the full eye), resulting in wearing the smart glasses perspective method. In the system, the field of view of the human eye has a black field and other fields of view missing. Under the premise of satisfying the perspective, in order to ensure that the image obtained by the camera can cover the full display, the camera field of view needs to be smaller than a certain value, as shown in Figure 4(a), Figure 4(b), Figure 4(c). Shown as a schematic diagram of the camera field of view. Among them, the solid horizontal axis represents the common optical axis of the human eye, the magnifying glass, and the camera, and the normal of the display screen. On the horizontal axis of Fig. 4(a), a is the human eye, b is the magnifying glass, c is the display screen, d is the virtual image of the image displayed on the display screen in the magnifying glass, and the length of the vertical line at c represents the half-screen image display of the display screen. The size of the area is, under the premise of perspective, the field of view of the human eye obtained by viewing the image on the display screen outside the d distance is V. On the horizontal axis of Fig. 4(b), one more camera than Fig. 4(a), when the camera angle of view is θ, the field of view of the camera is W. Try to avoid the lack of field of view such as black borders in the human eye field. It is necessary to have as much as possible the field of view of the camera to include the field of view obtained by the human eye by viewing the image of the display screen. In Figure 4(c), the camera field angle θ is large enough to satisfy
Figure PCTCN2016086347-appb-000015
Therefore, when the scene is at a distance of d, under the premise of perspective, it can ensure that there is no missing field of view such as black circles.
在图3中,景物相对于相机的视场角为
Figure PCTCN2016086347-appb-000016
给定sd求α的计算步骤如下:
In Figure 3, the field of view of the scene relative to the camera is
Figure PCTCN2016086347-appb-000016
The procedure for calculating α for a given s d is as follows:
1)由sd求得虚像大小
Figure PCTCN2016086347-appb-000017
1) Find the virtual image size from s d
Figure PCTCN2016086347-appb-000017
2)由sv求得景物大小so:2) Find the scene size s o from s v :
Figure PCTCN2016086347-appb-000018
Figure PCTCN2016086347-appb-000018
3)由so求景物相对于相机的视场角:3) Find the field of view of the scene relative to the camera by s o :
Figure PCTCN2016086347-appb-000019
Figure PCTCN2016086347-appb-000019
所以把单个相机对应显示屏显示区域大小代入公式(2)就可以求得相机需要的最小视场角。Therefore, by substituting the size of the display area corresponding to the display screen of a single camera into the formula (2), the minimum angle of view required by the camera can be obtained.
相机水平视场角为:The camera's horizontal field of view is:
Figure PCTCN2016086347-appb-000020
Figure PCTCN2016086347-appb-000020
相机垂直视场角为:The vertical field of view of the camera is:
Figure PCTCN2016086347-appb-000021
Figure PCTCN2016086347-appb-000021
其中
Figure PCTCN2016086347-appb-000022
deo越小需要的视场角越大,本发明建议限定deo最小值为人眼明视距离250mm,把此deo的最小值代入公式(3)和公式(4)就可以得到相机视场角需要不能小于的那个特定值。
among them
Figure PCTCN2016086347-appb-000022
The smaller the angle of view required for the smaller d eo, the smaller the d eo minimum is defined as the human eye clear vision distance of 250 mm, and the minimum value of this d eo is substituted into the formula (3) and the formula (4) to obtain the camera field of view. The corner needs that specific value that cannot be less than.
根据人眼的视觉分辨能力等因素选定显示屏的分辨率后,当相机的分辨率过低时,就会导致相机分辨率匹配不上显示屏的分辨率,需 要把相机采集的图像插值后显示给人眼看,也就是放大图像。在透视的前提下,为了匹配上显示屏的分辨率(在一定意义上说就是要匹配上人眼的分辨率),不把图像插值后显示给人眼看,则相机分辨率同样不能小于某特定值。本发明实施例计算相机分辨率的方式为:According to the visual resolution of the human eye and other factors, the resolution of the display screen is selected. When the resolution of the camera is too low, the camera resolution will not match the resolution of the display. The image captured by the camera is interpolated and displayed to the human eye, that is, the image is enlarged. Under the premise of perspective, in order to match the resolution of the upper display (in a certain sense, it is to match the resolution of the human eye), the camera resolution can not be less than a certain specificity without interpolating the image and displaying it to the human eye. value. The method for calculating the resolution of the camera in the embodiment of the present invention is:
已知:人眼光心到放大镜光心的距离dem、放大镜光心到相机光心的距离dmc、放大镜光心到显示屏的距离dmd、放大镜焦距fm、单个相机对应的显示屏半屏显示区域宽度qx及高度qy、显示屏半屏横向最大像素数Nx、纵向最大像素数NyKnown: heart to the human eye from the optical center of the magnifier d em, the distance d mc magnifying the optical center of the camera optical center, a distance d md magnifying the optical center of the display, magnifying the focal length f m, corresponding to a single camera display half Screen display area width q x and height q y , display screen half screen horizontal maximum number of pixels N x , vertical maximum number of pixels N y ;
求:在透视前提下,若图像在显示屏显示时图像不能插值放大,则需要相机最小分辨率;相机在横轴上分辨率用
Figure PCTCN2016086347-appb-000023
表示、纵轴上分辨率用
Figure PCTCN2016086347-appb-000024
表示;
Seeking: Under the premise of perspective, if the image cannot be interpolated and magnified when the image is displayed on the display, the minimum resolution of the camera is required; the resolution of the camera on the horizontal axis is used.
Figure PCTCN2016086347-appb-000023
Representation, resolution on the vertical axis
Figure PCTCN2016086347-appb-000024
Express
解:相机最小分辨率要求的是相机采集图像与显示屏上图像1:1显示,景物在相机采集图像中像素数与显示屏上占有的像素数相同。由此,先给定景物在显示屏上成像大小,由此可以得到对应的像素数Ld,然后求对应景物大小so,然后由景物大小与景物在相机成像中像素数Lc(Lc=Ld)求得相机最小分辨率。计算步骤如下:Solution: The minimum resolution of the camera requires that the camera captures the image and the image on the display is 1:1. The number of pixels in the image captured by the camera is the same as the number of pixels occupied on the display. Therefore, first, the given scene is imaged on the display screen, thereby obtaining the corresponding number of pixels L d , and then obtaining the corresponding scene size s o , and then the number of pixels L c (L c ) by the scene size and the scene in the camera imaging. =L d ) Find the minimum resolution of the camera. The calculation steps are as follows:
1)给定sd求像素数Ld,先不区分水平方向与垂直方向,令显示1) Given the number of pixels L d given s d , first distinguish the horizontal direction from the vertical direction, so that the display
屏上单个像素的物理尺寸为d'XY,则:The physical size of a single pixel on the screen is d' XY , then:
Figure PCTCN2016086347-appb-000025
Figure PCTCN2016086347-appb-000025
由此也可知景物在相机中像素数也同样为LdIt can also be seen that the number of pixels in the camera is also L d .
2)求景物的实际大小so2) The actual size of the scene is s o ;
由公式(1)知
Figure PCTCN2016086347-appb-000026
Known by formula (1)
Figure PCTCN2016086347-appb-000026
3)由景物大小so和在相机中占用像素数Ld求相机分辨率得:3) From the size of the scene s o and the number of pixels occupied in the camera L d to obtain the camera resolution:
Figure PCTCN2016086347-appb-000027
Figure PCTCN2016086347-appb-000027
Figure PCTCN2016086347-appb-000028
Figure PCTCN2016086347-appb-000028
其中,
Figure PCTCN2016086347-appb-000029
人眼光心与放大镜光心的距离dem值可以在使用者佩戴时测量得到,deo越小需要的分辨率越大,本发明建议限定deo最小值为人眼明视距离250mm,把此deo的最小值代入公式(5)和公式(6)就可以得到相机分辨率需要不能小于的那个特定值。
among them,
Figure PCTCN2016086347-appb-000029
The distance d em of the human eye and the magnifying glass can be measured when the user wears it. The smaller the d eo is, the larger the resolution is required. The present invention proposes to define the minimum value of d eo as the human eye clear distance 250 mm, and this d The minimum value of eo is substituted into equations (5) and (6) to obtain the specific value that the camera resolution needs to be less than.
步骤600:上电运行智能眼镜,通过智能眼镜的相机对外界景物生成图像,并对生成图像进行畸变校校正、极线校校正后,使图像按一定的映射关系显示在显示屏上;Step 600: Power on the smart glasses, generate images by the camera of the smart glasses, perform distortion correction correction on the generated images, and correct the polar lines, so that the images are displayed on the display screen according to a certain mapping relationship;
在步骤600中,相机采集的图像到显示屏上显示的图像的映射关系选定方法包括:将相机采集的图像映射到显示屏上需要解决以下问题:In step 600, the mapping relationship between the image captured by the camera and the image displayed on the display screen includes: mapping the image captured by the camera to the display screen needs to solve the following problems:
1、相机镜头存在一定的径向畸变和切向畸变,生成的图像需要消除畸变,图像畸变消除可以通过相机标定得到包括畸变系数在内的相机内参,然后相机内参求得去畸变的图像;此图像畸变消除方法为现有技术,本发明将不再赘述。1. The camera lens has certain radial distortion and tangential distortion. The generated image needs to be distorted. The image distortion can be obtained by camera calibration, and the camera internal parameters including the distortion coefficient are obtained, and then the image is dedistorted in the camera; The image distortion elimination method is prior art, and the present invention will not be described again.
2、智能眼镜上的两个相机往往没有做到精准对齐,两个相机得到的图像之间存在垂直视差,如果存在视差的图像被显示出来给人眼看时,会给人的双目立体视觉带来困难,所以需要通过极线校正消除垂直视差;此消除垂直视差方法为现有技术,本发明将不再赘述。 2. The two cameras on the smart glasses are often not precisely aligned. There is vertical parallax between the images obtained by the two cameras. If there is a parallax image that is displayed to the human eye, it will give a binocular stereo vision band. It is difficult, so it is necessary to eliminate vertical parallax by polar line correction; this method of eliminating vertical parallax is a prior art, and the present invention will not be described again.
3、选定好相机视场角和分辨率后,常无法刚好做到相机采集的图像1:1映射到显示屏上就能满足透视要求,而需要缩小图像显示给人眼看才能做到透视。即,当相机采集到图像后,采集到的图像与显示屏上图像需要满足什么映射关系才能做到透视,也就是图像以什么缩放比例显示给人眼看。此缩放比例值的求解方法如下:3. After selecting the camera's field of view and resolution, it is often impossible to map the image captured by the camera to the display screen to meet the perspective requirements, but to reduce the image display to the eye. That is, when the camera captures an image, the mapping relationship between the captured image and the image on the display screen is required to achieve perspective, that is, what scale the image is displayed to the human eye. The solution to this scaling value is as follows:
已知:dem、deo、dmc、dmd、fm、qx、qy、Nx、Ny
Figure PCTCN2016086347-appb-000030
Known: d em , de eo , d mc , d md , f m , q x , q y , N x , N y ,
Figure PCTCN2016086347-appb-000030
求:在透视前提下,相机采集图像在显示屏显示时图像的缩放比例。Seeking: Under the premise of perspective, the camera captures the scaling of the image when the image is displayed on the display.
解:solution:
在满足透视前提下,景物在显示屏中应该要占有的像素数与景物在相机中占有的像素数的比值就为图像缩放比例p=(px,py),其中px为水平方向上的缩放比例,py为垂直方向上的缩放比例。求解过程如下:Under the premise of satisfying the perspective, the ratio of the number of pixels that the scene should occupy in the display to the number of pixels occupied by the scene in the camera is the image scaling ratio p=(p x , p y ), where p x is horizontal scaling, p y is the scaling in the vertical direction. The solution process is as follows:
1)给定景物大小so求景物在显示屏大小1) Given the size of the scene s o Find the size of the scene on the display
如图1所示人眼看到的景物在放大镜中的虚像大小应该满足:As shown in Figure 1, the virtual image size of the scene seen by the human eye in the magnifying glass should satisfy:
Figure PCTCN2016086347-appb-000031
Figure PCTCN2016086347-appb-000031
从而thereby
Figure PCTCN2016086347-appb-000032
Figure PCTCN2016086347-appb-000032
由此可进一步求得显示屏上景物大小为:Therefore, the size of the scene on the display screen can be further determined as follows:
Figure PCTCN2016086347-appb-000033
Figure PCTCN2016086347-appb-000033
2)计算景物在相机上成像大小为: 2) Calculate the image size of the scene on the camera:
Figure PCTCN2016086347-appb-000034
Figure PCTCN2016086347-appb-000034
3)计算图像缩放比例p3) Calculate the image scaling p
景物在显示屏上大小与显示屏上单个像素的物理尺寸的比值就是景物在显示屏上占的像素数,而景物在相机上成像大小与相机成像面上单个像素的物理尺寸比值就是景物在相机成像面上占的像素数。所以:在横向方向上图像缩放比例
Figure PCTCN2016086347-appb-000035
The ratio of the size of the scene on the display to the physical size of a single pixel on the display is the number of pixels occupied by the scene on the display, and the ratio of the size of the scene on the camera to the physical size of a single pixel on the camera's imaging surface is the scene in the camera. The number of pixels occupied on the imaging surface. So: image scaling in the landscape direction
Figure PCTCN2016086347-appb-000035
把公式(8)、(9)代入得:Substituting formulas (8) and (9):
Figure PCTCN2016086347-appb-000036
Figure PCTCN2016086347-appb-000036
同理求得在纵向方向上图像缩放比例pySimilarly, the image scaling p y is obtained in the longitudinal direction:
Figure PCTCN2016086347-appb-000037
Figure PCTCN2016086347-appb-000037
其中
Figure PCTCN2016086347-appb-000038
among them
Figure PCTCN2016086347-appb-000038
步骤700:佩戴智能眼镜,通过智能眼镜放大镜对显示屏上显示的图像进行放大,将图像拉远到人眼能舒适观看的距离进行显示,实现智能眼镜的透视。Step 700: Wearing smart glasses, magnifying the image displayed on the display screen through the smart glasses magnifying glass, and extending the image to a distance that the human eye can comfortably watch, thereby realizing the perspective of the smart glasses.
请参阅图5,是本发明实施例的智能眼镜透视系统的结构示意图。本发明实施例的智能眼镜透视系统包括相机1、运算处理单元2、显示屏3及放大镜4;其中,相机1包括两个,所述两个相机1分别与人眼5的位置相对应;运算处理单元2分别与相机1及显示屏3信号连接,显示屏3位于相机1与放大镜4之间,放大镜4位于智能眼镜靠近人眼5的一侧。相机1用于对外界景物生成图像,运算处理单元 2用于对相机1生成的图像进行畸变校正、极线校正等处理,并使处理后的图像按一定的映射关系显示在显示屏3上,放大镜4用于对显示屏3上显示的图像进行放大,从而将图像拉远到人眼5能舒适观看的距离,也就是人眼明视距离,使得人眼在佩戴本发明实施例的智能眼镜时可以如同裸眼一样准确感知外界景物的位姿及大小等信息。Please refer to FIG. 5 , which is a schematic structural diagram of a smart glasses perspective system according to an embodiment of the present invention. The smart glasses fluoroscopy system of the embodiment of the present invention comprises a camera 1, an arithmetic processing unit 2, a display screen 3 and a magnifying glass 4; wherein the camera 1 comprises two, the two cameras 1 respectively corresponding to the position of the human eye 5; The processing unit 2 is separately connected to the camera 1 and the display screen 3, and the display screen 3 is located between the camera 1 and the magnifying glass 4, and the magnifying glass 4 is located on the side of the smart glasses close to the human eye 5. Camera 1 is used to generate an image of an external scene, and an arithmetic processing unit 2 is used for performing distortion correction, polar line correction and the like on the image generated by the camera 1, and displaying the processed image on the display screen 3 in a certain mapping relationship, and the magnifying glass 4 is used for performing the image displayed on the display screen 3. Zooming in, thereby extending the image to a distance that the human eye 5 can comfortably view, that is, the human eye's clear vision distance, so that the human eye can accurately sense the posture of the external scene as the naked eye when wearing the smart glasses of the embodiment of the present invention. Information such as size.
具体地,本发明实施例的智能眼镜透视系统的装配方式包括:选定智能眼镜显示屏3的大小与分辨率;设定放大镜4焦距;分别设定人眼5光心到放大镜4光心的距离、放大镜4光心到显示屏3的距离、以及放大镜4光心到相机1光心的距离;计算相机1视场角及分辨率后,装配智能眼镜,并使人眼光轴、放大镜4光轴、相机1光轴在同一直线上,显示屏3法线方向与放大镜4光轴平行,单个人眼5对应的半屏显示区域中心与放大镜4光心的连线与人眼5光轴在同一条直线上;上电运行智能眼镜,通过智能眼镜的相机1对外界景物生成图像,并通过运算处理单元2对生成图像进行畸变校正、极线校正后,使图像按一定的映射关系显示在显示屏3上;佩戴智能眼镜,通过智能眼镜放大镜4对显示屏3上显示的图像进行放大,将图像拉远到人眼能舒适观看的距离进行显示,实现智能眼镜的透视。其中,选定相机1的视场角可以避免人眼5的视场出现黑边等视场缺少情况,选定相机1的分辨率可以避免图像需要插值后放大给人眼5看。Specifically, the assembling manner of the smart glasses perspective system of the embodiment of the present invention includes: selecting the size and resolution of the smart glasses display screen 3; setting the focal length of the magnifying glass 4; respectively setting the optical center of the human eye 5 to the optical center of the magnifying glass 4 Distance, the distance from the magnifying glass 4 light to the display 3, and the distance from the magnifying glass 4 to the optical center of the camera 1; after calculating the field of view and resolution of the camera 1, the smart glasses are assembled, and the human eye axis and the magnifying glass are lighted. The optical axis of the axis and the camera 1 are on the same straight line, and the normal direction of the display screen 3 is parallel to the optical axis of the magnifying glass 4, and the center of the half-screen display area corresponding to the single human eye 5 is connected with the optical center of the magnifying glass 4 and the optical axis of the human eye 5 On the same straight line; the smart glasses are powered on, and the camera 1 of the smart glasses generates an image for the external scene, and the distortion correction and the polar line correction are performed on the generated image by the arithmetic processing unit 2, so that the image is displayed in a certain mapping relationship. On the display screen 3; wearing smart glasses, the image displayed on the display screen 3 is enlarged by the smart glasses magnifier 4, and the image is pulled far to the distance that the human eye can comfortably display, and the smart is realized. A perspective view mirror. Wherein, the field of view angle of the selected camera 1 can avoid the lack of field of view such as black border in the field of view of the human eye 5, and the resolution of the selected camera 1 can prevent the image from being interpolated and then enlarged to the human eye 5 for viewing.
在本发明实施例中,具体如图2和图3所示,图2是本发明实施例的智能眼镜参数标识图,图3是本发明实施例的智能眼镜透视视觉示意图。在图2中,a为人眼5光心到放大镜4光心的距离dem,b为放大镜4光心到显示屏3的距离dmd,c为放大镜4光心到相机1光心的距离dmc。在图3中,实线横轴代表了人眼5、放大镜4、相机1的光轴以及显示屏3的法线,其中人眼5在横轴的e点,放大镜4在 m点,显示屏3在d点,f1到m的距离是放大镜4的焦距,相机1在c点,f2到c的距离为相机1的焦距,v点为显示屏3上显示的图像在放大镜4中对应虚像的位置,o点为外界给定一景物的位置。景物在人眼5中的成像与裸眼时景物在人眼5内的成像会相同,从而做到透视。In the embodiment of the present invention, as shown in FIG. 2 and FIG. 3, FIG. 2 is a smart glasses parameter identification diagram according to an embodiment of the present invention, and FIG. 3 is a schematic perspective view of the smart glasses according to an embodiment of the present invention. In Fig. 2, a is the distance d em of the human eye 5 light center to the optical center of the magnifying glass 4, b is the distance d md of the magnifying glass 4 to the display screen 3, and c is the distance d from the optical center of the magnifying glass 4 to the optical center of the camera 1. Mc . In FIG. 3, the horizontal axis of the solid line represents the human eye 5, the magnifier 4, the optical axis of the camera 1, and the normal of the display screen 3, wherein the human eye 5 is at the e point of the horizontal axis, the magnifying glass 4 is at the m point, and the display screen 3 At point d, the distance from f1 to m is the focal length of magnifier 4, camera 1 is at point c, the distance from f2 to c is the focal length of camera 1, and point v is the image displayed on display screen 3 corresponding to the virtual image in magnifier 4. Position, point o is the location of the scene given by the outside world. The imaging of the scene in the human eye 5 and the imaging of the naked eye scene in the human eye 5 will be the same, thereby achieving fluoroscopy.
在已经满足了智能眼镜的装配要求的前提下,进一步假设已经根据人眼5视觉特性等因素选定了显示屏3、放大镜4以及确定了放大镜4光心与显示屏3的距离dmd、放大镜4光心与相机1光心的距离dmc、人眼5光心到放大镜4光心的距离dem,从而已知如下智能眼镜参数:放大镜4光心与相机1光心的距离dmc、放大镜4光心与显示屏3的距离dmd、人眼5光心与放大镜4光心的距离dem、放大镜4焦距fm、单个相机1对应的显示屏3半屏显示区域宽度为qx、高度为qy、显示屏3半屏横向最大像素数为Nx、纵向最大像素数为Ny,从而根据以上参数计算计算相机1视场角及分辨率;Under the premise that the assembly requirements of the smart glasses have been met, it is further assumed that the display screen 3, the magnifying glass 4, the distance d md of the optical center of the magnifying glass 4 and the display screen 3, and the magnifying glass have been selected according to factors such as the visual characteristics of the human eye 5. 4 The distance between the optical center and the optical center of the camera 1 d mc , the distance from the human eye 5 to the optical center of the magnifying glass 4 d em , so that the following smart glasses parameters are known: the distance d mc of the optical center of the magnifying glass 4 and the optical center of the camera 1 The distance d md of the magnifying glass 4 and the display screen 3, the distance d em of the human eye 5 light center and the optical center of the magnifying glass 4, the focal length f m of the magnifying glass 4, the half screen display area width of the display screen 3 corresponding to the single camera 1 is q x The height is q y , the maximum number of pixels in the horizontal half of the screen 3 is N x , and the maximum number of pixels in the vertical direction is N y , so that the field of view and resolution of the camera 1 are calculated according to the above parameters;
其中,计算相机1视场角的方式为:Wherein, the way of calculating the angle of view of the camera 1 is:
已知:人眼5光心到放大镜4光心的距离dem、放大镜4光心到相机1光心的距离dmc、放大镜4光心到显示屏3的距离dmd、放大镜4焦距fm、单个相机1对应的显示屏3半屏显示区域宽度qx及高度qyKnown: the distance from the human eye 5 to the magnifying glass 4 light center d em , the distance from the magnifying glass 4 to the optical center of the camera 1 d mc , the distance from the magnifying glass 4 to the display 3 d md , the magnifying glass 4 focal length f m The display screen 3 corresponding to the single camera 1 displays the area width q x and the height q y in half screen;
求:在透视前提下,相机1需要的最小视场角α=(αxy),其中αx为水平视场角,αy为垂直视场角;Find: Under the premise of perspective, the minimum angle of view α required by camera 1 is α=(α x , α y ), where α x is the horizontal field of view angle and α y is the vertical field of view angle;
解:当外界景物在显示屏3上的图像刚好充满显示屏3时,景物对应相机1的视场角就为相机1需要的最小视场角。由此,已知景物在显示屏3上成像大小为显示屏3半屏图像显示区域大小,求景物在 相机1对应的视场角,所得视场角的值就是待求解的值。为了方便说明,令deo为人眼5光心到景物的距离,dco为相机1光心到景物的距离,fc为相机1焦距,相机1单个像素横向物理尺寸为dX、纵向尺寸为dY,dev为人眼5到虚像的距离,dmv为放大镜4光心到景物虚像的距离,dvo为景物虚像到景物的距离,显示屏3中景物大小为sd,则对应虚像大小为sv,景物大小为so,景物在相机1中成像大小为sc,显示屏3上单个像素横向物理尺寸为dx、纵向尺寸为dy。其中:dco=deo-dem-dmc
Figure PCTCN2016086347-appb-000039
dvo=deo-dem-dmv,dev=dem+dmv
Solution: When the image of the external scene on the display screen 3 just fills the display screen 3, the field of view of the scene corresponding to the camera 1 is the minimum angle of view required by the camera 1. Therefore, it is known that the image size on the display screen 3 is the size of the half screen image display area of the display screen 3, and the object is at the angle of view corresponding to the camera 1, and the value of the obtained angle of view is the value to be solved. For convenience of explanation, let d eo be the distance from the human eye 5 to the scene, d co is the distance from the center of the camera 1 to the scene, f c is the focal length of the camera 1 , and the horizontal physical size of the camera 1 is dX and the vertical dimension is dY , d ev is the distance from the human eye 5 to the virtual image, d mv is the distance from the optical center of the magnifying glass 4 to the virtual image of the scene, d vo is the distance from the virtual image of the scene to the scene, and the size of the scene in the display 3 is s d , the corresponding virtual image size is s v , the size of the scene is s o , the size of the scene in the camera 1 is s c , the horizontal physical size of the single pixel on the display 3 is dx, and the vertical size is dy. Where: d co =d eo -d em -d mc ,
Figure PCTCN2016086347-appb-000039
d vo =d eo -d em -d mv ,d ev =d em +d mv .
当相机1视场角过小时,在满足透视的前提下,就可能出现相机1得到的图像无法覆盖满显示屏3(在一定意义上说就是要覆盖满人眼5的视场),导致佩戴智能眼镜透视方法及系统时人眼5的视场出现黑边等视场缺失情况。在满足透视的前提下,为了确保相机1得到的图像能覆盖满显示屏3,则相机1视场角需要不能小于某特定值,具体如图4(a)、图4(b)、图4(c)所示,为相机1视场计算方式示意图。其中,实线横轴代表了人眼5、放大镜4、相机1共同的光轴以及显示屏3的法线。在图4(a)的横轴上,a为人眼5,b为放大镜4,c为显示屏3,d为显示屏3显示的图像在放大镜4中的虚像,c处竖线的长度代表显示屏3半屏图像显示区域的大小,则在透视前提下,人眼5通过观看显示屏3上图像获得的在d距离外的视场为V。在图4(b)的横轴上,相较于图4(a)多了一个相机1,当相机1视 场角为θ时,相机1的视场为W。要尽量避免人眼5视场出现黑边等视场缺失情况,就需要让相机1视场尽可能多的包含人眼5通过观看显示屏3的图像获得的视场。在图4(c)中,相机1视场角θ足够大到满足
Figure PCTCN2016086347-appb-000040
所以当景物在d距离外,在透视前提下,能确保不出现人眼5看到黑边等视场缺失情况。
When the field of view of the camera 1 is too small, under the premise of satisfying the perspective, it may happen that the image obtained by the camera 1 cannot cover the full display 3 (in a certain sense, it is to cover the field of view of the full eye 5), resulting in wearing In the perspective method and system of the smart glasses, the field of view of the human eye 5 appears with a missing field of view such as black edges. Under the premise of satisfying the perspective, in order to ensure that the image obtained by the camera 1 can cover the full display 3, the field of view of the camera 1 needs to be smaller than a certain value, as shown in Fig. 4(a), Fig. 4(b), Fig. 4 (c) is a schematic diagram of the calculation method of the camera 1 field of view. The solid horizontal axis represents the common optical axis of the human eye 5, the magnifying lens 4, and the camera 1, and the normal of the display screen 3. On the horizontal axis of Fig. 4(a), a is the human eye 5, b is the magnifying glass 4, c is the display screen 3, d is the virtual image of the image displayed on the display screen 3 in the magnifying glass 4, and the length of the vertical line at c represents the display The size of the half-screen image display area of the screen 3 is, under the premise of the perspective, the field of view of the human eye 5 obtained by viewing the image on the display screen 3 outside the d distance is V. On the horizontal axis of Fig. 4(b), one more camera 1 is compared to Fig. 4(a), and when the field of view of the camera 1 is θ, the field of view of the camera 1 is W. To avoid the loss of the field of view such as the black side of the human eye 5 field of view, it is necessary to include as much as possible the field of view of the camera 1 by viewing the image of the display screen 3 by the human eye 5. In Fig. 4(c), the camera 1 angle of view θ is large enough to satisfy
Figure PCTCN2016086347-appb-000040
Therefore, when the scene is at a distance d, under the premise of perspective, it can be ensured that the human eye 5 does not see the black field and other fields of view missing.
在图3中,景物相对于相机1的视场角为
Figure PCTCN2016086347-appb-000041
给定sd求α的计算步骤如下:
In FIG. 3, the field of view of the scene relative to the camera 1 is
Figure PCTCN2016086347-appb-000041
The procedure for calculating α for a given s d is as follows:
1)由sd求得虚像大小
Figure PCTCN2016086347-appb-000042
1) Find the virtual image size from s d
Figure PCTCN2016086347-appb-000042
2)由sv求得景物大小so:2) Find the scene size s o from s v :
Figure PCTCN2016086347-appb-000043
Figure PCTCN2016086347-appb-000043
3)由so求景物相对于相机1的视场角:3) Find the field of view of the scene relative to the camera 1 by s o :
Figure PCTCN2016086347-appb-000044
Figure PCTCN2016086347-appb-000044
所以把单个相机1对应显示屏3显示区域大小代入公式(2)就可以求得相机1需要的最小视场角。Therefore, the minimum angle of view required by the camera 1 can be obtained by substituting the display size of the display unit 3 corresponding to the display area of the single camera 1 into the formula (2).
相机1水平视场角为:The horizontal field of view of camera 1 is:
Figure PCTCN2016086347-appb-000045
Figure PCTCN2016086347-appb-000045
相机1垂直视场角为:The vertical field of view of camera 1 is:
Figure PCTCN2016086347-appb-000046
Figure PCTCN2016086347-appb-000046
其中
Figure PCTCN2016086347-appb-000047
deo越小需要的视场角越大,本发明建议限定 deo最小值为人眼明视距离250mm,把此deo的最小值代入公式(3)和公式(4)就可以得到相机1视场角需要不能小于的那个特定值。
among them
Figure PCTCN2016086347-appb-000047
The smaller the field of view required for the smaller d eo, the smaller the d eo minimum is the human eye clear vision distance of 250 mm, and the minimum value of this d eo is substituted into the formula (3) and the formula (4) to obtain the camera 1 view. The field angle needs that specific value that cannot be less than.
根据人眼的视觉分辨能力等因素选定显示屏3的分辨率后,当相机1的分辨率过低时,就会导致相机1分辨率匹配不上显示屏3的分辨率,需要把相机1采集的图像插值后显示给人眼看,也就是放大图像。在透视的前提下,为了匹配上显示屏3的分辨率(在一定意义上说就是要匹配上人眼的分辨率),不把图像插值后显示给人眼看,则相机1分辨率同样不能小于某特定值。After the resolution of the display screen 3 is selected according to factors such as the visual resolving power of the human eye, when the resolution of the camera 1 is too low, the resolution of the camera 1 does not match the resolution of the display screen 3, and the camera 1 needs to be The captured image is displayed and displayed to the human eye, that is, the enlarged image. Under the premise of perspective, in order to match the resolution of the upper display 3 (in a certain sense, it is to match the resolution of the human eye), if the image is not displayed and displayed to the human eye, the resolution of the camera 1 cannot be less than A specific value.
本发明实施例计算相机1分辨率的方式为:The manner of calculating the resolution of the camera 1 in the embodiment of the present invention is:
已知:人眼5光心到放大镜4光心的距离dem、放大镜4光心到相机1光心的距离dmc、放大镜4光心到显示屏3的距离dmd、放大镜4焦距fm、单个相机1对应的显示屏3半屏显示区域宽度qx及高度qy、显示屏3半屏横向最大像素数Nx、纵向最大像素数NyKnown: the distance from the human eye 5 to the magnifying glass 4 light center d em , the distance from the magnifying glass 4 to the optical center of the camera 1 d mc , the distance from the magnifying glass 4 to the display 3 d md , the magnifying glass 4 focal length f m The display screen 3 corresponding to the single camera 1 has a half screen display area width q x and a height q y , a display screen 3 half screen horizontal maximum pixel number N x , and a vertical maximum pixel number N y ;
求:在透视前提下,若图像在显示屏3显示时图像不能插值放大,则需要相机1最小分辨率;相机1在横轴上分辨率用
Figure PCTCN2016086347-appb-000048
表示、纵轴上分辨率用
Figure PCTCN2016086347-appb-000049
表示;
Seeking: Under the premise of perspective, if the image cannot be interpolated and magnified when the image is displayed on the display 3, the minimum resolution of the camera 1 is required; the resolution of the camera 1 on the horizontal axis is used.
Figure PCTCN2016086347-appb-000048
Representation, resolution on the vertical axis
Figure PCTCN2016086347-appb-000049
Express
解:相机1最小分辨率要求的是相机1采集图像与显示屏3上图像1:1显示,景物在相机1采集图像中像素数与显示屏3上占有的像素数相同。由此,先给定景物在显示屏3上成像大小,由此可以得到对应的像素数Ld,然后求对应景物大小so,然后由景物大小与景物在相机1成像中像素数Lc(Lc=Ld)求得相机1最小分辨率。计算步 骤如下:Solution: The minimum resolution of camera 1 requires that the image captured by camera 1 and the image on display 3 be displayed 1:1. The number of pixels in the image captured by camera 1 is the same as the number of pixels occupied on display screen 3. Therefore, first, the given scene is imaged on the display screen 3, thereby obtaining the corresponding number of pixels L d , and then obtaining the corresponding scene size s o , and then the number of pixels L c (the number of pixels in the image of the scene 1 and the subject in the camera 1) L c = L d ) Find the minimum resolution of the camera 1. The calculation steps are as follows:
1)给定sd求像素数Ld,先不区分水平方向与垂直方向,令显示1) Given the number of pixels L d given s d , first distinguish the horizontal direction from the vertical direction, so that the display
屏3上单个像素的物理尺寸为d'XY,则:The physical size of a single pixel on screen 3 is d' XY , then:
Figure PCTCN2016086347-appb-000050
Figure PCTCN2016086347-appb-000050
由此也可知景物在相机1中像素数也同样为LdTherefore, it is also known that the number of pixels in the camera 1 is also L d .
2)求景物的实际大小so2) The actual size of the scene is s o ;
由公式(1)知
Figure PCTCN2016086347-appb-000051
Known by formula (1)
Figure PCTCN2016086347-appb-000051
3)由景物大小so和在相机1中占用像素数Ld求相机1分辨率得:3) From the scene size s o and the number of pixels occupied in the camera 1 L d to obtain the resolution of the camera 1:
Figure PCTCN2016086347-appb-000052
Figure PCTCN2016086347-appb-000052
Figure PCTCN2016086347-appb-000053
Figure PCTCN2016086347-appb-000053
其中,
Figure PCTCN2016086347-appb-000054
人眼5光心与放大镜4光心的距离dem值可以在使用者佩戴时测量得到,deo越小需要的分辨率越大,本发明建议限定deo最小值为人眼5明视距离250mm,把此deo的最小值代入公式(5)和公式(6)就可以得到相机1分辨率需要不能小于的那个特定值。
among them,
Figure PCTCN2016086347-appb-000054
The distance d em of the human eye 5 light center and the magnifying glass 4 light center can be measured when the user wears, and the smaller the d eo is, the larger the resolution is required. The present invention proposes to define the minimum value of d eo as the human eye 5 clear vision distance 250 mm. , the minimum value of d eo this into equation (5) and (6) can be obtained that the camera need not be less than a specific value of a resolution.
在本发明实施例中,相机1采集的图像到显示屏3上显示的图像的映射关系选定方法包括:将相机1采集的图像映射到显示屏3上需要解决以下问题:In the embodiment of the present invention, the mapping relationship between the image captured by the camera 1 and the image displayed on the display screen 3 includes: mapping the image captured by the camera 1 to the display screen 3 needs to solve the following problems:
1、相机1镜头存在一定的径向畸变和切向畸变,生成的图像需要消除畸变,图像畸变消除可以通过相机1标定得到包括畸变系数在内的相机1内参,然后相机1内参求得去畸变的图像;此图像畸变消除方法为现有技术,本发明将不再赘述。 1. There is a certain radial distortion and tangential distortion of the camera 1 lens. The generated image needs to be distorted. The image distortion can be corrected by the camera 1 to obtain the internal parameters of the camera 1 including the distortion coefficient, and then the camera 1 is de-distorted. The image distortion elimination method is prior art, and the present invention will not be described again.
2、智能眼镜上的两个相机1往往没有做到精准对齐,两个相机1得到的图像之间存在垂直视差,如果存在视差的图像被显示出来给人眼5看时,会给人的双目立体视觉带来困难,所以需要通过极线校正消除垂直视差;此消除垂直视差方法为现有技术,本发明将不再赘述。2. The two cameras 1 on the smart glasses are often not precisely aligned. There is vertical parallax between the images obtained by the two cameras 1. If the image with parallax is displayed to the human eye 5, it will give a double Stereoscopic vision brings difficulties, so it is necessary to eliminate vertical parallax by polar line correction; this method of eliminating vertical parallax is a prior art, and the present invention will not be described again.
3、选定好相机1视场角和分辨率后,常无法刚好做到相机1采集的图像1:1映射到显示屏3上就能满足透视,而需要缩小图像显示给人眼5看才能做到透视。即,当相机1采集到图像后,采集到的图像与显示屏3上图像需要满足什么映射关系才能做到透视,也就是图像以什么缩放比例显示给人眼5看。此缩放比例值的求解方法如下:3. After selecting the camera 1 field of view and resolution, it is often impossible to make the image captured by camera 1 1:1 mapped to display 3 to satisfy the perspective, but to reduce the image display to the human eye 5 Do perspective. That is, after the image is acquired by the camera 1, the mapping relationship between the captured image and the image on the display screen 3 is required to achieve the perspective, that is, what scale the image is displayed to the human eye. The solution to this scaling value is as follows:
已知:dem、deo、dmc、dmd、fm、qx、qy、Nx、Ny
Figure PCTCN2016086347-appb-000055
Known: d em , de eo , d mc , d md , f m , q x , q y , N x , N y ,
Figure PCTCN2016086347-appb-000055
求:在透视前提下,相机1采集图像在显示屏3显示时图像的缩放比例。Seeking: Under the premise of perspective, the camera 1 captures the zoom ratio of the image when the image is displayed on the display screen 3.
解:solution:
在满足透视前提下,景物在显示屏3中应该要占有的像素数与景物在相机1中占有的像素数的比值就为图像缩放比例p=(px,py),其中px为水平方向上的缩放比例,py为垂直方向上的缩放比例。求解过程如下:Under the premise of satisfying the perspective, the ratio of the number of pixels that the scene should occupy in the display screen 3 to the number of pixels occupied by the scene in the camera 1 is the image scaling ratio p=(p x , p y ), where p x is horizontal The scaling in the direction, p y is the scaling in the vertical direction. The solution process is as follows:
1)给定景物大小so求景物在显示屏3大小1) Given the size of the scene s o Find the scene in the size of the display 3
如图1所示人眼5看到的景物在放大镜4中的虚像大小应该满足:The virtual image size of the scene seen by the human eye 5 in the magnifying glass 4 as shown in Fig. 1 should satisfy:
Figure PCTCN2016086347-appb-000056
Figure PCTCN2016086347-appb-000056
从而 Thus
Figure PCTCN2016086347-appb-000057
Figure PCTCN2016086347-appb-000057
由此可进一步求得显示屏3上景物大小为:Therefore, the size of the scene on the display screen 3 can be further determined as follows:
Figure PCTCN2016086347-appb-000058
Figure PCTCN2016086347-appb-000058
2)计算景物在相机1上成像大小为:2) Calculate the image size of the scene on the camera 1 as:
Figure PCTCN2016086347-appb-000059
Figure PCTCN2016086347-appb-000059
3)计算图像缩放比例p3) Calculate the image scaling p
景物在显示屏3上大小与显示屏3上单个像素的物理尺寸的比值就是景物在显示屏3上占的像素数,而景物在相机1上成像大小与相机1成像面上单个像素的物理尺寸比值就是景物在相机1成像面上占的像素数。所以:The ratio of the size of the scene on the display screen 3 to the physical size of a single pixel on the display screen 3 is the number of pixels occupied by the scene on the display screen 3, and the size of the scene on the camera 1 and the physical size of a single pixel on the imaging surface of the camera 1 The ratio is the number of pixels the scene occupies on the imaging surface of camera 1. and so:
在横向方向上图像缩放比例
Figure PCTCN2016086347-appb-000060
Image scaling in landscape orientation
Figure PCTCN2016086347-appb-000060
把公式(8)、(9)代入得:Substituting formulas (8) and (9):
Figure PCTCN2016086347-appb-000061
Figure PCTCN2016086347-appb-000061
同理求得在纵向方向上图像缩放比例pySimilarly, the image scaling p y is obtained in the longitudinal direction:
Figure PCTCN2016086347-appb-000062
Figure PCTCN2016086347-appb-000062
其中
Figure PCTCN2016086347-appb-000063
among them
Figure PCTCN2016086347-appb-000063
本发明实施例的智能眼镜透视方法及系统通过相机对外界景物成像,生成的图像在处理后通过显示屏显示,并通过放大镜对显示屏 上的图像进行放大,从而将图像拉远到人眼能舒适观看的距离,使得人眼在佩戴智能眼镜时就如同裸眼一样准确感知外界景物的位姿、大小信息,提高佩戴者的舒适度和观看准确度。The smart glasses perspective method and system of the embodiment of the invention image the external scene through the camera, and the generated image is displayed through the display screen after processing, and the display screen is displayed through the magnifying glass. The image on the image is enlarged to extend the image to a distance that the human eye can comfortably view, so that when the human eye wears the smart glasses, it accurately senses the pose and size information of the external scene as the naked eye, and improves the wearer's comfort and Watch the accuracy.
上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。 The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and combinations thereof may be made without departing from the spirit and scope of the invention. Simplifications should all be equivalent replacements and are included in the scope of the present invention.

Claims (10)

  1. 一种智能眼镜透视方法,包括以下步骤:A smart glasses perspective method includes the following steps:
    步骤a:装配智能眼镜,使人眼光轴、放大镜光轴、相机光轴在同一直线上,显示屏法线方向与放大镜光轴平行,单个人眼对应的半屏显示区域中心与放大镜光心的连线与人眼光轴在同一条直线上;Step a: Assembling the smart glasses so that the human eye axis, the magnifier optical axis, and the camera optical axis are on the same straight line, the normal direction of the display screen is parallel to the optical axis of the magnifying glass, and the center of the half-screen display area corresponding to a single human eye and the light source of the magnifying glass The line is on the same line as the human eye axis;
    步骤b:运行智能眼镜,通过相机对外界景物生成图像,使图像按一定的映射关系显示在显示屏上;Step b: running the smart glasses, and generating an image on the external scene through the camera, so that the image is displayed on the display screen according to a certain mapping relationship;
    步骤c:佩戴智能眼镜,通过放大镜对显示屏上显示的图像进行放大,将图像拉远到人眼能舒适观看的距离进行显示。Step c: Wear smart glasses, magnify the image displayed on the display through a magnifying glass, and zoom out the image to a distance that the human eye can comfortably view.
  2. 根据权利要求1所述的智能眼镜透视方法,其特征在于:所述步骤a前还包括:选定智能眼镜显示屏的大小与分辨率;设定放大镜焦距;并分别设定人眼光心到放大镜光心的距离、放大镜光心到显示屏的距离、以及放大镜光心到相机光心的距离。The method for fluoroscopy of the smart glasses according to claim 1, wherein the step a further comprises: selecting a size and a resolution of the smart glasses display screen; setting a focal length of the magnifying glass; and respectively setting a human eye to a magnifying glass The distance of the optical center, the distance from the magnifying glass to the display, and the distance from the optical center of the magnifier to the optical center of the camera.
  3. 根据权利要求2所述的智能眼镜透视方法,其特征在于:所述a前还包括:以避免人眼视场缺失为目标计算所需相机视场角,并以匹配显示屏分辨率为目标计算所需相机分辨率。The method for fluoroscopy of the smart glasses according to claim 2, wherein the front of the a further comprises: calculating a required camera angle of view for avoiding a missing field of view of the human eye, and calculating the target resolution of the display screen. The required camera resolution.
  4. 根据权利要求3所述的智能眼镜透视方法,其特征在于:所述计算相机视场角的计算方式为:The method for fluoroscopy of a smart glasses according to claim 3, wherein the calculating the angle of view of the camera is:
    相机水平视场角为:The camera's horizontal field of view is:
    Figure PCTCN2016086347-appb-100001
    Figure PCTCN2016086347-appb-100001
    相机垂直视场角为:The vertical field of view of the camera is:
    Figure PCTCN2016086347-appb-100002
    Figure PCTCN2016086347-appb-100002
    在上述公式中,dem为人眼光心到放大镜光心的距离,dmc为放大镜光心到相机光心的距离,dmd为放大镜光心到显示屏的距离,fm为放大镜焦距,qx及qy为单个相机对应的显示屏半屏显示区域宽度及高度,deo为人眼光心到景物的距离,dco为相机光心到景物的距离,fc为相机焦距,dX为相机单个像素横向物理尺寸,dY为相机单个像素纵向尺寸,dev为人眼到虚像的距离,dmv为放大镜光心到景物虚像的距离,dvo为景物虚像到景物的距离,sd为显示屏中景物大小,sv为对应虚像大小,so为景物大小,sc为景物在相机中成像大小,dx为显示屏上单个像素横向物理尺寸、dy为显示屏上单个像素纵向尺寸。In the above formula, d em is the distance from the human eye to the optical center of the magnifying glass, d mc is the distance from the optical center of the magnifying glass to the optical center of the camera, d md is the distance from the optical center of the magnifying glass to the display screen, and f m is the focal length of the magnifying glass, q x And q y is the half-screen display area width and height of the display corresponding to a single camera, d eo is the distance from the human eye to the scene, d co is the distance from the camera to the scene, f c is the camera focal length, and dX is the camera single pixel Horizontal physical size, dY is the vertical dimension of the camera's single pixel, d ev is the distance from the human eye to the virtual image, d mv is the distance from the optical center of the magnifying glass to the virtual image of the scene, d vo is the distance from the virtual image of the scene to the scene, and s d is the scene in the display Size, s v is the corresponding virtual image size, s o is the size of the scene, s c is the size of the scene in the camera, dx is the horizontal physical size of a single pixel on the display, and dy is the vertical size of a single pixel on the display.
  5. 根据权利要求4所述的智能眼镜透视方法,其特征在于:所 述计算相机分辨率的计算公式为:The method for fluoroscopy of a smart glasses according to claim 4, wherein: The calculation formula for calculating the camera resolution is:
    Figure PCTCN2016086347-appb-100003
    Figure PCTCN2016086347-appb-100003
    Figure PCTCN2016086347-appb-100004
    Figure PCTCN2016086347-appb-100004
    在上述公式中,Nx为单眼对应半屏显示区域横向最大像素数、Ny为纵向最大像素数。In the above formula, N x is the horizontal maximum pixel number corresponding to the half-screen display area of one eye, and N y is the maximum vertical pixel number.
  6. 根据权利要求1至5任一项所述的智能眼镜透视方法,其特征在于:在所述步骤b中,所述使图像按一定的映射关系显示在显示屏上即为将图像以一定缩放比例显示给人眼;所述图像缩放比例的求解方法包括:在满足透视要求下,景物在显示屏中应该要占有的像素数与景物在相机中占有的像素数的比值即为图像缩放比例p=(px,py),其中px为水平方向上的缩放比例,py为垂直方向上的缩放比例;景物在显示屏上大小与显示屏上单个像素的物理尺寸的比值就是景物在显示屏上占的像素数,而景物在相机上成像大小与相机成像面上单个像素的物理尺寸比值就是景物在相机成像面上占的像素数,即:The method for fluoroscopy of a smart glasses according to any one of claims 1 to 5, wherein in the step b, the image is displayed on the display screen in a certain mapping relationship, that is, the image is scaled at a certain scale. Displayed to the human eye; the method for solving the image scaling ratio includes: the ratio of the number of pixels that the scene should occupy in the display screen to the number of pixels occupied by the scene in the camera is the image scaling ratio p= (p x , p y ), where p x is the scaling in the horizontal direction and p y is the scaling in the vertical direction; the ratio of the size of the scene on the display screen to the physical size of a single pixel on the display screen is that the scene is displayed The number of pixels occupied on the screen, and the ratio of the image size of the scene on the camera to the physical size of a single pixel on the image plane of the camera is the number of pixels occupied by the scene on the imaging surface of the camera, namely:
    在横向方向上图像缩放比例px为:The image scaling p x in the landscape direction is:
    Figure PCTCN2016086347-appb-100005
    Figure PCTCN2016086347-appb-100005
    在纵向方向上图像缩放比例py为:The image scaling p y in the portrait direction is:
    Figure PCTCN2016086347-appb-100006
    Figure PCTCN2016086347-appb-100006
  7. 一种智能眼镜透视系统,其特征在于:包括相机、显示屏及放大镜;所述相机与人眼的位置相对应,所述显示屏位于相机与放大镜之间,所述放大镜位于智能眼镜靠近人眼的一侧,且人眼光轴、放大镜光轴及相机光轴在同一直线上,显示屏法线方向与放大镜光轴平行,单个人眼对应的半屏显示区域中心与放大镜光心的连线与人眼光轴在同一条直线上;所述相机用于对外界景物生成图像,所述图像按一定的映射关系显示在显示屏上,所述放大镜用于对显示屏上显示的图像进行放大,将图像拉远到人眼能舒适观看的距离进行显示。A smart glasses fluoroscopy system, comprising: a camera, a display screen and a magnifying glass; the camera corresponding to a position of a human eye, the display screen being located between the camera and the magnifying glass, the magnifying glass being located in the smart glasses close to the human eye On one side, and the human eye axis, the magnifier optical axis and the camera optical axis are on the same line, the normal direction of the display screen is parallel to the optical axis of the magnifying glass, and the center of the half-screen display area corresponding to a single human eye is connected with the optical center of the magnifying glass. The human eye axis is on the same straight line; the camera is used to generate an image on the external scene, and the image is displayed on the display screen in a certain mapping relationship, and the magnifying glass is used to enlarge the image displayed on the display screen, The image is zoomed out to the distance that the human eye can comfortably view.
  8. 根据权利要求7所述的智能眼镜透视系统,其特征在于:还包括运算处理单元,所述运算处理单元分别与相机及显示屏信号连接, 用于对相机生成的图像进行畸变校正、极线校校正处理,并通过显示屏显示处理后的图像。The smart glasses fluoroscopy system according to claim 7, further comprising an arithmetic processing unit, wherein the arithmetic processing unit is respectively connected to the camera and the display signal. It is used to perform distortion correction and polar line correction processing on the image generated by the camera, and display the processed image through the display screen.
  9. 根据权利要求8所述的智能眼镜透视系统,其特征在于:所述相机视场角的计算方式为:The smart glasses fluoroscopy system according to claim 8, wherein the camera angle of view is calculated as:
    相机水平视场角为:The camera's horizontal field of view is:
    Figure PCTCN2016086347-appb-100007
    Figure PCTCN2016086347-appb-100007
    相机垂直视场角为:The vertical field of view of the camera is:
    Figure PCTCN2016086347-appb-100008
    Figure PCTCN2016086347-appb-100008
    所述相机分辨率的计算公式为:The calculation formula of the camera resolution is:
    Figure PCTCN2016086347-appb-100009
    Figure PCTCN2016086347-appb-100009
    Figure PCTCN2016086347-appb-100010
    Figure PCTCN2016086347-appb-100010
    在上述公式中,dem为人眼光心到放大镜光心的距离,dmc为放大镜光心到相机光心的距离,dmd为放大镜光心到显示屏的距离,fm为放大镜焦距,qx及qy为单个相机对应的显示屏半屏显示区域宽度及高度,deo为人眼光心到景物的距离,dco为相机光心到景物的距离,fc为相机焦距,dX为相机单个像素横向物理尺寸,dY为相机单个像素纵向尺寸,dev为人眼到虚像的距离,dmv为放大镜光心到景物虚像的距离,dvo为景物虚像到景物的距离,sd为显示屏中景物大小,sv为对应虚像大小,so为景物大小,sc为景物在相机中成像大小,dx为显示屏上单个像素横向物理尺寸、dy为显示屏上单个像素纵向尺寸;Nx为单眼对应半屏显示区域横向最大像素数、Ny为纵向最大像素数。In the above formula, d em is the distance from the human eye to the optical center of the magnifying glass, d mc is the distance from the optical center of the magnifying glass to the optical center of the camera, d md is the distance from the optical center of the magnifying glass to the display screen, and f m is the focal length of the magnifying glass, q x And q y is the half-screen display area width and height of the display corresponding to a single camera, d eo is the distance from the human eye to the scene, d co is the distance from the camera to the scene, f c is the camera focal length, and dX is the camera single pixel lateral physical size, dY longitudinal camera single pixel size, d ev man from the eye to the virtual image, d mv of magnifying the optical center from the scene of the virtual image, d vo is the scene of the virtual image to the scene distance, s d to display the scene Size, s v is the corresponding virtual image size, s o is the size of the scene, s c is the size of the scene in the camera, dx is the horizontal physical size of a single pixel on the display, dy is the vertical size of a single pixel on the display; N x is a single eye Corresponding to the horizontal maximum number of pixels in the half-screen display area, N y is the maximum number of pixels in the vertical direction.
  10. 根据权利要求7至9任一项所述的智能眼镜透视系统,其特征在于:所述图像按一定的映射关系显示在显示屏上具体为:将图像以一定缩放比例显示给人眼;所述图像缩放比例的求解方法包括:景物在显示屏中应该要占有的像素数与景物在相机中占有的像素数的比值即为图像缩放比例p=(px,py),其中px为水平方向上的缩放比例,py为垂直方向上的缩放比例;景物在显示屏上大小与显示屏上单个像素的物理尺寸的比值就是景物在显示屏上占的像素数,而景物在相机 上成像大小与相机成像面上单个像素的物理尺寸比值就是景物在相机成像面上占的像素数,即:The smart glasses fluoroscopy system according to any one of claims 7 to 9, wherein the image is displayed on the display screen according to a certain mapping relationship, specifically: displaying the image to the human eye at a certain scaling ratio; The method for solving the image scaling ratio includes: the ratio of the number of pixels that the scene should occupy in the display screen to the number of pixels occupied by the scene in the camera is the image scaling ratio p=(p x , p y ), where p x is horizontal The scaling in the direction, p y is the scaling in the vertical direction; the ratio of the size of the scene on the display to the physical size of a single pixel on the display is the number of pixels the scene occupies on the display, and the scene is imaged on the camera. The ratio of the size to the physical size of a single pixel on the camera's imaging surface is the number of pixels the scene occupies on the camera's imaging surface, ie:
    在横向方向上图像缩放比例px为:The image scaling p x in the landscape direction is:
    Figure PCTCN2016086347-appb-100011
    Figure PCTCN2016086347-appb-100011
    在纵向方向上图像缩放比例py为:The image scaling p y in the portrait direction is:
    Figure PCTCN2016086347-appb-100012
    Figure PCTCN2016086347-appb-100012
PCT/CN2016/086347 2016-02-03 2016-06-20 Smart eyeglass perspective method and system WO2017133160A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610069270.7 2016-02-03
CN201610069270.7A CN107037584B (en) 2016-02-03 2016-02-03 Intelligent glasses perspective method and system

Publications (1)

Publication Number Publication Date
WO2017133160A1 true WO2017133160A1 (en) 2017-08-10

Family

ID=59500511

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086347 WO2017133160A1 (en) 2016-02-03 2016-06-20 Smart eyeglass perspective method and system

Country Status (2)

Country Link
CN (1) CN107037584B (en)
WO (1) WO2017133160A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114274877A (en) * 2021-11-29 2022-04-05 惠州华阳通用智慧车载系统开发有限公司 Rearview mirror image display control method
CN114322659A (en) * 2021-12-31 2022-04-12 吉林市江机民科实业有限公司 White light sighting telescope division projection display method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189215B (en) * 2018-08-16 2021-08-20 腾讯科技(深圳)有限公司 Virtual content display method and device, VR equipment and medium
CN109597596B (en) * 2018-11-02 2022-03-18 北京盈迪曼德科技有限公司 Camera perspective method and device
CN111554223B (en) * 2020-04-22 2023-08-08 歌尔科技有限公司 Picture adjustment method of display device, display device and storage medium
CN111402344A (en) * 2020-04-23 2020-07-10 Oppo广东移动通信有限公司 Calibration method, calibration device and non-volatile computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000199871A (en) * 1999-01-06 2000-07-18 Sony Corp Video display device
US6421031B1 (en) * 1993-10-22 2002-07-16 Peter A. Ronzani Camera display system
CN201555985U (en) * 2009-10-29 2010-08-18 贾怀昌 Optical core of binocular display
CN101825771A (en) * 2010-05-11 2010-09-08 杜长乐 Stereo micrography imaging video eyeglasses
CN203799118U (en) * 2013-12-31 2014-08-27 苏州卫生职业技术学院 Low vision glasses array lens assembly visual system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103959134B (en) * 2011-11-24 2017-05-10 松下知识产权经营株式会社 Head-mounted display device
CN205003374U (en) * 2015-04-12 2016-01-27 赵山山 Head mounted device who contains stadia and interpupillary distance adjusting device
CN104808342B (en) * 2015-04-30 2017-12-12 杭州映墨科技有限公司 The optical lens structure of the wearable virtual implementing helmet of three-dimensional scenic is presented

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421031B1 (en) * 1993-10-22 2002-07-16 Peter A. Ronzani Camera display system
JP2000199871A (en) * 1999-01-06 2000-07-18 Sony Corp Video display device
CN201555985U (en) * 2009-10-29 2010-08-18 贾怀昌 Optical core of binocular display
CN101825771A (en) * 2010-05-11 2010-09-08 杜长乐 Stereo micrography imaging video eyeglasses
CN203799118U (en) * 2013-12-31 2014-08-27 苏州卫生职业技术学院 Low vision glasses array lens assembly visual system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114274877A (en) * 2021-11-29 2022-04-05 惠州华阳通用智慧车载系统开发有限公司 Rearview mirror image display control method
CN114274877B (en) * 2021-11-29 2023-06-23 惠州华阳通用智慧车载系统开发有限公司 Rearview mirror image display control method
CN114322659A (en) * 2021-12-31 2022-04-12 吉林市江机民科实业有限公司 White light sighting telescope division projection display method
CN114322659B (en) * 2021-12-31 2024-03-26 吉林市江机民科实业有限公司 Division projection display method for white light sighting telescope

Also Published As

Publication number Publication date
CN107037584B (en) 2020-06-16
CN107037584A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
US20230142214A1 (en) Stereo imaging system with automatic disparity adjustment for displaying close range objects
WO2017133160A1 (en) Smart eyeglass perspective method and system
US11606548B2 (en) Head mounted display device and method for providing visual aid using same
US10887584B2 (en) Naked-eye three-dimensional display device and control method thereof
WO2017173735A1 (en) Video see-through-based smart eyeglasses system and see-through method thereof
CA3043204C (en) Apparatus and method for a dynamic "region of interest" in a display system
WO2016115873A1 (en) Binocular ar head-mounted display device and information display method therefor
CN103207664A (en) Image processing method and equipment
US20150304625A1 (en) Image processing device, method, and recording medium
WO2012086362A1 (en) Image processing device, program thereof, and image processing method
CN110099268B (en) Blind area perspective display method with natural color matching and natural display area fusion
WO2019104548A1 (en) Image display method, smart glasses and storage medium
TWI589150B (en) Three-dimensional auto-focusing method and the system thereof
CN113112407B (en) Method, system, device and medium for generating field of view of television-based mirror
KR100439341B1 (en) Depth of field adjustment apparatus and method of stereo image for reduction of visual fatigue
CN109255838B (en) Method and device for avoiding double image watching of augmented reality display device
CN113454989A (en) Head-mounted display device
JP5741353B2 (en) Image processing system, image processing method, and image processing program
WO2016203844A1 (en) Information processing device, information processing method, and program
JP6164739B2 (en) Spectacle wearing parameter measuring apparatus, spectacle wearing parameter measuring program, and image acquisition method
JP5891554B2 (en) Stereoscopic presentation device and method, blurred image generation processing device, method, and program
US20230244307A1 (en) Visual assistance
JP6063662B2 (en) Imaging apparatus and imaging method
JP2003101690A (en) Image processing method, digital camera, and recording medium
KR20040018858A (en) Depth of field adjustment apparatus and method of stereo image for reduction of visual fatigue

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16888980

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16888980

Country of ref document: EP

Kind code of ref document: A1