WO2022227753A1 - Display system and display method for binocular distortion correction, and vehicle-mounted system - Google Patents

Display system and display method for binocular distortion correction, and vehicle-mounted system Download PDF

Info

Publication number
WO2022227753A1
WO2022227753A1 PCT/CN2022/074629 CN2022074629W WO2022227753A1 WO 2022227753 A1 WO2022227753 A1 WO 2022227753A1 CN 2022074629 W CN2022074629 W CN 2022074629W WO 2022227753 A1 WO2022227753 A1 WO 2022227753A1
Authority
WO
WIPO (PCT)
Prior art keywords
eye
image
distortion
binocular
distorted
Prior art date
Application number
PCT/CN2022/074629
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 WO2022227753A1 publication Critical patent/WO2022227753A1/en

Links

Images

Classifications

    • G06T5/80
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images

Definitions

  • the present application relates to the field of image processing, and more particularly, to a display system, a display method and a vehicle-mounted system for binocular distortion correction.
  • Known visual display systems generally include a picture generation unit (PGU), a projector and an optical set.
  • PGU picture generation unit
  • the projector receives the image supplied from the image generator and projects it, and then the light path passes through the precisely designed optical lens group, and finally the image is reflected to the observer's visual range - the eye box range.
  • the present application provides a display system, a display method and a vehicle-mounted system for binocular distortion correction, which can improve the overall visual experience.
  • a display system for binocular distortion correction including: an image generator, a binocular parallax generator, and an optical lens group; the image generator is used to generate a left-eye pre-distortion image and a right-eye pre-distortion image , and the pixels in the left-eye pre-distorted image are interleaved with the pixels in the right-eye pre-distorted image to generate a composite image of pixel interleaving; the binocular parallax generator makes the composite image of pixel interleaving pushed to the observer through the optical lens group , in which pixels of the left-eye pre-distorted image in the pixel-interleaved composite image are pushed to the observer's left eye, and pixels of the right-eye pre-distorted image in the pixel-interleaved composite image are pushed to the observer's right eye.
  • the display system for binocular distortion correction includes an image generator, a binocular parallax generator, and an optical lens group.
  • the image generator can generate a left-eye pre-distorted image and a right-eye pre-distorted image, and can interleave the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image to generate a pixel-interleaved composite image;
  • the binocular disparity generator can make The pixels of the left eye pre-distorted image and the pixels of the right eye pre-distorted image in the pixel interleaving synthesis image are respectively pushed to the left eye and the right eye of the observer through the optical lens group.
  • the image generator is further configured to overlap the left-eye pre-distorted image and the right-eye pre-distorted image; and determine an envelope range, where the envelope range covers the left eye
  • the pre-distorted image and the effective pixels in the right-eye pre-distorted image; the pixels in the left-eye pre-distorted image and the right-eye pre-distorted image are interleaved within the envelope range to generate a pixel interleaving composite image.
  • the display system further includes: a distortion corrector; the distortion corrector is used to obtain a left-eye distortion model and a right-eye distortion model, where the left-eye distortion model is based on the target source image The sample and the uncorrected left eye distortion imaging sample are generated, the right eye distortion model is generated according to the target source image sample and the uncorrected right eye distortion imaging sample; the image generator is also used to obtain the target source image; according to the The target source image, the left-eye distortion model, and the right-eye distortion model generate the left-eye pre-distortion image and the right-eye pre-distortion image.
  • the target source image is a source image captured at a target perspective; the image generator is further configured to generate the left eye according to the target source image and the left eye distortion model A pre-distorted image, the right-eye pre-distorted image is generated according to the target source image and the right-eye distortion model.
  • the target viewing angle may be a viewing angle between the left eye and the right eye, or may be another viewing angle, which is not limited in this application.
  • the target source image is the source image captured at the target viewing angle, and pre-distortion processing is performed according to the same source image (ie, the target source image) to obtain the left-eye pre-distortion image and the right-eye pre-distortion image, so that the binocular location
  • the observed imaging is a two-dimensional 2D imaging without distortion.
  • the target source image includes a left eye perspective target source image and a right eye perspective target source image; the image generator is further configured to, according to the left eye perspective target source image and the The left-eye distortion model generates the left-eye pre-distortion image, and the right-eye pre-distortion image is generated according to the right-eye perspective target source image and the right-eye distortion model.
  • the target source image includes a left eye perspective target source image and a right eye perspective target source image, and images from different perspectives (ie, the left eye perspective target source image and the right eye perspective target source image) are respectively subjected to pre-distortion processing to obtain the left eye perspective.
  • the pre-distorted image and the right-eye pre-distorted image so that the image observed in the binocular is an undistorted three-dimensional 3D image.
  • the display system further includes: an eye tracker; the eye tracker is used to detect the binocular coordinates of the observer; the distortion corrector is also used to , and the left-eye distortion model and the right-eye distortion model are obtained according to the observer's binocular coordinates.
  • the display system may further include: an eye tracker, which can be used to detect the observer's binocular coordinates, so as to obtain the left-eye distortion model and the right-eye distortion model according to the binocular coordinate positions, so that the left eye is distorted
  • the model and the right eye distortion model can be updated in real time according to the binocular coordinates, so that the observer can always see the distortion-free image in different positions in the eye box, which can further improve the overall visual experience.
  • the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are based on the observer's binocular coordinates and the final imaging plane.
  • the target position is obtained from the spatial transformation relationship between the coordinates of the target position, where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight.
  • the optical mirror group includes a flat mirror and a free-form mirror.
  • the optical lens group may further include a self-owned curved mirror, and the self-owned curved mirror has the functions of imaging magnification and enlarging the scope of the eye box, so that the observer can enjoy a better viewing experience.
  • the binocular parallax generator is a parallax barrier or a directional light source component.
  • the parallax barrier is a diaphragm or a lenticular lens.
  • the display system is an office entertainment display system or a vehicle head-up display system.
  • a display method for binocular distortion correction including: generating a left-eye pre-distortion image and a right-eye pre-distortion image; Interleaving generates a pixel interleaving composite image; under the action of the binocular parallax generator, the pixel interweaving composite image is pushed to the observer's binocular through the optical lens group, wherein the pixels in the pixel interleaving composite image are the pixels of the left-eye pre-distorted image.
  • the pixels of the right-eye predistorted image in the pixel-interleaved composite image are pushed to the observer's right eye.
  • the interleaving of the pixels in the pre-distorted image for the left eye and the pixels in the pre-distorted image for the right eye to generate a composite pixel interleaving image includes: the pre-distorted image for the left eye. overlap with the right-eye pre-distorted image; determine an envelope range, the envelope range covers the effective pixels in the left-eye pre-distorted image and the right-eye pre-distorted image; the pixels in the left-eye pre-distorted image and the right-eye pre-distorted image The pixels of are interleaved within the envelope range to generate a pixel interleaved composite image.
  • the method further includes: acquiring a left-eye distortion model and a right-eye distortion model, where the left-eye distortion model is generated according to a target source image sample and an uncorrected left-eye distortion image sample , the right-eye distortion model is generated according to the target source image sample and the uncorrected right-eye distortion image sample; the generating the left-eye pre-distortion image and the right-eye pre-distortion image includes: acquiring the target source image; The distortion model and the right-eye distortion model generate the left-eye pre-distortion image and the right-eye pre-distortion image.
  • the target source image is a source image captured at a target perspective; the left-eye pre-distortion is generated according to the target source image, the left-eye distortion model and the right-eye distortion model
  • the image and the right-eye pre-distortion image include: generating the left-eye pre-distortion image according to the target source image and the left-eye distortion model, and generating the right-eye pre-distortion image according to the target source image and the right-eye distortion model.
  • the target source image includes a left eye perspective target source image and a right eye perspective target source image; the target source image is generated according to the target source image, the left eye distortion model and the right eye distortion model
  • the left-eye pre-distorted image and the right-eye pre-distorted image include: generating the left-eye pre-distorted image according to the left-eye perspective target source image and the left-eye distortion model, and generating the right-eye pre-distorted image according to the right-eye perspective target source image and the right-eye distortion model .
  • the method further includes: detecting the observer's binocular coordinates; the acquiring the left-eye distortion model and the right-eye distortion model includes: acquiring the observer's binocular coordinates according to the The left eye distortion model and the right eye distortion model.
  • the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are based on the observer's binocular coordinates and the final imaging plane.
  • the target position is obtained from the spatial transformation relationship between the coordinates of the target position, where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight.
  • the optical mirror group includes a flat mirror and a free-form mirror.
  • the binocular parallax generator is a parallax barrier or a directional light source component.
  • the parallax barrier is a diaphragm or a lenticular lens.
  • a controller including an input and output interface, a processor and a memory, the processor is used to control the input and output interface to send and receive signals or information, the memory is used to store a computer program, and the processor is used to control the The computer program is called and executed in the memory, so that the controller executes the display method for binocular distortion correction according to the second aspect or any possible implementation manner of the second aspect.
  • an in-vehicle system including the display system for binocular distortion correction according to the first aspect or any possible implementation manner of the first aspect.
  • a desktop display system including the display system for binocular distortion correction according to the first aspect or any possible implementation manner of the first aspect.
  • a vehicle including the display system for binocular distortion correction as in the first aspect or in any possible implementation manner of the first aspect.
  • a computing device comprising: at least one processor and a memory, the at least one processor being coupled to the memory for reading and executing instructions in the memory to execute the second The display method for binocular distortion correction in the aspect or any possible implementation manner of the second aspect.
  • a computer program product comprising instructions, when the computer program product is run on a computer, the computer program product enables the computer to perform the binocular application in the second aspect or any possible implementation manner of the second aspect. Display method for distortion correction.
  • a computer-readable storage medium is provided, the computer-readable storage medium is used to store a computer program, and the computer program includes the method for executing the second aspect or any possible implementation manner of the second aspect.
  • the instructions for the display method for binocular distortion correction are provided.
  • a computer program comprising instructions for executing the display method for binocular distortion correction in the second aspect or any possible implementation manner of the second aspect.
  • a chip in an eleventh aspect, includes a processor and a data interface, the processor reads an instruction stored in a memory through the data interface, and executes the second aspect or any possible operation of the second aspect.
  • the chip may further include a memory, in which instructions are stored, the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the The processor is configured to execute the display method for binocular distortion correction in the second aspect or any possible implementation manner of the second aspect.
  • a twelfth aspect provides a system-on-a-chip, the system-on-a-chip includes at least one processor for supporting functions involved in implementing the above second aspect or some implementations of the second aspect, for example, receiving or processing the above The data and/or information involved in the method.
  • the chip system further includes a memory for storing program instructions and data, and the memory is located inside the processor or outside the processor.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • FIG. 1 is an example diagram of the principle of performing distortion correction on a single image provided by an embodiment of the present application
  • FIG. 2 is an example diagram of a display system for binocular distortion correction provided by an embodiment of the present application
  • FIG. 3 is an example diagram of generating a pixel interleaving composite graph provided by an embodiment of the present application
  • FIG. 4 is an example diagram of the working principle of a binocular disparity generator provided by an embodiment of the present application.
  • FIG. 5 is an example diagram of a system architecture provided by an embodiment of the present application.
  • FIG. 6 is an example diagram of a system architecture for use in an office entertainment display scenario provided by an embodiment of the present application.
  • FIG. 7 is an example diagram of a system architecture for a vehicle head-up display scene provided by an embodiment of the present application.
  • FIG. 8 is an example diagram of a binocular distortion correction method provided by an embodiment of the present application.
  • FIG. 9 is an example diagram of a display method for binocular distortion correction provided by an embodiment of the present application.
  • FIG. 10 is an exemplary block diagram of a hardware structure of an apparatus provided by an embodiment of the present application.
  • Known visual display systems generally include a picture generation unit (PGU), a projector and an optical set.
  • PGU picture generation unit
  • the projector receives the image supplied from the image generator and projects it, and then the light path passes through the precisely designed optical lens group, and finally the image is reflected to the observer's visual range - the eye box range.
  • the imaging results in different degrees of distortion; and because the observer's left and right eyes are located in different positions of the eye box, the two eyes are simultaneously Receive images with different distortions without overlapping. In the end, the overall visual experience is greatly reduced.
  • the current mainstream image processing method is to perform distortion correction on the entire image seen by one eye, while the image seen by the other eye is its own distortion. Overlay of effects and predistortion corrections processed for the first eye. However, this correction scheme has poor correction effect on image distortion when the difference of binocular imaging distortion is large.
  • FIG. 1 is a schematic diagram of a principle example of distortion correction for a single image provided by an embodiment of the present application.
  • I the original image of the projector
  • J the image received by the observer.
  • a mapping model M from the pixels on the imaging J to the pixels on the original image I can be established through the pixel pairs corresponding to the original image I and the imaging J. So there are:
  • the mapping model M can be recorded as the distortion model M. Then the specific representation of the distortion model M can be obtained from formula (1). Then, the inverse mapping process is performed on the mapping model M to obtain an inverse mapping model M -1 from the original image to the final image.
  • the pre-distorted image I' in the projector is calculated according to the mapping model M obtained by formula (1).
  • the mapping model M obtained by formula (1).
  • the two eyes will simultaneously receive images with different distortions without overlapping.
  • the corresponding distortion models can be obtained for the left and right views respectively, and the left and right pre-distorted images can be prepared according to the distortion models. Its final images are superimposed to enhance the user's visual experience.
  • the image generator periodically switches the left and right pre-distorted images at high speed, and then uses the parallax barrier technology or the directional light source technology to cooperate with the time-sharing.
  • the pre-distorted images of the left eye are respectively sent to the left eye of the observer through the optical lens group, and the pre-distorted images of the right eye are respectively sent to the right eye of the observer through the optical lens group.
  • the present application provides a display system for binocular distortion correction.
  • the display system generates a pixel-interleaved composite image by interleaving pixels in a left-eye pre-distorted image with pixels in a right-eye pre-distortion image, and then interleaving the pixels.
  • the binocular disparity generator Under the action of the binocular disparity generator, the composite image is pushed to the binocular in the way of spatial division multiplexing, which can improve the user's visual experience and reduce the calculation pressure of the data reading system.
  • FIG. 2 is an example diagram of a display system for binocular distortion correction provided by an embodiment of the present application.
  • the display system may be an office entertainment display system or a vehicle head-up display system, which is not limited in this application.
  • the display system 200 includes an image generator 210 , a binocular parallax generator 220 and an optical lens group 230 .
  • the image generator 210 is used for generating a left eye pre-distorted image and a right eye pre-distorted image.
  • the image generator 210 is further configured to interleave the pixels in the pre-distorted image for the left eye and the pixels in the pre-distorted image for the right eye to generate a composite image by interleaving.
  • the binocular disparity generator 220 is used to make the pixel interleaved composite image pushed to the observer's binocular through the optical lens group 230, wherein the pixels of the left eye pre-distorted image in the pixel interleaved composite image are pushed to the observer's left eye, and the pixel The pixels of the right eye predistorted image in the interleaved composite image are pushed to the observer's right eye.
  • the binocular parallax generator is a parallax barrier or a directional light source component.
  • the binocular disparity generator can be installed in the image generator or can be independent of the image generator.
  • the parallax barrier is a diaphragm or a lenticular lens.
  • the image generator 220 may generate the pixel interleaving composite image through the following process: overlapping the left-eye pre-distorted image and the right-eye pre-distorted image; Effective pixels; the pixels in the pre-distorted image of the left eye and the pixels in the pre-distorted image of the right eye are interleaved within the envelope range to generate a composite image of pixel interleaving.
  • the left-eye pre-distorted image and the right-eye pre-distorted image when overlapped, it can be based on the center overlap of the left-eye pre-distorted image and the right-eye pre-distorted image; it can also be based on the alignment of the display content of the left-eye pre-distorted image and the right-eye pre-distorted image. ; It can also be overlapped based on other positions, and this application does not specifically limit the overlapped manner.
  • the center overlap will be taken as an example for description in FIG. 3 below.
  • the pixels in the pre-distorted image for the left eye and the pixels in the pre-distorted image for the right eye may be performed in the manner of LRLR... (wherein L is the pixel in the pre-distorted image for the left eye, and R is the pixel in the pre-distorted image for the right eye).
  • Interleaving can also be performed in the manner of LLRRLLRR..., or in other irregular manners such as LLLLR..., which is not limited in this application, only under the action of the matching binocular disparity generator,
  • the pixels in the left-eye pre-distorted image in the pixel interleaving synthesis image are pushed to the left eye of the observer, and the pixels in the right-eye pre-distorted image in the pixel interleaving synthesis image are pushed to the observer's right eye.
  • the above-mentioned first interleaving manner will be used as an example for description in FIG. 3 below.
  • the envelope range may be a rectangle or other shapes, which are not limited in this application.
  • FIG. 3 is an example diagram of generating a pixel interleaving composite graph provided by an embodiment of the present application. It should be understood that FIG. 3 is only an example, and does not constitute a limitation of the present application. Specifically, the centers of the left eye pre-distorted image 202 and the right eye pre-distorted image 203 are first overlapped. Next, a rectangular envelope range 201 is determined, the rectangular envelope range 201 can cover all effective pixels in the left-eye pre-distorted image 202 and the right-eye pre-distorted image 203 , as shown in (a) of FIG. 3 .
  • the image generator 210 takes the effective pixels of the left-eye pre-distorted image 202 and the right-eye pre-distorted image 203 respectively in the envelope range 201, and as shown in (b) of FIG.
  • the pixels of the pre-distorted image 202 are interleaved with the pixels of the right-eye pre-distorted image 203 to generate a new composite image 301 of pixel interleaving.
  • the pixel interleaving composite image 301 is pushed to the observer's binocular under the action of the parallax barrier 302 matching the pixel interleaving composite image 301, wherein the pixel interleaving composite image 301 in the left eye
  • the pixels of the pre-distorted image are pushed to the left eye of the observer, and the pixels of the pre-distorted image of the right eye in the pixel interleaving composite diagram 301 are pushed to the right eye of the observer, as shown in FIG. 4 .
  • a pixel interleaving composite image is generated by interleaving the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distortion image, and then, under the action of the binocular disparity generator, in a space-division multiplexing manner,
  • the pixels of the left-eye pre-distorted image and the right-eye pre-distorted image in the pixel-interleaving composite image are respectively pushed to the observer's binocular, so that the overall visual experience can be improved.
  • the calculation pressure on the data reading system caused by the high-frequency switching of the left and right pre-distorted images in the time division multiplexing method in the prior art is effectively avoided.
  • the image generator 210 can also generate multiple (more than 2) pre-distorted images at the same time, and interleave the pixels in the multiple pre-distorted images to generate a pixel-interleaved composite image.
  • the present application does not limit multiple pre-distorted images.
  • the multiple pre-distorted images may correspond to multiple pre-distorted images from different viewing angles.
  • the binocular disparity generator 230 the pixels corresponding to the two pre-distorted images in the multiple pre-distorted images are respectively pushed to the observer's binocular. And with the binocular movement of the observer, the two pre-distorted images that can be projected to the binoculars change continuously.
  • the image generator can generate the pre-distorted image 1, the pre-distorted image 2, the pre-distorted image 3 and the pre-distorted image 4 at the same time, and interleave the pixels in the above four pre-distorted images to generate a pixel-interleaved composite image.
  • the pixels corresponding to the pre-distorted image 1 and the pre-distorted image 2 in the pixel interleaving composite image are respectively pushed to the observer's binocular; If the observer binocular moves to position 2, with the cooperation of the binocular disparity generator 230, the pixels corresponding to the pre-distorted image 3 and the pre-distorted image 4 in the pixel interleaving composite image are respectively pushed to the observer's binocular eye.
  • the following descriptions are given by taking the image generator generating the pre-distorted image for the left eye and the pre-distorted image for the right eye as an example.
  • the optical mirror group 230 may include a flat mirror and a free-form surface mirror.
  • the display system 200 may further include a distortion corrector, and the distortion corrector may exist in the image generator 210, or may exist independently of the image generator 210, which is not limited in this application.
  • the distortion corrector can be used to obtain a left eye distortion model and a right eye distortion model. Among them, the left eye distortion model is generated from the target source image sample and the uncorrected left eye distortion image sample, and the right eye distortion model is generated from the target source image sample and the uncorrected right eye distortion image sample.
  • the uncorrected left eye distortion imaging sample and the uncorrected right eye distortion imaging sample can be collectively referred to as the uncorrected distortion imaging sample, and the uncorrected left eye distortion imaging sample is the uncorrected image observed at the left eye coordinate position.
  • the corrected distorted image sample, the uncorrected right eye distorted image sample is the uncorrected distorted image sample observed at the right eye coordinate position.
  • the left eye coordinate position and the right eye coordinate position can also be understood as different coordinate positions in the eye box.
  • the distortion corrector obtains the left-eye distortion model and the right-eye distortion model by directly reading the left-eye distortion model and the right-eye distortion model from the display system.
  • the display system needs to generate the left distortion model and right distortion model corresponding to the binocular in advance before leaving the factory or use, and store them in the system, so that in the actual use process, the model can be directly read.
  • Pick it is necessary to generate a left-eye distortion model according to the target source image sample and the uncorrected left-eye distortion image sample in advance, and generate a right-eye distortion model according to the target source image sample and the uncorrected right-eye distortion image sample (implemented by formula (1)).
  • the distortion model obtained by the distortion corrector may also be obtained by obtaining the distortion model generated by itself.
  • the distortion corrector can first obtain the target source image sample, the uncorrected left eye distortion imaging sample and the uncorrected right eye distortion imaging sample, and then the distortion corrector can obtain the target source image sample corresponding to the left eye.
  • the image sample and the uncorrected left-eye distortion imaging sample generate the left-eye distortion model
  • the right-eye distortion model is generated according to the target source image sample corresponding to the right-eye and the uncorrected right-eye distortion image sample (implemented by formula (1)).
  • the image generator 210 can acquire the target source image, and generate the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model, and the right-eye distortion model. .
  • the target source image is the source image that the display system needs to display during actual use, that is, the image that needs to be displayed for the user.
  • the target source image may be a source image captured at the target viewing angle.
  • the image generator 210 may generate a left-eye pre-distorted image according to the target source image and the left-eye distortion model, and generate a right-eye pre-distortion image according to the target source image and the right-eye distortion model (achieved by formula (2)).
  • the target viewing angle may be a viewing angle between the left eye and the right eye, or may be another viewing angle, which is not limited in this application.
  • the target source image is the source image captured at the target viewing angle, and in this case, the left eye predistorted image and the right eye predistorted image are obtained by performing pre-distortion processing according to the same source image (ie, the target source image). , so that the image observed at the binocular is a 2D image without distortion.
  • the target source image may include a left eye perspective target source image and a right eye perspective target source image.
  • the image generator 210 may generate a left-eye pre-distorted image according to the left-eye view target source image and the left-eye distortion model, and generate a right-eye pre-distortion image according to the right-eye view target source image and the right-eye distortion model (implemented by formula (2)).
  • the target source image from the left eye perspective and the target source image from the right eye perspective may be obtained by photographing the target source image respectively according to the left eye perspective and the right eye perspective; or the target source image may be photographed according to one of the left eye perspective or the right eye perspective.
  • the left eye perspective or the right eye perspective is obtained by shooting, and then the view from the obtained perspective is combined with the image processing algorithm to generate a view from another perspective; it can also be obtained by shooting a view from other perspectives, and then according to the captured view.
  • the present application does not limit the acquisition methods of the left eye perspective target source image and the right eye perspective target source image.
  • images from different perspectives are respectively pre-distorted to obtain the left eye pre-distorted image and the right eye pre-distorted image, so that the images observed in the binocular place are obtained.
  • Imaging is distortion-free 3D imaging.
  • the display system 200 may further include: an eye tracker. Eye trackers can be used to detect the binocular coordinates of the observer.
  • the distortion corrector can also be used to obtain the left-eye distortion model and the right-eye distortion model according to the binocular coordinates of the observer.
  • the distortion corrector may directly read the left-eye distortion model and the right-eye distortion model corresponding to the current left-eye and right-eye coordinates from the parameter table in the system according to the current binocular coordinate information.
  • the display system needs to generate the distortion models corresponding to different coordinate positions of the eye box in advance before leaving the factory or use, and store them in the system, so that in the actual use process, it can be read directly according to the coordinate position of the left eye. Take the corresponding left eye distortion model and read the corresponding right eye distortion model according to the coordinate position of the right eye.
  • the display system needs to generate distortion models corresponding to different coordinate positions according to the target source image samples and uncorrected distortion image samples corresponding to different coordinate positions of the eye box in advance before leaving the factory or using the formula (implemented by formula (1)) .
  • the distortion model obtained by the distortion corrector may also be obtained by obtaining the distortion model generated by itself.
  • the distortion corrector can first obtain the target source image sample corresponding to the current coordinate position of the left eye, the uncorrected left eye distortion image sample, and the target source image sample corresponding to the current coordinate position of the right eye. and the uncorrected right eye distortion imaging sample, and then the distortion corrector generates a left eye distortion model according to the target source image sample corresponding to the current coordinate position of the left eye and the uncorrected left eye distortion imaging sample, according to the current coordinate position of the right eye.
  • the target source image samples and the uncorrected right-eye distortion image samples generate a right-eye distortion model (implemented using formula (1)).
  • the system needs to save the corresponding target source image samples and uncorrected distorted image samples in different coordinate positions of the eye box in advance;
  • Each uncorrected distorted image of the image sample at the location is obtained, and then in the actual operation, according to the current coordinate position of the binocular, the camera shooting image corresponding to the current coordinate position of the binocular is obtained respectively, and then combined with the current coordinate of the binocular.
  • the spatial transformation relationship between the position and the coordinates of the target position on the final imaging plane transforms the camera shot map into the desired sample map as described above.
  • the uncorrected distorted imaging samples can be obtained according to the spatial transformation relationship between the different coordinate positions of the eye box and the coordinates of the target position on the final imaging plane, where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight. .
  • the way of determining the spatial transformation relationship can be found in the following description.
  • the spatial transformation relationship in the embodiments of the present application may be generated by a distortion corrector, or may be generated by an eye tracker, or may be generated in advance by the system and stored in the system, so that it can be directly obtained from the system during use , which is not limited in this application.
  • the acquisition of the distortion model M depends on the comparison between the original image I without distortion and the image J with distortion.
  • the undistorted original image I is the undistorted original image projected by the projector, which is denoted as the target source image sample in this application;
  • the distorted image J is the distorted image received at the target position of the eye box,
  • this application records it as an uncorrected distorted image sample, the uncorrected left-eye distortion image sample received at the left eye coordinate position of the specific eye box is an uncorrected image sample received at the right eye coordinate position of the eye box.
  • the right eye distorted image sample is the uncorrected left-eye distortion image sample received at the left eye coordinate position of the specific eye box.
  • the uncorrected distorted imaging sample needs to be acquired.
  • the present application does not limit the manner of acquiring the uncorrected distorted image samples.
  • it can be obtained by taking pictures with a camera.
  • a camera can be used to acquire the uncorrected distorted image samples at the target position of the eye box.
  • the uncorrected distorted image samples cannot be obtained directly by placing the camera at the target position of the eye box and shooting separately.
  • the above-mentioned uncorrected distorted image sample can be obtained through the geometric relationship and the image captured by the camera. Specifically, the geometric relationship between the coordinate position of the left eye and the target position on the final imaging plane and the image captured by the camera at the position of the left eye can be obtained.
  • the uncorrected left-eye distortion image sample is obtained from the image, and the uncorrected right-eye distortion image sample is obtained through the geometric relationship between the right-eye coordinate position and the target position on the final imaging plane and the image captured by the camera at the right-eye position.
  • the geometric relationship is determined as follows: define a three-dimensional coordinate vector [X, Y, Z] T of any position within the eye box of the display system, and define the coordinates of the target position on the final imaging plane (ie, a two-dimensional coordinate system) is [u,v] T , then the pinhole camera model can be obtained:
  • K is the camera intrinsic parameter matrix, which depends on the focal length and pixel displacement of the camera.
  • the camera intrinsic parameter matrix K can be obtained by configuring the camera specifications.
  • w is the scale factor, which is the scaling ratio between the image plane and the pixel plane, which can be obtained from the actual size of the image and the size of the image captured by the camera.
  • the pinhole camera model is suitable for the calculation in this embodiment.
  • the calibration map can be a solid or virtual undistorted standard pattern. Specifically, the physical calibration map is placed or the virtual calibration map is placed at the imaging distance of the display system. Since the pattern size and ordering of the calibration map are standardized, a camera can be placed at the observation position of the display system, and the calibration map can be photographed to obtain the w and K parameters. If calibration is performed at multiple positions of the eye box, the w and K parameters corresponding to different positions of the eye box can be obtained. Then, the conversion relationship between the different positions of the eye box and the coordinates of the final imaging plane is obtained.
  • the target source image sample, the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample can be obtained according to the Build a distortion model.
  • the correlation between the target source image sample projected by the image generator and the final imaged uncorrected left-eye distortion image sample can be obtained through optical design software or a physical modeling form, and a left-eye distortion model is constructed; obtain the image generator Correlate the projected target source image sample with the final imaged uncorrected right-eye distortion image sample and construct a right-eye distortion model.
  • the target source image samples are compared with the calibration map to the uncorrected distorted image samples to determine the distortion model.
  • the distortion model can also be constructed by comparing the distortion image with the reference image.
  • the undistorted calibration map ie, the target source image sample
  • the final image placed is a distorted image (ie, an uncorrected distorted image sample).
  • a physical or virtual distortion-free calibration map ie, target source image sample
  • its shape, size and size need to be proportional to the calibration map displayed by the image generator.
  • the form of the distortion model may be a parameter table or a mathematical model, and the embodiment of the present application does not limit the form of the distortion model in any way.
  • FIG. 5 is an example diagram of a system architecture provided by an embodiment of the present application.
  • the system architecture 500 includes: an eye tracker 510 , an image generator 520 , a binocular parallax generator 530 and an optical lens group 540 .
  • the system architecture 500 is only used as an example, and does not constitute a limitation to the present application.
  • the above-mentioned eye tracker 510 may not be included, which is not limited in this application.
  • Each of the above components will be described below.
  • the eye tracker 510 is used to detect the observer's binocular coordinate information.
  • the image generator 520 includes an interface for acquiring the target source image from the outside world and a distortion corrector.
  • the distortion corrector is used to obtain or generate a left-eye distortion model and a right-eye distortion model. Then, the image generator 520 performs pre-distortion processing on the target source image according to the left-eye distortion model and the right-eye distortion model generated by the distortion corrector to generate a left-eye pre-distortion image and a right-eye pre-distortion image.
  • the pixels in the pre-distorted image of the left eye are interleaved with the pixels in the pre-distorted image of the right eye to generate a composite pixel interleaving image.
  • FIG. 5 is only an example, and in an actual system architecture, the above-mentioned distortion corrector may also exist independently of the image generator 520 , which is not limited in this application.
  • the binocular disparity generator 530 which is installed in the image generator 520, is used to guide the pixels of the left-eye pre-distorted image in the pixel-interleaving synthesis image to be pushed to the left eye of the observer in a spatial division multiplexing manner, and at the same time guide the pixel-interleaving synthesis
  • the pixels of the right eye pre-distorted image in the figure are pushed to the right eye of the observer, so that the undistorted image is simultaneously observed by both eyes.
  • the binocular disparity generator 530 may also be independent of the image generator 520, which is not limited in this application.
  • the binocular parallax generator 530 may be a parallax barrier, for example, a diaphragm or a lenticular lens; it may also be a directional light source component, which is not limited in this application.
  • the optical lens group 540 which can also be called an imaging combiner, is mainly used to image the image generated by the image generator 520 and transmit it to the observer's binocular.
  • the optical mirror group 540 includes a flat mirror and a free-form mirror, and the image generated by the image generator 520 first passes through the flat mirror and then is transmitted to the binoculars through the free-form mirror.
  • the design of the optical lens group in the present application is not limited to this.
  • FIG. 6 is an example diagram of a system architecture for use in an office entertainment display scenario provided by an embodiment of the present application.
  • the optical mirror group 540 in the system architecture 600 includes a plane mirror 541 and a free-form mirror 542 .
  • the image generator 520 cooperates with the binocular disparity generator 530 to project the pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image in the pixel interleaving composite image in a spatial division multiplexing manner, and respectively pass
  • the flat mirror 541 and the free-form mirror 542 in the optical mirror group 540 are transmitted to the binocular.
  • the free-form surface mirror 542 has the functions of optical path extension and optical path folding, so that the volume design of the optical lens group 540 is more flexible.
  • the free-form mirror 542 is used instead of the concave mirror, because the free-form mirror can be built according to the process requirements, so that the pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image are accurately pushed. It can reach the eyes of the observer, and has the function of imaging magnification, so that the observer can enjoy a better viewing experience.
  • concave mirrors or other optical mirrors may also be used, which is not limited in this application, and the number of optical mirrors is not limited thereto.
  • the eye tracker 510 in the system architecture 600 enables the dynamic change of the binocular coordinates to be detected and fed back to the image generator 520 when the observer moves significantly, so that the image generator 520 can perform real-time changes according to the coordinate changes. Refresh the left-eye pre-distorted image and the right-eye pre-distorted image. In this way, the observer can always see an undistorted image in the scope of the eye box, which does not damage the viewing experience.
  • FIG. 7 is an example diagram of a system architecture for a vehicle head-up display scene provided by an embodiment of the present application.
  • the system architecture 700 of the vehicle head-up display scene may be obtained by slightly adjusting the system architecture 600 shown in FIG. 6 .
  • the optical lens group 540 in the system architecture 700 can add an automobile reflective element 543 (such as a windshield) to the optical lens group 540 of the system architecture 600, so that the image can be accurately presented to the driver ( That is, the observer) binocular, to avoid the left and right views do not overlap and interfere with driving.
  • the eye tracker 510 in the system architecture 700 can ensure that the driver can always watch the undistorted image, especially in scenes with frequent dynamic changes such as vehicle shaking.
  • FIG. 8 is an example diagram of a binocular distortion correction method provided by an embodiment of the present application. As shown in FIG. 8 , the method 800 includes steps S810 to S850. It should be understood that the embodiments of the present application do not limit the sequence of the above steps, and any solution that can be implemented in the present application through any sequence of the above steps falls within the protection scope of the present application. It should also be understood that FIG. 8 is only an optional example, and does not constitute a limitation to the present application. These steps are described in detail below.
  • the eye tracker detects the observer's binocular coordinate information.
  • the distortion corrector acquires a distortion model.
  • the distortion corrector can directly read the left-eye distortion model and the right-eye distortion model corresponding to the current left-eye and right-eye coordinates from the parameter table in the system according to the current binocular coordinate information, as described above.
  • the distortion model obtained by the distortion corrector may also be a distortion model generated by itself, as described above.
  • the distortion corrector may exist in the image generator, as shown in FIG. 5 to FIG. 7 , or may exist independently of the image generator, which is not limited in this application.
  • the image generator generates a pre-distorted image for the left eye and a pre-distorted image for the right eye.
  • the image generator needs to generate a left-eye pre-distortion image and a right-eye pre-distortion image according to the target source image, the left-eye distortion model, and the right-eye distortion model.
  • the target source image is the target source image that the display system needs to display during actual use, that is, the image that needs to be displayed for the user.
  • the target source image is a source image captured at a target viewing angle
  • the present application does not limit the target viewing angle.
  • the left-eye pre-distorted image can be generated according to the target source image and the left-eye distortion model
  • the right-eye pre-distorted image can be generated according to the target source image and the right-eye distortion model (achieved by formula (2)).
  • pre-distortion processing is performed according to the same source image (ie, target source image) to obtain a left-eye pre-distortion image and a right-eye pre-distortion image, so that the image observed at the binocular is a 2D image without distortion.
  • target source image ie, target source image
  • the target source image includes a left-eye view target source image and a right-eye view target source image
  • the acquisition methods of the left-eye view target source image and the right-eye view target source image are not limited, and refer to the above description.
  • the left eye pre-distorted image can be generated according to the left eye perspective target source image and the left eye distortion model
  • the right eye pre-distorted image can be generated according to the right eye perspective target source image and the right eye distortion model (achieved by formula (2)).
  • the images from different perspectives ie, the target source image from the left eye perspective and the target source image from the right eye perspective
  • the images from different perspectives are respectively pre-distorted to obtain the left eye pre-distorted image and the right eye pre-distorted image, so that the image observed in the binocular can be obtained.
  • the images from different perspectives ie, the target source image from the left eye perspective and the target source image from the right eye perspective
  • the images from different perspectives are respectively pre-distorted to obtain the left eye pre-distorted image and the right eye pre-distorted image, so that the image observed in the binocular can be obtained.
  • the images from different perspectives ie, the target source image from the left eye perspective and the target source image from the right eye perspective
  • the image generator generates a pixel-interleaved composite image.
  • the pixel interleaving composite image is projected by space division multiplexing, and pushed to the observer's binocular through the optical mirror group.
  • space division multiplexing method is implemented with the cooperation of the binocular disparity generator, and reference may be made to the description in the part of FIG. 4 above.
  • the pixels of the left eye pre-distorted image in the pixel interleaving composite image generated by the image generator are pushed to the left eye of the observer through the optical lens group, and the pixels in the pixel interleaving composite image are pushed to the left eye of the observer.
  • the pixels of the pre-distorted image of the right eye are pushed to the right eye of the observer through the optical lens group, so that the observer's binocular can view the image without distortion.
  • a pixel-interleaved composite image is generated by interleaving the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image, and then, under the action of the binocular disparity generator, the pixel-interleaved composite image is separated by space.
  • the multiplexing method is pushed to the binocular, which can improve the user's visual experience while reducing the computational pressure of the data reading system.
  • FIG. 9 is an example diagram of a display method for binocular distortion correction provided by an embodiment of the present application. As shown in FIG. 9, the method 900 includes steps S910 to S930, which will be described in detail below.
  • the method 900 may further include: acquiring a left-eye distortion model and a right-eye distortion model.
  • the left eye distortion model is generated from the target source image sample and the uncorrected left eye distortion image sample
  • the right eye distortion model is generated from the target source image sample and the uncorrected right eye distortion image sample.
  • generating the pre-distorted image for the left eye and the pre-distorted image for the right eye includes: acquiring a target source image; and generating the pre-distorted image for the left eye and the pre-distorted image for the right eye according to the target source image, the left eye distortion model and the right eye distortion model.
  • the target source image is a source image captured at a target viewing angle.
  • generating the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model and the right-eye distortion model includes: generating the left-eye pre-distortion image according to the target source image and the left-eye distortion model, and generating the right-eye pre-distortion image according to the target source image and the right-eye distortion model. Distorted image.
  • the target source image includes a left eye perspective target source image and a right eye perspective target source image.
  • generating the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model and the right-eye distortion model includes: generating the left-eye pre-distortion image according to the left-eye perspective target source image and the left-eye distortion model; The model generates a right eye predistorted image.
  • the method 900 may further include: detecting the binocular coordinates of the observer. Then, obtaining the left-eye distortion model and the right-eye distortion model includes: obtaining the left-eye distortion model and the right-eye distortion model according to the observer's binocular coordinates.
  • the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are obtained according to the spatial transformation relationship between the binocular coordinates of the observer and the coordinates of the target position on the final imaging plane, and the target position It is the intersection point of the extension line of the left eye line of sight and the right eye line of sight.
  • S920 Interleave the pixels in the pre-distorted image for the left eye with the pixels in the pre-distorted image for the right eye to generate a composite image with interleaving of pixels.
  • interleaving the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image to generate a pixel interleaving composite image includes: overlapping the left-eye pre-distorted image and the right-eye pre-distorted image; determining an envelope range, and the envelope range covers The effective pixels in the left-eye pre-distorted image and the right-eye pre-distorted image; the pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image are interleaved within the envelope range to generate a pixel interleaving composite image.
  • the pixels of the left eye pre-distorted image in the pixel interleaving composite image are pushed to the left eye of the observer, and the pixels of the right eye pre-distorted image in the pixel interleaving composite image are pushed to the observer's right eye.
  • the optical mirror group may include a flat mirror and a free-form mirror.
  • the binocular parallax generator may be a parallax barrier or a directional light source component.
  • the parallax barrier may be a diaphragm or a lenticular lens.
  • FIG. 10 is an exemplary block diagram of a hardware structure of an apparatus provided by an embodiment of the present application.
  • the apparatus 1000 (the apparatus 1000 may specifically be a computer device) includes a memory 1010 , a processor 1020 , a communication interface 1030 and a bus 1040 .
  • the memory 1010 , the processor 1020 and the communication interface 1030 are connected to each other through the bus 1040 for communication.
  • the memory 1010 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
  • the memory 1010 may store a program, and when the program stored in the memory 1010 is executed by the processor 1020, the processor 1020 is configured to execute each step of the display method of the embodiment of the present application.
  • the processor 1020 may adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processor (graphics processing unit, GPU), or one or more
  • the integrated circuit is used to execute the relevant program to realize the display method of the method embodiment of the present application.
  • the processor 1020 may also be an integrated circuit chip with signal processing capability.
  • the display method of the present application may be implemented by an integrated logic circuit of hardware in the processor 1020 or an instruction in the form of software.
  • the above-mentioned processor 1020 may also be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, Discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processing
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory 1010, and the processor 1020 reads the information in the memory 1010, and combines its hardware to complete the functions required to be performed by the modules included in the apparatus of the embodiments of the present application, or to execute the display methods of the method embodiments of the present application.
  • the communication interface 1030 implements communication between the apparatus 1100 and other devices or a communication network using a transceiving device such as, but not limited to, a transceiver.
  • Bus 1040 may include a pathway for communicating information between various components of device 1000 (eg, memory 1010, processor 1020, communication interface 1030).
  • An embodiment of the present application further provides a controller, including an input and output interface, a processor and a memory, where the processor is used for controlling the input and output interface to send and receive signals or information, the memory is used for storing a computer program, and the processor is used for The computer program is called and executed from the memory, so that the controller executes the display method for binocular distortion correction according to the method embodiment of the present application.
  • the embodiments of the present application also provide a vehicle-mounted system, including the display system for binocular distortion correction according to the device embodiments of the present application.
  • the embodiment of the present application also provides a desktop display system, including the display system for binocular distortion correction according to the device embodiment of the present application.
  • the embodiments of the present application also provide a vehicle, including the display system for binocular distortion correction according to the device embodiments of the present application.
  • the vehicle involved in this application may be a traditional internal combustion engine vehicle, a hybrid electric vehicle, a pure electric vehicle, a centralized drive vehicle, a distributed drive vehicle, etc., which is not limited in this application.
  • the embodiments of the present application also provide a computer program product containing instructions, when the computer program product runs on a computer, the computer program product enables the computer to execute the display method for binocular distortion correction of the above method embodiments.
  • Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program includes a display for binocular distortion correction for executing the method embodiments of the present application method instruction.
  • the embodiments of the present application also provide a computer program, where the computer program includes instructions for executing the display method for binocular distortion correction according to the method embodiments of the present application.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a data interface, the processor reads an instruction stored in a memory through the data interface, and executes the method for binocular distortion of the method embodiment of the present application. Corrected display method.
  • the chip may further include a memory, in which instructions are stored, the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the The processor is configured to execute the display method for binocular distortion correction according to the method embodiment of the present application.
  • Embodiments of the present application further provide a chip system, where the chip system includes at least one processor for supporting functions involved in implementing certain implementations of the display method for binocular distortion correction in the above method embodiments, for example , such as receiving or processing data and/or information involved in the above methods.
  • the chip system further includes a memory for storing program instructions and data, and the memory is located inside the processor or outside the processor.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

