[go: up one dir, main page]

HK1224467B - Method and system for projector calibration - Google Patents

Method and system for projector calibration Download PDF

Info

Publication number
HK1224467B
HK1224467B HK16112425.2A HK16112425A HK1224467B HK 1224467 B HK1224467 B HK 1224467B HK 16112425 A HK16112425 A HK 16112425A HK 1224467 B HK1224467 B HK 1224467B
Authority
HK
Hong Kong
Prior art keywords
image
calibration
pattern
projector
processing element
Prior art date
Application number
HK16112425.2A
Other languages
Chinese (zh)
Other versions
HK1224467A1 (en
Inventor
Grundhöfer Anselm
Original Assignee
Disney Enterprises, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US14/534,855 external-priority patent/US10080004B2/en
Application filed by Disney Enterprises, Inc. filed Critical Disney Enterprises, Inc.
Publication of HK1224467A1 publication Critical patent/HK1224467A1/en
Publication of HK1224467B publication Critical patent/HK1224467B/en

Links

Description

用于投影仪校准的方法和系统Method and system for projector calibration

技术领域Technical Field

本文所描述的技术一般涉及用于校准一个或多个投影仪的方法和系统。The technology described herein generally relates to methods and systems for calibrating one or more projectors.

背景技术Background Art

图像投影仪可以用于将图像投影到诸如屏幕或其它表面之类的投影表面上。在一些应用中,视频投影仪可以用于增强、补充(compliment)或以其它方式扩增表面上的物体以创建动态且令人愉悦的用户体验,诸如像游乐园魅力。例如,可以在表面上投影与表面上的真实物体虚拟“交互”的角色或物体。Image projectors can be used to project images onto a projection surface, such as a screen or other surface. In some applications, video projectors can be used to enhance, compliment, or otherwise augment objects on a surface to create a dynamic and enjoyable user experience, such as an amusement park attraction. For example, characters or objects can be projected onto a surface that virtually "interact" with real objects on the surface.

常规视频投影仪具有数个限制。特别地,常规视频投影仪具有有限的色域和亮度。由于这些限制,仅使用常规视频投影仪的呈现可能看起来枯燥和单调。另外,在其中存在环境照明的情形中,结果得到的图像可能看起来被冲掉并且不真实。相反,诸如激光扫描投影仪之类的激光投影仪具有相比于常规视频投影仪的增加的亮度和色域。特别地,激光投影仪可以投影纯饱和的、即单色的红色、绿色和蓝色色调,这允许比常规视频投影仪明显更宽的色域。Conventional video projectors have several limitations. In particular, they have a limited color gamut and brightness. Due to these limitations, presentations using only a conventional video projector can appear dull and monotonous. Furthermore, in situations where there is ambient lighting, the resulting image can appear washed out and unrealistic. In contrast, laser projectors, such as laser scanning projectors, have increased brightness and color gamut compared to conventional video projectors. In particular, laser projectors can project pure, saturated, i.e., monochromatic, red, green, and blue tones, which allows for a significantly wider color gamut than conventional video projectors.

然而,用于激光投影仪的已知校准技术要求大量用户交互、是时间密集的,并且通常并不非常精确。这样,存在对于可以用于更精确且自动地校准激光投影仪的技术的需要。However, known calibration techniques for laser projectors require a lot of user interaction, are time intensive, and are generally not very accurate.As such, there is a need for techniques that can be used to more accurately and automatically calibrate laser projectors.

在说明书的该背景技术章节中包括的信息(包括本文引述的任何参考文献及其任何描述或讨论)仅仅为了技术参考的目的而被包括并且不被视为如权利要求中所限定的本发明的范围通过其定界的主题。The information included in this background section of the specification (including any references cited herein and any description or discussion thereof) is included for technical reference purposes only and is not to be considered subject matter by which the scope of the invention as defined in the claims is delimited.

发明内容Summary of the Invention

本公开的一个示例涉及一种校准具有非均匀失真特性的投影仪的方法。该方法包括通过处理元件接收投影到投影表面上的校准图案的第一校准图像,由处理元件通过分析第一校准图像和校准图案生成透视投影矩阵,以及由处理元件通过分析第一校准图像确定非线性映射函数。One example of the present disclosure relates to a method for calibrating a projector having non-uniform distortion characteristics. The method includes receiving, by a processing component, a first calibration image of a calibration pattern projected onto a projection surface, generating, by the processing component, a perspective projection matrix by analyzing the first calibration image and the calibration pattern, and determining, by the processing component, a nonlinear mapping function by analyzing the first calibration image.

本公开的另一示例包括一种用于校准诸如激光投影仪或具有非均匀失真特性的其它投影仪之类的投影仪的系统。该系统包括将第一校准图案投影到投影表面上的投影仪、捕获投影到投影表面上的第一校准图案的第一校准图像的相机以及与相机通信的计算设备。计算设备基于第一校准图像生成透视投影矩阵并且通过分析第一校准图像和第一校准图案确定用于投影仪的失真映射,失真映射确定存在于投影仪内的非线性失真,其未通过透视投影矩阵精确近似。Another example of the present disclosure includes a system for calibrating a projector, such as a laser projector or other projector with non-uniform distortion characteristics. The system includes a projector that projects a first calibration pattern onto a projection surface, a camera that captures a first calibration image of the first calibration pattern projected onto the projection surface, and a computing device in communication with the camera. The computing device generates a perspective projection matrix based on the first calibration image and determines a distortion map for the projector by analyzing the first calibration image and the first calibration pattern, the distortion map identifying nonlinear distortion present in the projector that is not accurately approximated by the perspective projection matrix.

本公开的又一示例包括具有通过使用非线性映射技术校准的激光投影仪和视频投影仪的投影系统。通过使用该系统,视频投影仪将第一图像投影到投影表面上并且激光投影仪将第二图像投影到投影表面上。第二图像在投影表面上叠覆第一图像并且提供用于第一图像的至少一个部分的扩增和/或强调(accent)。Another example of the present disclosure includes a projection system having a laser projector and a video projector calibrated using nonlinear mapping techniques. Using this system, the video projector projects a first image onto a projection surface, and the laser projector projects a second image onto the projection surface. The second image overlays the first image on the projection surface and provides augmentation and/or emphasis for at least a portion of the first image.

提供本发明内容来以简化的形式引入以下在具体实施方式中进一步描述的概念的选择。本发明内容不意图标识所要求保护的主题的关键特征或必要特征,也不意图用于限制所要求保护的主题的范围。在本发明的各种实施例的以下书面描述中提供如权利要求中所限定的本发明的特征、细节、实用性和优点的较为广泛的呈现并且将其图示在附图中。This Summary is provided to introduce a selection of concepts that are further described below in a simplified form in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. A more comprehensive presentation of the features, details, utilities, and advantages of the invention, as defined in the claims, is provided in the following written description of various embodiments of the invention and is illustrated in the accompanying drawings.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

本专利或申请文件包含以颜色绘制的至少一幅图。在请求和支付必要费用后将由官方提供具有(多个)彩色图的本专利或专利申请公开的副本。This patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.

图1是本公开的投影校准系统的等距视图。FIG1 is an isometric view of the projection calibration system of the present disclosure.

图2是图1的校准系统的框图。FIG. 2 is a block diagram of the calibration system of FIG. 1 .

图3是图1中的系统的激光投影仪110的框图。FIG3 is a block diagram of the laser projector 110 of the system in FIG1 .

图4A-4I图示了用于使用在校准图1的投影系统中的校准图案的各种示例。4A-4I illustrate various examples of calibration patterns for use in calibrating the projection system of FIG. 1 .

图5是图示了校准激光投影仪的方法的流程图。FIG5 is a flow chart illustrating a method of calibrating a laser projector.

图6是如投影到投影表面上的校准图案的示例校准图像。FIG. 6 is an example calibration image of a calibration pattern as projected onto a projection surface.

图7是图示了用于创建用于校准激光投影仪的失真映射的方法的流程图。7 is a flow chart illustrating a method for creating a distortion map for calibrating a laser projector.

图8A是使用图7中的方法创建的失真映射的示例。FIG. 8A is an example of a distortion map created using the method of FIG. 7 .

图8B是在图1的投影仪的校准之前和之后的校准测试图案元素的示例。8B is an example of calibration test pattern elements before and after calibration of the projector of FIG. 1 .

图9是使用经校准的激光投影仪的示例性投影系统的等距视图。9 is an isometric view of an exemplary projection system using a calibrated laser projector.

图10是图示了使用图9的系统投影图像的方法的流程图。FIG. 10 is a flow chart illustrating a method of projecting an image using the system of FIG. 9 .

图11A是在强调投影到场景图像上的图像之前的背景或场景图像的放大图像。FIG. 11A is an enlarged image of a background or scene image before emphasizing the image projected onto the scene image.

图11B是具有叠覆在其顶部之上的强调图像的图11A的场景图像的放大图像。FIG. 11B is a magnified image of the scene image of FIG. 11A with an emphasis image superimposed on top thereof.

说明书manual

概述Overview

本公开一般涉及校准展现出非均匀失真特性的投影仪,诸如激光投影仪、具有鱼眼透镜、椭球体或其它变化形状透镜的投影仪。方法还涉及单独或与一个或多个激光器或其它类型的投影仪组合地在一个或多个呈现中使用经校准的投影仪(在一个示例中为激光投影仪)。本文所公开的实施例一般适用于任何类型的投影仪,包括具有传统透镜投影系统的那些。然而,如以下所详述的,校准方法在与具有带有非典型、非均匀或非预期失真性质的光学组件的投影仪或投影仪系统一起使用时可以特别有用。如本文所使用的术语“激光投影仪”意指基本上任何类型的相干光投影部件,诸如但不限于验电器激光扫描投影仪。术语“具有非均匀失真特性的投影仪”可以是指具有带有极端和/或非均匀失真的投影光学器件的投影仪,诸如具有劣质透镜光学器件的投影仪、激光投影仪、具有光路中的镜子的投影系统或者使用鱼眼或其它广视场投影透镜的投影仪(例如图像最大化(IMAX)投影仪)。要指出的是,当如本文所描述的校准技术与常规基于透镜的投影仪一起使用时,一些步骤可能不是必要的以便精确地校准投影仪或投影系统。如本文所使用的术语“视频投影仪”意指基本上任何类型的基于透镜的二维光栅投影部件,诸如数字光处理投影仪、液晶显示投影仪等等。The present disclosure generally relates to calibrating projectors that exhibit non-uniform distortion characteristics, such as laser projectors, projectors with fisheye lenses, ellipsoidal lenses, or other lenses with varying shapes. Methods also relate to using a calibrated projector (in one example, a laser projector) in one or more presentations, either alone or in combination with one or more laser or other types of projectors. The embodiments disclosed herein are generally applicable to any type of projector, including those with traditional lens projection systems. However, as described in detail below, the calibration methods can be particularly useful when used with projectors or projector systems that have optical components with atypical, non-uniform, or unexpected distortion properties. As used herein, the term "laser projector" means essentially any type of coherent light projection component, such as, but not limited to, electroscopic laser scanning projectors. The term "projector with non-uniform distortion characteristics" can refer to a projector with projection optics that exhibit extreme and/or non-uniform distortion, such as a projector with inferior lens optics, a laser projector, a projection system with a mirror in the optical path, or a projector that uses a fisheye or other wide-field-of-view projection lens (e.g., an image maximization (IMAX) projector). It is noted that when the calibration techniques as described herein are used with a conventional lens-based projector, some steps may not be necessary in order to accurately calibrate the projector or projection system. As used herein, the term "video projector" means essentially any type of lens-based two-dimensional raster projection component, such as a digital light processing projector, a liquid crystal display projector, and the like.

校准方法包括创建校准图案,将一个或多个校准图案投影到投影表面上,利用一个或多个相机捕获(多个)校准图案的至少一个校准图像,以及使用所捕获的校准图像以创建将输入图像转换成输出图像的失真映射。在一些实施例中,可以投影两个或更多校准图案并且可以捕获两个或更多校准图像。The calibration method includes creating a calibration pattern, projecting one or more calibration patterns onto a projection surface, capturing at least one calibration image of the calibration pattern(s) using one or more cameras, and using the captured calibration image to create a distortion map that transforms an input image into an output image. In some embodiments, two or more calibration patterns may be projected and two or more calibration images may be captured.

用于校准方法的校准或测试图案可以是包括诸如点、线、线段、形状、色调变化或其它类型的图案之类的元素阵列的基本上任何类型的结构化光图案,其可以是随机的或有序的、重复的或非重复的。在一些示例中,校准图案可以表示二进制编码序列,其中图案内的每一个元素(例如点、线等)可以唯一可标识。在一些实施例中,可以按序列单独投影多个校准图案,其提供从每一个图案检测的附加数据点。如以下将讨论的,这允许校准图案的每一个元素用于确定投影表面上的校准图案的相应元素的物理位置。The calibration or test pattern used in the calibration method can be essentially any type of structured light pattern comprising an array of elements, such as dots, lines, line segments, shapes, tonal variations, or other types of patterns, which can be random or ordered, repeating or non-repeating. In some examples, the calibration pattern can represent a binary coded sequence, where each element (e.g., dot, line, etc.) within the pattern is uniquely identifiable. In some embodiments, multiple calibration patterns can be projected separately in sequence, providing additional data points detected from each pattern. As discussed below, this allows each element of the calibration pattern to be used to determine the physical location of the corresponding element of the calibration pattern on the projection surface.

一旦已经创建或选择了校准图案,向投影仪提供投影到投影表面上的校准图案。投影表面可以是屏幕、物体和/或基本上任何类型的表面。当投影校准图案时,两个或更多相机或单个三维相机捕获投影表面上的校准图案的校准图像。在一些实施例中,激光投影仪将校准图案投影在激光投影仪的虚拟图像平面上的特定或已知二维(2D)位置处。例如,已知2D位置可以是用于投影来自激光投影仪的光的原始输入坐标。此外,如以上所描述的,两个或更多校准图案可以以预确定的序列投影并且每一个校准图案的图像在其被投影时可以被捕获。Once a calibration pattern has been created or selected, the calibration pattern is provided to the projector for projection onto a projection surface. The projection surface can be a screen, an object, and/or substantially any type of surface. As the calibration pattern is projected, two or more cameras or a single three-dimensional camera captures a calibration image of the calibration pattern on the projection surface. In some embodiments, the laser projector projects the calibration pattern at a specific or known two-dimensional (2D) position on a virtual image plane of the laser projector. For example, the known 2D position can be the original input coordinates used to project light from the laser projector. Furthermore, as described above, two or more calibration patterns can be projected in a predetermined sequence and an image of each calibration pattern can be captured as it is projected.

通过使用处理器或其它计算元件,所捕获的校准图像和已知2D位置可以用于确定用于激光投影仪的测试图案元素的2D坐标。然而,处理器分析用于校准图案的测试图案元素的标识符以确定每一个元素在投影表面上的三维(3D)投影位置。例如,处理器可以基于所投影的校准图像内的元素位置以及已知相机位置和取向三角测量用于每一个元素的3D投影位置。然而,可以使用确定测试图案元素的3D位置的其它方法,诸如使用3D立体相机或能够进行深度测量的其它成像设备,在这些实例中可能仅要求单个相机,而三角测量投影位置可能要求两个相机。Using a processor or other computing element, the captured calibration image and known 2D positions can be used to determine the 2D coordinates of the test pattern elements for the laser projector. However, the processor analyzes the identifiers of the test pattern elements used in the calibration pattern to determine the three-dimensional (3D) projected position of each element on the projection surface. For example, the processor can triangulate the 3D projected position for each element based on the element position within the projected calibration image and the known camera position and orientation. However, other methods of determining the 3D position of the test pattern elements can be used, such as using a 3D stereo camera or other imaging device capable of depth measurement, in which instances only a single camera may be required, while triangulating the projected position may require two cameras.

一旦已经确定图案元件的实际3D位置,可以创建透视投影矩阵。例如,处理器可以通过假定激光投影仪的投影特性由用于针孔设备的针孔近似表示来创建透视投影矩阵。也就是说,处理器可以假定激光投影仪具有与具有光学透镜系统的常规投影仪类似的投影特性。以此方式创建的透视投影矩阵典型地不如所期望的那样精确,因为激光扫描投影仪由于镜组件而不是透镜组件的使用而不表现为针孔设备并且因此不类似于完美的针孔设备。因此,透视投影矩阵不精确地表示图案元素的位置。Once the actual 3D positions of the pattern elements have been determined, a perspective projection matrix can be created. For example, the processor can create the perspective projection matrix by assuming that the projection characteristics of a laser projector are approximately represented by a pinhole for a pinhole device. That is, the processor can assume that the laser projector has projection characteristics similar to those of a conventional projector with an optical lens system. The perspective projection matrix created in this manner is typically not as accurate as desired because a laser scanning projector does not behave like a pinhole device due to the use of a mirror assembly rather than a lens assembly and therefore does not resemble a perfect pinhole device. Therefore, the perspective projection matrix does not accurately represent the positions of the pattern elements.

为了改进精度,可以在应用所估计的透视投影矩阵之后执行附加的非线性2D映射以更加精确地匹配每一个图案元素的3D位置的变换。在一个实施例中,内插方法用于创建用于每一个所检测的图案元素之间的点的密集查找表。因此,激光投影仪在其虚拟图像平面上的点处展现出的失真可以被顾及到并且量化,这允许激光投影仪的校准。也就是说,可以使用与附加非线性2D映射组合的矩阵变换来转换或修改输入图像以提供输出图像,其中输出图像将投影成使得每一个像素被投影到投影表面上的期望位置上。To improve accuracy, additional nonlinear 2D mapping can be performed after applying the estimated perspective projection matrix to more accurately match the transformation of the 3D position of each pattern element. In one embodiment, an interpolation method is used to create a dense lookup table for points between each detected pattern element. Thus, the distortion exhibited by the laser projector at points on its virtual image plane can be accounted for and quantified, which allows for calibration of the laser projector. That is, a matrix transformation combined with the additional nonlinear 2D mapping can be used to transform or modify the input image to provide an output image, where the output image is projected so that each pixel is projected at the desired location on the projection surface.

由于激光投影仪可以被精确地校准从而允许输入图像投影在期望的位置处,因此激光投影仪可以用于要求高度精确的投影的呈现。例如,激光投影仪可以用于在视频投影仪的图像的顶部上或者在与其相同的位置上投影强调图像。在该示例中,激光投影仪可以被校准使得所投影的输入图像的特定元素将匹配由视频投影仪投影的对应或补充图像内容。作为另一示例,激光投影仪可以用于将图像投影到3D物体或表面上并且图像的每一个点可以显示在期望的位置上。Because laser projectors can be precisely calibrated to allow input images to be projected at the desired location, they can be used for presentations that require highly accurate projection. For example, a laser projector can be used to project an accent image on top of or in the same location as an image from a video projector. In this example, the laser projector can be calibrated so that specific elements of the projected input image will match corresponding or supplementary image content projected by the video projector. As another example, a laser projector can be used to project an image onto a 3D object or surface, with each point of the image displayed at the desired location.

在一个实施例中,包括经校准的激光投影仪和一个或多个视频投影仪的系统可以一起用于提供呈现、输出、娱乐特征、游乐园魅力等等。特别地,激光投影仪的增强的亮度和颜色饱和可以用于显示高频特征、强调细节,或者以其它方式将视频投影仪呈现扩增到一个或多个投影表面上。作为示例,如果由常规视频投影仪投影的物体应当具有闪烁或闪耀品质,诸如下雪场景或闪烁的钻石,激光投影仪可以用于投影叠覆有所投影的视频物体的亮得多的图像特征。在该示例中,激光投影的特征可以增强图像数据,创建“闪烁”或其它明亮输出,导致针对诸如游乐园客人之类的用户的更加现实和有趣的呈现。由于校准,由视频投影仪投影的图像和由激光投影投影的图像可以基本上对准以创建期望的美学效果。In one embodiment, a system including a calibrated laser projector and one or more video projectors can be used together to provide presentations, outputs, entertainment features, amusement park attractions, and the like. In particular, the enhanced brightness and color saturation of the laser projector can be used to display high-frequency features, emphasize details, or otherwise amplify the video projector presentation onto one or more projection surfaces. As an example, if an object projected by a conventional video projector should have a shimmering or sparkling quality, such as a snowy scene or a glittering diamond, a laser projector can be used to project a much brighter image feature superimposed on the projected video object. In this example, the features of the laser projection can enhance the image data, creating a "shimmer" or other bright output, resulting in a more realistic and interesting presentation for users such as amusement park guests. Due to the calibration, the image projected by the video projector and the image projected by the laser projection can be substantially aligned to create a desired aesthetic effect.

在一些实施例中,系统可以显示来自投影仪的期望图像内容,连同可以伴随或者同步到呈现的任何其它的视觉或音频效果,诸如附加的场景照明、特殊效果声音和/或角色对话。In some embodiments, the system can display the desired image content from the projector, along with any other visual or audio effects that may accompany or be synchronized to the presentation, such as additional scene lighting, special effects sounds, and/or character dialogue.

具体实施方式DETAILED DESCRIPTION

现在转向各图,现在将更加详细地讨论本公开的校准方法和系统。图1是校准系统10的透视图。图2是校准系统10的简化框图。参照图1和2,校准系统10可以包括一个或多个激光投影仪110、投影表面161、一个或多个相机120a, 120b、以及一个或多个计算机130。一个或多个激光投影仪110、相机120a, 120b、以及计算机130可以全部与彼此电气通信和/或包括在每一个设备之间共享和输送信息的能力。以下将按顺序讨论每一个部件。Turning now to the figures, the calibration method and system of the present disclosure will now be discussed in greater detail. FIG. 1 is a perspective view of a calibration system 10. FIG. 2 is a simplified block diagram of the calibration system 10. Referring to FIG. 1 and FIG. 2, the calibration system 10 may include one or more laser projectors 110, a projection surface 161, one or more cameras 120a, 120b, and one or more computers 130. The one or more laser projectors 110, cameras 120a, 120b, and computer 130 may all be in electrical communication with one another and/or include the ability to share and transfer information between each device. Each component will be discussed in order below.

投影表面161可以是基本上任何类型的不透明表面或物体。例如,投影表面161可以是平坦的、非平面的或变化的并且可以包括一个或多个纹理或表面变化和/或颜色。在一些实例中,投影表面161可以包括相对于彼此在不同深度或位置处的多个表面。投影表面161的类型和结构可以如所期望的那样变化。Projection surface 161 can be substantially any type of opaque surface or object. For example, projection surface 161 can be flat, non-planar, or variable and can include one or more textures or surface variations and/or colors. In some examples, projection surface 161 can include multiple surfaces at different depths or positions relative to each other. The type and configuration of projection surface 161 can vary as desired.

相机120a和120b可以是能够捕获静止或视频图像的基本上任何设备,例如电荷耦合设备相机或互补金属氧化物半导体(CMOS)图像传感器相机。统称为相机系统120的相机120a, 120b可以能够捕获全色图像和/或单色图像,并且可以使用任何类型的滤波器,诸如一个或多个滤色器。在一个实施例中,相机120a, 120b被配置成捕获激光投影仪110的基本上整个动态范围而没有严重的剪裁。每一个相机120a, 120b配准或以其它方式放置在以其环境的已知位置处,使得每一个相机120a, 120b相对于投影表面161的特定取向和位置。Cameras 120a and 120b can be substantially any device capable of capturing still or video images, such as a charge-coupled device camera or a complementary metal oxide semiconductor (CMOS) image sensor camera. The cameras 120a, 120b, collectively referred to as camera system 120, can be capable of capturing full-color images and/or monochrome images and can use any type of filter, such as one or more color filters. In one embodiment, cameras 120a, 120b are configured to capture substantially the entire dynamic range of laser projector 110 without significant clipping. Each camera 120a, 120b is registered or otherwise placed at a known location in its environment, such that each camera 120a, 120b has a specific orientation and position relative to projection surface 161.

在一些实施例中,使用两个或更多相机120a, 120b。在这些实施例中,相机120a和120b以预确定的分离距离SD(即已知分离距离)从彼此物理偏移。除了分离距离SD之外,相机120a, 120b相对于彼此的取向同样可以是已知或预确定的。例如,相机120a, 120b的取向可以手动或者利用标准方法确定。要指出的是,虽然示出两个相机120a, 120b,但是在其它实施例中,可以使用多于两个相机,或者两个相机120a, 120b可以被诸如3D相机、立体或深度感测相机系统之类的单个相机取代。In some embodiments, two or more cameras 120a, 120b are used. In these embodiments, cameras 120a and 120b are physically offset from each other by a predetermined separation distance SD (i.e., a known separation distance). In addition to the separation distance SD , the orientation of cameras 120a, 120b relative to each other can also be known or predetermined. For example, the orientation of cameras 120a, 120b can be determined manually or using standard methods. It should be noted that while two cameras 120a, 120b are shown, in other embodiments, more than two cameras may be used, or both cameras 120a, 120b may be replaced by a single camera, such as a 3D camera, stereoscopic, or depth-sensing camera system.

继续参照图1和2,校准系统10还包括计算机130。计算机130分析来自投影仪110和相机120二者的数据,并且还可以可选地控制任一设备的一个或多个功能。在图1的示例中,仅示出一个计算机130;然而,在其它实施例中,可以使用多于一个计算机。计算机130可以包括一个或多个处理元件301、电源302、显示器303、一个或多个存储器部件304以及输入/输出(I/O)接口305。计算机130的每一个元件可以经由一个或多个系统总线、无线地通信等。Continuing with Figures 1 and 2, calibration system 10 also includes a computer 130. Computer 130 analyzes data from both projector 110 and camera 120 and may also optionally control one or more functions of either device. In the example of Figure 1, only one computer 130 is shown; however, in other embodiments, more than one computer may be used. Computer 130 may include one or more processing elements 301, a power supply 302, a display 303, one or more memory components 304, and an input/output (I/O) interface 305. Each element of computer 130 may communicate via one or more system buses, wirelessly, or the like.

处理元件301可以是能够处理、接收和/或发送指令的基本上任何类型的电子设备。例如,处理元件301可以是微处理器或微控制器。此外,应当指出的是,计算机130的选择部件可以由第一处理器控制,并且其它部件可以由第二处理器控制,其中第一和第二处理器可以或者可以不与彼此通信。Processing element 301 can be substantially any type of electronic device capable of processing, receiving, and/or sending instructions. For example, processing element 301 can be a microprocessor or a microcontroller. Furthermore, it should be noted that selected components of computer 130 can be controlled by a first processor, and other components can be controlled by a second processor, wherein the first and second processors may or may not be in communication with each other.

存储器304存储由计算机130使用的电子数据以存储用于处理元件301的指令,以及存储用于校准系统10的呈现和/或校准数据。例如,存储器304可以存储对应于各种应用的数据或内容,诸如但不限于音频文件、视频文件等等。存储器304可以是例如磁光存储装置、只读存储器、随机存取存储器、可擦除可编程存储器、闪速存储器或一个或多个类型的存储器部件的组合。The memory 304 stores electronic data used by the computer 130 to store instructions for the processing element 301, as well as to store presentation and/or calibration data used to calibrate the system 10. For example, the memory 304 may store data or content corresponding to various applications, such as, but not limited to, audio files, video files, etc. The memory 304 may be, for example, a magneto-optical storage device, a read-only memory, a random access memory, an erasable programmable memory, a flash memory, or a combination of one or more types of memory components.

电源302向计算机130的部件提供电力并且可以是电池、电源线或配置成向激光投影仪10的部件传输电力的其它元件。The power supply 302 provides power to the components of the computer 130 and may be a battery, a power cord, or other element configured to deliver power to the components of the laser projector 10 .

显示器303向用户提供视觉反馈,并且可选地可以充当使得用户能够控制、操纵和校准校准系统10的各种部件的输入元件。显示器303可以是任何合适的显示器,诸如液晶显示器、等离子体显示器、有机发光二极管显示器和/或阴极射线管显示器。在其中显示器303用作输入的实施例中,显示器可以包括一个或多个触摸或输入传感器,诸如电容触摸传感器、电阻网格等。Display 303 provides visual feedback to the user and can optionally serve as an input element that enables the user to control, manipulate, and calibrate various components of calibration system 10. Display 303 can be any suitable display, such as a liquid crystal display, a plasma display, an organic light emitting diode display, and/or a cathode ray tube display. In embodiments where display 303 is used as an input, the display can include one or more touch or input sensors, such as a capacitive touch sensor, a resistive grid, and the like.

I/O接口305提供去往和来自激光投影仪110、相机120和计算机130以及其它设备(例如其它计算机、辅助场景照明、扬声器等)的通信。I/O接口305可以包括一个或多个输入按钮、通信接口(诸如WiFi、以太网等)、以及其它通信部件(诸如通用串行总线(USB)线缆等)。The I/O interface 305 provides communication to and from the laser projector 110, the camera 120, and the computer 130, as well as other devices (e.g., other computers, auxiliary scene lighting, speakers, etc.). The I/O interface 305 may include one or more input buttons, communication interfaces (such as WiFi, Ethernet, etc.), and other communication components (such as a universal serial bus (USB) cable, etc.).

可选地,计算机130可以具有传感器306。传感器306包括能够感测特性或参数中的改变并且产生电信号的基本上任何设备。传感器306可以与相机120a, 120b结合使用,或者代替相机120a, 120b使用,或者可以用于感测诸如围绕投影表面161的环境照明之类的其它参数。计算机130的传感器306和显示器303可以如所期望的那样变化以满足特定应用的需要。Optionally, the computer 130 may include a sensor 306. The sensor 306 includes essentially any device capable of sensing a change in a characteristic or parameter and generating an electrical signal. The sensor 306 may be used in conjunction with or in place of the cameras 120a, 120b, or may be used to sense other parameters such as the ambient lighting surrounding the projection surface 161. The sensor 306 and display 303 of the computer 130 may be varied as desired to meet the needs of a particular application.

现在将更加详细地讨论校准系统10的激光投影仪110。图3是激光投影仪110的简化框图。参照图1和3,激光投影仪110用于将光图案、图像等投影到场景160的投影表面161上。激光投影仪110可以是基本上任何类型的相干光和/或非基于透镜的投影部件。应当指出的是,尽管关于激光投影仪讨论本文所讨论的实施例,但是校准方法和系统可以与展现出非均匀失真特性的基本上任何类型的投影仪(诸如像鱼眼透镜投影仪、椭球体投影仪等)一起使用,并且如此,任何特定实施例的讨论仅仅意指作为说明。The laser projector 110 of the calibration system 10 will now be discussed in greater detail. FIG3 is a simplified block diagram of the laser projector 110. Referring to FIG1 and 3, the laser projector 110 is used to project light patterns, images, etc., onto a projection surface 161 of a scene 160. The laser projector 110 can be substantially any type of coherent light and/or non-lens-based projection component. It should be noted that although the embodiments discussed herein are discussed with respect to laser projectors, the calibration methods and systems can be used with substantially any type of projector that exhibits non-uniform distortion characteristics (such as, for example, fisheye lens projectors, ellipsoidal projectors, etc.), and as such, the discussion of any particular embodiment is intended merely as an illustration.

在一些实施例中,激光投影仪110可以投射红色、绿色和/或蓝色相干光。在其它实施例中,如所必要的,激光投影仪110可以投射基本上任何其它颜色或频率的光,包括可见或不可见光(例如紫外、红外和其它光)。激光投影仪110可以是验电器扫描激光投影仪等等。激光投影仪110可以包括镜组件201、激光源202、一个或多个处理元件203、一个或多个存储器部件204、I/O接口205和电源206。在一些实施例中,计算机130可以提供用于投影仪110的一些或全部处理和存储功能,并且在这些实施例中,可以省略投影仪110的一个或多个特征。In some embodiments, laser projector 110 can project red, green, and/or blue coherent light. In other embodiments, laser projector 110 can project light of substantially any other color or frequency, including visible or invisible light (e.g., ultraviolet, infrared, and other light), as necessary. Laser projector 110 can be an electroscope scanning laser projector, etc. Laser projector 110 can include a mirror assembly 201, a laser source 202, one or more processing elements 203, one or more memory components 204, an I/O interface 205, and a power supply 206. In some embodiments, computer 130 can provide some or all of the processing and storage functions for projector 110, and in these embodiments, one or more features of projector 110 can be omitted.

镜组件201将激光源202发射的光引导到投影表面161上。在一些实施例中,镜组件201可以包括连接到验电器、伺服器或其它运动诱导元件的两个或更多镜子。在一个实施例中,镜组件201的镜子可以相对于彼此正交取向,使得一个镜子绕第一轴旋转并且另一个镜子绕与第一轴正交的第二轴旋转。运动诱导元件基于对投影仪110的输入而移动镜子以改变从投影仪110发射的光的输出和位置。Mirror assembly 201 directs light emitted by laser source 202 onto projection surface 161. In some embodiments, mirror assembly 201 may include two or more mirrors connected to an electroscope, servo, or other motion-inducing element. In one embodiment, the mirrors of mirror assembly 201 may be oriented orthogonally relative to each other, such that one mirror rotates about a first axis and the other mirror rotates about a second axis orthogonal to the first axis. The motion-inducing element moves the mirrors based on input to projector 110 to change the output and position of light emitted from projector 110.

一个或多个处理元件203从存储器部件204或I/O接口205接收输入图像数据。处理元件203可以基本上类似于处理元件112,并且可以是能够处理、接收和/或发送指令的任何电子设备。例如,处理元件203可以是微处理器或微控制器。One or more processing elements 203 receive input image data from memory component 204 or I/O interface 205. Processing element 203 can be substantially similar to processing element 112 and can be any electronic device capable of processing, receiving, and/or sending instructions. For example, processing element 203 can be a microprocessor or a microcontroller.

存储器204存储被激光投影仪110和/或计算机130使用的电子数据,并且可以是易失性或非易失性存储器。存储器204可以基本上类似于存储器114,但是在许多实施例中可以要求比其它部件更少的存储装置。Memory 204 stores electronic data used by laser projector 110 and/or computer 130 and can be volatile or non-volatile memory. Memory 204 can be substantially similar to memory 114, but in many embodiments may require less storage than other components.

电源206向激光投影仪的部件提供电力。电源206可以是电池、电源线或配置成向激光投影仪的部件传输电力的其它元件。The power supply 206 provides power to the components of the laser projector. The power supply 206 can be a battery, a power cord, or other element configured to deliver power to the components of the laser projector.

激光源202可以是一个或多个固态激光源,诸如激光二极管,或者可以是气体激光源和/或其它类型的相干光。The laser source 202 may be one or more solid-state laser sources, such as laser diodes, or may be a gas laser source and/or other types of coherent light.

I/O接口205提供去往和来自激光投影仪110和计算机130以及其它设备的通信。I/O接口205可以包括一个或多个输入按钮、通信接口(诸如WiFi、以太网等),以及其它通信部件(诸如通用串行总线(USB)线缆等)。I/O interface 205 provides communication to and from laser projector 110 and computer 130, as well as other devices. I/O interface 205 may include one or more input buttons, communication interfaces (such as WiFi, Ethernet, etc.), and other communication components (such as a universal serial bus (USB) cable, etc.).

再次参照图1,校准系统10用于校准激光投影仪110。作为校准过程的部分,激光投影仪110将校准图案150投影到场景160上。图4A-4I图示了校准图案150的各种示例。参照图4A-4I,校准图案150是具有若干图案元素151的预定义的、结构化的光布置。例如,校准图案150可以包括具有基本上恒定的性质或在规定的值范围内变化的性质的一个或多个团块或区。在一些示例中,每一个图案元素151或团块中的点可以在至少一个特性中类似于彼此。校准图案150可以以这样的方式构造使得每一个图案元素151的位置可以提供标识信息。例如,每一个图案元素151可以包括可以被明显显示和/或隐含推导的与其相关联的标识符。Referring again to FIG. 1 , the calibration system 10 is used to calibrate the laser projector 110. As part of the calibration process, the laser projector 110 projects a calibration pattern 150 onto the scene 160. FIG. 4A-4I illustrate various examples of the calibration pattern 150. Referring to FIG. 4A-4I , the calibration pattern 150 is a predefined, structured light arrangement having a number of pattern elements 151. For example, the calibration pattern 150 may include one or more clumps or areas having properties that are substantially constant or that vary within a specified range of values. In some examples, each pattern element 151 or point in a clump may be similar to each other in at least one characteristic. The calibration pattern 150 may be constructed in such a way that the position of each pattern element 151 may provide identification information. For example, each pattern element 151 may include an identifier associated therewith that may be explicitly displayed and/or implicitly inferred.

在一些实施例中,图案元素151可以是激光点或其它形状的阵列。在其它实施例中,图案元素151可以以圆形、加号、方形的形状或其它合适几何形状。另外,图案元素151还可以包括在颜色、色调、强度、偏振或浓淡中的局部化或结构化改变或变化,其中这些特性可以提供被追踪的附加数据点或者可以形成图案元素自身。在一个实施例中,校准图案150可以包含成行和成列布置为图案元素151的64x64激光点的阵列。应当指出的是,图案元素151可以采取如所期望的基本上任何形状或大小。如以下将更加详细讨论的,在一些实施例中,图案150中的每一个图案元素可以以通过二进制接通/关断发生的系列唯一地标识每一个元素151的时间二进制编码序列来投影。就是说,校准图案150可以形成到允许每一个元素151被检测和提取并且其在图案内的位置可以被获得的任何结构化光图案形状和布局中。In some embodiments, pattern elements 151 may be arrays of laser dots or other shapes. In other embodiments, pattern elements 151 may be in the shape of a circle, a plus sign, a square, or other suitable geometric shapes. Furthermore, pattern elements 151 may include localized or structured changes or variations in color, hue, intensity, polarization, or shading, where these characteristics can provide additional data points to be tracked or can form pattern elements themselves. In one embodiment, calibration pattern 150 may comprise an array of 64x64 laser dots arranged in rows and columns as pattern elements 151. It should be noted that pattern elements 151 can take on essentially any shape or size as desired. As will be discussed in greater detail below, in some embodiments, each pattern element in pattern 150 may be projected in a temporal binary-coded sequence that uniquely identifies each element 151 through a series of binary on/off cycles. That is, calibration pattern 150 may be formed into any structured light pattern shape and layout that allows each element 151 to be detected and extracted, and its position within the pattern to be determined.

继续参照图4A-4I,校准图案150可以包括布置在一个或多个取向、布置或图案中的多个激光点测试图案元素151。在一些实施例中,图案元素151可以均匀地分布在行和/或列中,并且在其它实施例中,图案元素151可以以非均匀但结构化的方式分布。例如,参照图4A,元素151布置在行和列中,其中每一个元素151与每一个相邻元素151等距。作为另一示例,参照图4B,元素151分离成彼此间隔开的两个相等的区段。在该示例中,区段内的元素151相对于该区段内的其它元素相等间隔。如图4A-4I中所示出的,可以使用具有用于元素151的布置的不同特性或特征的其它图案。Continuing with reference to Figures 4A-4I, the calibration pattern 150 may include a plurality of laser spot test pattern elements 151 arranged in one or more orientations, arrangements, or patterns. In some embodiments, the pattern elements 151 may be evenly distributed in rows and/or columns, and in other embodiments, the pattern elements 151 may be distributed in a non-uniform but structured manner. For example, with reference to Figure 4A, the elements 151 are arranged in rows and columns, with each element 151 equidistant from each adjacent element 151. As another example, with reference to Figure 4B, the elements 151 are separated into two equal segments spaced apart from each other. In this example, the elements 151 within a segment are equally spaced relative to the other elements within the segment. As shown in Figures 4A-4I, other patterns having different characteristics or features for the arrangement of the elements 151 may be used.

图案150内的图案元素151的数目可以基于校准的期望精度而变化。特别地,当元素151的数目增加时,精度同样可以增加。另外,图案150内的每一个元素151之间的分离或距离还可以改进校准的灵敏度并且因此改进精度。例如,在其中投影表面161可以具有动态几何结构的实例中,图案元素之间的分离可以减小和/或可以添加附加的图案元素151。通过减小相应图案元素151之间的分离,更多图案元素151可以投影到投影表面161的相同表面区域上。换言之,通过增加投影到特定区域的元素151的数目,更多元素151可能定位在投影表面161的刻面(facet)上,这可以允许检测更多的元素151。The number of pattern elements 151 within pattern 150 can vary based on the desired accuracy of the calibration. In particular, as the number of elements 151 increases, accuracy can also increase. Furthermore, the separation or distance between each element 151 within pattern 150 can also improve the sensitivity of the calibration and, therefore, improve accuracy. For example, in instances where projection surface 161 may have a dynamic geometry, the separation between pattern elements can be reduced and/or additional pattern elements 151 can be added. By reducing the separation between corresponding pattern elements 151, more pattern elements 151 can be projected onto the same surface area of projection surface 161. In other words, by increasing the number of elements 151 projected onto a particular area, more elements 151 can be positioned on a facet of projection surface 161, which can allow for detection of more elements 151.

校准图案150可以基于与场景160、投影仪110的所期望的校准精度等等相关联的各种特性来选择。这样,任何特定实施例的讨论仅仅意味着是说明性的。Calibration pattern 150 may be selected based on various characteristics associated with scene 160, a desired calibration accuracy for projector 110, etc. As such, any discussion of a particular embodiment is meant to be illustrative only.

现在将更加详细地讨论校准系统10的操作和用于校准投影仪系统的方法。图5是图示了用于校准激光投影仪110的方法的流程图。参照图5,方法500可以以操作501开始。在操作501中,激光投影仪110将校准图案150投影到投影表面161上。在一个实施例中,图案元素151被单独或以时间二进制编码序列成组地投影。例如,在一个实施例中,每一个元素151可以通过接通/关断发生的系列来标识,在其它实施例中,图案元素151可以基本上同时投影。The operation of the calibration system 10 and the method for calibrating the projector system will now be discussed in greater detail. FIG5 is a flow chart illustrating a method for calibrating the laser projector 110. Referring to FIG5, the method 500 may begin with operation 501. In operation 501, the laser projector 110 projects a calibration pattern 150 onto the projection surface 161. In one embodiment, the pattern elements 151 are projected individually or in groups in a temporal binary-coded sequence. For example, in one embodiment, each element 151 may be identified by a sequence of on/off occurrences; in other embodiments, the pattern elements 151 may be projected substantially simultaneously.

在一些实施例中,可以投影包含图案元素151的子集的校准图案150的部分,而随后投影具有其它图案元素151的组的总体校准图案150的其余部分。在再其它的实施例中,可以投影具有图案元素151的第一集合的校准图案150,随后是具有图案元素151的第二集合的另一校准图案150,其可以与第一校准图案150相同或不同。具有第二组图案元素151的第二校准图案150可以被选择或选取以帮助进一步精炼投影表面161的特征。另外,第二校准图案150可以基于由相机120a, 120b提供的图像反馈来选择。也就是说,投影仪或投影系统的校准可以是以自适应的方式基于多于一个校准图案150的投影。In some embodiments, a portion of a calibration pattern 150 comprising a subset of pattern elements 151 may be projected, followed by projection of the remainder of the overall calibration pattern 150 comprising a set of other pattern elements 151. In still other embodiments, a calibration pattern 150 comprising a first set of pattern elements 151 may be projected, followed by projection of another calibration pattern 150 comprising a second set of pattern elements 151, which may be the same as or different from the first calibration pattern 150. The second calibration pattern 150 comprising the second set of pattern elements 151 may be selected or chosen to help further refine the characteristics of the projection surface 161. Additionally, the second calibration pattern 150 may be selected based on image feedback provided by cameras 120a, 120b. In other words, calibration of a projector or projection system may be based on the projection of more than one calibration pattern 150 in an adaptive manner.

如以上参照图4A-4I所描述的,校准图案150的配置可以如所期望的那样变化,并且在一些实施例中可以定制成场景160的几何结构或其它特性,包括投影表面161的表面和构形。换言之,图案150内的元素151的布置的选择和图案150的投影序列可以基于所期望的投影表面161而确定。4A-4I , the configuration of calibration pattern 150 can vary as desired and, in some embodiments, can be tailored to the geometry or other characteristics of scene 160, including the surface and topography of projection surface 161. In other words, the selection of the arrangement of elements 151 within pattern 150 and the sequence in which pattern 150 is projected can be determined based on the desired projection surface 161.

当在操作501中将校准图案150投影到场景上时,方法进行到操作502。在操作502中,相机120a, 120b捕获所投影的校准图案150的校准图像。如以上所讨论的,场景160内的相机120a, 120b的几何位置是已知的,即相机120a, 120b相对于彼此和其它物体的位置和取向是已知的。相机120a, 120b可以在使用之前调节使得相机快门能够捕获图案元素151而不使图像传感器感光器过饱和。该调节可以自动或由用户手动(例如通过调节曝光设置)完成。After calibration pattern 150 is projected onto the scene in operation 501, the method proceeds to operation 502. In operation 502, cameras 120a, 120b capture a calibration image of the projected calibration pattern 150. As discussed above, the geometric positions of cameras 120a, 120b within scene 160 are known, i.e., the positions and orientations of cameras 120a, 120b relative to each other and other objects are known. Cameras 120a, 120b can be adjusted prior to use so that the camera shutters can capture pattern elements 151 without oversaturating the image sensor photosensors. This adjustment can be performed automatically or manually by the user (e.g., by adjusting exposure settings).

通过使用相机120a, 120b,捕获一个或多个校准图像。图6图示了校准图像。参照图6,校准图像208可以是照片、数字图像等,其捕获如投影到投影表面161上的图案150。在图6中所示的示例中,图4A的校准图案150被投影到表面161上并且被捕获。而且,如图6中所示,校准图案150的图案元素151在校准图像208中示出,并且如以下将更加详细地解释的,其可以分离地标识。在许多实施例中,每一个相机120a, 120b捕获校准图像208并且由于相机120a, 120b相对于场景160的各种位置和分离距离SD,由每一个相机120a, 120b捕获的每一个校准图像208可以对应于从不同视角投影到投影表面161上的校准图案150。Using cameras 120a, 120b, one or more calibration images are captured. FIG6 illustrates a calibration image. Referring to FIG6 , calibration image 208 can be a photograph, digital image, or the like, that captures pattern 150 as projected onto projection surface 161. In the example shown in FIG6 , calibration pattern 150 of FIG4A is projected onto surface 161 and captured. Furthermore, as shown in FIG6 , pattern elements 151 of calibration pattern 150 are shown in calibration image 208 and, as will be explained in greater detail below, can be separately identified, as shown in FIG6 . In many embodiments, each camera 120a, 120b captures a calibration image 208, and due to the various positions and separation distances SD of cameras 120a, 120b relative to scene 160, each calibration image 208 captured by each camera 120a, 120b can correspond to calibration pattern 150 projected onto projection surface 161 from a different perspective.

在一些实施例中,可以以预确定的序列投影多个校准图案并且可以捕获针对每一个校准图案的一个或多个校准图像208。通过使用多个图案,处理元件可以能够更容易地确定激光投影仪的失真,如以下将更加详细讨论的那样。In some embodiments, multiple calibration patterns may be projected in a predetermined sequence and one or more calibration images may be captured for each calibration pattern 208. By using multiple patterns, the processing element may be able to more easily determine the distortion of the laser projector, as will be discussed in more detail below.

再次参照图5,一旦已经捕获到校准图像208,方法500进行到操作503。在操作503中,向计算机130提供校准图像208,并且处理元件301分析校准图像208。特别地,处理元件301分析校准图像208以检测每一个图像208中的图案元素151。处理元件301使用诸如团块检测算法或可以检测图案元素151的位置的其它算法之类的图像分析算法检测图案元素151的位置。5 , once the calibration images 208 have been captured, the method 500 proceeds to operation 503. In operation 503, the calibration images 208 are provided to the computer 130, and the processing element 301 analyzes the calibration images 208. In particular, the processing element 301 analyzes the calibration images 208 to detect pattern elements 151 in each image 208. The processing element 301 detects the locations of the pattern elements 151 using an image analysis algorithm, such as a blob detection algorithm or other algorithm that can detect the locations of the pattern elements 151.

用于检测图案元素151的图像分析算法可以基于图案元素151的特性选择。例如,如果图案元素151是点或团块,处理元件301可以使用团块检测算法。作为一个示例,团块检测算法可以包括从图像减去背景和对图像限阈以便掩蔽所怀疑的团块或特征位置的步骤。算法然后可以分析每一个所掩蔽的区以计算该团块的重心。在以下更加详细讨论的本公开的一个示例性实施例中,当处理元件301被配置成使用团块检测算法来检测图案元素151时,处理元件301可以分析和比较针对每一个所检测的团块的重心相对于针对其它团块的重心的位置以便确定2D图像平面内的团块的坐标。The image analysis algorithm used to detect the pattern elements 151 can be selected based on the characteristics of the pattern elements 151. For example, if the pattern elements 151 are dots or clumps, the processing element 301 can use a clump detection algorithm. As an example, the clump detection algorithm can include the steps of subtracting the background from the image and thresholding the image to mask suspected clumps or feature locations. The algorithm can then analyze each masked area to calculate the center of gravity of the clump. In an exemplary embodiment of the present disclosure discussed in more detail below, when the processing element 301 is configured to detect the pattern elements 151 using a clump detection algorithm, the processing element 301 can analyze and compare the position of the center of gravity for each detected clump relative to the center of gravity for other clumps in order to determine the coordinates of the clump within the 2D image plane.

在其它实施例中,如果图案元素151被选择成线或线段,可以使用线中心检测算法。用于检测图案元素151的其它算法也可以或可替换地包括特征检测、边缘检测、顺序二进制编码团块、二进制编码水平和/或竖直线、利用长曝光的格雷码、颜色编码图案、强度编码图案、更复杂的图案元素特征等。取决于图案元素151的形状,一些算法可以比其它算法更精确,而其它算法可能要求更少的处理能力。In other embodiments, if the pattern elements 151 are selected as lines or line segments, a line center detection algorithm may be used. Other algorithms for detecting the pattern elements 151 may also or alternatively include feature detection, edge detection, sequential binary coded blobs, binary coded horizontal and/or vertical lines, Gray codes using long exposures, color coded patterns, intensity coded patterns, more complex pattern element features, etc. Depending on the shape of the pattern elements 151, some algorithms may be more accurate than others, while other algorithms may require less processing power.

返回图5,一旦测试图案已经由相机系统120捕获并且由计算机130处理,方法500进行到操作503。例如,图像分析算法可以回顾校准图像208以检测在诸如但不限于亮度、颜色或色调之类的一个或多个性质方面与周围区相比不同的区。在该示例中,所捕获的图案元素151将更亮并且可以具有与图案150的周围区域不同的颜色,并且因此允许处理元件112检测其位置。Returning to FIG5 , once the test pattern has been captured by the camera system 120 and processed by the computer 130, the method 500 proceeds to operation 503. For example, the image analysis algorithm can review the calibration image 208 to detect areas that differ from surrounding areas in one or more properties such as, but not limited to, brightness, color, or hue. In this example, the captured pattern element 151 will be brighter and may have a different color than the surrounding area of the pattern 150, thereby allowing the processing component 112 to detect its location.

在一个示例中,处理元件112可以分析所捕获的图像208以确定每一个图案元素151的中心在相应相机120a, 120b的2D图像平面中的位置。也就是说,每一个图案元素151的2D坐标可以通过使用每一个元素151的可检测特征来确定。在一个示例中,团块检测算法可以用于提供针对图案元素151的中心位置的子像素精度。然而,如以上所讨论的,也可以使用其它算法。In one example, the processing component 112 can analyze the captured image 208 to determine the location of the center of each pattern element 151 in the 2D image plane of the corresponding camera 120a, 120b. In other words, the 2D coordinates of each pattern element 151 can be determined using detectable features of each element 151. In one example, a blob detection algorithm can be used to provide sub-pixel accuracy for the center location of the pattern elements 151. However, as discussed above, other algorithms can also be used.

参照图1和5,在操作503期间,计算机103的处理元件112确定通过两个相机120a,120b可见的图案元素151。例如,处理元件112可以分析第一相机120a的校准图像208以匹配与特定图案元素151相关联的唯一标识符(例如由于其位置、亮度、序列中的位置、颜色或其它特性)并且确定具有相同标识符的元素151是否在第二相机120b的校准图像208中。1 and 5 , during operation 503, the processing component 112 of the computer 103 determines the pattern elements 151 visible through both cameras 120 a, 120 b. For example, the processing component 112 can analyze the calibration image 208 of the first camera 120 a to match a unique identifier associated with a particular pattern element 151 (e.g., due to its position, brightness, position in a sequence, color, or other characteristics) and determine whether the element 151 with the same identifier is in the calibration image 208 of the second camera 120 b.

应当指出的是,取决于每一个相机120a, 120b的位置和投影表面161的配置,通过两个相机120a, 120b可见的图案元素151的数目可以是校准图案150中的图案元素151的总数目的子集。也就是说,由于涉及相机定位的阻挡、投影仪定位或投影表面161的特定表面特征,一些图案元素151可以出现在仅一个校准图像中或者在两个校准图像208中都不出现。It should be noted that, depending on the position of each camera 120a, 120b and the configuration of the projection surface 161, the number of pattern elements 151 visible through both cameras 120a, 120b may be a subset of the total number of pattern elements 151 in the calibration pattern 150. That is, due to obstructions related to camera positioning, projector positioning, or specific surface features of the projection surface 161, some pattern elements 151 may appear in only one calibration image or in neither calibration image 208.

如以上简短讨论的,尽管两个相机120a, 120b用于捕获校准图像208,但是在其它实施例中,可以使用附加的相机。可替换地或此外,可以使用能够进行深度感知的一个或多个相机,诸如3D立体相机、KINECT-型深度相机、3D相机或任何其它类型的主动或被动深度检测相机(诸如基于飞行时间的3D相机或红外3D相机)。As briefly discussed above, although two cameras 120a, 120b are used to capture the calibration image 208, in other embodiments, additional cameras may be used. Alternatively or in addition, one or more cameras capable of depth perception may be used, such as a 3D stereo camera, a KINECT-type depth camera, a 3D camera, or any other type of active or passive depth detection camera (such as a time-of-flight-based 3D camera or an infrared 3D camera).

一旦已经在校准图像208中检测到图案元素151,方法可以进行到操作504。在操作504中,处理元件112或可选地用户确定是否已经检测到充足数目的图案元素151。所检测到的元素151的充足数目可以取决于校准的期望精度。特别地,所检测到的元素151的数目是否足以精确地表示激光投影仪110的虚拟图像平面以及提供充分追踪投影表面161的几何结构的足够精度。Once pattern elements 151 have been detected in calibration image 208, the method may proceed to operation 504. In operation 504, processing component 112 or, alternatively, a user determines whether a sufficient number of pattern elements 151 have been detected. The sufficient number of detected elements 151 may depend on the desired accuracy of the calibration. In particular, whether the number of detected elements 151 is sufficient to accurately represent the virtual image plane of laser projector 110 and provide sufficient accuracy to adequately track the geometry of projection surface 161.

在操作504中,可以基于例如所检测到的图案元素151的最小阈值来确定所检测到的元素151的充足数目。可替换地或此外,操作504中的确定可以基于校准图像208中的空区域或被阻挡区域的量。In operation 504 , a sufficient number of detected elements 151 may be determined based on, for example, a minimum threshold of detected pattern elements 151. Alternatively or additionally, the determination in operation 504 may be based on an amount of empty or blocked areas in the calibration image 208 .

如果在操作504中,所检测到的元素151的数目不足,方法可以返回到操作501并且投影校准图案150。校准图案150可以与原始投影的或新近选择的校准图案150相同。例如,所投影的校准图案150可以被选择成更好地消除空和/或被阻挡区域。如果在操作504中,所检测到的元素151的数目是充足的,方法500可以进行到操作505。If, in operation 504, the number of detected elements 151 is insufficient, the method may return to operation 501 and project a calibration pattern 150. The calibration pattern 150 may be the same as the originally projected or newly selected calibration pattern 150. For example, the projected calibration pattern 150 may be selected to better eliminate empty and/or blocked areas. If, in operation 504, the number of detected elements 151 is sufficient, the method 500 may proceed to operation 505.

在操作505中,处理元件112确定场景160内的测试图案元素151的3D位置。通过使用对至少两个相机120a, 120b(或至少一个深度感知相机)可见的图案元素151,投影表面161上的那些测试图案元素151的位置可以通过使用三角测量或另一位置算法来确定。例如,在其中使用两个相机的实施例中,两个相机120a, 120b之间的分离距离SD连同校准图像208的图案元素151的所感知的位置中的改变(例如视差),处理元件112确定所投影的图案元素151与每一个相机120a, 120b的距离。利用已知的每一个相机120a, 120b的位置和所投影的图案元素151的位置,可以确定图案元素151的3D位置在投影表面161和/或162上的撞击位置。In operation 505, processing component 112 determines the 3D position of test pattern elements 151 within scene 160. Using pattern elements 151 visible to at least two cameras 120a, 120b (or at least one depth-sensing camera), the positions of those test pattern elements 151 on projection surface 161 can be determined using triangulation or another position algorithm. For example, in an embodiment where two cameras are used, the separation distance SD between the two cameras 120a, 120b, along with the change in perceived position of pattern elements 151 in calibration image 208 (e.g., parallax), allows processing component 112 to determine the distance of the projected pattern elements 151 from each camera 120a, 120b. With the known positions of each camera 120a, 120b and the positions of the projected pattern elements 151, the impact locations of the 3D positions of pattern elements 151 on projection surfaces 161 and/or 162 can be determined.

一旦已经确定图案元素151的至少一个子集的3D位置,方法进行到操作506。在操作506中,处理元件112估计透视投影矩阵。在一个示例中,透视投影矩阵可以通过假定激光投影仪110的投影近似针孔设备来创建。当激光投影仪110不是针孔设备并且不具有近似针孔设备的透镜系统时,在该操作506中估计的透视投影矩阵可能需要被进一步校正,但是提供用于激光投影仪110的初始校准。Once the 3D positions of at least a subset of the pattern elements 151 have been determined, the method proceeds to operation 506. In operation 506, the processing element 112 estimates a perspective projection matrix. In one example, the perspective projection matrix can be created by assuming that the projection of the laser projector 110 approximates a pinhole device. When the laser projector 110 is not a pinhole device and does not have a lens system that approximates a pinhole device, the perspective projection matrix estimated in operation 506 may need to be further corrected, but provides an initial calibration for the laser projector 110.

为了创建透视投影矩阵,诸如校准图案150的预定义的和/或预选的结构和图案150内的每一个元素151的所检测到的投影位置之类的已知输入用于映射3D投影图案。特别地,每一个图案元素151在激光投影仪110的虚拟图像平面上的2D位置映射到投影表面161上的3D投影位置。换言之,2D到3D对应性被建立并且被用于使用诸如直接线性变换之类的标准方法生成透视投影矩阵。创建透视投影矩阵的示例可以在R.I. Hartley和A.Zisserman的书“Multiple View Geometry in Computer Vision”第二版(其通过引用以其整体被并入在本文)中找到。To create a perspective projection matrix, known inputs such as a predefined and/or preselected structure of a calibration pattern 150 and the detected projected position of each element 151 within the pattern 150 are used to map the 3D projection pattern. Specifically, the 2D position of each pattern element 151 on the virtual image plane of the laser projector 110 is mapped to a 3D projected position on the projection surface 161. In other words, a 2D to 3D correspondence is established and used to generate a perspective projection matrix using standard methods such as direct linear transformations. Examples of creating a perspective projection matrix can be found in the book "Multiple View Geometry in Computer Vision," 2nd edition, by R.I. Hartley and A. Zisserman (which is incorporated herein by reference in its entirety).

一旦已经在操作506中确定了所估计的透视投影矩阵,方法进行到操作507。在操作507中,创建用于激光投影仪110的诸如查找表之类的失真映射。如以上所讨论的,由于激光投影仪110的镜组件201,由激光投影仪110展现出的失真一般将不精确地遵从可以应用于计及基于透镜的成像系统的非线性的基于针孔设备的标准透镜失真模型(例如径向失真模型)。特别地,该近似计及具有光学投影透镜的视频投影仪的失真。因此,在操作506中估计的透视投影矩阵(基于标准透镜失真模型)未顾及到激光投影仪110和所估计的透视投影矩阵的完整失真性质,并且由激光投影仪110投影到场景160中的图案元素的实际位置将误对准。取决于针对激光投影仪110所要求的期望精度,透视投影矩阵可以是充足的。然而,在许多实例中,可能要求更精确的校准并且因此可以创建在一些实施例中可以为查找表的失真映射。Once the estimated perspective projection matrix has been determined in operation 506, the method proceeds to operation 507. In operation 507, a distortion map, such as a lookup table, is created for laser projector 110. As discussed above, due to the mirror assembly 201 of laser projector 110, the distortion exhibited by laser projector 110 will generally not accurately conform to a standard pinhole-based lens distortion model (e.g., a radial distortion model) that can be applied to account for the nonlinearities of lens-based imaging systems. In particular, this approximation accounts for the distortion of video projectors with optical projection lenses. Therefore, the perspective projection matrix estimated in operation 506 (based on the standard lens distortion model) does not account for the full distortion properties of laser projector 110 and the estimated perspective projection matrix, and the actual positions of pattern elements projected by laser projector 110 into scene 160 will be misaligned. Depending on the desired accuracy required for laser projector 110, a perspective projection matrix may be sufficient. However, in many instances, a more precise calibration may be required, and therefore a distortion map, which in some embodiments may be a lookup table, may be created.

在操作507中,在操作506中生成的透视投影矩阵可以用作激光投影仪110生成失真映射的失真的初始估计。图7是图示操作507的流程图。参照图7,操作507可以以过程701开始。在过程701中,处理元件301将所估计的投影矩阵与所捕获的校准图像208比较以确定图案元素151的所估计的位置与图案元素151的实际位置之间的偏差。作为示例,如果激光投影仪110将图案元素151投影在虚拟图像平面上的坐标(1,1)处,由于镜组件201(和投影仪的其它固有特征)所致的失真可以导致图案元素151在(1.5,.5)的“实际”或“感知”坐标处撞击在投影表面161上。在操作701中,可以确定所估计的透视投影矩阵(即图案元素151的所估计的投影位置)与图案元素151的实际投影位置之间的偏差。过程701可以针对每一个所检测到的图案元素151执行。In operation 507, the perspective projection matrix generated in operation 506 can be used as an initial estimate of the distortion for laser projector 110 to generate a distortion map. FIG7 is a flow chart illustrating operation 507. Referring to FIG7, operation 507 can begin with process 701. In process 701, processing element 301 compares the estimated projection matrix with captured calibration image 208 to determine the deviation between the estimated position of pattern element 151 and the actual position of pattern element 151. As an example, if laser projector 110 projects pattern element 151 at coordinates (1, 1) on the virtual image plane, distortion due to mirror assembly 201 (and other inherent characteristics of the projector) can cause pattern element 151 to impinge on projection surface 161 at the "actual" or "perceived" coordinates of (1.5, 0.5). In operation 701, the deviation between the estimated perspective projection matrix (i.e., the estimated projected position of pattern element 151) and the actual projected position of pattern element 151 can be determined. Process 701 may be performed for each detected pattern element 151 .

一旦已经将透视投影矩阵与所捕获的(多个)校准图像208比较,操作507可以进行到过程702。在过程702中,处理器元件301计算将所估计的投影矩阵中的每一个所检测到的图案元素151映射到激光投影仪110的虚拟图像平面的意图投影位置上所要求的曲解(warping)。也就是,需要应用到输入图像使得图案元素151在期望的位置处撞击投影表面161的失真量。当确定用于每一个图案元素151的曲解量后,方法700进行到在操作703中创建查找表。查找表可以包括用于由相机120a, 120b检测的用于那些图案元素151的失真量。为了更精确地映射激光投影仪110的失真,可以执行内插方法。特别地,处理元件301可以使用所检测到的图案元素151内插用于查找表的附加点以估计针对所投影的图案元素之间的点的失真特性。Once the perspective projection matrix has been compared to the captured calibration image(s) 208, operation 507 may proceed to process 702. In process 702, the processor element 301 calculates the warping required to map each detected pattern element 151 in the estimated projection matrix to the intended projection location on the virtual image plane of the laser projector 110. In other words, the amount of distortion that needs to be applied to the input image so that the pattern element 151 strikes the projection surface 161 at the desired location. After determining the amount of warping for each pattern element 151, the method 700 proceeds to create a lookup table in operation 703. The lookup table may include the distortion amounts for those pattern elements 151 detected by the cameras 120a, 120b. To more accurately map the distortion of the laser projector 110, an interpolation method may be performed. Specifically, the processing element 301 may use the detected pattern elements 151 to interpolate additional points for the lookup table to estimate distortion characteristics for points between the projected pattern elements.

可以利用各种内插算法,并且所执行的内插可以基于数个变量选择,包括所检测到的图案元素151的数目、测试图案150的结构或特性或者投影表面161的几何结构、处理资源等等。在一些实施例中,基于样条、位置变化的内插方法用于创建用于针对所检测到的测试图案元素151之间的点的查找表的附加条目。另外,查找表可以是简单的查找表、颜色映射或其它类型的查找表。Various interpolation algorithms may be utilized, and the interpolation performed may be selected based on several variables, including the number of detected pattern elements 151, the structure or characteristics of the test pattern 150 or the geometry of the projection surface 161, processing resources, etc. In some embodiments, a spline-based, position-varying interpolation method is used to create additional entries to the lookup table for points between detected test pattern elements 151. Additionally, the lookup table may be a simple lookup table, a color map, or other type of lookup table.

图8A图示了以失真映射的形式的查找表的一个示例。如图8A中所示,失真映射900可以包含分配到或对应于激光投影仪110的图像平面内的像素位置的条目。分配到映射900的条目的颜色可以表示在该像素位置处应用以校正由于激光投影仪110所致的失真的校正或曲解量。也就是说,图像平面的归一化的xy坐标可以被分配特定阴影、色调或颜色强度,其可以被处理元件301解释以确定校正量。在一个实施例中,当在操作507的过程703中创建查找表后,处理元件301可以将经曲解或校正的xy位置存储在红色和绿色通道中。在其它实施例中,失真映射900内的条目可以不仅对应于曲解量,而且对应于曲解方向。要指出的是,作为在操作604中创建的查找表的一个示例来提供失真映射900,并且可以使用其它类型的查找表。FIG8A illustrates an example of a lookup table in the form of a distortion map. As shown in FIG8A , distortion map 900 may include entries assigned to or corresponding to pixel locations within the image plane of laser projector 110. The color assigned to an entry in map 900 may indicate the amount of correction or distortion to be applied at that pixel location to correct distortion caused by laser projector 110. That is, the normalized x and y coordinates of the image plane may be assigned a specific shade, hue, or color intensity, which may be interpreted by processing element 301 to determine the amount of correction. In one embodiment, after creating the lookup table in process 703 of operation 507, processing element 301 may store the distorted or corrected x and y locations in the red and green channels. In other embodiments, entries within distortion map 900 may correspond not only to the amount of distortion, but also to the direction of distortion. It should be noted that distortion map 900 is provided as an example of a lookup table created in operation 604, and other types of lookup tables may be used.

已经在操作703中创建了查找表之后,过程507终止。参照图5,当完成操作507时,方法500可以进行到操作508。在操作508中,查找表(例如颜色映射900)可以用于从期望的输入图像创建经校准的强调图像。特别地,转换或曲解图像数据以计及当通过激光投影仪110投影图像时将发生的失真。After the lookup table has been created in operation 703, process 507 terminates. Referring to FIG5 , upon completion of operation 507, method 500 may proceed to operation 508. In operation 508, the lookup table (e.g., color map 900) may be used to create a calibrated, emphasized image from the desired input image. Specifically, the image data may be converted or distorted to account for distortion that will occur when the image is projected by laser projector 110.

应当指出的是,尽管将查找表和投影矩阵讨论为在分离的操作中计算,但是在一些实施例中,查找表和投影矩阵可以在单个操作中确定。例如,投影矩阵可以被约束到诸如特定视场、纵横比等之类的一个或多个预确定的性质。通过约束矩阵,查找表和投影矩阵可以基本上同时在相同的操作中计算。It should be noted that although the lookup table and the projection matrix are discussed as being calculated in separate operations, in some embodiments, the lookup table and the projection matrix can be determined in a single operation. For example, the projection matrix can be constrained to one or more predetermined properties such as a specific field of view, aspect ratio, etc. By constraining the matrix, the lookup table and the projection matrix can be calculated substantially simultaneously in the same operation.

在一个示例中,在操作508中,在过程604中创建的查找表用于转换激光投影仪110虚拟图像平面的坐标,使得由激光投影仪110投影的包括图像数据元素(例如像素或像素组)的图像将在期望的位置中撞击投影表面161。In one example, in operation 508, the lookup table created in process 604 is used to convert the coordinates of the laser projector 110 virtual image plane so that an image projected by the laser projector 110, including image data elements (e.g., pixels or groups of pixels), will strike the projection surface 161 in a desired location.

图8B是使用映射900的来自操作508的转换的图示。参照图8B,利用图案元素151的经转换、校准的位置803叠覆基于透视投影矩阵的未经校准的位置802。如图8B中所示,激光投影仪110所展现出的失真可以跨激光投影仪的虚拟图像平面广泛地变化。由“O”表示的经校准的图案元素803与由“X”表示的经校准的图案元素802之间的位置改变是如以上讨论的在操作508中执行的非线性转换的结果。在许多实施例中,经校准的图案元素802可以在通过未经校准的投影仪100投影之前与校准图案元素的期望位置对准。FIG8B is an illustration of the transformation from operation 508 using mapping 900. Referring to FIG8B , the uncalibrated position 802 based on the perspective projection matrix is overlaid with the transformed, calibrated position 803 of the pattern element 151. As shown in FIG8B , the distortion exhibited by the laser projector 110 can vary widely across the virtual image plane of the laser projector. The change in position between the calibrated pattern element 803, represented by an "O," and the calibrated pattern element 802, represented by an "X," is a result of the nonlinear transformation performed in operation 508, as discussed above. In many embodiments, the calibrated pattern element 802 can be aligned with the desired position of the calibration pattern element prior to being projected by the uncalibrated projector 100.

再次参照图5,在已经在操作508中转换了强调输入图像以形成经校准的强调图像之后,方法500进行到操作509。在操作509中,处理元件112可以向激光投影仪110传输经校准的强调图像数据。可替换地或此外,处理元件112可以将经转换的图像存储在存储器114中或者可以向另一计算设备传输经转换的图像。在操作509之后,方法进行到结束状态510。Referring again to FIG. 5 , after the emphasized input image has been converted to form a calibrated emphasized image in operation 508, method 500 proceeds to operation 509. In operation 509, processing element 112 may transmit the calibrated emphasized image data to laser projector 110. Alternatively or in addition, processing element 112 may store the converted image in memory 114 or transmit the converted image to another computing device. After operation 509, the method proceeds to an end state 510.

现在将更加详细地讨论用于使用经校准的激光投影仪110以用于提供与投影表面161上的特征对准的强调图像和/或另一投影图像的系统。图9是呈现系统12的透视图。呈现系统12包括视频投影仪100和一个或多个激光投影仪110。呈现系统12将一个或多个图像投影到场景160上,场景160可以包括任何数目的物体并且可以是基本上任何形状,诸如3D形状、表面等。如以上关于图1所描述的,投影表面和/或场景可以包括具有变化构形、不同颜色、纹理等的投影表面。应当理解的是,呈现系统12可以在室内或室外使用。A system for using a calibrated laser projector 110 to provide an emphasized image and/or another projected image that is aligned with features on a projection surface 161 will now be discussed in greater detail. FIG9 is a perspective view of a presentation system 12. The presentation system 12 includes a video projector 100 and one or more laser projectors 110. The presentation system 12 projects one or more images onto a scene 160, which may include any number of objects and may be of substantially any shape, such as a 3D shape, a surface, etc. As described above with respect to FIG1 , the projection surface and/or the scene may include projection surfaces having varying configurations, different colors, textures, etc. It should be understood that the presentation system 12 may be used indoors or outdoors.

视频投影仪100可以定位在相对于场景160的基本上任何位置处,但是典型地定位成使得其取向成面向投影表面163。视频投影仪100被配置成将诸如图片和/或视频之类的一个或多个图像投影到投影表面163上。Video projector 100 can be positioned substantially anywhere relative to scene 160, but is typically positioned so that it is oriented facing projection surface 163. Video projector 100 is configured to project one or more images, such as pictures and/or videos, onto projection surface 163.

视频投影仪100具有限定用于视频投影仪100的投影区域的视场101。要指出的是,呈现系统12的视频投影仪100可以是能够显示红色、绿色和蓝色(RGB)或另一颜色空间图像信号的基于光栅化的视频投影仪。然而,可以可选地使用单色投影仪。视频投影仪100典型地将包含光源和透镜。光源可以是任何类型的发光元件,诸如但不限于一个或多个发光二极管(LED)、白炽灯泡、卤素灯等。透镜与光源光学连通并且从源向期望的目的地(在该情况中为投影表面163)传输光。透镜使一个以上的参数变化以影响光,诸如将光聚焦在特定距离处。视频投影仪100还可以包括可以自动和/或手动调节的白色平衡调节或其它颜色平衡特征。这允许应用投影仪的白色点以便避免人类观察者可见的色移。Video projector 100 has a field of view 101 that defines a projection area for video projector 100. It should be noted that video projector 100 of presentation system 12 can be a rasterization-based video projector capable of displaying red, green, and blue (RGB) or another color space image signal. However, a monochrome projector can alternatively be used. Video projector 100 will typically include a light source and a lens. The light source can be any type of light-emitting element, such as, but not limited to, one or more light-emitting diodes (LEDs), an incandescent light bulb, a halogen lamp, etc. The lens is in optical communication with the light source and transmits light from the source to a desired destination (in this case, projection surface 163). The lens varies one or more parameters to affect the light, such as focusing the light at a specific distance. Video projector 100 may also include a white balance adjustment or other color balancing features that can be adjusted automatically and/or manually. This allows the projector's white point to be manipulated to avoid color shifts visible to human observers.

使用图5的方法校准激光投影仪110使得可以转换或以其它方式修改期望的输入图像使得图像的图像元素被投影到投影场景160的期望位置上。这允许投影仪110将其输出图像与视频投影仪110的图像输出对准以实现高光、强调或其它扩增呈现。5 , the laser projector 110 may be calibrated so that the desired input image may be transformed or otherwise modified so that image elements of the image are projected at desired locations on the projection scene 160. This allows the projector 110 to align its output image with the image output of the video projector 110 to achieve highlights, emphasis, or other augmented presentations.

参照图10,现在将讨论使用呈现系统12的呈现方法400。方法在操作401处开始并且计算机130从例如其它计算设备、存储器存储部件、网络等的期望的源接收输入视频投影仪图像数据。输入图像数据可以包括场景图像数据,诸如纹理信息,静止或移动图像,动画图像(诸如视频序列)等。例如,场景图像数据可以包括与彼此、场景160内的元素或特征虚拟“交互”(例如横穿形成场景160的物体的部分)的角色。换言之,场景图像数据可以包含对于期望的场景而言适当的任何类型的环境呈现信息。With reference to FIG10 , a presentation method 400 using presentation system 12 will now be discussed. The method begins at operation 401 and computer 130 receives input video projector image data from a desired source, such as another computing device, a memory storage component, a network, etc. The input image data may include scene image data, such as texture information, still or moving images, animated images (such as video sequences), etc. For example, the scene image data may include characters virtually "interacting" with each other, elements, or features within scene 160 (e.g., traversing portions of objects forming scene 160). In other words, the scene image data may contain any type of environmental presentation information appropriate for the desired scene.

在操作401之后,方法400可以进行到操作402。在操作402中,计算机130的处理元件112接收对应于用于激光投影仪110的输出的强调图像。强调图像可以包括以预确定的方式扩增、补充或以其它方式强调用于视频投影仪的场景图像数据的图像数据。通常,强调图像可以包括可能不能够被视频投影仪100复制或产生但是由于激光投影仪110的独特特性和亮度而可以如期望的那样精确投影的特征或特性。After operation 401, method 400 may proceed to operation 402. In operation 402, processing element 112 of computer 130 receives an emphasis image corresponding to output for laser projector 110. The emphasis image may include image data that augments, supplements, or otherwise emphasizes scene image data for the video projector in a predetermined manner. In general, the emphasis image may include features or characteristics that may not be replicated or produced by video projector 100 but that can be accurately projected as desired due to the unique characteristics and brightness of laser projector 110.

应当指出的是,场景图像数据和强调图像数据二者可以一起存储在例如计算机130的存储器114上以用于控制呈现系统12。可替换地,场景图像数据可以与强调图像数据分离地存储,并且由计算机130分离地访问和传输到适当的投影仪。It should be noted that both the scene image data and the emphasis image data may be stored together, for example, on the memory 114 of the computer 130 for use in controlling the presentation system 12. Alternatively, the scene image data may be stored separately from the emphasis image data and accessed and transmitted separately by the computer 130 to the appropriate projector.

一旦计算机130接收到输入场景图像和强调图像,方法400可以进行到操作403。在操作403中,处理元件112转换强调图像以计及激光投影仪110的失真。例如,使用图5的方法500中所创建的查找表(诸如图8A的颜色映射900),处理元件112调节强调图像。因此,当强调图像由投影仪110输出时,诸如每一个像素或像素组之类的各种图像元素可以投影到场景160上的期望位置上。可替换地或此外,激光投影仪110的特性可以基于查找表调节以补偿失真。在该示例中,强调图像可能不需要修改,因为激光投影仪110自身可以被修改。也就是说,激光投影仪110用于确定投影位置的坐标系统可以被调节或修改以将光投影在如以上所确定的经校正的强调图像位置处。Once computer 130 receives the input scene image and the emphasis image, method 400 may proceed to operation 403. In operation 403, processing element 112 converts the emphasis image to account for the distortion of laser projector 110. For example, using the lookup table created in method 500 of FIG. 5 (such as color map 900 of FIG. 8A ), processing element 112 adjusts the emphasis image. Thus, when the emphasis image is output by projector 110, various image elements, such as each pixel or group of pixels, may be projected at desired locations on scene 160. Alternatively, or in addition, the characteristics of laser projector 110 may be adjusted based on the lookup table to compensate for the distortion. In this example, the emphasis image may not need to be modified because laser projector 110 itself may be modified. That is, the coordinate system used by laser projector 110 to determine the projection position may be adjusted or modified to project light at the corrected emphasis image location as determined above.

一旦已经修改了强调图像或激光投影仪110,方法400可以进行到操作404。在操作404中,视频投影仪100将场景图像数据投影到场景160上。例如,参照图9,场景图像数据1200可以由计算设备130或其它设备提供给视频投影仪100,并且视频投影仪100输出对应于期望的场景图像的光。Once the emphasis image or laser projector 110 has been modified, method 400 may proceed to operation 404. In operation 404, video projector 100 projects scene image data onto scene 160. For example, referring to FIG9 , scene image data 1200 may be provided to video projector 100 by computing device 130 or other device, and video projector 100 outputs light corresponding to the desired scene image.

再次参照图7,当投影场景图像时,方法400可以进行到操作405。在操作405中,激光投影仪110将经转换或修改的强调图像投影到场景160上。由于激光投影仪110的校准和/或强调图像1100的修改,由激光投影仪110投影的强调图像的特征可以投影到对应于投影仪100投影的场景图像数据的特征的场景160内的位置上。7 , when projecting a scene image, method 400 may proceed to operation 405. In operation 405, laser projector 110 projects the transformed or modified emphasis image onto scene 160. Due to the calibration of laser projector 110 and/or the modification of emphasis image 1100, features of the emphasis image projected by laser projector 110 may be projected onto locations within scene 160 that correspond to features of the scene image data projected by projector 110.

参照图9,视频投影图像1200和激光投影图像1100的双投影因此允许强调图像扩增视频投影仪投影的图像以创建组合图像1300。作为一个示例,场景图像数据可以包括诸如仙女(fairy)之类的角色,并且强调图像可以用于通过应用闪烁或发亮效果来高亮或强调跟随在仙女之后的仙尘踪迹。9 , the dual projection of the video projected image 1200 and the laser projected image 1100 thus allows the emphasis image to augment the image projected by the video projector to create a combined image 1300. As an example, the scene image data may include a character such as a fairy, and the emphasis image may be used to highlight or emphasize the fairy dust trail following the fairy by applying a shimmering or glowing effect.

图11A是场景图像的放大图像并且图11B是具有投影在其中的强调图像的图11A的场景图像的放大图像。参照图9, 11A和11B,场景图像1200由视频投影仪投影并且可能不包括高频细节,诸如非常明亮或闪烁的斑点等。然而,在图11B中,一旦强调图像1100被激光投影仪1100投影,组合图像1300可以包括场景图像1200的总体细节连同强调图像1100的经扩增部分二者。强调图像1100提供明亮色调、不同颜色或不能通过视频投影仪完成的其它特性。FIG11A is a magnified image of a scene image, and FIG11B is a magnified image of the scene image of FIG11A with an emphasis image projected therein. Referring to FIG9 , 11A, and 11B, scene image 1200 is projected by a video projector and may not include high-frequency details, such as very bright or flickering spots. However, in FIG11B , once emphasis image 1100 is projected by laser projector 1100, combined image 1300 can include both the overall details of scene image 1200 and the augmented portion of emphasis image 1100. Emphasis image 1100 provides bright tones, different colors, or other characteristics that cannot be achieved with a video projector.

在一个示例中,强调图像1100被配置成投影成以便叠覆在由(多个)视频投影仪100投影的场景图像1200上。可替换地,两个图像可以以其它方式投影在一起。场景图像1200可以表示场景几何结构、角色、背景场景等。如在图11B中可以看到的,一旦已经执行了根据本公开的投影系统的校准,由视频投影仪100投影的场景图像数据就叠覆由激光投影仪100投影的强调图像数据并且与其对准。并且强调图像与场景图像混合以创建期望的美学呈现。场景图像与强调图像之间的对准是可能的,因为强调图像1100使用失真映射900进行修改以计及失真。可替换地或此外,激光投影仪110而不是用于强调图像的输入图像可以被校准以校正这样的失真。In one example, the emphasis image 1100 is configured to be projected so as to be overlaid on the scene image 1200 projected by (multiple) video projectors 100. Alternatively, the two images can be projected together in other ways. The scene image 1200 can represent scene geometry, characters, background scenes, etc. As can be seen in Figure 11B, once calibration of the projection system according to the present disclosure has been performed, the scene image data projected by the video projector 100 is overlaid and aligned with the emphasis image data projected by the laser projector 100. And the emphasis image is mixed with the scene image to create the desired aesthetic presentation. The alignment between the scene image and the emphasis image is possible because the emphasis image 1100 is modified using the distortion map 900 to account for the distortion. Alternatively or in addition, the laser projector 110, rather than the input image for the emphasis image, can be calibrated to correct for such distortion.

在一些实施例中,激光投影仪和视频投影仪的视场(FOV)基本上叠覆。在其它实施例中,激光投影仪和视频投影仪的FOV仅部分叠覆,其中相应投影仪的FOV的未叠覆部分可以与诸如朝向场景的不同部分取向或者在场景160内的不同透视角度或高度处取向的第二视频投影仪之类的提供在投影系统中的另一投影仪的FOV叠覆。In some embodiments, the fields of view (FOVs) of the laser projector and the video projector substantially overlap. In other embodiments, the FOVs of the laser projector and the video projector only partially overlap, where the non-overlapping portions of the FOVs of the respective projectors may overlap with the FOV of another projector provided in the projection system, such as a second video projector oriented toward a different portion of the scene or oriented at a different perspective angle or height within the scene 160.

以上说明书、示例和数据提供了如权利要求中所限定的本发明的示例性实施例的结构和使用的完整描述。尽管以上以某种程度的特定性或者参照一个或多个单独的实施例描述了所要求保护的发明的各种实施例,但是本领域技术人员可以对所公开的实施例做出大量更改而不脱离于所要求保护的发明的精神和范围。因此设想到其它实施例。意图在于包含在以上描述中并且在附图中示出的所有事项应当被解释为仅仅说明特定实施例而不是限制性的。可以做出细节或结构上的改变而不脱离于如随附权利要求中限定的本发明的基本元素。The foregoing specification, examples, and data provide a complete description of the structure and use of exemplary embodiments of the invention as defined in the claims. Although various embodiments of the claimed invention have been described above with a certain degree of particularity or with reference to one or more individual embodiments, those skilled in the art may make numerous changes to the disclosed embodiments without departing from the spirit and scope of the claimed invention. Other embodiments are therefore contemplated. It is intended that all matter contained in the foregoing description and shown in the accompanying drawings be construed as illustrative of particular embodiments only and not as limiting. Changes in detail or structure may be made without departing from the essential elements of the invention as defined in the appended claims.

Claims (17)

1.一种校准投影仪的方法,包括:1. A method for calibrating a projector, comprising: 通过处理元件接收投影到投影表面上的第一校准图案的第一校准图像;The processing element receives a first calibration image of a first calibration pattern projected onto a projection surface. 通过处理元件确定多个图案元素的三维位置;The three-dimensional positions of multiple pattern elements are determined by processing the components; 由处理元件通过分析第一校准图像和第一校准图案生成透视投影矩阵;以及The processing element generates a perspective projection matrix by analyzing the first calibration image and the first calibration pattern; and 由处理元件通过分析第一校准图像确定非线性映射函数,The processing element determines the nonlinear mapping function by analyzing the first calibration image. 其中第一校准图案包括多个图案元素,The first calibration pattern includes multiple pattern elements. 其中非线性映射函数通过由处理元件比较第一校准图像和透视投影矩阵来确定。The nonlinear mapping function is determined by comparing the first calibrated image with the perspective projection matrix using a processing element. 2.根据权利要求1所述的方法,还包括通过处理元件使用图像分析算法检测多个图案元素。2. The method according to claim 1 further includes detecting multiple pattern elements using an image analysis algorithm via a processing element. 3.根据权利要求1所述的方法,还包括由处理元件通过使用非线性映射函数变换第一校准图像来生成经校准的图像。3. The method of claim 1, further comprising generating a calibrated image by the processing element by transforming the first calibrated image using a nonlinear mapping function. 4.根据权利要求1所述的方法,还包括通过处理元件确定针对多个图案元素中的每一个的变换量。4. The method of claim 1, further comprising determining a transformation amount for each of the plurality of pattern elements by means of a processing element. 5.根据权利要求1所述的方法,还包括通过处理元件使用非线性映射函数创建查找表。5. The method of claim 1, further comprising creating a lookup table using a nonlinear mapping function via a processing element. 6.根据权利要求5所述的方法,还包括通过处理元件在查找表内内插值以增加值的数目。6. The method of claim 5, further comprising interpolating within the lookup table by a processing element to increase the number of values. 7.根据权利要求1所述的方法,还包括:7. The method according to claim 1, further comprising: 通过处理元件接收投影到投影表面上的第二校准图案的第二校准图像,其中第二校准图案不同于第一校准图案。A second calibration image of a second calibration pattern projected onto a projection surface is received by a processing element, wherein the second calibration pattern is different from the first calibration pattern. 8.根据权利要求7所述的方法,其中生成透视投影矩阵还包括分析第二校准图像和第二校准图案。8. The method of claim 7, wherein generating the perspective projection matrix further comprises analyzing the second calibration image and the second calibration pattern. 9.一种用于校准具有非均匀失真特性的投影仪的系统,包括:9. A system for calibrating a projector with non-uniform distortion characteristics, comprising: 投影仪,其中投影仪将第一校准图案投影到投影表面上;A projector that projects a first calibration pattern onto a projection surface; 相机,其中相机捕获投影到投影表面上的第一校准图案的第一校准图像;以及A camera, wherein the camera captures a first calibration image of a first calibration pattern projected onto a projection surface; and 与相机电气通信并且具有至少一个处理元件的计算设备,该计算设备执行以下操作:A computing device that is in electrical communication with a camera and has at least one processing element, the computing device performing the following operations: 确定多个图案元素的三维位置;Determine the three-dimensional positions of multiple pattern elements; 基于第一校准图像生成透视投影矩阵;以及Generate a perspective projection matrix based on the first calibration image; and 通过分析第一校准图像和第一校准图案确定用于投影仪的失真映射,其中失真映射确定存在于激光投影仪内的失真,其中,失真映射通过比较第一校准图像和透视投影矩阵来确定,A distortion map for the projector is determined by analyzing a first calibration image and a first calibration pattern, wherein the distortion map determines the distortion present within the laser projector, and wherein the distortion map is determined by comparing the first calibration image and the perspective projection matrix. 其中第一校准图像包括具有多个图案元素的结构化光图案。The first calibration image includes a structured light pattern with multiple pattern elements. 10.根据权利要求9所述的系统,其中处理元件通过深度检测算法确定图案元素的三维位置。10. The system of claim 9, wherein the processing element determines the three-dimensional position of the pattern element by a depth detection algorithm. 11.根据权利要求9所述的系统,其中深度检测算法是三角测量算法。11. The system according to claim 9, wherein the depth detection algorithm is a triangulation algorithm. 12.根据权利要求9所述的系统,其中处理元件使用团块检测算法检测多个图案元素。12. The system of claim 9, wherein the processing element uses a cluster detection algorithm to detect a plurality of pattern elements. 13.根据权利要求12所述的系统,其中处理元件还内插落在第一校准图像内的图案元素之间的点。13. The system of claim 12, wherein the processing element further interpolates points falling between pattern elements within the first calibration image. 14.根据权利要求9所述的系统,其中投影仪是验电器激光扫描投影仪。14. The system of claim 9, wherein the projector is an electroscope laser scanning projector. 15.根据权利要求9所述的系统,其中处理元件通过借由将失真映射应用于输入图像变换输入图像来创建经修改的输出图像,其中针对激光投影仪的失真校正经修改的输出图像。15. The system of claim 9, wherein the processing element creates a modified output image by transforming the input image through applying a distortion map, wherein the modified output image is for distortion correction of the laser projector. 16.一种投影系统,包括:16. A projection system, comprising: 视频投影仪,投影包括多个元素的第一图像到投影表面上;和A video projector projects a first image comprising multiple elements onto a projection surface; and 激光投影仪将第二图像投影到投影表面上,其中,The laser projector projects a second image onto the projection surface, wherein, 通过将激光投影仪建模为具有针孔近似的针孔设备,使用透视投影矩阵来校准激光投影仪,以基于通过图像分析算法和非线性映射函数检测第一图像中的多个元素来提供第一校准近似以校正由针孔近似产生的第一校准近似中的不准确性并确定失真映射以针对激光投影仪固有的失真进行调整,其中失真映射通过比较第一图像和透视投影矩阵来确定;By modeling the laser projector as a pinhole device with a pinhole approximation, the laser projector is calibrated using a perspective projection matrix to provide a first calibration approximation based on detecting multiple elements in a first image through an image analysis algorithm and a nonlinear mapping function to correct inaccuracies in the first calibration approximation generated by the pinhole approximation and to determine a distortion map to adjust for the inherent distortion of the laser projector, wherein the distortion map is determined by comparing the first image and the perspective projection matrix. 其中第二图像将第一图像覆盖在投影表面上。The second image overlays the first image onto the projection surface. 17.根据权利要求16所述的投影系统,其中第二图像与第一图像的第一部分对准以提供对第一图像的强调。17. The projection system of claim 16, wherein the second image is aligned with a first portion of the first image to provide emphasis on the first image.
HK16112425.2A 2014-11-06 2016-10-28 Method and system for projector calibration HK1224467B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US14/534855 2014-11-06
US14/534,855 US10080004B2 (en) 2014-11-06 2014-11-06 Method and system for projector calibration

Publications (2)

Publication Number Publication Date
HK1224467A1 HK1224467A1 (en) 2017-08-18
HK1224467B true HK1224467B (en) 2020-04-09

Family

ID=

Similar Documents

Publication Publication Date Title
US11115633B2 (en) Method and system for projector calibration
US10701324B2 (en) Gestural control of visual projectors
CN107018392B (en) Projector optimization method and system
JP7033606B2 (en) Display system and method for delivering multi-view content
TWI253006B (en) Image processing system, projector, information storage medium, and image processing method
US9047514B2 (en) Apparatus, system and method for projecting images onto predefined portions of objects
CN107430324B (en) Digital light projector with invisible light channel
US9049369B2 (en) Apparatus, system and method for projecting images onto predefined portions of objects
US9495936B1 (en) Image correction based on projection surface color
CN107734267A (en) Image processing method and device
KR101757627B1 (en) Marker tracking apparatus for projection area in augmented reality environment using three-dimensional model and marker tracking method thereof
CN102117007A (en) Device for obtaining 3D information, method for driving its light source, and system for obtaining 3D information
KR102185322B1 (en) System for detecting position using ir stereo camera
HK1224467B (en) Method and system for projector calibration
CN103299156B (en) Systems and methods for creating three-dimensional image files
KR101488647B1 (en) Virtual illumination of operating method and apparatus for mobile terminal
US9355431B1 (en) Image correction for physical projection-surface irregularities
CN113557716B (en) System, device and method for projecting digital content including hair color changes onto a user's head, face or body
HK1238457B (en) Projector optimization method and system
Hieda Digital video projection for interactive entertainment
HK1238457A1 (en) Projector optimization method and system
US10609350B1 (en) Multiple frequency band image display system