CN105847697A - Panoramic stereo image acquisition method and device - Google Patents
Panoramic stereo image acquisition method and device Download PDFInfo
- Publication number
- CN105847697A CN105847697A CN201610293109.8A CN201610293109A CN105847697A CN 105847697 A CN105847697 A CN 105847697A CN 201610293109 A CN201610293109 A CN 201610293109A CN 105847697 A CN105847697 A CN 105847697A
- Authority
- CN
- China
- Prior art keywords
- groups
- images
- image
- panoramic
- photographic head
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000006243 chemical reaction Methods 0.000 claims 2
- 230000000694 effects Effects 0.000 abstract description 7
- 230000015572 biosynthetic process Effects 0.000 abstract description 3
- 238000003786 synthesis reaction Methods 0.000 abstract description 3
- 230000002194 synthesizing effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/698—Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B35/00—Stereoscopic photography
- G03B35/08—Stereoscopic photography by simultaneous recording
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B37/00—Panoramic or wide-screen photography; Photographing extended surfaces, e.g. for surveying; Photographing internal surfaces, e.g. of pipe
- G03B37/04—Panoramic or wide-screen photography; Photographing extended surfaces, e.g. for surveying; Photographing internal surfaces, e.g. of pipe with cameras or projectors providing touching or overlapping fields of view
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/10—Processing, recording or transmission of stereoscopic or multi-view image signals
- H04N13/106—Processing image signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/20—Image signal generators
- H04N13/204—Image signal generators using stereoscopic image cameras
- H04N13/243—Image signal generators using stereoscopic image cameras using three or more 2D image sensors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Closed-Circuit Television Systems (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明属于计算机技术领域,尤其涉及一种全景立体图像获取方法及装置。The invention belongs to the technical field of computers, and in particular relates to a method and a device for acquiring a panoramic stereoscopic image.
背景技术Background technique
一般情况下,全景摄像机内部封装有多个不同朝向的传感器,进而通过对传感器获取的分画面进行图像拼接操作得到全景效果,有时全景效果也可利用旋转扫描摄像头获取。目前,全景摄像机被广泛用于地图导航、视频监控等领域,以向用户提供360度的全景影像,然而现有基于全景摄像机的全景摄像系统无法提供完整的立体视觉,以向用户提供较好的全景立体体验,或供专用设备对环境进行还原,从而降低了全景摄像系统的普及率和用户体验。Generally, a panoramic camera is packaged with a plurality of sensors with different orientations inside, and then the panoramic effect is obtained by performing image splicing operation on the sub-screens acquired by the sensors, and sometimes the panoramic effect can also be obtained by using a rotating scanning camera. At present, panoramic cameras are widely used in map navigation, video surveillance and other fields to provide users with 360-degree panoramic images. However, the existing panoramic camera-based panoramic camera systems cannot provide complete stereo vision to provide users with better Panoramic stereo experience, or for special equipment to restore the environment, thereby reducing the popularity and user experience of panoramic camera systems.
发明内容Contents of the invention
本发明的目的在于提供一种全景立体图像获取方法及装置,旨在解决由于现有技术无法提供一种有效的立体的全景影像获取方法,导致全景影像显示效果不佳、体验较差的问题。The object of the present invention is to provide a method and device for obtaining a panoramic stereoscopic image, aiming at solving the problems of poor panoramic image display and poor user experience due to the inability to provide an effective stereoscopic panoramic image acquisition method in the prior art.
一方面,本发明提供了一种全景立体图像获取方法,所述方法包括下述步骤:On the one hand, the present invention provides a kind of panoramic stereo image acquisition method, described method comprises the following steps:
通过姿态传感器获取预设数量个摄像头在东北天坐标系中的姿态数据,所述预设数量为大于等于8的偶数,所述预设数量个摄像头分为两组,两组摄像头沿周向交替、均匀设置;Obtain the attitude data of a preset number of cameras in the northeast sky coordinate system through the attitude sensor, the preset number is an even number greater than or equal to 8, the preset number of cameras is divided into two groups, and the two groups of cameras alternate along the circumferential direction , evenly set;
通过所述两组摄像头获取所述两组摄像头所在方向范围内的图像,以得到对应的两组图像;Obtaining images within the range of directions where the two groups of cameras are located by the two groups of cameras to obtain two corresponding groups of images;
根据所述两组图像内每个摄像头对应的姿态数据,分别对所述两组图像进行图像拼接,以获得两幅全景图像,对所述两幅全景图像进行合成操作,生成对应的全景立体图像。According to the posture data corresponding to each camera in the two groups of images, image stitching is performed on the two groups of images respectively to obtain two panoramic images, and a synthesis operation is performed on the two panoramic images to generate a corresponding panoramic image Stereoscopic image.
另一方面,本发明提供了一种全景立体图像获取装置,所述装置包括:In another aspect, the present invention provides a panoramic stereoscopic image acquisition device, the device comprising:
姿态数据获取单元,用于通过姿态传感器获取预设数量个摄像头在东北天坐标系中的姿态数据,所述预设数量为大于等于8的偶数,所述预设数量个摄像头分为两组,两组摄像头沿周向交替、均匀设置;The attitude data acquisition unit is used to acquire the attitude data of a preset number of cameras in the northeast sky coordinate system through the attitude sensor, the preset number is an even number greater than or equal to 8, and the preset number of cameras is divided into two groups, Two sets of cameras are arranged alternately and evenly along the circumference;
图像获取单元,用于通过所述两组摄像头获取所述两组摄像头所在方向范围内的图像,以得到对应的两组图像;以及An image acquisition unit, configured to acquire images within the direction range of the two groups of cameras through the two groups of cameras, so as to obtain corresponding two groups of images; and
立体图像生成单元,用于根据所述两组图像内每个摄像头对应的姿态数据,分别对所述两组图像进行图像拼接,以获得两幅全景图像,对所述两幅全景图像进行合成操作,生成对应的全景立体图像。A stereoscopic image generation unit, configured to perform image stitching on the two sets of images according to the attitude data corresponding to each camera in the two sets of images to obtain two panoramic images, and perform image stitching on the two panoramic images Compositing operations to generate corresponding panoramic stereo images.
在本发明实施例中,通过姿态传感器获取沿周向交替、均匀设置的预设数量个摄像头在东北天坐标系中的姿态数据,该预设数量个摄像头分为两组,通过该两组摄像头获取两组摄像头所在方向范围内的图像,以得到对应的两组图像,根据所述两组图像内每个摄像头对应的姿态数据,分别对两组图像进行图像拼接,以获得两幅全景图像,对两幅全景图像进行合成操作,生成对应的全景立体图像,从而提高了全景图像的显示效果。In the embodiment of the present invention, the posture data of a predetermined number of cameras arranged alternately and uniformly along the circumferential direction in the northeast sky coordinate system is acquired by the posture sensor. The preset number of cameras is divided into two groups, and the two groups of cameras Obtain the images within the direction range of the two groups of cameras to obtain the corresponding two groups of images, and according to the attitude data corresponding to each camera in the two groups of images, respectively perform image stitching on the two groups of images to obtain two The panoramic image is composed of two panoramic images to generate a corresponding panoramic stereoscopic image, thereby improving the display effect of the panoramic image.
附图说明Description of drawings
图1是本发明实施例一提供的全景立体图像获取方法的实现流程图;FIG. 1 is a flow chart of the implementation of the panoramic stereoscopic image acquisition method provided by Embodiment 1 of the present invention;
图2是本发明实施例二提供的全景立体图像获取方法的实现流程图;FIG. 2 is a flow chart of the implementation of the panoramic stereoscopic image acquisition method provided by Embodiment 2 of the present invention;
图3是本发明实施例三提供的全景立体图像获取装置的结构示意图;以及FIG. 3 is a schematic structural diagram of a panoramic stereoscopic image acquisition device provided in Embodiment 3 of the present invention; and
图4是本发明实施例四提供的全景立体图像获取装置的结构示意图。FIG. 4 is a schematic structural diagram of a panoramic stereoscopic image acquisition device provided in Embodiment 4 of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
以下结合具体实施例对本发明的具体实现进行详细描述:The specific realization of the present invention is described in detail below in conjunction with specific embodiment:
实施例一:Embodiment one:
图1示出了本发明实施例一提供的全景立体图像获取方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:Fig. 1 shows the implementation process of the panoramic stereoscopic image acquisition method provided by Embodiment 1 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
在步骤S101中,通过姿态传感器获取预设数量个摄像头在东北天坐标系中的姿态数据,预设数量个摄像头分为两组。In step S101 , attitude data of a preset number of cameras in the northeast sky coordinate system are acquired by an attitude sensor, and the preset number of cameras are divided into two groups.
本发明实施例适用于全景摄像机或全景摄像系统,例如,全景地图摄像机或系统,全景摄像机或全景摄像系统中设置有图像数据处理单元、姿态传感器以及预设数量的摄像头。在本发明实施例中,预设的数量为大于等于8的偶数,预设数量个摄像头被分为两组,两组摄像头沿周向交替、均匀地设置。优选地,摄像头的预设数量为8,两组摄像头沿圆周周向交替、均匀设置,这样在减少全景摄像机或全景摄像系统中摄像头数量、降低成本的同时,不会降低拍摄图像的覆盖范围。The embodiment of the present invention is applicable to a panoramic camera or a panoramic camera system, for example, a panoramic map camera or system, which is provided with an image data processing unit, an attitude sensor and a preset number of cameras. In the embodiment of the present invention, the preset number is an even number greater than or equal to 8, and the preset number of cameras is divided into two groups, and the two groups of cameras are arranged alternately and uniformly along the circumferential direction. Preferably, the preset number of cameras is 8, and two groups of cameras are arranged alternately and evenly along the circumference, so that while reducing the number of cameras in the panoramic camera or panoramic camera system and reducing the cost, the coverage of the captured images will not be reduced.
在步骤S102中,通过两组摄像头获取两组摄像头所在方向范围内的图像,以得到对应的两组图像。In step S102, the images within the direction ranges of the two sets of cameras are acquired through the two sets of cameras, so as to obtain two sets of corresponding images.
在本发明实施例中,每个摄像头用于拍摄、获取其朝向或所在方向范围内的图像,以得到对应的两组图像,每个摄像头拍摄的角度可达到110度到150度,两组图像中的图像数量相同。在获取图像后,还应将摄像头对应的姿态数据与对应的图像进行关联,以用于后续对图像进行拼接。In the embodiment of the present invention, each camera is used to shoot and acquire images within the range of its orientation or direction to obtain corresponding two groups of images, and the shooting angle of each camera can reach 110 degrees to 150 degrees, and the two groups The same number of images in the image. After the image is acquired, the pose data corresponding to the camera should also be associated with the corresponding image for subsequent image stitching.
在步骤S103中,根据两组图像内每个摄像头对应的姿态数据,分别对两组图像进行图像拼接,以获得两幅全景图像,对两幅全景图像进行合成操作,生成对应的全景立体图像。In step S103, according to the pose data corresponding to each camera in the two groups of images, image stitching is performed on the two groups of images to obtain two panoramic images, and the two panoramic images are synthesized to generate a corresponding panoramic stereo image.
在本发明实施例中,在获取到每个摄像头所在方向的图像和摄像头对应的姿态数据后,根据两组图像内每个摄像头对应的姿态数据,分别对两组图像进行图像拼接。In the embodiment of the present invention, after acquiring the image in the direction of each camera and the pose data corresponding to the camera, according to the pose data corresponding to each camera in the two groups of images, image stitching is performed on the two groups of images respectively.
在拼接时,根据两组图像内每个摄像头对应的姿态数据将每个摄像获取的图像转换为同一姿态下的图像,分别对转换后的两组图像进行拼接,从而使得拼接的图像不发生错位,其中,该同一姿态可以是所有摄像头中任一摄像头的姿态。在对两幅全景图像进行合成操作时,由于相邻摄像头获取的图像存在视差,相当于人的左右眼睛获得的图像,因此,通过裸眼观看合成的图像时即可获取立体视觉,从而可向用户直接提供或输出立体的全景图像,提高了图像的显示效果和用户体验。During stitching, according to the attitude data corresponding to each camera in the two sets of images, the images acquired by each camera are converted into images under the same attitude, and the converted two sets of images are respectively stitched, so that the stitched images are not different. Misalignment occurs, where the same pose can be that of any of all cameras. When synthesizing two panoramic images, due to the parallax in the images acquired by adjacent cameras, it is equivalent to the images acquired by the left and right eyes of a person. Therefore, stereoscopic vision can be obtained when viewing the synthesized images with naked eyes, which can provide users with Directly provide or output a stereoscopic panoramic image, which improves the image display effect and user experience.
实施例二:Embodiment two:
图2示出了本发明实施例二提供的全景立体图像获取方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:Fig. 2 shows the implementation flow of the panoramic stereoscopic image acquisition method provided by the second embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
在步骤S201中,通过姿态传感器获取预设数量个摄像头在东北天坐标系中的姿态数据,预设数量个摄像头分为两组。In step S201 , attitude data of a preset number of cameras in the northeast sky coordinate system are acquired by an attitude sensor, and the preset number of cameras are divided into two groups.
本发明实施例适用于全景摄像机或全景摄像系统,例如,全景地图摄像机或系统,全景摄像机或全景摄像系统中设置有图像数据处理单元、姿态传感器以及预设数量的摄像头。在本发明实施例中,预设的数量为大于等于8的偶数,预设数量个摄像头被分为两组,两组摄像头沿周向交替、均匀地设置。优选地,摄像头的预设数量为8,两组摄像头沿圆周周向交替、均匀设置,这样在减少全景摄像机或全景摄像系统中摄像头数量、降低成本的同时,不会降低拍摄图像的覆盖范围。The embodiment of the present invention is applicable to a panoramic camera or a panoramic camera system, for example, a panoramic map camera or system, which is provided with an image data processing unit, an attitude sensor and a preset number of cameras. In the embodiment of the present invention, the preset number is an even number greater than or equal to 8, and the preset number of cameras is divided into two groups, and the two groups of cameras are arranged alternately and uniformly along the circumferential direction. Preferably, the preset number of cameras is 8, and two groups of cameras are arranged alternately and evenly along the circumference, so that while reducing the number of cameras in the panoramic camera or panoramic camera system and reducing the cost, the coverage of the captured images will not be reduced.
在步骤S202中,通过两组摄像头获取两组摄像头所在方向范围内的图像,以得到对应的两组图像。In step S202, the images within the direction ranges where the two groups of cameras are located are acquired through the two groups of cameras, so as to obtain two corresponding groups of images.
在步骤S203中,在两组摄像头内每个摄像头所在方向上设置对应的麦克风,以采集所在方向上的声音。In step S203, a corresponding microphone is set in the direction of each camera in the two groups of cameras to collect sound in the direction.
在本发明实施例中,在获取图像、姿态数据以及声音数据后,可将同一摄像头对应的图像、姿态数据以及声音数据关联起来并保存,以用于后续对图像进行拼接和输出。In the embodiment of the present invention, after the image, gesture data and sound data are acquired, the image, gesture data and sound data corresponding to the same camera can be associated and saved for subsequent image splicing and output.
在步骤S204中,根据两组图像内每个摄像头对应的姿态数据,分别对两组图像进行图像拼接,以获得两幅全景图像,对两幅全景图像进行合成操作,生成对应的全景立体图像。In step S204, according to the posture data corresponding to each camera in the two groups of images, the two groups of images are respectively image stitched to obtain two panoramic images, and the two panoramic images are synthesized to generate a corresponding panoramic stereo image.
在本发明实施例中,在拼接时,根据两组图像内每个摄像头对应的姿态数据将每个摄像获取的图像转换为同一姿态下的图像,分别对转换后的两组图像进行拼接,从而使得拼接的图像不发生错位,其中,该同一姿态可以是所有摄像头中任一摄像头的姿态。在对两幅全景图像进行合成操作时,由于相邻摄像头获取的图像存在视差,相当于人的左右眼睛获得的图像,因此,通过裸眼观看合成的图像时即可获取立体视觉,从而可向用户直接提供或输出立体的全景图像,提高了图像的显示效果和用户体验。In the embodiment of the present invention, during splicing, according to the posture data corresponding to each camera in the two groups of images, the images acquired by each camera are converted into images in the same posture, and the converted two groups of images are respectively spliced , so that the spliced images are not misaligned, wherein the same pose can be the pose of any camera among all the cameras. When synthesizing two panoramic images, due to the parallax in the images acquired by adjacent cameras, it is equivalent to the images acquired by the left and right eyes of a person. Therefore, stereoscopic vision can be obtained when viewing the synthesized images with naked eyes, which can provide users with Directly provide or output a stereoscopic panoramic image, which improves the image display effect and user experience.
在步骤S205中,当接收到用户查看全景立体图像的请求时,确定用户请求查看的方位。In step S205, when the user's request to view the panoramic stereoscopic image is received, the orientation requested by the user to be viewed is determined.
在本发明实施例中,当接收到用户查看全景立体图像的请求时,首先确定用户视点所在位置以及请求查看的方位,也就是用户的视野,确定后再查找全景立体图像中的对应图像。In the embodiment of the present invention, when receiving a user's request to view a panoramic stereoscopic image, first determine the position of the user's viewpoint and the orientation requested to view, that is, the user's field of view, and then search for the corresponding image in the panoramic stereoscopic image.
在步骤S206中,根据确定的方位,输出全景立体图像中对应方位的图像以及声音。In step S206, according to the determined orientation, the image and the sound corresponding to the orientation in the panoramic stereo image are output.
在本发明实施例中,根据确定的方位,输出全景立体图像中对应方位的图像,同时获取用户视点所在位置相邻的麦克风采集的声音,根据麦克风设置的朝向、麦克风到该方位的距离对获取的声音进行混音并输出,在输出立体视觉图像的同时可获得声音信息,从而可有效改善全景摄像系统的用户体验。In the embodiment of the present invention, according to the determined orientation, the image of the corresponding orientation in the panoramic stereo image is output, and at the same time, the sound collected by the microphone adjacent to the position of the user's viewpoint is acquired, according to the orientation set by the microphone, and the distance between the microphone and the orientation. The sound is mixed and output, and the sound information can be obtained while the stereoscopic image is output, so that the user experience of the panoramic camera system can be effectively improved.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage Media such as ROM/RAM, magnetic disk, optical disk, etc.
实施例三:Embodiment three:
图3示出了本发明实施例三提供的全景立体图像获取装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分,其中包括:Fig. 3 shows the structure of the panoramic stereoscopic image acquisition device provided by the third embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including:
姿态数据获取单元31,用于通过姿态传感器获取预设数量个摄像头在东北天坐标系中的姿态数据,所述预设数量为大于等于8的偶数,所述预设数量个摄像头分为两组,两组摄像头沿周向交替、均匀设置;The attitude data acquisition unit 31 is used to acquire the attitude data of a preset number of cameras in the northeast sky coordinate system through the attitude sensor, the preset number is an even number greater than or equal to 8, and the preset number of cameras is divided into two groups , two groups of cameras are arranged alternately and uniformly along the circumferential direction;
图像获取单元32,用于通过所述两组摄像头获取所述两组摄像头所在方向范围内的图像,以得到对应的两组图像;以及An image acquisition unit 32, configured to acquire images within the direction range of the two groups of cameras through the two groups of cameras, so as to obtain corresponding two groups of images; and
立体图像生成单元33,用于根据所述两组图像内每个摄像头对应的姿态数据,分别对所述两组图像进行图像拼接,以获得两幅全景图像,对所述两幅全景图像进行合成操作,生成对应的全景立体图像。Stereoscopic image generation unit 33, for according to the attitude data corresponding to each camera in the two groups of images, image stitching is respectively performed on the two groups of images to obtain two panoramic images, and the two panoramic images are A composite operation is performed to generate a corresponding panoramic stereoscopic image.
在本发明实施例中,全景立体图像获取装置的各单元可由相应的硬件或软件单元实现,各单元可以为独立的软、硬件单元,也可以集成为一个软、硬件单元,在此不用以限制本发明。各单元的具体实施方式可参考前述实施例一的描述,在此不再赘述。In the embodiment of the present invention, each unit of the panoramic stereoscopic image acquisition device can be realized by corresponding hardware or software units, and each unit can be an independent software and hardware unit, or can be integrated into a software and hardware unit, which is not limited here. this invention. For the specific implementation manner of each unit, reference may be made to the description of the first embodiment above, and details are not repeated here.
实施例四:Embodiment four:
图4示出了本发明实施例四提供的全景立体图像获取装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分,其中包括:Fig. 4 shows the structure of the panoramic stereoscopic image acquisition device provided by the fourth embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including:
姿态数据获取单元41,用于通过姿态传感器获取预设数量个摄像头在东北天坐标系中的姿态数据,所述预设数量为大于等于8的偶数,所述预设数量个摄像头分为两组,两组摄像头沿周向交替、均匀设置;The attitude data acquisition unit 41 is used to acquire the attitude data of a preset number of cameras in the northeast sky coordinate system through the attitude sensor, the preset number is an even number greater than or equal to 8, and the preset number of cameras is divided into two groups , two groups of cameras are arranged alternately and uniformly along the circumferential direction;
图像获取单元42,用于通过所述两组摄像头获取所述两组摄像头所在方向范围内的图像,以得到对应的两组图像;An image acquisition unit 42, configured to acquire images within the direction range of the two groups of cameras through the two groups of cameras, so as to obtain corresponding two groups of images;
声音采集单元43,用于在所述所述两组摄像头内每个摄像头所在方向上设置对应的麦克风,以采集所在方向上的声音;A sound collection unit 43, configured to set a corresponding microphone in the direction of each camera in the two groups of cameras, so as to collect the sound in the direction;
立体图像生成单元44,用于根据所述两组图像内每个摄像头对应的姿态数据,分别对所述两组图像进行图像拼接,以获得两幅全景图像,对所述两幅全景图像进行合成操作,生成对应的全景立体图像;Stereoscopic image generation unit 44, for according to the attitude data corresponding to each camera in the two groups of images, image stitching is respectively performed on the two groups of images to obtain two panoramic images, and the two panoramic images are Perform a synthesis operation to generate a corresponding panoramic stereoscopic image;
方位确定单元45,用于当接收到用户查看所述全景立体图像的请求时,确定所述用户请求查看的方位;以及The orientation determination unit 45 is configured to determine the orientation that the user requests to view when receiving a request from the user to view the panoramic stereoscopic image; and
图像输出单元46,用于根据所述确定的方位,输出所述全景立体图像中对应方位的图像以及声音。The image output unit 46 is configured to, according to the determined orientation, output the image and sound of the corresponding orientation in the panoramic stereoscopic image.
在本发明实施例中,在获取到每个摄像头所在方向的图像和摄像头对应的姿态数据后,根据两组图像内每个摄像头对应的姿态数据,分别对两组图像进行图像拼接。在拼接时,根据两组图像内每个摄像头对应的姿态数据将每个摄像获取的图像转换为同一姿态下的图像,分别对转换后的两组图像进行拼接,从而使得拼接的图像不发生错位,该同一姿态可以是所有摄像头中任一摄像头的姿态。在对两幅全景图像进行合成操作时,由于相邻摄像头获取的图像存在视差,相当于人的左右眼睛获得的图像,因此,通过裸眼观看该图像时即可获取立体视觉,从而可向用户提供立体的全景图像,提高了图像的显示效果。In the embodiment of the present invention, after acquiring the image in the direction of each camera and the pose data corresponding to the camera, according to the pose data corresponding to each camera in the two groups of images, image stitching is performed on the two groups of images respectively. During stitching, according to the attitude data corresponding to each camera in the two sets of images, the images acquired by each camera are converted into images under the same attitude, and the converted two sets of images are respectively stitched, so that the stitched images are not different. If misalignment occurs, the same pose can be the pose of any camera among all cameras. When synthesizing two panoramic images, due to the parallax in the images obtained by adjacent cameras, it is equivalent to the images obtained by the left and right eyes of a person. Therefore, when viewing the image with naked eyes, stereo vision can be obtained, which can provide users with The three-dimensional panoramic image improves the display effect of the image.
因此,如图所示,立体图像生成单元44可包括图像拼接单元441,以用于根据两组图像内每个摄像头对应的姿态数据将每个摄像获取的图像转换为同一姿态下的图像,分别对转换后的两组图像进行拼接。Therefore, as shown in the figure, the stereoscopic image generation unit 44 may include an image splicing unit 441, which is used to convert the image acquired by each camera into an image under the same posture according to the posture data corresponding to each camera in the two groups of images, The converted two sets of images are stitched separately.
在本发明实施例中,全景立体图像获取装置的各单元可由相应的硬件或软件单元实现,各单元可以为独立的软、硬件单元,也可以集成为一个软、硬件单元,在此不用以限制本发明。各单元的具体实施方式可参考前述实施例二的描述,在此不再赘述。In the embodiment of the present invention, each unit of the panoramic stereoscopic image acquisition device can be realized by corresponding hardware or software units, and each unit can be an independent software and hardware unit, or can be integrated into a software and hardware unit, which is not limited here. this invention. For the specific implementation manner of each unit, reference may be made to the description of the second embodiment above, and details are not repeated here.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610293109.8A CN105847697A (en) | 2016-05-05 | 2016-05-05 | Panoramic stereo image acquisition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610293109.8A CN105847697A (en) | 2016-05-05 | 2016-05-05 | Panoramic stereo image acquisition method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105847697A true CN105847697A (en) | 2016-08-10 |
Family
ID=56590816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610293109.8A Pending CN105847697A (en) | 2016-05-05 | 2016-05-05 | Panoramic stereo image acquisition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847697A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534832A (en) * | 2016-11-21 | 2017-03-22 | 深圳岚锋创视网络科技有限公司 | Stereoscopic image processing method and system |
CN107483911A (en) * | 2017-08-25 | 2017-12-15 | 秦山 | A kind of signal processing method and system based on more mesh imaging sensors |
CN114007056A (en) * | 2021-10-28 | 2022-02-01 | 幻境虚拟现实科技(广州)有限公司 | A method and device for generating a stereoscopic panoramic image |
CN115314750A (en) * | 2022-08-10 | 2022-11-08 | 润博全景文旅科技有限公司 | Video playing method, device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120133639A1 (en) * | 2010-11-30 | 2012-05-31 | Microsoft Corporation | Strip panorama |
CN102903090A (en) * | 2012-01-20 | 2013-01-30 | 李文松 | Method, device and system for synthesizing panoramic stereograms, and browsing device for panoramic stereograms |
CN103106335A (en) * | 2012-12-29 | 2013-05-15 | 北京百度网讯科技有限公司 | Method and device for recording and displaying three-dimensional views through mobile terminal and mobile terminal |
CN104902263A (en) * | 2015-05-26 | 2015-09-09 | 深圳市圆周率软件科技有限责任公司 | System and method for showing image information |
-
2016
- 2016-05-05 CN CN201610293109.8A patent/CN105847697A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120133639A1 (en) * | 2010-11-30 | 2012-05-31 | Microsoft Corporation | Strip panorama |
CN102903090A (en) * | 2012-01-20 | 2013-01-30 | 李文松 | Method, device and system for synthesizing panoramic stereograms, and browsing device for panoramic stereograms |
CN103106335A (en) * | 2012-12-29 | 2013-05-15 | 北京百度网讯科技有限公司 | Method and device for recording and displaying three-dimensional views through mobile terminal and mobile terminal |
CN104902263A (en) * | 2015-05-26 | 2015-09-09 | 深圳市圆周率软件科技有限责任公司 | System and method for showing image information |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106534832A (en) * | 2016-11-21 | 2017-03-22 | 深圳岚锋创视网络科技有限公司 | Stereoscopic image processing method and system |
CN107483911A (en) * | 2017-08-25 | 2017-12-15 | 秦山 | A kind of signal processing method and system based on more mesh imaging sensors |
CN114007056A (en) * | 2021-10-28 | 2022-02-01 | 幻境虚拟现实科技(广州)有限公司 | A method and device for generating a stereoscopic panoramic image |
CN115314750A (en) * | 2022-08-10 | 2022-11-08 | 润博全景文旅科技有限公司 | Video playing method, device and equipment |
CN115314750B (en) * | 2022-08-10 | 2023-09-29 | 润博全景文旅科技有限公司 | Video playing method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5054971B2 (en) | Digital 3D / 360 degree camera system | |
CN108600576B (en) | Image processing apparatus, method and system, and computer-readable recording medium | |
CN104506761B (en) | A kind of 360 degree of full-view stereo photography machines | |
JP2011243205A (en) | Image processing system and method for the same | |
CN107038724A (en) | Panoramic fisheye camera image correction, synthesis and depth of field reconstruction method and system | |
CN102724398B (en) | Image data providing method, combination method thereof, and presentation method thereof | |
CN202075794U (en) | Unmanned plane aerial photography three-dimensional imaging processing device | |
JP2015022510A (en) | Free viewpoint image imaging device and method for the same | |
CN108616733B (en) | Panoramic video image splicing method and panoramic camera | |
CN109769110B (en) | A method, device and portable terminal for generating a 3D asteroid dynamic map | |
US11812009B2 (en) | Generating virtual reality content via light fields | |
CN103985103A (en) | Method and device for generating panoramic picture | |
JP2017017689A (en) | Spherical video shooting system and program | |
CN105847697A (en) | Panoramic stereo image acquisition method and device | |
CN109495733B (en) | Three-dimensional image reconstruction method, device and non-transitory computer readable storage medium thereof | |
JP4403173B2 (en) | 3D display file generation method and apparatus, and display control method and apparatus | |
DK3189493T3 (en) | PERSPECTIVE CORRECTION OF DIGITAL PHOTOS USING DEPTH MAP | |
CN112837207A (en) | Panoramic depth measuring method, four-eye fisheye camera and binocular fisheye camera | |
KR20150091064A (en) | Method and system for capturing a 3d image using single camera | |
JP2000112019A (en) | Electronic triplet lens camera apparatus | |
KR20180137916A (en) | Virtual reality image contents providing system and thereof providing method | |
CN108510537B (en) | 3D modeling method and device | |
KR102298047B1 (en) | Method of recording digital contents and generating 3D images and apparatus using the same | |
CN117196955B (en) | Panoramic image stitching method and terminal | |
CN110796690B (en) | Image matching method and image matching device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160810 |
|
RJ01 | Rejection of invention patent application after publication |