Provided in the present application are a display system and display method for binocular distortion correction, and a vehicle-mounted system, which can be applied to an intelligent vehicle, a networked vehicle and an autonomous vehicle. The display system comprises a picture generation unit, a binocular parallax generation unit and an optical lens group, wherein the picture generation unit is used for generating a left-eye pre-distorted picture and a right-eye pre-distorted picture, and for interleaving pixels in the left-eye pre-distorted picture and pixels in the right-eye pre-distorted picture to generate a pixel-interleaved composite picture; and the binocular parallax generation unit makes the pixel-interleaved composite picture be pushed to the two eyes of an observer by means of the optical lens group, the pixels of the left-eye pre-distorted picture in the pixel-interleaved composite picture being pushed to the left eye of the observer, and the pixels of the right-eye pre-distorted picture in the pixel-interleaved composite picture being pushed to the right eye of the observer. By means of the solution of the present application, two eyes can simultaneously receive undistorted pictures which then overlap, such that the overall visual perception can be improved.

Description

用于双目畸变校正的显示系统、显示方法及车载系统Display system, display method and vehicle-mounted system for binocular distortion correction
本申请要求于2021年4月28日提交中国国家知识产权局、申请号202110468890.9、申请名称为“用于双目畸变校正的显示系统、显示方法及车载系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on April 28, 2021 with the State Intellectual Property Office of China, the application number is 202110468890.9, and the application name is "display system, display method and vehicle-mounted system for binocular distortion correction", which The entire contents of this application are incorporated by reference.
技术领域technical field
本申请涉及图像处理领域,更具体地,涉及一种用于双目畸变校正的显示系统、显示方法及车载系统。The present application relates to the field of image processing, and more particularly, to a display system, a display method and a vehicle-mounted system for binocular distortion correction.
背景技术Background technique
已知的视觉显示系统一般包括图像生成器(picture generation unit,PGU)、投影仪和光学镜组。其中,投影仪接收从图像生成器供应的图像并进行投影,然后光路通过精密设计的光学镜组,最终成像反射到观察者的可视区间-眼盒范围。Known visual display systems generally include a picture generation unit (PGU), a projector and an optical set. Among them, the projector receives the image supplied from the image generator and projects it, and then the light path passes through the precisely designed optical lens group, and finally the image is reflected to the observer's visual range - the eye box range.
然而,由于显示系统里的元件设计限制如反射镜的曲面不规则或组装工艺偏差等因素,导致成像形成不同程度的畸变;再由于观察者的双目位于眼盒不同的位置,进而导致双目同时接收不同畸变的成像而不重合,最终使得整体的视觉感受大打折扣。However, due to the design limitations of the components in the display system, such as the irregular surface of the mirror or the deviation of the assembly process, the imaging results in different degrees of distortion; and the observer's binocular is located in different positions of the eye box, which leads to binocular vision. At the same time, images with different distortions are received without overlapping, which ultimately greatly reduces the overall visual experience.
因此,如何提高整体视觉感受是亟需解决的问题。Therefore, how to improve the overall visual experience is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请提供一种用于双目畸变校正的显示系统、显示方法及车载系统,能够提高整体视觉感受。The present application provides a display system, a display method and a vehicle-mounted system for binocular distortion correction, which can improve the overall visual experience.
第一方面,提供了一种用于双目畸变校正的显示系统,包括:图像生成器、双目视差生成器和光学镜组;该图像生成器用于,生成左目预畸变图像和右目预畸变图像,并将该左目预畸变图像中的像素与该右目预畸变图像中的像素进行交织生成像素交织合成图;该双目视差生成器使得该像素交织合成图经过该光学镜组被推送到观察者的双目,其中,该像素交织合成图中的左目预畸变图像的像素被推送到该观察者的左目,该像素交织合成图中的右目预畸变图像的像素被推送到该观察者的右目。In a first aspect, a display system for binocular distortion correction is provided, including: an image generator, a binocular parallax generator, and an optical lens group; the image generator is used to generate a left-eye pre-distortion image and a right-eye pre-distortion image , and the pixels in the left-eye pre-distorted image are interleaved with the pixels in the right-eye pre-distorted image to generate a composite image of pixel interleaving; the binocular parallax generator makes the composite image of pixel interleaving pushed to the observer through the optical lens group , in which pixels of the left-eye pre-distorted image in the pixel-interleaved composite image are pushed to the observer's left eye, and pixels of the right-eye pre-distorted image in the pixel-interleaved composite image are pushed to the observer's right eye.
本申请实施例所提供的双目畸变校正的显示系统,包括图像生成器、双目视差生成器和光学镜组。其中,图像生成器能够生成左目预畸变图像和右目预畸变图像,并能够将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图;双目视差生成器能够使得像素交织合成图中的左目预畸变图像的像素和右目预畸变图像的像素经过光学镜组分别推送到观察者的左目和右目。本申请方案使得双目能够同时接收到无畸变的成像而重合,从而能够提高整体的视觉感受。The display system for binocular distortion correction provided by the embodiment of the present application includes an image generator, a binocular parallax generator, and an optical lens group. Among them, the image generator can generate a left-eye pre-distorted image and a right-eye pre-distorted image, and can interleave the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image to generate a pixel-interleaved composite image; the binocular disparity generator can make The pixels of the left eye pre-distorted image and the pixels of the right eye pre-distorted image in the pixel interleaving synthesis image are respectively pushed to the left eye and the right eye of the observer through the optical lens group. The solution of the present application enables binoculars to receive images without distortion at the same time and overlap, thereby improving the overall visual experience.
结合第一方面,在第一方面的某些实现方式中,该图像生成器还用于,将该左目预畸变 图像和该右目预畸变图像重叠;确定包络范围,该包络范围涵盖该左目预畸变图像和该右目预畸变图像中的有效像素;将该左目预畸变图像中的像素与该右目预畸变图像中的像素在该包络范围内进行交织生成像素交织合成图。With reference to the first aspect, in some implementations of the first aspect, the image generator is further configured to overlap the left-eye pre-distorted image and the right-eye pre-distorted image; and determine an envelope range, where the envelope range covers the left eye The pre-distorted image and the effective pixels in the right-eye pre-distorted image; the pixels in the left-eye pre-distorted image and the right-eye pre-distorted image are interleaved within the envelope range to generate a pixel interleaving composite image.
结合第一方面,在第一方面的某些实现方式中,该显示系统还包括:畸变校正器;该畸变校正器用于,获取左目畸变模型和右目畸变模型,该左目畸变模型是根据目标源图像样本和未经校正的左目畸变成像样本生成的,该右目畸变模型是根据目标源图像样本和未经校正的右目畸变成像样本生成的;该图像生成器还用于,获取目标源图像;根据该目标源图像、该左目畸变模型和该右目畸变模型生成该左目预畸变图像和该右目预畸变图像。With reference to the first aspect, in some implementations of the first aspect, the display system further includes: a distortion corrector; the distortion corrector is used to obtain a left-eye distortion model and a right-eye distortion model, where the left-eye distortion model is based on the target source image The sample and the uncorrected left eye distortion imaging sample are generated, the right eye distortion model is generated according to the target source image sample and the uncorrected right eye distortion imaging sample; the image generator is also used to obtain the target source image; according to the The target source image, the left-eye distortion model, and the right-eye distortion model generate the left-eye pre-distortion image and the right-eye pre-distortion image.
结合第一方面,在第一方面的某些实现方式中,该目标源图像为目标视角处拍摄的源图像;该图像生成器还用于,根据该目标源图像和该左目畸变模型生成该左目预畸变图像,根据该目标源图像和该右目畸变模型生成该右目预畸变图像。With reference to the first aspect, in some implementations of the first aspect, the target source image is a source image captured at a target perspective; the image generator is further configured to generate the left eye according to the target source image and the left eye distortion model A pre-distorted image, the right-eye pre-distorted image is generated according to the target source image and the right-eye distortion model.
可选地,目标视角可以为左目和右目之间的一个视角,也可以为其他视角,本申请对此不做限定。Optionally, the target viewing angle may be a viewing angle between the left eye and the right eye, or may be another viewing angle, which is not limited in this application.
在本申请实施例中,目标源图像为目标视角处拍摄的源图像,并且根据同一源图像(即目标源图像)进行预畸变处理得到左目预畸变图像和右目预畸变图像,从而使得双目处所观察到的成像为无畸变的二维2D成像。In this embodiment of the present application, the target source image is the source image captured at the target viewing angle, and pre-distortion processing is performed according to the same source image (ie, the target source image) to obtain the left-eye pre-distortion image and the right-eye pre-distortion image, so that the binocular location The observed imaging is a two-dimensional 2D imaging without distortion.
结合第一方面,在第一方面的某些实现方式中,该目标源图像包括左目视角目标源图像和右目视角目标源图像;该图像生成器还用于,根据该左目视角目标源图像和该左目畸变模型生成该左目预畸变图像,根据该右目视角目标源图像和该右目畸变模型生成该右目预畸变图像。With reference to the first aspect, in some implementations of the first aspect, the target source image includes a left eye perspective target source image and a right eye perspective target source image; the image generator is further configured to, according to the left eye perspective target source image and the The left-eye distortion model generates the left-eye pre-distortion image, and the right-eye pre-distortion image is generated according to the right-eye perspective target source image and the right-eye distortion model.
在本申请实施例中,目标源图像包括左目视角目标源图像和右目视角目标源图像,并且将不同视角的图像(即左目视角目标源图像和右目视角目标源图像)分别进行预畸变处理得到左目预畸变图像和右目预畸变图像,从而使得双目处所观察到的成像为无畸变的三维3D成像。In the embodiment of the present application, the target source image includes a left eye perspective target source image and a right eye perspective target source image, and images from different perspectives (ie, the left eye perspective target source image and the right eye perspective target source image) are respectively subjected to pre-distortion processing to obtain the left eye perspective. The pre-distorted image and the right-eye pre-distorted image, so that the image observed in the binocular is an undistorted three-dimensional 3D image.
结合第一方面,在第一方面的某些实现方式中,该显示系统还包括:眼动追踪器;该眼动追踪器用于,检测该观察者双目的坐标;该畸变校正器还用于,根据该观察者双目的坐标获取该左目畸变模型和该右目畸变模型。With reference to the first aspect, in some implementations of the first aspect, the display system further includes: an eye tracker; the eye tracker is used to detect the binocular coordinates of the observer; the distortion corrector is also used to , and the left-eye distortion model and the right-eye distortion model are obtained according to the observer's binocular coordinates.
在本申请实施例中,显示系统还可以包括:眼动追踪器,能够用于检测观察者双目的坐标,以便根据双目的坐标位置获取该左目畸变模型和该右目畸变模型,使得左目畸变模型和右目畸变模型能够根据双目的坐标进行实时更新,进而使得观察者于眼盒里不同位置始终看到无畸变成像,能够进一步提高整体的视觉感受。In the embodiment of the present application, the display system may further include: an eye tracker, which can be used to detect the observer's binocular coordinates, so as to obtain the left-eye distortion model and the right-eye distortion model according to the binocular coordinate positions, so that the left eye is distorted The model and the right eye distortion model can be updated in real time according to the binocular coordinates, so that the observer can always see the distortion-free image in different positions in the eye box, which can further improve the overall visual experience.
结合第一方面,在第一方面的某些实现方式中,该未经校正的左目畸变成像样本和该未经校正的右目畸变成像样本是根据该观察者双目的坐标与最终成像面上的目标位置的坐标之间的空间转换关系获取的,该目标位置为左目视线与右目视线延长线的交点。With reference to the first aspect, in some implementations of the first aspect, the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are based on the observer's binocular coordinates and the final imaging plane. The target position is obtained from the spatial transformation relationship between the coordinates of the target position, where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight.
结合第一方面,在第一方面的某些实现方式中,该光学镜组包括平面反射镜和自由曲面镜。With reference to the first aspect, in some implementations of the first aspect, the optical mirror group includes a flat mirror and a free-form mirror.
在本申请实施例中,光学镜组中还可以包括自有曲面镜,该自有曲面镜具有成像放大和扩大眼盒范围作用,使得观察者能够享受更佳观看体验。In the embodiment of the present application, the optical lens group may further include a self-owned curved mirror, and the self-owned curved mirror has the functions of imaging magnification and enlarging the scope of the eye box, so that the observer can enjoy a better viewing experience.
结合第一方面,在第一方面的某些实现方式中,该双目视差生成器为视差屏障或指向性光源部件。With reference to the first aspect, in some implementations of the first aspect, the binocular parallax generator is a parallax barrier or a directional light source component.
结合第一方面,在第一方面的某些实现方式中,该视差屏障为光阑或柱状透镜。With reference to the first aspect, in some implementations of the first aspect, the parallax barrier is a diaphragm or a lenticular lens.
结合第一方面,在第一方面的某些实现方式中,该显示系统为办公娱乐显示系统或车载抬头显示系统。With reference to the first aspect, in some implementations of the first aspect, the display system is an office entertainment display system or a vehicle head-up display system.
第二方面,提供了一种用于双目畸变校正的显示方法,包括:生成左目预畸变图像和右目预畸变图像;将该左目预畸变图像中的像素与该右目预畸变图像中的像素进行交织生成像素交织合成图;在双目视差生成器的作用下,将该像素交织合成图经过光学镜组推送到观察者的双目,其中,该像素交织合成图中的左目预畸变图像的像素被推送到该观察者的左目,该像素交织合成图中的右目预畸变图像的像素被推送到该观察者的右目。In a second aspect, a display method for binocular distortion correction is provided, including: generating a left-eye pre-distortion image and a right-eye pre-distortion image; Interleaving generates a pixel interleaving composite image; under the action of the binocular parallax generator, the pixel interweaving composite image is pushed to the observer's binocular through the optical lens group, wherein the pixels in the pixel interleaving composite image are the pixels of the left-eye pre-distorted image. Pushed to the observer's left eye, the pixels of the right-eye predistorted image in the pixel-interleaved composite image are pushed to the observer's right eye.
结合第二方面,在第二方面的某些实现方式中,该将该左目预畸变图像中的像素与该右目预畸变图像中的像素进行交织生成像素交织合成图包括:将该左目预畸变图像和该右目预畸变图像重叠;确定包络范围,该包络范围涵盖该左目预畸变图像和该右目预畸变图像中的有效像素;将该左目预畸变图像中的像素与该右目预畸变图像中的像素在该包络范围内进行交织生成像素交织合成图。With reference to the second aspect, in some implementations of the second aspect, the interleaving of the pixels in the pre-distorted image for the left eye and the pixels in the pre-distorted image for the right eye to generate a composite pixel interleaving image includes: the pre-distorted image for the left eye. overlap with the right-eye pre-distorted image; determine an envelope range, the envelope range covers the effective pixels in the left-eye pre-distorted image and the right-eye pre-distorted image; the pixels in the left-eye pre-distorted image and the right-eye pre-distorted image The pixels of are interleaved within the envelope range to generate a pixel interleaved composite image.
结合第二方面,在第二方面的某些实现方式中,该方法还包括:获取左目畸变模型和右目畸变模型,该左目畸变模型是根据目标源图像样本和未经校正的左目畸变成像样本生成的,该右目畸变模型是根据目标源图像样本和未经校正的右目畸变成像样本生成的;该生成左目预畸变图像和右目预畸变图像包括:获取目标源图像;根据该目标源图像、该左目畸变模型和该右目畸变模型生成该左目预畸变图像和该右目预畸变图像。With reference to the second aspect, in some implementations of the second aspect, the method further includes: acquiring a left-eye distortion model and a right-eye distortion model, where the left-eye distortion model is generated according to a target source image sample and an uncorrected left-eye distortion image sample , the right-eye distortion model is generated according to the target source image sample and the uncorrected right-eye distortion image sample; the generating the left-eye pre-distortion image and the right-eye pre-distortion image includes: acquiring the target source image; The distortion model and the right-eye distortion model generate the left-eye pre-distortion image and the right-eye pre-distortion image.
结合第二方面,在第二方面的某些实现方式中,该目标源图像为目标视角处拍摄的源图像;该根据该目标源图像、该左目畸变模型和该右目畸变模型生成该左目预畸变图像和该右目预畸变图像包括:根据该目标源图像和该左目畸变模型生成该左目预畸变图像,根据该目标源图像和该右目畸变模型生成该右目预畸变图像。In combination with the second aspect, in some implementations of the second aspect, the target source image is a source image captured at a target perspective; the left-eye pre-distortion is generated according to the target source image, the left-eye distortion model and the right-eye distortion model The image and the right-eye pre-distortion image include: generating the left-eye pre-distortion image according to the target source image and the left-eye distortion model, and generating the right-eye pre-distortion image according to the target source image and the right-eye distortion model.
结合第二方面,在第二方面的某些实现方式中,该目标源图像包括左目视角目标源图像和右目视角目标源图像;该根据该目标源图像、该左目畸变模型和该右目畸变模型生成该左目预畸变图像和该右目预畸变图像包括:根据该左目视角目标源图像和该左目畸变模型生成该左目预畸变图像,根据该右目视角目标源图像和该右目畸变模型生成该右目预畸变图像。With reference to the second aspect, in some implementations of the second aspect, the target source image includes a left eye perspective target source image and a right eye perspective target source image; the target source image is generated according to the target source image, the left eye distortion model and the right eye distortion model The left-eye pre-distorted image and the right-eye pre-distorted image include: generating the left-eye pre-distorted image according to the left-eye perspective target source image and the left-eye distortion model, and generating the right-eye pre-distorted image according to the right-eye perspective target source image and the right-eye distortion model .
结合第二方面,在第二方面的某些实现方式中,该方法还包括:检测该观察者双目的坐标;该获取左目畸变模型和右目畸变模型包括:根据该观察者双目的坐标获取该左目畸变模型和该右目畸变模型。With reference to the second aspect, in some implementations of the second aspect, the method further includes: detecting the observer's binocular coordinates; the acquiring the left-eye distortion model and the right-eye distortion model includes: acquiring the observer's binocular coordinates according to the The left eye distortion model and the right eye distortion model.
结合第二方面,在第二方面的某些实现方式中,该未经校正的左目畸变成像样本和该未经校正的右目畸变成像样本是根据该观察者双目的坐标与最终成像面上的目标位置的坐标之间的空间转换关系获取的,该目标位置为左目视线与右目视线延长线的交点。With reference to the second aspect, in some implementations of the second aspect, the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are based on the observer's binocular coordinates and the final imaging plane. The target position is obtained from the spatial transformation relationship between the coordinates of the target position, where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight.
结合第二方面,在第二方面的某些实现方式中,该光学镜组包括平面反射镜和自由曲面镜。In combination with the second aspect, in some implementations of the second aspect, the optical mirror group includes a flat mirror and a free-form mirror.
结合第二方面,在第二方面的某些实现方式中,该双目视差生成器为视差屏障或指向性光源部件。In combination with the second aspect, in some implementations of the second aspect, the binocular parallax generator is a parallax barrier or a directional light source component.
结合第二方面,在第二方面的某些实现方式中,该视差屏障为光阑或柱状透镜。In combination with the second aspect, in some implementations of the second aspect, the parallax barrier is a diaphragm or a lenticular lens.
第三方面,提供了一种控制器,包括输入输出接口、处理器和存储器,所述处理器用于控制输入输出接口收发信号或信息,所述存储器用于存储计算机程序,所述处理器用于从存储器中调用并运行所述计算机程序,使得该所述控制器执行如第二方面或者第二方面的任一可能的实现方式中的用于双目畸变校正的显示方法。In a third aspect, a controller is provided, including an input and output interface, a processor and a memory, the processor is used to control the input and output interface to send and receive signals or information, the memory is used to store a computer program, and the processor is used to control the The computer program is called and executed in the memory, so that the controller executes the display method for binocular distortion correction according to the second aspect or any possible implementation manner of the second aspect.
第四方面,提供了一种车载系统,包括如第一方面或者第一方面的任一可能的实现方式中的用于双目畸变校正的显示系统。In a fourth aspect, an in-vehicle system is provided, including the display system for binocular distortion correction according to the first aspect or any possible implementation manner of the first aspect.
第五方面,提供了一种桌面显示系统,包括如第一方面或者第一方面的任一可能的实现方式中的用于双目畸变校正的显示系统。In a fifth aspect, a desktop display system is provided, including the display system for binocular distortion correction according to the first aspect or any possible implementation manner of the first aspect.
第六方面,提供了一种车辆,包括如第一方面或者第一方面的任一可能的实现方式中的用于双目畸变校正的显示系统。In a sixth aspect, a vehicle is provided, including the display system for binocular distortion correction as in the first aspect or in any possible implementation manner of the first aspect.
第七方面,提供了一种计算设备,包括:至少一个处理器和存储器,所述至少一个处理器与所述存储器耦合,用于读取并执行所述存储器中的指令,以执行如第二方面或者第二方面的任一可能的实现方式中的用于双目畸变校正的显示方法。In a seventh aspect, a computing device is provided, comprising: at least one processor and a memory, the at least one processor being coupled to the memory for reading and executing instructions in the memory to execute the second The display method for binocular distortion correction in the aspect or any possible implementation manner of the second aspect.
第八方面,提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第二方面或者第二方面的任一可能的实现方式中的用于双目畸变校正的显示方法。In an eighth aspect, there is provided a computer program product comprising instructions, when the computer program product is run on a computer, the computer program product enables the computer to perform the binocular application in the second aspect or any possible implementation manner of the second aspect. Display method for distortion correction.
第九方面,提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序包括用于执行第二方面或者第二方面的任一可能的实现方式中的用于双目畸变校正的显示方法的指令。In a ninth aspect, a computer-readable storage medium is provided, the computer-readable storage medium is used to store a computer program, and the computer program includes the method for executing the second aspect or any possible implementation manner of the second aspect. The instructions for the display method for binocular distortion correction.
第十方面,提供了一种计算机程序,该计算机程序包括用于执行第二方面或者第二方面的任一可能的实现方式中的用于双目畸变校正的显示方法的指令。In a tenth aspect, a computer program is provided, the computer program comprising instructions for executing the display method for binocular distortion correction in the second aspect or any possible implementation manner of the second aspect.
第十一方面,提供一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行第二方面或者第二方面的任一可能的实现方式中的用于双目畸变校正的显示方法。In an eleventh aspect, a chip is provided, the chip includes a processor and a data interface, the processor reads an instruction stored in a memory through the data interface, and executes the second aspect or any possible operation of the second aspect. A display method for binocular distortion correction in an implementation.
可选地,作为一种实现方式,所述芯片还可以包括存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器上存储的指令,当所述指令被执行时,所述处理器用于执行第二方面或者第二方面的任一可能的实现方式中的用于双目畸变校正的显示方法。Optionally, as an implementation manner, the chip may further include a memory, in which instructions are stored, the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the The processor is configured to execute the display method for binocular distortion correction in the second aspect or any possible implementation manner of the second aspect.
第十二方面,提供了一种芯片系统,该芯片系统包括至少一个处理器,用于支持实现上述第二方面或第二方面的某些实现中所涉及的功能,例如,例如接收或处理上述方法中所涉及的数据和/或信息。A twelfth aspect provides a system-on-a-chip, the system-on-a-chip includes at least one processor for supporting functions involved in implementing the above second aspect or some implementations of the second aspect, for example, receiving or processing the above The data and/or information involved in the method.
在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存程序指令和数据,存储器位于处理器之内或处理器之外。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a possible design, the chip system further includes a memory for storing program instructions and data, and the memory is located inside the processor or outside the processor. The chip system may be composed of chips, or may include chips and other discrete devices.
附图说明Description of drawings
图1是本申请实施例提供的一种单张图像进行畸变校正的原理示例图;FIG. 1 is an example diagram of the principle of performing distortion correction on a single image provided by an embodiment of the present application;
图2是本申请实施例提供的一种用于双目畸变校正的显示系统的示例图;FIG. 2 is an example diagram of a display system for binocular distortion correction provided by an embodiment of the present application;
图3是本申请实施例提供的一种生成像素交织合成图的示例图;FIG. 3 is an example diagram of generating a pixel interleaving composite graph provided by an embodiment of the present application;
图4是本申请实施例提供的一种双目视差生成器的工作原理示例图;FIG. 4 is an example diagram of the working principle of a binocular disparity generator provided by an embodiment of the present application;
图5是本申请实施例提供的一种系统架构示例图;FIG. 5 is an example diagram of a system architecture provided by an embodiment of the present application;
图6是本申请实施例提供的一种用于办公娱乐显示场景中的系统架构示例图;6 is an example diagram of a system architecture for use in an office entertainment display scenario provided by an embodiment of the present application;
图7是本申请实施例提供的一种用于车载抬头显示场景的系统架构示例图;7 is an example diagram of a system architecture for a vehicle head-up display scene provided by an embodiment of the present application;
图8是本申请实施例提供的一种双目畸变校正方式的示例图;8 is an example diagram of a binocular distortion correction method provided by an embodiment of the present application;
图9是本申请实施例提供的一种用于双目畸变校正的显示方法的示例图;9 is an example diagram of a display method for binocular distortion correction provided by an embodiment of the present application;
图10是本申请实施例提供的一种装置的硬件结构示例性框图。FIG. 10 is an exemplary block diagram of a hardware structure of an apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
为便于理解,首先对本申请实施例涉及的背景技术进行详细介绍。For ease of understanding, the background technology involved in the embodiments of the present application is first introduced in detail.
已知的视觉显示系统一般包括图像生成器(picture generation unit,PGU)、投影仪和光学镜组。其中,投影仪接收从图像生成器供应的图像并进行投影,然后光路通过精密设计的光学镜组,最终成像反射到观察者的可视区间-眼盒范围。Known visual display systems generally include a picture generation unit (PGU), a projector and an optical set. Among them, the projector receives the image supplied from the image generator and projects it, and then the light path passes through the precisely designed optical lens group, and finally the image is reflected to the observer's visual range - the eye box range.
然而,由于显示系统里的元件设计限制如反射镜的曲面不规则或组装工艺偏差等因素,导致成像形成不同程度的畸变;又由于观察者的左右眼位于眼盒的不同位置,进而导致双眼同时接收不同畸变的成像而不重合。最终使得整体的视觉感受大打折扣。However, due to the design limitations of the components in the display system, such as the irregular curved surface of the mirror or the deviation of the assembly process, the imaging results in different degrees of distortion; and because the observer's left and right eyes are located in different positions of the eye box, the two eyes are simultaneously Receive images with different distortions without overlapping. In the end, the overall visual experience is greatly reduced.
为了解决上述成像原理限制所带来的图像畸变问题,当前主流的图像处理方法为对一只眼睛看到的整幅图像进行畸变校正,而另一只眼睛所看见的图像,则是本身的畸变效果和针对第一只眼睛处理的预畸变校正的叠加。但是这种校正方案在双目成像畸变差异较大时,对图像畸变的校正效果较差。In order to solve the image distortion problem caused by the limitations of the above imaging principles, the current mainstream image processing method is to perform distortion correction on the entire image seen by one eye, while the image seen by the other eye is its own distortion. Overlay of effects and predistortion corrections processed for the first eye. However, this correction scheme has poor correction effect on image distortion when the difference of binocular imaging distortion is large.
图1是本申请实施例提供的一种单张图像进行畸变校正的原理示例图。如图1所示,首先定义I为投影仪的原图,J为观察者处接收到的成像。那么便可以通过原图I与成像J上所对应的像素点对,建立成像J上像素点到原图I上的像素点的映射模型M。于是有:FIG. 1 is a schematic diagram of a principle example of distortion correction for a single image provided by an embodiment of the present application. As shown in Figure 1, first define I as the original image of the projector, and J as the image received by the observer. Then, a mapping model M from the pixels on the imaging J to the pixels on the original image I can be established through the pixel pairs corresponding to the original image I and the imaging J. So there are:
I=M(J)   (1)I=M(J) (1)
若原图I为无畸变图像,J为带有畸变的成像,那么映射模型M可记为畸变模型M。则从公式(1)可获取畸变模型M的具体表示方式。接着针对映射模型M进行反映射处理,得到从原图到最终成像的反映射模型M -1If the original image I is an undistorted image and J is an image with distortion, then the mapping model M can be recorded as the distortion model M. Then the specific representation of the distortion model M can be obtained from formula (1). Then, the inverse mapping process is performed on the mapping model M to obtain an inverse mapping model M -1 from the original image to the final image.
最后,根据公式(1)获取的映射模型M计算投影仪内的预畸变图像I’。使得在实际操作中如果想要观察到无畸变的成像,便可以对预畸变图像I’进行投影,经过反映射模型M -1成像得到无畸变最终成像J’。即: Finally, the pre-distorted image I' in the projector is calculated according to the mapping model M obtained by formula (1). In practice, if you want to observe undistorted imaging, you can project the pre-distorted image I', and obtain the undistorted final image J' through the inverse mapping model M -1 imaging. which is:
J’=M -1(I’)   (2) J'=M -1 (I') (2)
由于观察者的左右目位于眼盒的不同位置,会导致双目同时接收不同畸变的成像而不重合。为此,可以针对左、右视图各自获取所对应的畸变模型,并根据畸变模型预备左、右两张预畸变图像,然后分别将左、右两张预畸变图像推送至双目精准位置,使其最终图像重合,以提升用户视觉体验。Since the left and right eyes of the observer are located in different positions of the eye box, the two eyes will simultaneously receive images with different distortions without overlapping. To this end, the corresponding distortion models can be obtained for the left and right views respectively, and the left and right pre-distorted images can be prepared according to the distortion models. Its final images are superimposed to enhance the user's visual experience.
但是,现有技术通常在得到左、右两张预畸变图像后,主要通过图像生成器高速地周期性切换左、右目预畸变图像,然后采用视差屏障技术或者指向性光源技术配合,分时地将左 目预畸变图像经过光学镜组分别输送至观察者的左目,将右目预畸变图像经过光学镜组分别输送至观察者的右目。However, in the prior art, after obtaining the left and right pre-distorted images, the image generator periodically switches the left and right pre-distorted images at high speed, and then uses the parallax barrier technology or the directional light source technology to cooperate with the time-sharing. The pre-distorted images of the left eye are respectively sent to the left eye of the observer through the optical lens group, and the pre-distorted images of the right eye are respectively sent to the right eye of the observer through the optical lens group.
然而,由于人眼对画面切换的帧率要求需达到60fps或以上,才察觉不出来左、右图交替,达到无感的效果。这就意味着上述现有方案需在1帧以内完成切换左、右两张视图,因此图像生成器的切换速度需达到2*60Hz=120Hz或以上。高切换率要求对于数据读取系统会造成一定的计算压力,尤其处理高清图像更甚。However, since the frame rate required by the human eye for screen switching needs to reach 60fps or above, it is impossible to perceive the alternation of the left and right images to achieve a nonsensical effect. This means that the above existing solution needs to switch the left and right views within one frame, so the switching speed of the image generator needs to reach 2*60Hz=120Hz or more. The high switching rate requirement will cause a certain computational pressure to the data reading system, especially when dealing with high-definition images.
基于此,本申请提供了一种用于双目畸变校正的显示系统,该显示系统通过将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图,然后像素交织合成图在双目视差生成器的作用下,以空分复用的方式被推至双目,从而能够在提升用户视觉体验的同时,降低数据读取系统的计算压力。Based on this, the present application provides a display system for binocular distortion correction. The display system generates a pixel-interleaved composite image by interleaving pixels in a left-eye pre-distorted image with pixels in a right-eye pre-distortion image, and then interleaving the pixels. Under the action of the binocular disparity generator, the composite image is pushed to the binocular in the way of spatial division multiplexing, which can improve the user's visual experience and reduce the calculation pressure of the data reading system.
下面将结合附图,对本申请的技术方案进行描述。The technical solutions of the present application will be described below with reference to the accompanying drawings.
图2是本申请实施例提供的一种用于双目畸变校正的显示系统的示例图。可选地,显示系统可以为办公娱乐显示系统,也可以为车载抬头显示系统,本申请对此不做限定。如图2所示,该显示系统200包括图像生成器210、双目视差生成器220和光学镜组230。FIG. 2 is an example diagram of a display system for binocular distortion correction provided by an embodiment of the present application. Optionally, the display system may be an office entertainment display system or a vehicle head-up display system, which is not limited in this application. As shown in FIG. 2 , the display system 200 includes an image generator 210 , a binocular parallax generator 220 and an optical lens group 230 .
其中,图像生成器210用于,生成左目预畸变图像和右目预畸变图像。The image generator 210 is used for generating a left eye pre-distorted image and a right eye pre-distorted image.
图像生成器210还用于,将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图。The image generator 210 is further configured to interleave the pixels in the pre-distorted image for the left eye and the pixels in the pre-distorted image for the right eye to generate a composite image by interleaving.
双目视差生成器220用于使得像素交织合成图经过光学镜组230被推送到观察者的双目,其中,像素交织合成图中的左目预畸变图像的像素被推送到观察者的左目,像素交织合成图中的右目预畸变图像的像素被推送到观察者的右目。The binocular disparity generator 220 is used to make the pixel interleaved composite image pushed to the observer's binocular through the optical lens group 230, wherein the pixels of the left eye pre-distorted image in the pixel interleaved composite image are pushed to the observer's left eye, and the pixel The pixels of the right eye predistorted image in the interleaved composite image are pushed to the observer's right eye.
可选地,双目视差生成器为视差屏障或指向性光源部件。可选地,双目视差生成器可以安装于图像生成器也可以独立于图像生成器。可选地,视差屏障为光阑或柱状透镜。Optionally, the binocular parallax generator is a parallax barrier or a directional light source component. Optionally, the binocular disparity generator can be installed in the image generator or can be independent of the image generator. Optionally, the parallax barrier is a diaphragm or a lenticular lens.
可选地,图像生成器220可以通过如下过程生成像素交织合成图:将左目预畸变图像和右目预畸变图像重叠;确定包络范围,包络范围涵盖左目预畸变图像和右目预畸变图像中的有效像素;将左目预畸变图像中的像素与右目预畸变图像中的像素在包络范围内进行交织生成像素交织合成图。Optionally, the image generator 220 may generate the pixel interleaving composite image through the following process: overlapping the left-eye pre-distorted image and the right-eye pre-distorted image; Effective pixels; the pixels in the pre-distorted image of the left eye and the pixels in the pre-distorted image of the right eye are interleaved within the envelope range to generate a composite image of pixel interleaving.
可选地,左目预畸变图像和右目预畸变图像重叠时可以是基于左目预畸变图像和右目预畸变图像的中心重叠;也可以是基于左目预畸变图像和右目预畸变图像的显示内容对齐进行重叠;还可以基于其他位置重叠,本申请对该重叠方式不做具体限定。但为便于描述,在下文图3中将以中心重叠为例进行描述。Optionally, when the left-eye pre-distorted image and the right-eye pre-distorted image are overlapped, it can be based on the center overlap of the left-eye pre-distorted image and the right-eye pre-distorted image; it can also be based on the alignment of the display content of the left-eye pre-distorted image and the right-eye pre-distorted image. ; It can also be overlapped based on other positions, and this application does not specifically limit the overlapped manner. However, for the convenience of description, the center overlap will be taken as an example for description in FIG. 3 below.
可选地,左目预畸变图像中的像素与右目预畸变图像中的像素可以是按照LRLR…(其中,L为左目预畸变图像中的像素,R为右目预畸变图像中的像素)的方式进行交织,也可以是按照LLRRLLRR…的方式进行交织,或者可以按照LRLLR…等其他无规则的方式进行交织,本申请对此不做限定,只有能够在与其匹配的双目视差生成器的作用下,将像素交织合成图中的左目预畸变图像中的像素推送到观察者的左目,将像素交织合成图中的右目预畸变图像中的像素推送到观察者的右目即可。为便于描述,在下文图3中将以上述第一种交织方式为例进行描述。Optionally, the pixels in the pre-distorted image for the left eye and the pixels in the pre-distorted image for the right eye may be performed in the manner of LRLR... (wherein L is the pixel in the pre-distorted image for the left eye, and R is the pixel in the pre-distorted image for the right eye). Interleaving can also be performed in the manner of LLRRLLRR..., or in other irregular manners such as LLLLR..., which is not limited in this application, only under the action of the matching binocular disparity generator, The pixels in the left-eye pre-distorted image in the pixel interleaving synthesis image are pushed to the left eye of the observer, and the pixels in the right-eye pre-distorted image in the pixel interleaving synthesis image are pushed to the observer's right eye. For convenience of description, the above-mentioned first interleaving manner will be used as an example for description in FIG. 3 below.
应理解,定义包络范围的目的是为确保没有因左、右两张预畸变图像形状不重合而导致 最终成像有任何像素的丢失。可选地,包络范围可以为矩形,也可以为其他形状,本申请对此不做限定。It should be understood that the purpose of defining the envelope range is to ensure that no pixels are lost in the final image due to the misalignment of the shapes of the left and right pre-distorted images. Optionally, the envelope range may be a rectangle or other shapes, which are not limited in this application.
示例性地,图3是本申请实施例提供的一种生成像素交织合成图的示例图。应理解,图3仅为示例,不构成本申请的限定。具体地,先将左目预畸变图像202和右目预畸变图像203的中心重叠。其次,确定矩形包络范围201,该矩形包络范围201能够涵盖左目预畸变图像202和右目预畸变图像203中的全部有效像素,如图3中的(a)所示。最后,图像生成器210在包络范围201里,分别取左目预畸变图像202和右目预畸变图像203的有效像素,并如图3中的(b)所示,按照LRLR…的交织方式将左目预畸变图像202的像素与右目预畸变图像203的像素进行交织,生成一张新的像素交织合成图301。在得到像素交织合成图301后,在与该像素交织合成图301匹配的视差屏障302的作用下将像素交织合成图301经过推送到观察者的双目,其中,像素交织合成图301中的左目预畸变图像的像素被推送到观察者的左目,像素交织合成图301中的右目预畸变图像的像素被推送到观察者的右目,如图4所示。Exemplarily, FIG. 3 is an example diagram of generating a pixel interleaving composite graph provided by an embodiment of the present application. It should be understood that FIG. 3 is only an example, and does not constitute a limitation of the present application. Specifically, the centers of the left eye pre-distorted image 202 and the right eye pre-distorted image 203 are first overlapped. Next, a rectangular envelope range 201 is determined, the rectangular envelope range 201 can cover all effective pixels in the left-eye pre-distorted image 202 and the right-eye pre-distorted image 203 , as shown in (a) of FIG. 3 . Finally, the image generator 210 takes the effective pixels of the left-eye pre-distorted image 202 and the right-eye pre-distorted image 203 respectively in the envelope range 201, and as shown in (b) of FIG. The pixels of the pre-distorted image 202 are interleaved with the pixels of the right-eye pre-distorted image 203 to generate a new composite image 301 of pixel interleaving. After obtaining the pixel interleaving composite image 301, the pixel interleaving composite image 301 is pushed to the observer's binocular under the action of the parallax barrier 302 matching the pixel interleaving composite image 301, wherein the pixel interleaving composite image 301 in the left eye The pixels of the pre-distorted image are pushed to the left eye of the observer, and the pixels of the pre-distorted image of the right eye in the pixel interleaving composite diagram 301 are pushed to the right eye of the observer, as shown in FIG. 4 .
在本申请实施例中,通过将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图,然后在双目视差生成器的作用下,以空分复用方式,将像素交织合成图中的左目预畸变图像和右目预畸变图像的像素分别推送到观察者的双目,从而能够提高整体视觉感受。而且,有效避免了现有技术中时分复用方式高频切换左、右预畸变图像所导致对数据读取系统的计算压力。In the embodiment of the present application, a pixel interleaving composite image is generated by interleaving the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distortion image, and then, under the action of the binocular disparity generator, in a space-division multiplexing manner, The pixels of the left-eye pre-distorted image and the right-eye pre-distorted image in the pixel-interleaving composite image are respectively pushed to the observer's binocular, so that the overall visual experience can be improved. Moreover, the calculation pressure on the data reading system caused by the high-frequency switching of the left and right pre-distorted images in the time division multiplexing method in the prior art is effectively avoided.
可选地,图像生成器210也可以同时生成多个(大于2个)预畸变图像,并对多个预畸变图像中的像素进行交织生成像素交织合成图,本申请不限定多个预畸变图像中的像素进行交织的方式。其中,多个预畸变图像可以对应多个不同视角下的预畸变图像。然后在双目视差生成器230的配合下,使得多个预畸变图像中的两个预畸变图像对应的像素分别被推送至观察者的双目。并且随着观察者双目的移动,能够投射至双目的两个预畸变图像不断发生改变。例如,图像生成器可以同时生成预畸变图像1、预畸变图像2、预畸变图像3和预畸变图像4,并对上述4张预畸变图像中的像素进行交织生成像素交织合成图。若当前双目处于位置1,则在双目视差生成器230的配合下,会使得像素交织合成图中的预畸变图像1和预畸变图像2对应的像素分别被推送至观察者的双目;若观察者双目移动至位置2,则在双目视差生成器230的配合下,会使得像素交织合成图中的预畸变图像3和预畸变图像4对应的像素分别被推送至观察者的双目。但为便于描述,在下文中均以图像生成器生成左目预畸变图像和右目预畸变图像为例进行介绍。Optionally, the image generator 210 can also generate multiple (more than 2) pre-distorted images at the same time, and interleave the pixels in the multiple pre-distorted images to generate a pixel-interleaved composite image. The present application does not limit multiple pre-distorted images. The way in which the pixels are interleaved. The multiple pre-distorted images may correspond to multiple pre-distorted images from different viewing angles. Then, with the cooperation of the binocular disparity generator 230, the pixels corresponding to the two pre-distorted images in the multiple pre-distorted images are respectively pushed to the observer's binocular. And with the binocular movement of the observer, the two pre-distorted images that can be projected to the binoculars change continuously. For example, the image generator can generate the pre-distorted image 1, the pre-distorted image 2, the pre-distorted image 3 and the pre-distorted image 4 at the same time, and interleave the pixels in the above four pre-distorted images to generate a pixel-interleaved composite image. If the current binocular is at position 1, then with the cooperation of the binocular disparity generator 230, the pixels corresponding to the pre-distorted image 1 and the pre-distorted image 2 in the pixel interleaving composite image are respectively pushed to the observer's binocular; If the observer binocular moves to position 2, with the cooperation of the binocular disparity generator 230, the pixels corresponding to the pre-distorted image 3 and the pre-distorted image 4 in the pixel interleaving composite image are respectively pushed to the observer's binocular eye. However, for the convenience of description, the following descriptions are given by taking the image generator generating the pre-distorted image for the left eye and the pre-distorted image for the right eye as an example.
可选地,光学镜组230可以包括平面反射镜和自由曲面镜,具体可参见下文系统架构500至700中对于光学镜组的描述,此处先不做赘述。Optionally, the optical mirror group 230 may include a flat mirror and a free-form surface mirror. For details, please refer to the description of the optical mirror group in the system architectures 500 to 700 below, which will not be repeated here.
可选地,显示系统200还可以包括畸变校正器,该畸变校正器可以存在于图像生成器210中,也可以独立于图像生成器210存在,本申请对此不做限定。该畸变校正器可以用于,获取左目畸变模型和右目畸变模型。其中,左目畸变模型是根据目标源图像样本和未经校正的左目畸变成像样本生成的,右目畸变模型是根据目标源图像样本和未经校正的右目畸变成像样本生成的。Optionally, the display system 200 may further include a distortion corrector, and the distortion corrector may exist in the image generator 210, or may exist independently of the image generator 210, which is not limited in this application. The distortion corrector can be used to obtain a left eye distortion model and a right eye distortion model. Among them, the left eye distortion model is generated from the target source image sample and the uncorrected left eye distortion image sample, and the right eye distortion model is generated from the target source image sample and the uncorrected right eye distortion image sample.
应理解,未经校正的左目畸变成像样本和未经校正的右目畸变成像样本可以统称为未经校正的畸变成像样本,未经校正的左目畸变成像样本为在左目坐标位置处所观察到的未经校 正的畸变成像样本,未经校正的右目畸变成像样本为在右目坐标位置处所观察到的未经校正的畸变成像样本。左目坐标位置和右目坐标位置也可以理解为眼盒内不同坐标位置。It should be understood that the uncorrected left eye distortion imaging sample and the uncorrected right eye distortion imaging sample can be collectively referred to as the uncorrected distortion imaging sample, and the uncorrected left eye distortion imaging sample is the uncorrected image observed at the left eye coordinate position. The corrected distorted image sample, the uncorrected right eye distorted image sample is the uncorrected distorted image sample observed at the right eye coordinate position. The left eye coordinate position and the right eye coordinate position can also be understood as different coordinate positions in the eye box.
可选地,畸变校正器获取左目畸变模型和右目畸变模型可以是直接从显示系统中读取左目畸变模型和右目畸变模型。应理解,在这种情况下,显示系统在出厂或使用之前需要事先生成双目对应的左畸变模型和右畸变模型,并存储在系统中,以便在实际使用过程中,可以直接进行模型的读取。具体需要事先根据目标源图像样本和未经校正的左目畸变成像样本生成左目畸变模型,根据目标源图像样本和未经校正的右目畸变成像样本生成右目畸变模型(利用公式(1)实现)。Optionally, the distortion corrector obtains the left-eye distortion model and the right-eye distortion model by directly reading the left-eye distortion model and the right-eye distortion model from the display system. It should be understood that in this case, the display system needs to generate the left distortion model and right distortion model corresponding to the binocular in advance before leaving the factory or use, and store them in the system, so that in the actual use process, the model can be directly read. Pick. Specifically, it is necessary to generate a left-eye distortion model according to the target source image sample and the uncorrected left-eye distortion image sample in advance, and generate a right-eye distortion model according to the target source image sample and the uncorrected right-eye distortion image sample (implemented by formula (1)).
可选地,畸变校正器获取畸变模型也可以是获取自身生成的畸变模型。应理解,在这种情况下,畸变校正器可以先获取目标源图像样本、未经校正的左目畸变成像样本和未经校正的右目畸变成像样本,然后畸变校正器再根据左目所对应的目标源图像样本和未经校正的左目畸变成像样本生成左目畸变模型,根据右目所对应的目标源图像样本和未经校正的右目畸变成像样本生成右目畸变模型(利用公式(1)实现)。Optionally, the distortion model obtained by the distortion corrector may also be obtained by obtaining the distortion model generated by itself. It should be understood that in this case, the distortion corrector can first obtain the target source image sample, the uncorrected left eye distortion imaging sample and the uncorrected right eye distortion imaging sample, and then the distortion corrector can obtain the target source image sample corresponding to the left eye. The image sample and the uncorrected left-eye distortion imaging sample generate the left-eye distortion model, and the right-eye distortion model is generated according to the target source image sample corresponding to the right-eye and the uncorrected right-eye distortion image sample (implemented by formula (1)).
可选地,在获取到左目畸变模型和右目畸变模型后,图像生成器210便可以获取目标源图像,并根据目标源图像、左目畸变模型和右目畸变模型生成左目预畸变图像和右目预畸变图像。Optionally, after acquiring the left-eye distortion model and the right-eye distortion model, the image generator 210 can acquire the target source image, and generate the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model, and the right-eye distortion model. .
应理解,目标源图像为显示系统在实际使用过程中需要显示的源图像,即需要为用户显示的图像。It should be understood that the target source image is the source image that the display system needs to display during actual use, that is, the image that needs to be displayed for the user.
可选地,目标源图像可以为目标视角处拍摄的源图像。图像生成器210可以根据目标源图像和左目畸变模型生成左目预畸变图像,根据目标源图像和右目畸变模型生成右目预畸变图像(利用公式(2)实现)。Optionally, the target source image may be a source image captured at the target viewing angle. The image generator 210 may generate a left-eye pre-distorted image according to the target source image and the left-eye distortion model, and generate a right-eye pre-distortion image according to the target source image and the right-eye distortion model (achieved by formula (2)).
可选地,目标视角可以为左目和右目中间的一个视角,也可以为其他视角,本申请对此不做限定。在本申请实施例中,目标源图像为目标视角处拍摄的源图像,并且在这种情况下,根据同一源图像(即目标源图像)进行预畸变处理得到左目预畸变图像和右目预畸变图像,从而使得双目处所观察到的成像为无畸变的2D成像。Optionally, the target viewing angle may be a viewing angle between the left eye and the right eye, or may be another viewing angle, which is not limited in this application. In the embodiment of the present application, the target source image is the source image captured at the target viewing angle, and in this case, the left eye predistorted image and the right eye predistorted image are obtained by performing pre-distortion processing according to the same source image (ie, the target source image). , so that the image observed at the binocular is a 2D image without distortion.
可选地,目标源图像可以包括左目视角目标源图像和右目视角目标源图像。图像生成器210可以根据左目视角目标源图像和左目畸变模型生成左目预畸变图像,根据右目视角目标源图像和右目畸变模型生成右目预畸变图像(利用公式(2)实现)。Optionally, the target source image may include a left eye perspective target source image and a right eye perspective target source image. The image generator 210 may generate a left-eye pre-distorted image according to the left-eye view target source image and the left-eye distortion model, and generate a right-eye pre-distortion image according to the right-eye view target source image and the right-eye distortion model (implemented by formula (2)).
可选地,左目视角目标源图像和右目视角目标源图像可以是根据左目和右目视角分别对目标源图像进行拍摄得到的;也可以是根据左目视角或右目视角中的一个视角对目标源图像进行拍摄得到左目视角或右目视角的视图,然后再根据已得到视角的视图配合图像处理算法生成另一个视角的视图;还可以是根据其他视角进行拍摄得到视图后,再根据所拍摄的视图生成左目视角和右目视角的视图,本申请对左目视角目标源图像和右目视角目标源图像的获取方式不做限定。Optionally, the target source image from the left eye perspective and the target source image from the right eye perspective may be obtained by photographing the target source image respectively according to the left eye perspective and the right eye perspective; or the target source image may be photographed according to one of the left eye perspective or the right eye perspective. The left eye perspective or the right eye perspective is obtained by shooting, and then the view from the obtained perspective is combined with the image processing algorithm to generate a view from another perspective; it can also be obtained by shooting a view from other perspectives, and then according to the captured view. and the view from the right eye perspective, the present application does not limit the acquisition methods of the left eye perspective target source image and the right eye perspective target source image.
在本申请实施例中,将不同视角的图像(即左目视角目标源图像和右目视角目标源图像)分别进行预畸变处理得到左目预畸变图像和右目预畸变图像,从而使得双目处所观察到的成像为无畸变的3D成像。In the embodiment of the present application, images from different perspectives (ie, the target source image from the left eye perspective and the target source image from the right eye perspective) are respectively pre-distorted to obtain the left eye pre-distorted image and the right eye pre-distorted image, so that the images observed in the binocular place are obtained. Imaging is distortion-free 3D imaging.
由于在实际应用中,观察者的双目位置是动态变化的,而不是固定不变的。如果采用固 定的左目畸变模型和右目畸变模型,会无法满足观察者于眼盒里始终看到无畸变图像的需求。因而,可选地,显示系统200还可以包括:眼动追踪器。眼动追踪器可以用于检测观察者双目的坐标。Because in practical applications, the binocular position of the observer changes dynamically, rather than being fixed. If the fixed left-eye distortion model and right-eye distortion model are used, it will not be able to meet the requirement of the observer to always see an undistorted image in the eye box. Thus, optionally, the display system 200 may further include: an eye tracker. Eye trackers can be used to detect the binocular coordinates of the observer.
此时,畸变校正器还可以用于,根据观察者双目的坐标获取左目畸变模型和右目畸变模型。At this time, the distortion corrector can also be used to obtain the left-eye distortion model and the right-eye distortion model according to the binocular coordinates of the observer.
可选地,畸变校正器可以直接根据双目当前的坐标信息从系统中的参数表中分别读取当前左目和右目的坐标对应的左目畸变模型和右目畸变模型。应理解,在这种情况下,显示系统在出厂或使用之前需要事先生成眼盒不同坐标位置处所对应的畸变模型,并存储在系统中,以便在实际使用过程中,可以直接根据左目坐标位置读取对应的左目畸变模型和根据右目坐标位置读取对应的右目畸变模型。这意味着显示系统在出厂或使用之前需要事先根据眼盒不同坐标位置处所对应的目标源图像样本和未经校正的畸变成像样本生成不同坐标位置处所对应的畸变模型(利用公式(1)实现)。Optionally, the distortion corrector may directly read the left-eye distortion model and the right-eye distortion model corresponding to the current left-eye and right-eye coordinates from the parameter table in the system according to the current binocular coordinate information. It should be understood that in this case, the display system needs to generate the distortion models corresponding to different coordinate positions of the eye box in advance before leaving the factory or use, and store them in the system, so that in the actual use process, it can be read directly according to the coordinate position of the left eye. Take the corresponding left eye distortion model and read the corresponding right eye distortion model according to the coordinate position of the right eye. This means that the display system needs to generate distortion models corresponding to different coordinate positions according to the target source image samples and uncorrected distortion image samples corresponding to different coordinate positions of the eye box in advance before leaving the factory or using the formula (implemented by formula (1)) .
可选地,畸变校正器获取畸变模型也可以是获取自身生成的畸变模型。应理解,在这种情况下,畸变校正器可以先获取左目当前的坐标位置所对应的目标源图像样本和未经校正的左目畸变成像样本,以及右目当前的坐标位置所对应的目标源图像样本和未经校正的右目畸变成像样本,然后畸变校正器再根据左目当前的坐标位置所对应的目标源图像样本和未经校正的左目畸变成像样本生成左目畸变模型,根据右目当前的坐标位置所对应的目标源图像样本和未经校正的右目畸变成像样本生成右目畸变模型(利用公式(1)实现)。应理解,在这种情况下,系统需要事先保存眼盒不同坐标位置下对应的目标源图像样本和未经校正的畸变成像样本;或者事先保存相机在眼盒中不同坐标位置下对位于成像区域处的各个未经校正的畸变成像样本的拍摄图,然后在实际操作中再根据双目当前的坐标位置分别获取双目当前的坐标位置所对应的相机拍摄图,然后再结合双目当前的坐标位置与最终成像面上的目标位置的坐标之间的空间转换关系将相机拍摄图转化为上述所需的样本图。Optionally, the distortion model obtained by the distortion corrector may also be obtained by obtaining the distortion model generated by itself. It should be understood that in this case, the distortion corrector can first obtain the target source image sample corresponding to the current coordinate position of the left eye, the uncorrected left eye distortion image sample, and the target source image sample corresponding to the current coordinate position of the right eye. and the uncorrected right eye distortion imaging sample, and then the distortion corrector generates a left eye distortion model according to the target source image sample corresponding to the current coordinate position of the left eye and the uncorrected left eye distortion imaging sample, according to the current coordinate position of the right eye. The target source image samples and the uncorrected right-eye distortion image samples generate a right-eye distortion model (implemented using formula (1)). It should be understood that in this case, the system needs to save the corresponding target source image samples and uncorrected distorted image samples in different coordinate positions of the eye box in advance; Each uncorrected distorted image of the image sample at the location is obtained, and then in the actual operation, according to the current coordinate position of the binocular, the camera shooting image corresponding to the current coordinate position of the binocular is obtained respectively, and then combined with the current coordinate of the binocular. The spatial transformation relationship between the position and the coordinates of the target position on the final imaging plane transforms the camera shot map into the desired sample map as described above.
应理解,未经校正的畸变成像样本可以是根据眼盒不同坐标位置与最终成像面上的目标位置的坐标之间的空间转换关系获取的,该目标位置为左目视线与右目视线延长线的交点。该空间转换关系的确定方式可参见下文的描述。应理解,本申请实施例中的空间转化关系可以通过畸变校正器生成,也可以通过眼动追踪器生成,或者也可以由系统事先生成并存储在系统中,以便在使用时可以直接从系统获取,本申请对此不做限定。It should be understood that the uncorrected distorted imaging samples can be obtained according to the spatial transformation relationship between the different coordinate positions of the eye box and the coordinates of the target position on the final imaging plane, where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight. . The way of determining the spatial transformation relationship can be found in the following description. It should be understood that the spatial transformation relationship in the embodiments of the present application may be generated by a distortion corrector, or may be generated by an eye tracker, or may be generated in advance by the system and stored in the system, so that it can be directly obtained from the system during use , which is not limited in this application.
下面对目标源图像样本、未经校正的左目畸变成像样本和未经校正的右目畸变成像样本的获取方式进行简单的介绍。The following briefly introduces the acquisition methods of the target source image sample, the uncorrected left-eye distortion imaging sample, and the uncorrected right-eye distortion imaging sample.
首先应理解,从公式(1)可见,畸变模型M的获取依赖于无畸变原图I与有畸变成像J的比较。其中,无畸变原图I即为投影仪投出的无畸变原图,本申请将其记为目标源图像样本;有畸变成像J即为在眼盒目标位置处接收到的有畸变的成像,对应地,本申请将其记为未经校正的畸变成像样本,具体眼盒左目坐标位置处接收到的为未经校正的左目畸变成像样本,眼盒右目坐标位置处接收到的为未经校正的右目畸变成像样本。First of all, it should be understood that it can be seen from formula (1) that the acquisition of the distortion model M depends on the comparison between the original image I without distortion and the image J with distortion. Wherein, the undistorted original image I is the undistorted original image projected by the projector, which is denoted as the target source image sample in this application; the distorted image J is the distorted image received at the target position of the eye box, Correspondingly, this application records it as an uncorrected distorted image sample, the uncorrected left-eye distortion image sample received at the left eye coordinate position of the specific eye box is an uncorrected image sample received at the right eye coordinate position of the eye box. The right eye distorted image sample.
那么,在实际操作中,在确定未经校正的畸变成像样本的成像位置后,需要对未经校正的畸变成像样本进行获取。应理解,本申请不限定未经校正的畸变成像样本的获取方式。可选地,可以通过相机拍摄的方式进行获取。具体地,可以采用相机在眼盒目标位置处对未经 校正的畸变成像样本进行获取。但由于从照相机拍摄到的世界三维信息(包括图像信息)投影映射到二维成像平面存在几何关系。因而未经校正的畸变成像样本无法直接通过放置照相机于眼盒目标位置分别进行拍摄而获取。又由于该此几何关系(即空间转换关系)可以通过相机标定来获取。因而可以通过该几何关系和照相机所拍摄的图像获取到上述未经校正的畸变成像样本,具体可以通过左目坐标位置与最终成像面上的目标位置之间的几何关系和相机在左目位置处所拍摄的图像获取到未经校正的左目畸变成像样本,通过右目坐标位置与最终成像面上的目标位置之间的几何关系和相机在右目位置处所拍摄的图像获取到未经校正的右目畸变成像样本。Then, in actual operation, after the imaging position of the uncorrected distorted imaging sample is determined, the uncorrected distorted imaging sample needs to be acquired. It should be understood that the present application does not limit the manner of acquiring the uncorrected distorted image samples. Optionally, it can be obtained by taking pictures with a camera. Specifically, a camera can be used to acquire the uncorrected distorted image samples at the target position of the eye box. However, there is a geometric relationship between the projection mapping of the world's three-dimensional information (including image information) captured by the camera to the two-dimensional imaging plane. Therefore, the uncorrected distorted image samples cannot be obtained directly by placing the camera at the target position of the eye box and shooting separately. And because of this geometric relationship (ie, the spatial transformation relationship), it can be obtained through camera calibration. Therefore, the above-mentioned uncorrected distorted image sample can be obtained through the geometric relationship and the image captured by the camera. Specifically, the geometric relationship between the coordinate position of the left eye and the target position on the final imaging plane and the image captured by the camera at the position of the left eye can be obtained. The uncorrected left-eye distortion image sample is obtained from the image, and the uncorrected right-eye distortion image sample is obtained through the geometric relationship between the right-eye coordinate position and the target position on the final imaging plane and the image captured by the camera at the right-eye position.
具体地,几何关系的确定方式如下:定义显示系统的眼盒范围内任意位置三维坐标向量[X,Y,Z] T,以及定义最终成像面(即二维坐标系)上的目标位置的坐标为[u,v] T,则通过针孔相机模型可得到: Specifically, the geometric relationship is determined as follows: define a three-dimensional coordinate vector [X, Y, Z] T of any position within the eye box of the display system, and define the coordinates of the target position on the final imaging plane (ie, a two-dimensional coordinate system) is [u,v] T , then the pinhole camera model can be obtained:
w[u,v,1] T=K[X,Y,Z,1] T     (3) w[u,v,1] T =K[X,Y,Z,1] T (3)
其中,K为相机内参矩阵,其取决于相机的焦距以及像素位移,相机内参矩阵K可通过配置相机规格获得。其中,w为尺度因子,为图像平面与像素平面的尺度伸缩比例,可以从图像实际大小与相机拍摄图像大小运算获取。Among them, K is the camera intrinsic parameter matrix, which depends on the focal length and pixel displacement of the camera. The camera intrinsic parameter matrix K can be obtained by configuring the camera specifications. Among them, w is the scale factor, which is the scaling ratio between the image plane and the pixel plane, which can be obtained from the actual size of the image and the size of the image captured by the camera.
应理解,由于人眼大小尺寸远小于成像距离,因此针孔相机模型适用于本实施例的计算。It should be understood that since the size of the human eye is much smaller than the imaging distance, the pinhole camera model is suitable for the calculation in this embodiment.
应理解,在实际操作中,上述几何关系可以直接使用标定图进行相机标定确定:其中标定图可为实体或者虚拟的无畸变标准图案。具体,放置实体标定图或者投放虚拟标定图于显示系统成像距离处。由于标定图的图案尺寸和排序标准化,因此可于显示系统的观察位置放置照相机,并对该标定图进行拍摄,求w和K参数。若于眼盒多个位置进行标定,可获取在眼盒不同位置对应的w和K参数。继而获取眼盒不同位置与最终成像面坐标的转换关系。It should be understood that, in actual operation, the above-mentioned geometric relationship can be directly determined by using a calibration map for camera calibration: the calibration map can be a solid or virtual undistorted standard pattern. Specifically, the physical calibration map is placed or the virtual calibration map is placed at the imaging distance of the display system. Since the pattern size and ordering of the calibration map are standardized, a camera can be placed at the observation position of the display system, and the calibration map can be photographed to obtain the w and K parameters. If calibration is performed at multiple positions of the eye box, the w and K parameters corresponding to different positions of the eye box can be obtained. Then, the conversion relationship between the different positions of the eye box and the coordinates of the final imaging plane is obtained.
应理解,在获取到未经校正的左目畸变成像样本和未经校正的右目畸变成像样本后,便可以根据目标源图像样本、未经校正的左目畸变成像样本和未经校正的右目畸变成像样本构建畸变模型。It should be understood that after obtaining the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample, the target source image sample, the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample can be obtained according to the Build a distortion model.
应理解,本申请不限定畸变模型的构建方式。可选地,可以通过光学设计软件或物理建模形式,获取图像生成器投影的目标源图像样本与最终成像的未经校正的左目畸变成像样本的关联,并构建左目畸变模型;获取图像生成器投影的目标源图像样本与最终成像的未经校正的右目畸变成像样本的关联,并构建右目畸变模型。It should be understood that the present application does not limit how the distortion model is constructed. Optionally, the correlation between the target source image sample projected by the image generator and the final imaged uncorrected left-eye distortion image sample can be obtained through optical design software or a physical modeling form, and a left-eye distortion model is constructed; obtain the image generator Correlate the projected target source image sample with the final imaged uncorrected right-eye distortion image sample and construct a right-eye distortion model.
可选地,为便于将目标源图像样本与标定图与未经校正的畸变成像样本进行比较以确定畸变模型。还可以采用畸变成像与基准图比较的方式构建畸变模型。具体地,导入无畸变标定图(即目标源图像样本)于显示系统的图像生成器,经过光学成像,所投放的最终成像为畸变图像(即未经校正的畸变成像样本)。同时于该显示系统的成像位置放置一实体或虚拟无畸变标定图(即目标源图像样本),其形状、大小与尺寸需要跟图像生成器显示的标定图成比例匹配。接着于眼盒不同位置放置照相机,同时拍摄标定图与显示系统成像的畸变图案,然后结合上文提到的空间转换关系对所拍摄的标定图与显示系统成像的畸变图案进行转化,再将转化后的图案进行比较,从而获取眼盒多个位置的畸变模型M。此畸变模型形式可以是参数表或者数学模型等,本申请实施例不对畸变模型形式进行任何限定。Optionally, the target source image samples are compared with the calibration map to the uncorrected distorted image samples to determine the distortion model. The distortion model can also be constructed by comparing the distortion image with the reference image. Specifically, the undistorted calibration map (ie, the target source image sample) is imported into the image generator of the display system, and after optical imaging, the final image placed is a distorted image (ie, an uncorrected distorted image sample). At the same time, a physical or virtual distortion-free calibration map (ie, target source image sample) is placed at the imaging position of the display system, and its shape, size and size need to be proportional to the calibration map displayed by the image generator. Then, place cameras at different positions of the eye box, and shoot the calibration map and the distortion pattern imaged by the display system at the same time, and then convert the captured calibration map and the distortion pattern imaged by the display system in combination with the space conversion relationship mentioned above. After comparing the patterns, the distortion model M of multiple positions of the eye box is obtained. The form of the distortion model may be a parameter table or a mathematical model, and the embodiment of the present application does not limit the form of the distortion model in any way.
下面将结合图5至图7对本申请实施例的系统架构进行简单的描述,以便更好的理解本 申请的方案。The following will briefly describe the system architecture of the embodiments of the present application with reference to Fig. 5 to Fig. 7, so as to better understand the solution of the present application.
图5是本申请实施例提供的一种系统架构示例图。如图5所示,该系统架构500包括:眼动追踪器510、图像生成器520、双目视差生成器530和光学镜组540。应理解,系统架构500仅作为示例,不能构成对本申请的限定。可选地,在实际系统架构中,还可以不包括上述眼动追踪器510,本申请对此不做限定。下面将对上述各个部件进行介绍。FIG. 5 is an example diagram of a system architecture provided by an embodiment of the present application. As shown in FIG. 5 , the system architecture 500 includes: an eye tracker 510 , an image generator 520 , a binocular parallax generator 530 and an optical lens group 540 . It should be understood that the system architecture 500 is only used as an example, and does not constitute a limitation to the present application. Optionally, in the actual system architecture, the above-mentioned eye tracker 510 may not be included, which is not limited in this application. Each of the above components will be described below.
其中,眼动追踪器510,用于检测观察者双目的坐标信息。Among them, the eye tracker 510 is used to detect the observer's binocular coordinate information.
图像生成器520,包括从外界获取目标源图像的接口和畸变校正器。其中,畸变校正器用于获取或生成左目畸变模型和右目畸变模型。然后图像生成器520根据畸变校正器所生成左目畸变模型和右目畸变模型,对目标源图像进行预畸变处理,以生成左目预畸变图像和右目预畸变图像。并将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图,具体可参见上文显示系统200部分的描述。应理解,图5仅作为示例,在实际系统架构中,上述畸变校正器也可以独立于图像生成器520存在,本申请对此不进行限制。The image generator 520 includes an interface for acquiring the target source image from the outside world and a distortion corrector. Among them, the distortion corrector is used to obtain or generate a left-eye distortion model and a right-eye distortion model. Then, the image generator 520 performs pre-distortion processing on the target source image according to the left-eye distortion model and the right-eye distortion model generated by the distortion corrector to generate a left-eye pre-distortion image and a right-eye pre-distortion image. The pixels in the pre-distorted image of the left eye are interleaved with the pixels in the pre-distorted image of the right eye to generate a composite pixel interleaving image. For details, please refer to the description of the display system 200 above. It should be understood that FIG. 5 is only an example, and in an actual system architecture, the above-mentioned distortion corrector may also exist independently of the image generator 520 , which is not limited in this application.
双目视差生成器530,其安装于图像生成器520,用于以空分复用方式,引导像素交织合成图中的左目预畸变图像的像素被推送到观察者的左目,同时引导像素交织合成图中的右目预畸变图像的像素被推送到观察者的右目,以使得双目同时观察到无畸变的图像。可选地,双目视差生成器530还可以独立于图像生成器520,本申请对此不做限定。可选地,双目视差生成器530可以是视差屏障,例如,光阑或柱状透镜;也可以是指向性光源部件,本申请不做限定。The binocular disparity generator 530, which is installed in the image generator 520, is used to guide the pixels of the left-eye pre-distorted image in the pixel-interleaving synthesis image to be pushed to the left eye of the observer in a spatial division multiplexing manner, and at the same time guide the pixel-interleaving synthesis The pixels of the right eye pre-distorted image in the figure are pushed to the right eye of the observer, so that the undistorted image is simultaneously observed by both eyes. Optionally, the binocular disparity generator 530 may also be independent of the image generator 520, which is not limited in this application. Optionally, the binocular parallax generator 530 may be a parallax barrier, for example, a diaphragm or a lenticular lens; it may also be a directional light source component, which is not limited in this application.
光学镜组540,也可以称为成像组合器,主要用于将图像生成器520生成的图像进行成像并传输至观察者的双目。优选地,在本申请中,光学镜组540包括平面反射镜和自由曲面镜,且图像生成器520生成的图像先通过平面反射镜,再通过自由曲面镜传输到双目。但应理解,本申请对光学镜组的设计并不限于此。The optical lens group 540, which can also be called an imaging combiner, is mainly used to image the image generated by the image generator 520 and transmit it to the observer's binocular. Preferably, in the present application, the optical mirror group 540 includes a flat mirror and a free-form mirror, and the image generated by the image generator 520 first passes through the flat mirror and then is transmitted to the binoculars through the free-form mirror. However, it should be understood that the design of the optical lens group in the present application is not limited to this.
应理解,针对不同的应用场景,对光学镜组540的设计也有不同的要求。It should be understood that for different application scenarios, there are also different requirements for the design of the optical lens group 540 .
作为一个示例,图6是本申请实施例提供的一种用于办公娱乐显示场景中的系统架构示例图。如图6所示,该系统架构600中的光学镜组540包括平面反射镜541和自由曲面镜542。在该系统架构600中,图像生成器520配合双目视差生成器530以空分复用方式投影像素交织合成图中的左目预畸变图像中的像素与右目预畸变图像中的像素,并分别通过光学镜组540中的平面反射镜541和自由曲面镜542传输到双目。应理解,其中,自由曲面镜542具有光路延展和光路折叠的功能,使得光学镜组540体积设计更具弹性。且该示例中采用的是自由曲面镜542而没有使用凹面反射镜,这是因为自由曲面镜可以根据工艺要求打造,使得左目预畸变图像中的像素与右目预畸变图像中的像素精准的被推送到观察者的双目,并具有成像放大的功能,使观察者享受更佳观看体验。但应理解,在实际操作中,也可以使用凹面反射镜或其他光学镜,本申请对此不做限定,且光学镜的数目也不限于此。另外,该系统架构600中的眼动追踪器510使得当观察者有明显移动时候,可以侦测到双目坐标动态变化并反馈予图像生成器520,使得图像生成器520可以根据坐标变化而实时刷新左目预畸变图像中与右目预畸变图像。进而使得观察者始终在眼盒范围里看到无畸变图像,无损观看感观。As an example, FIG. 6 is an example diagram of a system architecture for use in an office entertainment display scenario provided by an embodiment of the present application. As shown in FIG. 6 , the optical mirror group 540 in the system architecture 600 includes a plane mirror 541 and a free-form mirror 542 . In the system architecture 600, the image generator 520 cooperates with the binocular disparity generator 530 to project the pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image in the pixel interleaving composite image in a spatial division multiplexing manner, and respectively pass The flat mirror 541 and the free-form mirror 542 in the optical mirror group 540 are transmitted to the binocular. It should be understood that the free-form surface mirror 542 has the functions of optical path extension and optical path folding, so that the volume design of the optical lens group 540 is more flexible. And in this example, the free-form mirror 542 is used instead of the concave mirror, because the free-form mirror can be built according to the process requirements, so that the pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image are accurately pushed. It can reach the eyes of the observer, and has the function of imaging magnification, so that the observer can enjoy a better viewing experience. However, it should be understood that in actual operation, concave mirrors or other optical mirrors may also be used, which is not limited in this application, and the number of optical mirrors is not limited thereto. In addition, the eye tracker 510 in the system architecture 600 enables the dynamic change of the binocular coordinates to be detected and fed back to the image generator 520 when the observer moves significantly, so that the image generator 520 can perform real-time changes according to the coordinate changes. Refresh the left-eye pre-distorted image and the right-eye pre-distorted image. In this way, the observer can always see an undistorted image in the scope of the eye box, which does not damage the viewing experience.
作为另一个示例,图7是本申请实施例提供的一种用于车载抬头显示场景的系统架构示例图。可选地,车载抬头显示场景的系统架构700可以是在图6所示的系统架构600的基础 上稍微进行调整得到。如图7所示,系统架构700中的光学镜组540可以在系统架构600光学镜组540的基础上再加上一个汽车反光元件543(如挡风玻璃),使得成像精准呈现于驾驶员(即观察者)双目,避免左、右视图不重合而干扰驾驶。而且系统架构700中眼动追踪器510可保证驾驶员始终观看无畸变图像,尤其在汽车抖动等动态变化频繁的场景。As another example, FIG. 7 is an example diagram of a system architecture for a vehicle head-up display scene provided by an embodiment of the present application. Optionally, the system architecture 700 of the vehicle head-up display scene may be obtained by slightly adjusting the system architecture 600 shown in FIG. 6 . As shown in FIG. 7 , the optical lens group 540 in the system architecture 700 can add an automobile reflective element 543 (such as a windshield) to the optical lens group 540 of the system architecture 600, so that the image can be accurately presented to the driver ( That is, the observer) binocular, to avoid the left and right views do not overlap and interfere with driving. In addition, the eye tracker 510 in the system architecture 700 can ensure that the driver can always watch the undistorted image, especially in scenes with frequent dynamic changes such as vehicle shaking.
另外,容易看出,本申请方案只需要一个图像生成器即可,具有系统架构体积更小的优势,使其更适用于车载安装的应用场景,或适用于体积受限的其他场景。In addition, it is easy to see that the solution of the present application only needs one image generator, which has the advantage of a smaller system architecture, which makes it more suitable for application scenarios of vehicle installation or other scenarios with limited volume.
下面结合上述系统架构500至700,以图8为例对本申请的双目畸变校正的具体实现方式进行介绍。The specific implementation of the binocular distortion correction of the present application will be described below with reference to the above-mentioned system architectures 500 to 700 , taking FIG. 8 as an example.
图8是本申请实施例提供的一种双目畸变校正方式的示例图。如图8所示,该方式800包括步骤S810至S850。应理解,本申请实施例对以上步骤的先后顺序不做限定,凡是能够通过以上各个步骤的任意顺序实现本申请的方案,均落在本申请的保护范围内。还应理解,图8仅作为一个可选示例,不构成对本申请的限定。下面对这些步骤进行详细描述。FIG. 8 is an example diagram of a binocular distortion correction method provided by an embodiment of the present application. As shown in FIG. 8 , the method 800 includes steps S810 to S850. It should be understood that the embodiments of the present application do not limit the sequence of the above steps, and any solution that can be implemented in the present application through any sequence of the above steps falls within the protection scope of the present application. It should also be understood that FIG. 8 is only an optional example, and does not constitute a limitation to the present application. These steps are described in detail below.
S810,眼动追踪器检测观察者双目的坐标信息。S810, the eye tracker detects the observer's binocular coordinate information.
S820,畸变校正器获取畸变模型。S820, the distortion corrector acquires a distortion model.
可选地,畸变校正器可以直接根据双目当前的坐标信息从系统中的参数表中分别读取当前左目和右目的坐标对应的左目畸变模型和右目畸变模型,可参见上文描述。Optionally, the distortion corrector can directly read the left-eye distortion model and the right-eye distortion model corresponding to the current left-eye and right-eye coordinates from the parameter table in the system according to the current binocular coordinate information, as described above.
可选地,畸变校正器获取畸变模型也可以是获取自身生成的畸变模型,可参见上文描述。Optionally, the distortion model obtained by the distortion corrector may also be a distortion model generated by itself, as described above.
应理解,在实施例中,畸变校正器可以存在于图像生成器内,如图5至图7所示,也可以独立于图像生成器而存在,本申请对此不做限定。It should be understood that, in the embodiment, the distortion corrector may exist in the image generator, as shown in FIG. 5 to FIG. 7 , or may exist independently of the image generator, which is not limited in this application.
S830,图像生成器生成左目预畸变图像和右目预畸变图像。S830, the image generator generates a pre-distorted image for the left eye and a pre-distorted image for the right eye.
具体地,图像生成器需要根据目标源图像、左目畸变模型和右目畸变模型生成左目预畸变图像和右目预畸变图像。应理解,目标源图像为显示系统在实际使用过程中需要显示的目标源图像,即需要为用户显示的图像。Specifically, the image generator needs to generate a left-eye pre-distortion image and a right-eye pre-distortion image according to the target source image, the left-eye distortion model, and the right-eye distortion model. It should be understood that the target source image is the target source image that the display system needs to display during actual use, that is, the image that needs to be displayed for the user.
在一种实现方式中,目标源图像为目标视角处拍摄的源图像,本申请对目标视角不做限定。可以根据目标源图像和左目畸变模型生成左目预畸变图像,根据目标源图像和右目畸变模型生成右目预畸变图像(利用公式(2)实现)。In an implementation manner, the target source image is a source image captured at a target viewing angle, and the present application does not limit the target viewing angle. The left-eye pre-distorted image can be generated according to the target source image and the left-eye distortion model, and the right-eye pre-distorted image can be generated according to the target source image and the right-eye distortion model (achieved by formula (2)).
在这种情况下,根据同一源图像(即目标源图像)进行预畸变处理得到左目预畸变图像和右目预畸变图像,从而使得双目处所观察到的成像为无畸变的2D成像。In this case, pre-distortion processing is performed according to the same source image (ie, target source image) to obtain a left-eye pre-distortion image and a right-eye pre-distortion image, so that the image observed at the binocular is a 2D image without distortion.
在另一种实现方式中,目标源图像包括左目视角目标源图像和右目视角目标源图像,左目视角目标源图像和右目视角目标源图像的获取方式不做限定,可参见上文描述。可以根据左目视角目标源图像和左目畸变模型生成左目预畸变图像,根据右目视角目标源图像和右目畸变模型生成右目预畸变图像(利用公式(2)实现)。In another implementation manner, the target source image includes a left-eye view target source image and a right-eye view target source image, and the acquisition methods of the left-eye view target source image and the right-eye view target source image are not limited, and refer to the above description. The left eye pre-distorted image can be generated according to the left eye perspective target source image and the left eye distortion model, and the right eye pre-distorted image can be generated according to the right eye perspective target source image and the right eye distortion model (achieved by formula (2)).
在这种情况下,将不同视角的图像(即左目视角目标源图像和右目视角目标源图像)分别进行预畸变处理得到左目预畸变图像和右目预畸变图像,从而使得双目处所观察到的成像为无畸变的3D成像。In this case, the images from different perspectives (ie, the target source image from the left eye perspective and the target source image from the right eye perspective) are respectively pre-distorted to obtain the left eye pre-distorted image and the right eye pre-distorted image, so that the image observed in the binocular can be obtained. For distortion-free 3D imaging.
S840,图像生成器生成像素交织合成图。S840, the image generator generates a pixel-interleaved composite image.
具体地,可参见上文图3部分的描述,此处不再赘述。For details, reference may be made to the description of FIG. 3 above, which will not be repeated here.
S850,以空分复用方式投影像素交织合成图,并经过光学镜组推送到观察者的双目。S850, the pixel interleaving composite image is projected by space division multiplexing, and pushed to the observer's binocular through the optical mirror group.
应理解,该空分复用方式是在双目视差生成器的配合下实现的,可参见上文图4部分的描述。It should be understood that the space division multiplexing method is implemented with the cooperation of the binocular disparity generator, and reference may be made to the description in the part of FIG. 4 above.
具体地,在双目视差生成器的配合下,图像生成器所生成的像素交织合成图中的左目预畸变图像的像素经过光学镜组被推送到观察者的左目,同时像素交织合成图中的右目预畸变图像的像素经过光学镜组被推送到观察者的右目,从而使得观察者的双目观看到无畸变的图像。Specifically, with the cooperation of the binocular parallax generator, the pixels of the left eye pre-distorted image in the pixel interleaving composite image generated by the image generator are pushed to the left eye of the observer through the optical lens group, and the pixels in the pixel interleaving composite image are pushed to the left eye of the observer. The pixels of the pre-distorted image of the right eye are pushed to the right eye of the observer through the optical lens group, so that the observer's binocular can view the image without distortion.
在本申请实施例中,通过将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图,然后像素交织合成图在双目视差生成器的作用下,以空分复用的方式被推至双目,从而能够在提升用户视觉体验的同时,降低数据读取系统的计算压力。In the embodiment of the present application, a pixel-interleaved composite image is generated by interleaving the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image, and then, under the action of the binocular disparity generator, the pixel-interleaved composite image is separated by space. The multiplexing method is pushed to the binocular, which can improve the user's visual experience while reducing the computational pressure of the data reading system.
图9是本申请实施例提供的一种用于双目畸变校正的显示方法的示例图。如图9所示,该方法900包括步骤S910至S930,下面对这些步骤进行详细的描述。FIG. 9 is an example diagram of a display method for binocular distortion correction provided by an embodiment of the present application. As shown in FIG. 9, the method 900 includes steps S910 to S930, which will be described in detail below.
S910,生成左目预畸变图像和右目预畸变图像。S910, a left eye pre-distorted image and a right eye pre-distorted image are generated.
可选地,在生成左目预畸变图像和右目预畸变图像之前,该方法900还可以包括:获取左目畸变模型和右目畸变模型。其中,左目畸变模型是根据目标源图像样本和未经校正的左目畸变成像样本生成的,右目畸变模型是根据目标源图像样本和未经校正的右目畸变成像样本生成的。Optionally, before generating the left-eye pre-distortion image and the right-eye pre-distortion image, the method 900 may further include: acquiring a left-eye distortion model and a right-eye distortion model. Among them, the left eye distortion model is generated from the target source image sample and the uncorrected left eye distortion image sample, and the right eye distortion model is generated from the target source image sample and the uncorrected right eye distortion image sample.
可选地,生成左目预畸变图像和右目预畸变图像包括:获取目标源图像;根据目标源图像、左目畸变模型和右目畸变模型生成左目预畸变图像和右目预畸变图像。Optionally, generating the pre-distorted image for the left eye and the pre-distorted image for the right eye includes: acquiring a target source image; and generating the pre-distorted image for the left eye and the pre-distorted image for the right eye according to the target source image, the left eye distortion model and the right eye distortion model.
可选地,目标源图像为目标视角处拍摄的源图像。那么根据目标源图像、左目畸变模型和右目畸变模型生成左目预畸变图像和右目预畸变图像包括:根据目标源图像和左目畸变模型生成左目预畸变图像,根据目标源图像和右目畸变模型生成右目预畸变图像。Optionally, the target source image is a source image captured at a target viewing angle. Then, generating the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model and the right-eye distortion model includes: generating the left-eye pre-distortion image according to the target source image and the left-eye distortion model, and generating the right-eye pre-distortion image according to the target source image and the right-eye distortion model. Distorted image.
可选地,目标源图像包括左目视角目标源图像和右目视角目标源图像。那么根据目标源图像、左目畸变模型和右目畸变模型生成左目预畸变图像和右目预畸变图像包括:根据左目视角目标源图像和左目畸变模型生成左目预畸变图像,根据右目视角目标源图像和右目畸变模型生成右目预畸变图像。Optionally, the target source image includes a left eye perspective target source image and a right eye perspective target source image. Then, generating the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model and the right-eye distortion model includes: generating the left-eye pre-distortion image according to the left-eye perspective target source image and the left-eye distortion model; The model generates a right eye predistorted image.
可选地,在获取左目畸变模型和右目畸变模型之前,方法900还可以包括:检测观察者双目的坐标。那么获取左目畸变模型和右目畸变模型包括:根据观察者双目的坐标获取左目畸变模型和右目畸变模型。Optionally, before acquiring the left-eye distortion model and the right-eye distortion model, the method 900 may further include: detecting the binocular coordinates of the observer. Then, obtaining the left-eye distortion model and the right-eye distortion model includes: obtaining the left-eye distortion model and the right-eye distortion model according to the observer's binocular coordinates.
可选地,未经校正的左目畸变成像样本和未经校正的右目畸变成像样本是根据观察者双目的坐标与最终成像面上的目标位置的坐标之间的空间转换关系获取的,目标位置为左目视线与右目视线延长线的交点。Optionally, the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are obtained according to the spatial transformation relationship between the binocular coordinates of the observer and the coordinates of the target position on the final imaging plane, and the target position It is the intersection point of the extension line of the left eye line of sight and the right eye line of sight.
S920,将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图。S920: Interleave the pixels in the pre-distorted image for the left eye with the pixels in the pre-distorted image for the right eye to generate a composite image with interleaving of pixels.
可选地,将左目预畸变图像中的像素与右目预畸变图像中的像素进行交织生成像素交织合成图包括:将左目预畸变图像和右目预畸变图像重叠;确定包络范围,包络范围涵盖左目预畸变图像和右目预畸变图像中的有效像素;将左目预畸变图像中的像素与右目预畸变图像中的像素在包络范围内进行交织生成像素交织合成图。Optionally, interleaving the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image to generate a pixel interleaving composite image includes: overlapping the left-eye pre-distorted image and the right-eye pre-distorted image; determining an envelope range, and the envelope range covers The effective pixels in the left-eye pre-distorted image and the right-eye pre-distorted image; the pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image are interleaved within the envelope range to generate a pixel interleaving composite image.
S930,在双目视差生成器的作用下,将像素交织合成图经过光学镜组推送到观察者的双 目。S930, under the action of the binocular parallax generator, push the pixel interlaced composite image to the observer's binocular through the optical lens group.
其中,像素交织合成图中的左目预畸变图像的像素被推送到观察者的左目,像素交织合成图中的右目预畸变图像的像素被推送到观察者的右目。Among them, the pixels of the left eye pre-distorted image in the pixel interleaving composite image are pushed to the left eye of the observer, and the pixels of the right eye pre-distorted image in the pixel interleaving composite image are pushed to the observer's right eye.
可选地,光学镜组可以包括平面反射镜和自由曲面镜。Optionally, the optical mirror group may include a flat mirror and a free-form mirror.
可选地,双目视差生成器可以为视差屏障或指向性光源部件。Optionally, the binocular parallax generator may be a parallax barrier or a directional light source component.
可选地,视差屏障可以为光阑或柱状透镜。Alternatively, the parallax barrier may be a diaphragm or a lenticular lens.
图10是本申请实施例提供的一种装置的硬件结构示例性框图。该装置1000(该装置1000具体可以是一种计算机设备)包括存储器1010、处理器1020、通信接口1030以及总线1040。其中,存储器1010、处理器1020、通信接口1030通过总线1040实现彼此之间的通信连接。FIG. 10 is an exemplary block diagram of a hardware structure of an apparatus provided by an embodiment of the present application. The apparatus 1000 (the apparatus 1000 may specifically be a computer device) includes a memory 1010 , a processor 1020 , a communication interface 1030 and a bus 1040 . The memory 1010 , the processor 1020 and the communication interface 1030 are connected to each other through the bus 1040 for communication.
存储器1010可以是只读存储器(read only memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(random access memory,RAM)。存储器1010可以存储程序,当存储器1010中存储的程序被处理器1020执行时,处理器1020用于执行本申请实施例的显示方法的各个步骤。The memory 1010 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1010 may store a program, and when the program stored in the memory 1010 is executed by the processor 1020, the processor 1020 is configured to execute each step of the display method of the embodiment of the present application.
处理器1020可以采用通用的中央处理器(central processing unit,CPU),微处理器,应用专用集成电路(application specific integrated circuit,ASIC),图形处理器(graphics processing unit,GPU)或者一个或多个集成电路,用于执行相关程序,以实现本申请方法实施例的显示方法。The processor 1020 may adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processor (graphics processing unit, GPU), or one or more The integrated circuit is used to execute the relevant program to realize the display method of the method embodiment of the present application.
处理器1020还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请的显示方法可以通过处理器1020中的硬件的集成逻辑电路或者软件形式的指令完成。The processor 1020 may also be an integrated circuit chip with signal processing capability. In the implementation process, the display method of the present application may be implemented by an integrated logic circuit of hardware in the processor 1020 or an instruction in the form of software.
上述处理器1020还可以是通用处理器、数字信号处理器(digital signal processing,DSP)、专用集成电路(ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1010,处理器1020读取存储器1010中的信息,结合其硬件完成本申请实施例的装置中包括的模块所需执行的功能,或者执行本申请方法实施例的显示方法。The above-mentioned processor 1020 may also be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, Discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 1010, and the processor 1020 reads the information in the memory 1010, and combines its hardware to complete the functions required to be performed by the modules included in the apparatus of the embodiments of the present application, or to execute the display methods of the method embodiments of the present application.
通信接口1030使用例如但不限于收发器一类的收发装置,来实现装置1100与其他设备或通信网络之间的通信。The communication interface 1030 implements communication between the apparatus 1100 and other devices or a communication network using a transceiving device such as, but not limited to, a transceiver.
总线1040可包括在装置1000各个部件(例如,存储器1010、处理器1020、通信接口1030)之间传送信息的通路。Bus 1040 may include a pathway for communicating information between various components of device 1000 (eg, memory 1010, processor 1020, communication interface 1030).
本申请实施例还提供了一种控制器,包括输入输出接口、处理器和存储器,所述处理器用于控制输入输出接口收发信号或信息,所述存储器用于存储计算机程序,所述处理器用于从存储器中调用并运行所述计算机程序,使得该所述控制器执行本申请方法实施例的用于双目畸变校正的显示方法。An embodiment of the present application further provides a controller, including an input and output interface, a processor and a memory, where the processor is used for controlling the input and output interface to send and receive signals or information, the memory is used for storing a computer program, and the processor is used for The computer program is called and executed from the memory, so that the controller executes the display method for binocular distortion correction according to the method embodiment of the present application.
本申请实施例还提供了一种车载系统,包括本申请装置实施例的用于双目畸变校正的显 示系统。The embodiments of the present application also provide a vehicle-mounted system, including the display system for binocular distortion correction according to the device embodiments of the present application.
本申请实施例还提供了一种桌面显示系统,包括本申请装置实施例的用于双目畸变校正的显示系统。The embodiment of the present application also provides a desktop display system, including the display system for binocular distortion correction according to the device embodiment of the present application.
本申请实施例还提供了一种车辆,包括本申请装置实施例的用于双目畸变校正的显示系统。可选地,本申请所涉及的车辆可以是传统内燃机汽车、混合动力汽车、纯电动汽车、集中式驱动汽车和分布式驱动汽车等,本申请对此不做限定。The embodiments of the present application also provide a vehicle, including the display system for binocular distortion correction according to the device embodiments of the present application. Optionally, the vehicle involved in this application may be a traditional internal combustion engine vehicle, a hybrid electric vehicle, a pure electric vehicle, a centralized drive vehicle, a distributed drive vehicle, etc., which is not limited in this application.
本申请实施例还提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述方法实施例的用于双目畸变校正的显示方法。The embodiments of the present application also provide a computer program product containing instructions, when the computer program product runs on a computer, the computer program product enables the computer to execute the display method for binocular distortion correction of the above method embodiments.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序包括用于执行本申请方法实施例的用于双目畸变校正的显示方法的指令。Embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program includes a display for binocular distortion correction for executing the method embodiments of the present application method instruction.
本申请实施例还提供了一种计算机程序,该计算机程序包括用于执行本申请方法实施例的用于双目畸变校正的显示方法的指令。The embodiments of the present application also provide a computer program, where the computer program includes instructions for executing the display method for binocular distortion correction according to the method embodiments of the present application.
本申请实施例还提供了一种芯片,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行本申请方法实施例的用于双目畸变校正的显示方法。An embodiment of the present application further provides a chip, where the chip includes a processor and a data interface, the processor reads an instruction stored in a memory through the data interface, and executes the method for binocular distortion of the method embodiment of the present application. Corrected display method.
可选地,作为一种实现方式,所述芯片还可以包括存储器,所述存储器中存储有指令,所述处理器用于执行所述存储器上存储的指令,当所述指令被执行时,所述处理器用于执行本申请方法实施例的用于双目畸变校正的显示方法。Optionally, as an implementation manner, the chip may further include a memory, in which instructions are stored, the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the The processor is configured to execute the display method for binocular distortion correction according to the method embodiment of the present application.
本申请实施例还提供了一种芯片系统,该芯片系统包括至少一个处理器,用于支持实现上述方法实施例的用于双目畸变校正的显示方法的某些实现中所涉及的功能,例如,例如接收或处理上述方法中所涉及的数据和/或信息。Embodiments of the present application further provide a chip system, where the chip system includes at least one processor for supporting functions involved in implementing certain implementations of the display method for binocular distortion correction in the above method embodiments, for example , such as receiving or processing data and/or information involved in the above methods.
在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存程序指令和数据,存储器位于处理器之内或处理器之外。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a possible design, the chip system further includes a memory for storing program instructions and data, and the memory is located inside the processor or outside the processor. The chip system may be composed of chips, or may include chips and other discrete devices.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (26)

  1. 一种用于双目畸变校正的显示系统,其特征在于,包括:图像生成器、双目视差生成器和光学镜组;A display system for binocular distortion correction, comprising: an image generator, a binocular parallax generator and an optical lens group;
    所述图像生成器用于,生成左目预畸变图像和右目预畸变图像,并将所述左目预畸变图像中的像素与所述右目预畸变图像中的像素进行交织生成像素交织合成图;所述双目视差生成器使得所述像素交织合成图经过所述光学镜组被推送到观察者的双目,其中,所述像素交织合成图中的左目预畸变图像的像素被推送到所述观察者的左目,所述像素交织合成图中的右目预畸变图像的像素被推送到所述观察者的右目。The image generator is configured to generate a left-eye pre-distorted image and a right-eye pre-distorted image, and interleave the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image to generate a pixel-interleaved composite image; The eye parallax generator causes the pixel interleaving composite image to be pushed to the observer's binocular through the optical lens group, wherein the pixels of the left eye pre-distorted image in the pixel interleaving composite image are pushed to the observer's binocular. For the left eye, the pixels of the right eye predistorted image in the pixel-interleaved composite image are pushed to the observer's right eye.
  2. 根据权利要求1所述的显示系统,其特征在于,所述图像生成器还用于,The display system of claim 1, wherein the image generator is further configured to:
    将所述左目预畸变图像和所述右目预畸变图像重叠;overlapping the left eye pre-distorted image and the right eye pre-distorted image;
    确定包络范围,所述包络范围涵盖所述左目预畸变图像和所述右目预畸变图像中的有效像素;determining an envelope range, the envelope range covers valid pixels in the left-eye pre-distorted image and the right-eye pre-distorted image;
    将所述左目预畸变图像中的像素与所述右目预畸变图像中的像素在所述包络范围内进行交织生成像素交织合成图。The pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image are interleaved within the envelope range to generate a pixel interleaving composite image.
  3. 根据权利要求1或2所述的显示系统,其特征在于,所述显示系统还包括:畸变校正器;所述畸变校正器用于,The display system according to claim 1 or 2, wherein the display system further comprises: a distortion corrector; the distortion corrector is used for:
    获取左目畸变模型和右目畸变模型,所述左目畸变模型是根据目标源图像样本和未经校正的左目畸变成像样本生成的,所述右目畸变模型是根据目标源图像样本和未经校正的右目畸变成像样本生成的;Obtain a left-eye distortion model and a right-eye distortion model, the left-eye distortion model is generated from the target source image sample and the uncorrected left-eye distortion image sample, and the right-eye distortion model is based on the target source image sample and the uncorrected right-eye distortion generated from the imaging sample;
    所述图像生成器还用于,The image generator is also used to,
    获取目标源图像;根据所述目标源图像、所述左目畸变模型和所述右目畸变模型生成所述左目预畸变图像和所述右目预畸变图像。Acquiring a target source image; generating the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model and the right-eye distortion model.
  4. 根据权利要求3所述的显示系统,其特征在于,所述目标源图像为目标视角处拍摄的源图像;所述图像生成器还用于,The display system according to claim 3, wherein the target source image is a source image captured at a target viewing angle; the image generator is further configured to:
    根据所述目标源图像和所述左目畸变模型生成所述左目预畸变图像,根据所述目标源图像和所述右目畸变模型生成所述右目预畸变图像。The left-eye pre-distortion image is generated according to the target source image and the left-eye distortion model, and the right-eye pre-distortion image is generated according to the target source image and the right-eye distortion model.
  5. 根据权利要求3所述的显示系统,其特征在于,所述目标源图像包括左目视角目标源图像和右目视角目标源图像;The display system according to claim 3, wherein the target source image comprises a left eye perspective target source image and a right eye perspective target source image;
    所述图像生成器还用于,The image generator is also used to,
    根据所述左目视角目标源图像和所述左目畸变模型生成所述左目预畸变图像,根据所述右目视角目标源图像和所述右目畸变模型生成所述右目预畸变图像。The left eye pre-distorted image is generated according to the left eye perspective target source image and the left eye distortion model, and the right eye pre-distorted image is generated according to the right eye perspective target source image and the right eye distortion model.
  6. 根据权利要求4或5所述的显示系统,其特征在于,所述显示系统还包括:眼动追踪器;所述眼动追踪器用于,The display system according to claim 4 or 5, wherein the display system further comprises: an eye tracker; the eye tracker is used for:
    检测所述观察者双目的坐标;detecting the binocular coordinates of the observer;
    所述畸变校正器还用于,根据所述观察者双目的坐标获取所述左目畸变模型和所述右目畸变模型。The distortion corrector is further configured to acquire the left-eye distortion model and the right-eye distortion model according to the observer's binocular coordinates.
  7. 根据权利要求6所述的显示系统,其特征在于,所述未经校正的左目畸变成像样 本和所述未经校正的右目畸变成像样本是根据所述观察者双目的坐标与最终成像面上的目标位置的坐标之间的空间转换关系获取的,所述目标位置为左目视线与右目视线延长线的交点。The display system according to claim 6, wherein the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are based on the binocular coordinates of the observer and the final imaging plane. The target position is obtained from the spatial transformation relationship between the coordinates of the target position of , where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight.
  8. 根据权利要求1至7中任一项所述的显示系统,其特征在于,所述光学镜组包括平面反射镜和自由曲面镜。The display system according to any one of claims 1 to 7, wherein the optical mirror group comprises a flat mirror and a free-form mirror.
  9. 根据权利要求1至8中任一项所述的显示系统,其特征在于,所述双目视差生成器为视差屏障或指向性光源部件。The display system according to any one of claims 1 to 8, wherein the binocular parallax generator is a parallax barrier or a directional light source component.
  10. 根据权利要求9所述的显示系统,其特征在于,所述视差屏障为光阑或柱状透镜。The display system according to claim 9, wherein the parallax barrier is a diaphragm or a lenticular lens.
  11. 根据权利要求1至10中任一项所述的显示系统,其特征在于,所述显示系统为办公娱乐显示系统或车载抬头显示系统。The display system according to any one of claims 1 to 10, wherein the display system is an office entertainment display system or a vehicle head-up display system.
  12. 一种用于双目畸变校正的显示方法,其特征在于,包括:A display method for binocular distortion correction, comprising:
    生成左目预畸变图像和右目预畸变图像;Generate a left eye pre-distorted image and a right eye pre-distorted image;
    将所述左目预畸变图像中的像素与所述右目预畸变图像中的像素进行交织生成像素交织合成图;Interleaving the pixels in the left-eye pre-distorted image with the pixels in the right-eye pre-distorted image to generate a composite image of pixel interleaving;
    将所述像素交织合成图推送到观察者的双目,其中,所述像素交织合成图中的左目预畸变图像的像素被推送到所述观察者的左目,所述像素交织合成图中的右目预畸变图像的像素被推送到所述观察者的右目。Pushing the pixel-interleaved composite image to the observer's binocular, wherein the pixels of the left-eye pre-distorted image in the pixel-interleaved composite image are pushed to the observer's left eye, and the pixel-interleaved composite image of the right-eye image is pushed to the observer's left eye. The pixels of the predistorted image are pushed to the right eye of the viewer.
  13. 根据权利要求12所述的显示方法,其特征在于,所述将所述左目预畸变图像中的像素与所述右目预畸变图像中的像素进行交织生成像素交织合成图包括:The display method according to claim 12, wherein the interleaving of the pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image to generate a pixel interleaving composite image comprises:
    将所述左目预畸变图像和所述右目预畸变图像重叠;overlapping the left eye pre-distorted image and the right eye pre-distorted image;
    确定包络范围,所述包络范围涵盖所述左目预畸变图像和所述右目预畸变图像中的有效像素;determining an envelope range, the envelope range covers valid pixels in the left-eye pre-distorted image and the right-eye pre-distorted image;
    将所述左目预畸变图像中的像素与所述右目预畸变图像中的像素在所述包络范围内进行交织生成像素交织合成图。The pixels in the left-eye pre-distorted image and the pixels in the right-eye pre-distorted image are interleaved within the envelope range to generate a pixel interleaving composite image.
  14. 根据权利要求12或13所述的显示方法,其特征在于,所述方法还包括:The display method according to claim 12 or 13, wherein the method further comprises:
    获取左目畸变模型和右目畸变模型,所述左目畸变模型是根据目标源图像样本和未经校正的左目畸变成像样本生成的,所述右目畸变模型是根据目标源图像样本和未经校正的右目畸变成像样本生成的;Obtain a left-eye distortion model and a right-eye distortion model, the left-eye distortion model is generated from the target source image sample and the uncorrected left-eye distortion image sample, and the right-eye distortion model is based on the target source image sample and the uncorrected right-eye distortion generated from the imaging sample;
    所述生成左目预畸变图像和右目预畸变图像包括:The generating of the left-eye pre-distorted image and the right-eye pre-distorted image includes:
    获取目标源图像;Get the target source image;
    根据所述目标源图像、所述左目畸变模型和所述右目畸变模型生成所述左目预畸变图像和所述右目预畸变图像。The left-eye pre-distortion image and the right-eye pre-distortion image are generated according to the target source image, the left-eye distortion model and the right-eye distortion model.
  15. 根据权利要求14所述的显示方法,其特征在于,所述目标源图像为目标视角处拍摄的源图像;所述根据所述目标源图像、所述左目畸变模型和所述右目畸变模型生成所述左目预畸变图像和所述右目预畸变图像包括:The display method according to claim 14, wherein the target source image is a source image captured at a target viewing angle; the generating the target source image according to the target source image, the left-eye distortion model and the right-eye distortion model The left-eye pre-distorted image and the right-eye pre-distorted image include:
    根据所述目标源图像和所述左目畸变模型生成所述左目预畸变图像,根据所述目标源图像和所述右目畸变模型生成所述右目预畸变图像。The left-eye pre-distortion image is generated according to the target source image and the left-eye distortion model, and the right-eye pre-distortion image is generated according to the target source image and the right-eye distortion model.
  16. 根据权利要求14所述的显示方法,其特征在于,所述目标源图像包括左目视角 目标源图像和右目视角目标源图像;display method according to claim 14, is characterized in that, described target source image comprises left eye angle target source image and right eye angle target source image;
    所述根据所述目标源图像、所述左目畸变模型和所述右目畸变模型生成所述左目预畸变图像和所述右目预畸变图像包括:The generating the left-eye pre-distortion image and the right-eye pre-distortion image according to the target source image, the left-eye distortion model and the right-eye distortion model includes:
    根据所述左目视角目标源图像和所述左目畸变模型生成所述左目预畸变图像,根据所述右目视角目标源图像和所述右目畸变模型生成所述右目预畸变图像。The left eye pre-distorted image is generated according to the left eye perspective target source image and the left eye distortion model, and the right eye pre-distorted image is generated according to the right eye perspective target source image and the right eye distortion model.
  17. 根据权利要求15或16所述的显示方法,其特征在于,所述方法还包括:The display method according to claim 15 or 16, wherein the method further comprises:
    检测所述观察者双目的坐标;detecting the binocular coordinates of the observer;
    所述获取左目畸变模型和右目畸变模型包括:The obtaining of the left-eye distortion model and the right-eye distortion model includes:
    根据所述观察者双目的坐标获取所述左目畸变模型和所述右目畸变模型。The left-eye distortion model and the right-eye distortion model are acquired according to the observer's binocular coordinates.
  18. 根据权利要求17所述的显示方法,其特征在于,所述未经校正的左目畸变成像样本和所述未经校正的右目畸变成像样本是根据所述观察者双目的坐标与最终成像面上的目标位置的坐标之间的空间转换关系获取的,所述目标位置为左目视线与右目视线延长线的交点。The display method according to claim 17, wherein the uncorrected left-eye distortion imaging sample and the uncorrected right-eye distortion imaging sample are based on the binocular coordinates of the observer and the final imaging plane. The target position is obtained from the spatial transformation relationship between the coordinates of the target position of , where the target position is the intersection of the extension line of the left eye line of sight and the right eye line of sight.
  19. 根据权利要求12至18中任一项所述的显示方法,其特征在于,所述方法还包括:The display method according to any one of claims 12 to 18, wherein the method further comprises:
    通过双目视差生成器,将所述像素交织合成图推送到观察者的双目,其中,所述双目视差生成器为视差屏障或指向性光源部件。The binocular parallax generator is used to push the pixel interlaced composite image to the observer's binocular, wherein the binocular parallax generator is a parallax barrier or a directional light source component.
  20. 根据权利要求19所述的显示方法,其特征在于,所述视差屏障为光阑或柱状透镜。The display method according to claim 19, wherein the parallax barrier is a diaphragm or a lenticular lens.
  21. 一种控制器,其特征在于,包括输入输出接口、处理器和存储器,所述处理器用于控制输入输出接口收发信号或信息,所述存储器用于存储计算机程序,所述处理器用于从存储器中调用并运行所述计算机程序,使得该所述控制器执行权利要求12至18中任一项所述的用于双目畸变校正的显示方法。A controller is characterized in that it comprises an input and output interface, a processor and a memory, the processor is used to control the input and output interface to send and receive signals or information, the memory is used to store a computer program, and the processor is used to retrieve a computer program from the memory The computer program is called and executed, so that the controller executes the display method for binocular distortion correction according to any one of claims 12 to 18.
  22. 一种车载系统,其特征在于,包括权利要求1至11中任一项所述的用于双目畸变校正的显示系统。An in-vehicle system, characterized by comprising the display system for binocular distortion correction according to any one of claims 1 to 11.
  23. 一种桌面显示系统,其特征在于,包括权利要求1至11中任一项所述的用于双目畸变校正的显示系统。A desktop display system, characterized in that it includes the display system for binocular distortion correction according to any one of claims 1 to 11.
  24. 一种车辆,其特征在于,包括权利要求1至11中任一项所述的用于双目畸变校正的显示系统。A vehicle, characterized by comprising the display system for binocular distortion correction according to any one of claims 1 to 11.
  25. 一种计算机程序,其特征在于,所述计算机程序包括用于执行权利要求12至18中任一项所述的用于双目畸变校正的显示方法的指令。A computer program, characterized in that the computer program includes instructions for executing the display method for binocular distortion correction according to any one of claims 12 to 18.
  26. 一种计算机可读介质,其特征在于,用于存储计算机程序,所述计算机程序包括用于执行权利要求12至18中任一项所述的用于双目畸变校正的显示方法的指令。A computer-readable medium, characterized by being used for storing a computer program, wherein the computer program includes instructions for executing the display method for binocular distortion correction according to any one of claims 12 to 18.
PCT/CN2022/074629 2021-04-28 2022-01-28 Display system and display method for binocular distortion correction, and vehicle-mounted system WO2022227753A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110468890.9A CN115249214A (en) 2021-04-28 2021-04-28 Display system and method for binocular distortion correction and vehicle-mounted system
CN202110468890.9 2021-04-28

Publications (1)

Publication Number Publication Date
WO2022227753A1 true WO2022227753A1 (en) 2022-11-03

Family

ID=83696453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/074629 WO2022227753A1 (en) 2021-04-28 2022-01-28 Display system and display method for binocular distortion correction, and vehicle-mounted system

Country Status (2)

Country Link
CN (1) CN115249214A (en)
WO (1) WO2022227753A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190080517A1 (en) * 2016-04-15 2019-03-14 Center Of Human-Centered Interaction For Coexistence Apparatus and method for three-dimensional information augmented video see-through display, and rectification apparatus
US20190086679A1 (en) * 2017-09-19 2019-03-21 Intel Corporation Head-mounted displays having curved lens arrays and generating elemental images for displaying
CN111047709A (en) * 2019-11-29 2020-04-21 暨南大学 Binocular vision naked eye 3D image generation method
US20200134927A1 (en) * 2018-09-03 2020-04-30 Guangdong Virtual Reality Technology Co., Ltd. Three-dimensional display method, terminal device, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190080517A1 (en) * 2016-04-15 2019-03-14 Center Of Human-Centered Interaction For Coexistence Apparatus and method for three-dimensional information augmented video see-through display, and rectification apparatus
US20190086679A1 (en) * 2017-09-19 2019-03-21 Intel Corporation Head-mounted displays having curved lens arrays and generating elemental images for displaying
US20200134927A1 (en) * 2018-09-03 2020-04-30 Guangdong Virtual Reality Technology Co., Ltd. Three-dimensional display method, terminal device, and storage medium
CN111047709A (en) * 2019-11-29 2020-04-21 暨南大学 Binocular vision naked eye 3D image generation method

Also Published As

Publication number Publication date
CN115249214A (en) 2022-10-28

Similar Documents

Publication Publication Date Title
JP4642723B2 (en) Image generating apparatus and image generating method
JP4257356B2 (en) Image generating apparatus and image generating method
CN106254854B (en) Preparation method, the apparatus and system of 3-D image
WO2017212679A1 (en) Image generation device and image generation method
US20060018509A1 (en) Image generation device
KR100770019B1 (en) Apparatus and Method for correction of the image distortion of stereo-camera
US20070248260A1 (en) Supporting a 3D presentation
JP2000215311A (en) Method and device for generating virtual viewpoint image
TWI788739B (en) 3D display device, 3D image display method
US11960086B2 (en) Image generation device, head-mounted display, and image generation method
US20220113543A1 (en) Head-mounted display and image display method
CN113253845A (en) View display method, device, medium and electronic equipment based on eye tracking
TWI820246B (en) Apparatus with disparity estimation, method and computer program product of estimating disparity from a wide angle image
WO2017118662A1 (en) Spherical virtual reality camera
CN112995638A (en) Naked eye 3D acquisition and display system and method capable of automatically adjusting parallax
JP7261642B2 (en) Image processing method, image processing device, and head mounted display
US10148931B2 (en) Three-dimensional video image display processing device, video information recording medium, video information providing server, and recording medium storing a program
JP4523538B2 (en) 3D image display device
WO2022227753A1 (en) Display system and display method for binocular distortion correction, and vehicle-mounted system
US20220113794A1 (en) Display device and image display method
CN114513646B (en) Method and device for generating panoramic video in three-dimensional virtual scene
Gurrieri et al. Stereoscopic cameras for the real-time acquisition of panoramic 3D images and videos
WO2019026388A1 (en) Image generation device and image generation method
CN115222793A (en) Method, device and system for generating and displaying depth image and readable medium
JP7429515B2 (en) Image processing device, head-mounted display, and image display method

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: 22794234

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: 22794234

Country of ref document: EP

Kind code of ref document: A1