WO2012034542A1 - Co-optical center camera, image processing device and device - Google Patents

Co-optical center camera, image processing device and device Download PDF

Info

Publication number
WO2012034542A1
WO2012034542A1 PCT/CN2011/079834 CN2011079834W WO2012034542A1 WO 2012034542 A1 WO2012034542 A1 WO 2012034542A1 CN 2011079834 W CN2011079834 W CN 2011079834W WO 2012034542 A1 WO2012034542 A1 WO 2012034542A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
pixel
edge portion
reflective surface
brightness
Prior art date
Application number
PCT/CN2011/079834
Other languages
French (fr)
Chinese (zh)
Inventor
刘源
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2012034542A1 publication Critical patent/WO2012034542A1/en

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B26/00Optical devices or arrangements for the control of light using movable or deformable optical elements
    • G02B26/08Optical devices or arrangements for the control of light using movable or deformable optical elements for controlling the direction of light
    • G02B26/10Scanning systems
    • G02B26/108Scanning systems having one or more prisms as scanning elements
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/28Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00 for polarising
    • G02B27/286Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00 for polarising for controlling or changing the state of polarisation, e.g. transforming one polarisation state into another
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS 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/00Panoramic or wide-screen photography; Photographing extended surfaces, e.g. for surveying; Photographing internal surfaces, e.g. of pipe
    • G03B37/04Panoramic 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

Definitions

  • the present invention relates to the field of information processing technologies, and in particular, to a common optical center camera, an image processing method and apparatus. Background technique
  • Telepresence is a video conferencing system that creates a virtual meeting environment. Telepresence has many advantages over traditional video conferencing systems, including: Telepresence can present life-size images, showing participants smooth motion, precise limbs Behavior and eyes fully reflect the human factors of the participants, making the participants feel as if they are communicating face to face with each other and improve user satisfaction.
  • the current Telepresence system uses multiple cameras to capture scene images in parallel or in a concentrated manner.
  • the position of the camera cannot be placed so that the optical distance between the two cameras is B.
  • the parallax of the image is related to the distance between the optical center and the depth of field. Therefore, the image obtained in this way has parallax between the overlapping portions, so that the image taken by the plurality of cameras in parallel or in a concentrated manner cannot be certain.
  • Multiple images of the scene depth range are stitched into a panoramic image.
  • the prior art adopts a common optical center camera, and the common optical center camera adopts a reflective prism, so that the camera shooting prism reflects the image to form an image, and the distance of the virtual optical center of the reflected image can be 0.
  • the parallax problem of the image is theoretically solved.
  • the common center camera includes a glass rib P1 having three surfaces M1, M2, M3, which are silver-plated reflective surfaces, and three cameras CI, C2 and C3 are placed below the reflective surface.
  • Figure 1 with camera C1 For example, the principle of virtual common optical center is shown, where L1 is the incident ray, R1 is the reflected ray, the normal line perpendicular to the reflective surface M1 is 100, the angle between the normal line 100 and the horizontal line 101 is a, and the reflection point is to the camera C1.
  • the actual distance of the optical center 01 is d.
  • the camera will capture a virtual image with a virtual optical center V01.
  • the distance between the virtual optical centers V01 of the camera C1, the virtual optical centers V02 of the C2, and the virtual optical center V03 of the C3 can be zero, thereby obtaining the total optical center. Images. By stitching these three images, it is theoretically possible to obtain images that are seamlessly stitched at any depth.
  • L1 and R1 are incident and reflected rays of the reflecting surface M1, respectively, and L2 and R2 are incident and reflected rays of the reflecting surface M2, respectively.
  • L1 is the incident ray from object 01
  • L2 is the incident ray from object 02.
  • the reflected light R2 of the reflective surface M2 can enter the lens of the camera C2, and the reflected light R1 of the reflective surface M1 cannot enter the lens of the C2.
  • both R1 and R2 may enter the lens of camera C2, that is, objects 01 and 02 will image at the edge of the image captured by camera C2, 01
  • the image is superimposed on the image of 02 in a manner similar to Alpha synthesis, thereby forming a feathered dip zone A1, as shown in FIG.
  • the dip dye ribbon A1 cannot be used in splicing, resulting in poor splicing effect and inability to obtain high quality panoramic images.
  • Embodiments of the present invention provide a common center camera, an image processing method, and an apparatus, which are capable of preventing the emergence of a feathered dip ribbon.
  • a common optical camera comprising:
  • a prism having a plurality of reflective surfaces and each of the reflective surfaces is provided with a polarizing film, and the incident light passes through the polarizing film and is reflected by the reflective surface of the prism to output polarized reflected light, and the polarizing film on each of the reflective surfaces
  • the polarization direction is different from the polarization direction of the polarizing film on the adjacent reflective surface
  • each of the plurality of imaging devices and each of the prisms Glossy-combination the lens of each of the imaging devices faces a reflective surface of the prism
  • a polarizing plate is mounted on the front of each camera, and each of the plurality of imaging devices is used to acquire a polarizing plate for polarizing the polarized reflected light, wherein a polarization direction of the polarizing plate before the lens of each camera is the same as a polarization of the prism combined with the polarizing plate The polarization direction of the film is the same.
  • An image processing method includes:
  • the edge portion image of the scene image is an image captured by the camera device, that is, a reflective surface combined with the camera device An image formed by light rays of a scene reflected by an area bordered by a reflective surface adjacent to the reflective surface;
  • the image formed by the reflected light forms each of the images
  • the brightness compensation coefficient of the pixel compensates for the brightness of each pixel in the edge portion image of the scene image.
  • An image processing apparatus includes:
  • a to-be-compensated image acquisition unit configured to acquire a scene image captured by the camera device
  • a brightness value acquiring unit configured to acquire a brightness value of each pixel in the image of the edge portion of the scene image; wherein the edge portion image of the scene image is an image captured by the camera device, that is, combined with the camera device An image formed by the ray of the scene reflected by the area of the reflective surface adjacent to the reflective surface adjacent to the reflective surface;
  • a compensation unit configured to reflect light according to a brightness value of each pixel in the edge portion image of the scene image and a preset reflective surface combined with the reflective device and a reflective surface adjacent to the reflective surface A brightness compensation coefficient of each pixel in the image is formed, and the brightness of each pixel in the edge portion image of the scene image is compensated.
  • the common optical center camera provided by the embodiment of the present invention has a polarizing film on the reflective surface, and the polarizing plate is disposed in front of the lens of the image capturing device, and the polarizing film on each reflecting surface has a polarization direction corresponding to the reflecting surface.
  • the polarization direction of the polarizing plate in front of the lens is the same, and the polarization direction of the polarizing plate in front of the lens corresponding to the adjacent reflecting surface is different, so that the imaging device can only receive the reflected light from the corresponding reflecting surface, and cannot receive The reflected light of the adjacent reflective surface (the adjacent reflective surface is a reflective surface adjacent to the reflective surface corresponding to the imaging device), such that the image formed by the reflected light of the two reflective surfaces adjacent to the prism is Without folding together, there will be no feathered dyeing tape.
  • FIG. 1 is a schematic diagram of a virtual common optical center principle provided by the prior art
  • FIG. 2 is a schematic view of reflected light at the edges of two reflective surfaces provided by the prior art; and a schematic diagram of the resulting immersion belt;
  • FIG. 3A is a structural diagram of a common optical center camera according to an embodiment of the present invention.
  • FIG. 3B is a schematic diagram of an optical path of a reflective surface based on a prism according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an optical path based on an upward reflecting surface according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an optical path based on a reflective surface having a transparent protective film according to an embodiment of the present invention
  • FIG. 7 is a structural diagram of a common optical center camera having a spacer according to an embodiment of the present invention
  • FIG. 8 is a flowchart of an image processing method according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for determining a brightness compensation coefficient according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an image of an edge portion in a single color image according to an embodiment of the present invention.
  • FIG. 11 is another embodiment of the present invention.
  • FIG. 12A is a structural diagram of an image processing apparatus according to an embodiment of the present invention;
  • FIG. 12B is a structural diagram of another image processing apparatus according to an embodiment of the present invention. detailed description
  • an embodiment of the present invention provides a common optical center camera, which includes: a prism 10 and a plurality of imaging devices 20,
  • the prism 10 has a plurality of reflective surfaces, and each of the reflective surfaces is attached with a polarizing film.
  • the incident light passes through the polarizing film and is reflected by the reflective surface of the prism, and outputs polarized reflected light, and the polarizing film on each reflective surface.
  • the polarization direction is different from the polarization direction of the polarizing film on the adjacent reflective surface;
  • each of the plurality of imaging devices being combined with each reflective surface of the prism 10, the lens of each of the imaging devices facing a reflective surface of the prism, and each imaging A polarizing plate is mounted on the front of the lens of the device, and each of the plurality of imaging devices is configured to acquire the polarized light of the polarized light reflected by the polarizing plate, wherein the lens of each camera device
  • the polarization direction of the front polarizing plate is the same as the polarization direction of the polarizing film on the reflecting surface of the prism combined with the polarizing plate.
  • the polarization direction of the polarizing film on each reflective surface of the prism may be perpendicular to the polarization direction of the polarizing film on the adjacent reflective surface, or may be other angles, and does not affect the implementation of the present invention.
  • a polarizing film 101 is attached to the reflective surface 100 of the prism, and the reflective surface 100 of the prism is used for reflecting incident light transmitted through the polarizing film 101 to output polarized reflected light.
  • the imaging device 20 corresponds to the reflective surface 100 of the prism, and a polarizing plate 201 is mounted in front of the lens 200 of the imaging device 20, and the imaging device 20 is configured to acquire the reflective surface 100 of the prism by the polarizing plate 201.
  • the polarized reflected light is subjected to polarization treatment.
  • the common center camera may further include: a spacer for blocking polarization of a reflective surface output of the prism The reflected light enters an imaging device corresponding to another reflective surface adjacent to the reflective surface, and the boundary between the spacer and the adjacent two reflective surfaces is coplanar.
  • the partition may be fixedly coupled to the outer casing of the common-mode optical camera, or may be integrally formed with the outer casing of the common-mode optical camera.
  • the common optical center camera provided by the embodiment of the invention has a polarizing film on the reflective surface, and the polarizing film is arranged in front of the lens of the image capturing device, and the polarization direction of the polarizing film on each reflecting surface and the polarization of the camera before the lens corresponding to the reflecting surface
  • the polarization directions of the slices are the same, and the polarization directions of the polarizers before the lens of the camera corresponding to the adjacent reflective surfaces are different, so that the camera can only receive the reflected light from the corresponding reflective surface, and cannot receive adjacent reflections.
  • the reflected light of the surface (the adjacent reflective surface is a reflective surface adjacent to the reflective surface corresponding to the imaging device), such that the image formed by the reflected light of the two reflective surfaces adjacent to the prism does not alias Together, there will be no emergence of feathered dip tape.
  • Fig. 4 shows a schematic diagram of the optical path based on an upwardly reflecting surface, assuming that the incident light 301 is a natural light whose polarization direction is circularly polarized, and the polarization directions of the polarizing film 101 and the polarizing plate 201 are both horizontally polarized.
  • the reflective surface 100 of the prism 10 reflects the incident light 301 transmitted through the polarizing film 101, and outputs the polarized reflected light 302. Since the polarization direction of the polarizing film 101 is horizontally polarized, the incident light 301 passes through the polarizing film 101 and becomes The horizontally polarized linearly polarized light, the reflective surface 100 reflects the horizontally polarized linearly polarized light, and outputs a reflected ray 302, which is also horizontally polarized linearly polarized light.
  • the polarizing plate 201 in front of the lens 200 of the imaging device 20 polarizes the reflected light 302. Since the reflected light 302 is horizontally polarized linearly polarized light and the polarization direction of the polarizing plate 201 is horizontally polarized, the reflected light 302 can pass through.
  • the polarizing plate 201 is incident on the lens 200 of the image pickup device 20.
  • the image pickup device 20 receives the light after polarization treatment of the polarized reflected light 302 reflected by the reflecting surface 100 of the prism 10 by the polarizing plate 201.
  • the common optical center camera provided by the embodiment of the invention has a polarizing film on the reflective surface, and the polarizing film is arranged in front of the lens of the image capturing device, and the polarization direction of the polarizing film on each reflecting surface and the polarization of the camera before the lens corresponding to the reflecting surface
  • the polarization directions of the slices are the same, and the polarization directions of the polarizers before the lens of the camera corresponding to the adjacent reflective surfaces are different, so that the camera can only receive the reflected light from the corresponding reflective surface, and cannot receive adjacent reflections.
  • the reflected light of the surface (the adjacent reflective surface is a reflective surface adjacent to the reflective surface corresponding to the imaging device), thus formed by the reflected light of the two reflective surfaces adjacent to the prism
  • the images will not be aliased together and will not form a feathered dip ribbon.
  • Fig. 5 shows a schematic diagram of the optical path based on a downward reflecting surface, assuming that the incident light 301 is a natural light whose polarization direction is circularly polarized, and the polarization directions of the polarizing film 101 and the polarizing plate 201 are both horizontally polarized.
  • the processing of the light on the reflective surface, the polarizing plate, and the imaging device in this embodiment is similar to the embodiment shown in FIG. 4, and details are not described herein again.
  • a transparent protective film 102 may be further disposed between the reflective surface 100 and the polarizing film 101 for preventing the plating layer from falling off on the reflective surface.
  • the incident light ray 301 is sequentially incident on the reflective surface 100 through the polarizing film 101 and the transparent protective film 102, and the incident light 301 is reflected by the reflective surface 100, and the reflected light ray 302 is sequentially transmitted through the transparent protective film 102 and the polarizing film 101.
  • Imaging device 20 is
  • the aperture is a device used to control the amount of light that passes through the lens and into the photosensitive surface of the body.
  • the aperture value of the aperture is usually between 2.8 and 16.
  • the f-number of the aperture the greater the amount of light entering the photosensitive surface of the fuselage in the same unit time.
  • the aperture is adjusted from f8 to f5.6, and the aperture is one level larger. At the same time, the amount of light entering the photosensitive surface of the body is doubled.
  • the common-mode optical camera introduced in the above embodiment of the present invention prevents the camera device from receiving the light reflected by the adjacent reflective surface of the combined reflective surface by using optical principles, in order to more effectively prevent the camera device from receiving the combination thereof.
  • the light reflected by the adjacent reflective surface of the reflective surface, the common optical center camera may further include: a spacer, a fixed connection with the outer casing of the common optical camera or a structure integrally formed with the outer casing of the common optical camera a polarized reflected light for blocking the output of one reflective surface of the prism enters another corresponding reflective surface, wherein the one reflective surface and the other reflective surface are adjacent to each other a reflective surface, wherein the partition is coplanar with a boundary line between the two adjacent reflective surfaces.
  • the reflective surface of the prism may face upward or downward, and when the reflective surface of the prism faces upward, the partition is located directly above the boundary line of the adjacent two reflective surfaces; when the reflective surface of the prism faces downward, the partition is located Immediately below the boundary line between two adjacent reflective surfaces.
  • PI is a prism having three reflecting surfaces of M1, M2 and M3, the three reflecting surfaces are facing upward, and Cl, C2 and C3 are respectively corresponding to the three reflecting surfaces M1, M2 and M3.
  • a thin spacer B12 is placed on the boundary line S12 between the two adjacent reflective surfaces M1 and M2, at the boundary of two adjacent reflective surfaces of M3 and M2.
  • a thin partition B23 is placed on the line S23.
  • the thin baffle B12 and S12 are coplanar, the projection of the bottom surface D12 of the thin baffle B12 on the bottom surface of the prism P1 coincides with the projection of S12 on the bottom surface of the prism P1; the thin baffles B23 and S23 are coplanar, and the bottom surface D23 of the thin baffle B23
  • the projection on the bottom surface of the prism P1 coincides with the projection of S23 on the bottom surface of the prism P1.
  • B12 and B23 divide the space inside the common optical camera into three parts, each part corresponding to a reflective surface and a camera device, and the thin partition plate blocks the reflected light of the adjacent reflective surface, so that the imaging device in the partial space The reflected light from the adjacent reflective surface will not be received.
  • the method embodiment includes:
  • an edge portion image of the scene image is an image captured by the camera device, that is, a reflective surface combined with the camera device.
  • the method is applicable to the common center camera provided by the above embodiments, and is also applicable to the common center camera provided by the prior art.
  • the image of the edge portion in the scene image captured by the camera corresponding to M2 includes: the light of the scene reflected by the area where the reflective surface M2 and M1 meet The formed image, and the image formed by the light of the scene reflected by the area where the reflective surface M2 and M3 meet.
  • the image of the edge portion of the scene image captured by the camera corresponding to M1 includes: an image formed by the light of the scene reflected by the region where the reflective surface M2 and M1 meet.
  • each pixel in the edge portion image of the scene image 803, according to the brightness value of each pixel in the edge portion image of the scene image and the preset reflective surface combined with the imaging device and the reflective surface adjacent to the reflective surface to reflect the light formed by the image formed by the light
  • the brightness compensation coefficient of each pixel compensates for the brightness of each pixel in the edge portion image of the scene image.
  • the method further comprising: acquiring an edge part image and a non-edge part image of the monochrome image captured by the camera device, the edge part of the monochrome image
  • the image is a non-edge portion image of the reflective monochrome image combined with the camera device captured by the camera device, except for the edge portion (the width of the edge portion and the aperture size of the camera, the size of the prism) And a quality of the edge of the mirror, generally less than 5% of the width of the image; a portion other than the image; obtaining an average luminance value of the pixel in the non-edge portion image of the monochrome image, and an image of the edge portion of the monochrome image a ratio of a luminance value of each pixel to the average luminance value as a luminance attenuation coefficient of each pixel in an edge portion image of the monochro
  • the process of compensating the brightness of each pixel in the image of the edge portion of the scene image may be processed frame by frame.
  • a graphics processing unit GPU
  • a digital signal processor may be used.
  • Devices such as Digital Signal Processing, DSP) are processed.
  • each pixel in the image of the edge portion of the captured image is obtained by using a preset brightness attenuation coefficient of each pixel in the image formed by the reflected surface corresponding to the imaging device and the reflective surface adjacent to the adjacent reflective surface.
  • the brightness is compensated to eliminate the dark band caused by the boundary area of the two reflective surfaces.
  • the sum of the luminance values of the pixels in the non-edge portion image is obtained, and then the sum is divided by the non- The number of pixels in the edge portion of the image gives an average luminance value.
  • the width of the edge portion image in the monochrome image is w
  • the coordinates of a certain pixel in the image are (X, y).
  • y is determined as a certain value in this step
  • different X corresponds to The luminance attenuation coefficient of the pixel, where XG [ Q , W ] is assumed to be the luminance value of the pixel, and the luminance value ranges from 0 to ⁇ 55, then the luminance attenuation coefficient of the pixel is:
  • the method further includes: The scene images are stitched together to obtain a panoramic image.
  • an embodiment of the present invention provides an image processing apparatus, which mainly includes: a to-be-compensated image acquiring unit 1201, configured to acquire a scene image captured by an imaging device;
  • the brightness value obtaining unit 1202 is configured to acquire a brightness value of each pixel in the image of the edge portion of the scene image, where the edge portion image of the scene image is a reflective surface captured by the camera device and combined with the camera device An image formed by light rays of a scene reflected by an area bordering the adjacent reflective surface;
  • the compensation unit 1203 is configured to: according to the brightness value of each pixel in the edge portion image of the scene image and the preset reflection surface combined with the reflective surface of the imaging device and the reflective surface of the adjacent reflective surface The brightness compensation coefficient of each pixel compensates for the brightness of each pixel in the edge portion image of the scene image.
  • the brightness compensation coefficient of each pixel in the image formed by the light reflecting surface combined with the reflective surface of the imaging device and the adjacent reflective surface may be pre-arranged on the imaging device, or may be imaged.
  • the device is calculated using the luminance values of the pixels in the monochrome image.
  • the image pickup apparatus further includes:
  • the single color image acquiring unit 1204 is configured to acquire an edge portion image and a non-edge portion image of the monochrome image captured by the imaging device, where the edge portion image of the monochrome image is captured by the camera device An image formed by the light of the monochromatic object reflected by the reflective surface combined with the imaging device and the region adjacent to the adjacent reflective surface; the non-edge portion image of the monochrome image is in the monochrome image a portion other than the edge portion image; a luminance attenuation coefficient determining unit 1205, configured to acquire an average luminance value of a pixel in the non-edge portion image of the monochrome image, and to use each pixel in the edge portion image of the monochrome image The ratio of the luminance value to the average luminance value is used as the luminance attenuation coefficient of each pixel in the edge portion image of the monochrome image, and can be specifically used for the luminance of each pixel in a certain line of the edge portion image of the monochrome image.
  • Dividing the value by the average luminance value obtaining a luminance attenuation coefficient of each pixel in the certain row, determining a luminance attenuation coefficient of each pixel in another row of the edge portion image of the monochrome image, where the other row and The pixels having the same abscissa in a certain row have the same luminance attenuation coefficient.
  • attenuation coefficient determination method refer to the descriptions of steps 903-904 and step 1103 in the method embodiment, and details are not described herein again.
  • the brightness compensation coefficient determining unit 1206 is configured to determine a reciprocal of the brightness attenuation coefficient of each pixel in the edge portion image of the monochrome image as the reflected light of the area corresponding to the reflective surface corresponding to the imaging device and the adjacent reflective surface The brightness compensation coefficient of each pixel in the formed image.
  • the brightness of each pixel in the image of the edge portion of the captured image is compensated by using the brightness attenuation coefficient of each pixel in the image formed by the reflected light at the boundary between the two reflective surfaces, and the two reflective surfaces are eliminated.
  • the dark band caused by the border area is eliminated.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)

Abstract

A co-optical center camera. The camera comprises: a prism (10) having a plurality of reflective surfaces (100) each having a polarizing film (101) adhered thereon, the reflective surfaces of the prism being used for reflecting incident light passing through the polarizing film, thus reflecting polarized light, the polarization direction of the film on each reflective surface being different from the polarization direction of the film on any adjacent reflective surface; a plurality of camera devices (20), corresponding respectively to each reflective surface of the prism, a polarizer (201) being arranged in front of the lens (200) of each camera device. The plurality of camera devices are used to acquire, after polarization processing by the polarizers, the polarized light reflected by each reflective surface of the prism. The polarization direction of the polarizer in front of the lens of each camera device is identical to the polarization direction of the corresponding polarization film on the respective reflective surface of the prism. Also provided are an image-processing method and device.

Description

共光心摄像机、 图像处理方法及装置  Common optical camera, image processing method and device
本申请要求于 2010年 9月 19日提交中国专利局、申请号为 201010290495.8, 发明名称为"共光心摄像机、 图像处理方法及装置"的中国专利申请的优先权,其 全部内容通过引用结合在本申请中。 技术领域  This application claims priority to Chinese Patent Application No. 201010290495.8, entitled "Co-optical camera, image processing method and device", which is filed on September 19, 2010, the entire contents of which are incorporated by reference. In this application. Technical field
本发明涉及信息处理技术领域, 特别涉及一种共光心摄像机、 图像处理方 法及装置。 背景技术  The present invention relates to the field of information processing technologies, and in particular, to a common optical center camera, an image processing method and apparatus. Background technique
远程呈现(Telepresence )是一种创建虚拟会议环境的视频会议系统, Telepresence相比传统视讯会议系统具有很多优点,主要包括: Telepresence能呈 现真人大小的图像, 能呈现参与者流畅的运动、 精确的肢体行为和眼神, 充分 体现了参与者的人性化因素, 使会议参与者感觉好像是在面对面的与对方交流, 提高用户的满意度。  Telepresence is a video conferencing system that creates a virtual meeting environment. Telepresence has many advantages over traditional video conferencing systems, including: Telepresence can present life-size images, showing participants smooth motion, precise limbs Behavior and eyes fully reflect the human factors of the participants, making the participants feel as if they are communicating face to face with each other and improve user satisfaction.
创建 Telepresence系统的一个关键技术之一就是如何获得会场的全景图像。 目前的 Telepresence系统采用了多个摄像机以平行或者汇聚摆放的方式拍摄场 景图像, 但是, 由于摄像机的光心在摄像机内部, 仅靠摄像机位置的摆放无法 使两个摄像机的光心间距 B为 0, 而图像的视差与光心间距及景深有关,所以这 种方式得到的图像在重叠区部分之间存在视差, 因此采用多个摄像机以平行或 者汇聚摆放的方式拍摄场景图像无法将具有一定场景深度范围的多个图像拼接 为全景图像。  One of the key technologies for creating a Telepresence system is how to get a panoramic image of the venue. The current Telepresence system uses multiple cameras to capture scene images in parallel or in a concentrated manner. However, since the camera's optical center is inside the camera, the position of the camera cannot be placed so that the optical distance between the two cameras is B. 0, and the parallax of the image is related to the distance between the optical center and the depth of field. Therefore, the image obtained in this way has parallax between the overlapping portions, so that the image taken by the plurality of cameras in parallel or in a concentrated manner cannot be certain. Multiple images of the scene depth range are stitched into a panoramic image.
为了能够获得无缝拼接的全景图像, 现有技术采用了共光心摄像机, 共光 心摄像机采用了反光棱镜, 使摄像机拍摄棱镜反射形成图像, 反射图像的虚拟 光心的间距可以为 0, 这样就从理论上解决了图像的视差问题。 具体的, 假定共 光心摄像机包括一个玻璃棱台 P1 , 具有 3个表面 Ml , M2, M3 , 这些表面为镀 银的反光面, 反光面的下方放置 3个摄像机 CI , C2和 C3。 图 1以摄像机 C1 为例示出了虚拟共光心原理, 其中, L1为入射光线, R1为反射光线, 垂直于反 光面 Ml的法线为 100, 法线 100和水平线 101的夹角为 a , 反射点到摄像机 C1的实际光心 01的垂直距离为 d。根据光线反射原理,摄像机会拍摄到一个虚 像, 该虚像有一个虚拟光心 V01。 理论上通过设计反光面的角度和摄像机的摆 放位置, 可以使摄像机 C1的虚拟光心 V01、 C2的虚拟光心 V02和 C3的虚拟 光心 V03的间距为 0, 从而得到共光心的 3个图像。 对这 3个图像进行拼接处 理, 理论上可以得到在任意深度上都是无缝拼接的图像。 In order to obtain a seamlessly stitched panoramic image, the prior art adopts a common optical center camera, and the common optical center camera adopts a reflective prism, so that the camera shooting prism reflects the image to form an image, and the distance of the virtual optical center of the reflected image can be 0. The parallax problem of the image is theoretically solved. Specifically, it is assumed that the common center camera includes a glass rib P1 having three surfaces M1, M2, M3, which are silver-plated reflective surfaces, and three cameras CI, C2 and C3 are placed below the reflective surface. Figure 1 with camera C1 For example, the principle of virtual common optical center is shown, where L1 is the incident ray, R1 is the reflected ray, the normal line perpendicular to the reflective surface M1 is 100, the angle between the normal line 100 and the horizontal line 101 is a, and the reflection point is to the camera C1. The actual distance of the optical center 01 is d. According to the principle of light reflection, the camera will capture a virtual image with a virtual optical center V01. In theory, by designing the angle of the reflective surface and the position of the camera, the distance between the virtual optical centers V01 of the camera C1, the virtual optical centers V02 of the C2, and the virtual optical center V03 of the C3 can be zero, thereby obtaining the total optical center. Images. By stitching these three images, it is theoretically possible to obtain images that are seamlessly stitched at any depth.
采用上述共光心摄像机,如图 2所示, L1和 R1分别是反光面 Ml的入射和 反射光线, L2和 R2分别是反光面 M2的入射和反射光线。 其中 L1为来自物体 01的入射光线, L2为来自物体 02的入射光线。 在 Ml和 M2的边缘处, 在理 想情况下, 只有反光面 M2的反射光线 R2能够进入摄像机 C2的镜头中, 而反 光面 Ml的反射光线 R1无法进入 C2的镜头。 但在实际情况中, 由于镜头的参 数以及镜头和反光面的位置关系, 导致 R1和 R2都有可能进入到摄像机 C2的 镜头中, 即物体 01和 02都会在摄像机 C2拍摄的图像边缘成像, 01的图像会 像类似于 Alpha合成的方式叠加在 02的图像上,从而形成了羽化的浸染带 A1 , 如图 2所示。 浸染带 A1在拼接中是不能被使用的, 因而导致拼接效果变差, 无 法得到高质量的全景图像。 发明内容  With the above-mentioned common optical center camera, as shown in Fig. 2, L1 and R1 are incident and reflected rays of the reflecting surface M1, respectively, and L2 and R2 are incident and reflected rays of the reflecting surface M2, respectively. Where L1 is the incident ray from object 01 and L2 is the incident ray from object 02. At the edges of Ml and M2, in the ideal case, only the reflected light R2 of the reflective surface M2 can enter the lens of the camera C2, and the reflected light R1 of the reflective surface M1 cannot enter the lens of the C2. However, in actual situations, due to the parameters of the lens and the positional relationship between the lens and the reflective surface, both R1 and R2 may enter the lens of camera C2, that is, objects 01 and 02 will image at the edge of the image captured by camera C2, 01 The image is superimposed on the image of 02 in a manner similar to Alpha synthesis, thereby forming a feathered dip zone A1, as shown in FIG. The dip dye ribbon A1 cannot be used in splicing, resulting in poor splicing effect and inability to obtain high quality panoramic images. Summary of the invention
本发明实施例提供一种共光心摄像机、 图像处理方法及装置, 能够防止生 成羽化的浸染带。  Embodiments of the present invention provide a common center camera, an image processing method, and an apparatus, which are capable of preventing the emergence of a feathered dip ribbon.
有鉴于此, 本发明实施例提供:  In view of this, the embodiments of the present invention provide:
一种共光心摄像机, 包括:  A common optical camera, comprising:
棱镜, 具有多个反光面且每个反光面均贴有偏振膜, 入射光线透过偏振膜 并经过所述棱镜的反光面反射, 输出偏振化的反射光线, 所述各反光面上偏振 膜的偏振方向与相邻反光面上偏振膜的偏振方向不同;  a prism having a plurality of reflective surfaces and each of the reflective surfaces is provided with a polarizing film, and the incident light passes through the polarizing film and is reflected by the reflective surface of the prism to output polarized reflected light, and the polarizing film on each of the reflective surfaces The polarization direction is different from the polarization direction of the polarizing film on the adjacent reflective surface;
多个摄像装置, 所述多个摄像装置中的每一个摄像装置与所述棱镜的各反 光面——组合, 所述每一个摄像装置的镜头朝着棱镜的一个反光面, 且各摄像 装置的镜头前均安装有偏振片, 所述多个摄像装置中每一个摄像装置用于获取 所述偏振片对所述偏振化的反射光线偏振处理后的光线, 其中, 每个摄像装置 的镜头前的偏振片的偏振方向同与所述偏振片——组合的所述棱镜的反光面上 偏振膜的偏振方向相同。 a plurality of imaging devices, each of the plurality of imaging devices and each of the prisms Glossy-combination, the lens of each of the imaging devices faces a reflective surface of the prism, and a polarizing plate is mounted on the front of each camera, and each of the plurality of imaging devices is used to acquire a polarizing plate for polarizing the polarized reflected light, wherein a polarization direction of the polarizing plate before the lens of each camera is the same as a polarization of the prism combined with the polarizing plate The polarization direction of the film is the same.
一种图像处理方法, 包括:  An image processing method includes:
获取摄像装置拍摄的场景图像;  Obtaining a scene image captured by the camera device;
获取所述场景图像的边缘部分图像中各像素的亮度值; 其中, 所述场景图 像的边缘部分图像是所述摄像装置捕获的如下图像, 即与所述摄像装置组合的 反光面同与所述反光面相邻的反光面交界的区域反射的场景的光线所形成的图 像;  Acquiring a brightness value of each pixel in the image of the edge portion of the scene image; wherein the edge portion image of the scene image is an image captured by the camera device, that is, a reflective surface combined with the camera device An image formed by light rays of a scene reflected by an area bordered by a reflective surface adjacent to the reflective surface;
根据所述场景图像的边缘部分图像中各像素的亮度值, 和预置的与所述摄 像装置组合的反光面同与所述反光面相邻的反光面交界的区域反射光线所形成 图像中各像素的亮度补偿系数, 对所述场景图像的边缘部分图像中各像素的亮 度进行补偿。  And according to the brightness value of each pixel in the edge part image of the scene image, and the preset reflection surface combined with the imaging device and the reflective surface adjacent to the reflective surface, the image formed by the reflected light forms each of the images The brightness compensation coefficient of the pixel compensates for the brightness of each pixel in the edge portion image of the scene image.
一种图像处理装置, 包括:  An image processing apparatus includes:
待补偿图像获取单元, 用于获取摄像装置拍摄的场景图像;  a to-be-compensated image acquisition unit, configured to acquire a scene image captured by the camera device;
亮度值获取单元, 用于获取所述场景图像的边缘部分图像中各像素的亮度 值; 其中, 所述场景图像的边缘部分图像是所述摄像装置捕获的如下图像, 即 与所述摄像装置组合的反光面同与所述反光面相邻的反光面交界的区域反射的 场景的光线所形成的图像;  a brightness value acquiring unit, configured to acquire a brightness value of each pixel in the image of the edge portion of the scene image; wherein the edge portion image of the scene image is an image captured by the camera device, that is, combined with the camera device An image formed by the ray of the scene reflected by the area of the reflective surface adjacent to the reflective surface adjacent to the reflective surface;
补偿单元, 用于根据所述场景图像的边缘部分图像中各像素的亮度值和预 置的与所述摄像装置组合的反光面同与所述反光面相邻的反光面交界的区域反 射光线所形成图像中各像素的亮度补偿系数, 对所述场景图像的边缘部分图像 中各像素的亮度进行补偿。  a compensation unit, configured to reflect light according to a brightness value of each pixel in the edge portion image of the scene image and a preset reflective surface combined with the reflective device and a reflective surface adjacent to the reflective surface A brightness compensation coefficient of each pixel in the image is formed, and the brightness of each pixel in the edge portion image of the scene image is compensated.
本发明实施例提供的共光心摄像机的反光面上有偏振膜, 摄像装置的镜头 前有偏振片, 由于各反光面上偏振膜的偏振方向与该反光面所对应的摄像装置 镜头前的偏振片的偏振方向相同, 与相邻反光面所对应的摄像装置镜头前的偏 振片的偏振方向不同, 导致摄像装置只能接收到来自与其对应的反光面上的反 射光, 不能接收到相邻反光面 (该相邻反光面为与所述摄像装置所对应的反光 面相邻的反光面) 的反射光, 这样, 由棱镜相邻的两个反光面的反射光形成的 图像就不会混叠在一起, 就不会形成羽化的浸染带。 附图说明 The common optical center camera provided by the embodiment of the present invention has a polarizing film on the reflective surface, and the polarizing plate is disposed in front of the lens of the image capturing device, and the polarizing film on each reflecting surface has a polarization direction corresponding to the reflecting surface. The polarization direction of the polarizing plate in front of the lens is the same, and the polarization direction of the polarizing plate in front of the lens corresponding to the adjacent reflecting surface is different, so that the imaging device can only receive the reflected light from the corresponding reflecting surface, and cannot receive The reflected light of the adjacent reflective surface (the adjacent reflective surface is a reflective surface adjacent to the reflective surface corresponding to the imaging device), such that the image formed by the reflected light of the two reflective surfaces adjacent to the prism is Without folding together, there will be no feathered dyeing tape. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例中所需要使 用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些 实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可 以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1是现有技术提供的虚拟共光心原理示意图;  1 is a schematic diagram of a virtual common optical center principle provided by the prior art;
图 2是现有技术提供的两个反光面的边缘处反射光的示意图以及产生的浸 染带示意图;  2 is a schematic view of reflected light at the edges of two reflective surfaces provided by the prior art; and a schematic diagram of the resulting immersion belt;
图 3A是本发明实施例提供的一种共光心摄像机结构图;  FIG. 3A is a structural diagram of a common optical center camera according to an embodiment of the present invention; FIG.
图 3B是本发明实施例提供的基于棱镜的一个反光面的光路示意图; 图 4是本发明实施例提供的基于一个朝上的反光面的光路示意图; 图 5是本发明实施例提供的基于一个朝下的反光面的光路示意图; 图 6是本发明实施例提供的基于具有透明保护膜的反光面的光路示意图; 图 7是本发明实施例提供的具有隔板的共光心摄像机结构图;  FIG. 3B is a schematic diagram of an optical path of a reflective surface based on a prism according to an embodiment of the present invention; FIG. 4 is a schematic diagram of an optical path based on an upward reflecting surface according to an embodiment of the present invention; FIG. FIG. 6 is a schematic diagram of an optical path based on a reflective surface having a transparent protective film according to an embodiment of the present invention; FIG. 7 is a structural diagram of a common optical center camera having a spacer according to an embodiment of the present invention;
图 8是本发明实施例提供的图像处理方法流程图;  FIG. 8 is a flowchart of an image processing method according to an embodiment of the present invention;
图 9是本发明实施例提供的一种确定亮度补偿系数的方法流程图; 图 10是本发明实施例提供的单色彩图像中边缘部分图像示意图; 图 11是本发明实施例提供的另一种确定亮度补偿系数的方法流程图; 图 12A是本发明实施例提供的一种图像处理装置结构图;  9 is a flowchart of a method for determining a brightness compensation coefficient according to an embodiment of the present invention; FIG. 10 is a schematic diagram of an image of an edge portion in a single color image according to an embodiment of the present invention; FIG. 11 is another embodiment of the present invention. A flowchart of a method for determining a brightness compensation coefficient; FIG. 12A is a structural diagram of an image processing apparatus according to an embodiment of the present invention;
图 12B是本发明实施例提供的另一种图像处理装置结构图。 具体实施方式 FIG. 12B is a structural diagram of another image processing apparatus according to an embodiment of the present invention. detailed description
参阅图 3A, 本发明实施例提供一种共光心摄像机, 该共光心摄像机包括: 棱镜 10和多个摄像装置 20,  Referring to FIG. 3A, an embodiment of the present invention provides a common optical center camera, which includes: a prism 10 and a plurality of imaging devices 20,
棱镜 10, 具有多个反光面且每个反光面均贴有偏振膜, 入射光线透过偏振 膜并经过所述棱镜的反光面反射, 输出偏振化的反射光线, 所述各反光面上偏 振膜的偏振方向与相邻反光面上偏振膜的偏振方向不同;  The prism 10 has a plurality of reflective surfaces, and each of the reflective surfaces is attached with a polarizing film. The incident light passes through the polarizing film and is reflected by the reflective surface of the prism, and outputs polarized reflected light, and the polarizing film on each reflective surface. The polarization direction is different from the polarization direction of the polarizing film on the adjacent reflective surface;
多个摄像装置 20,所述多个摄像装置中的每一个摄像装置与所述棱镜 10的 各反光面——组合, 所述每一个摄像装置的镜头朝着棱镜的一个反光面, 且各 摄像装置的镜头前均安装有偏振片, 所述多个摄像装置中每一个摄像装置用于 获取所述偏振片对所述偏振化的反射光线偏振处理后的光线, 其中, 每个摄像 装置的镜头前的偏振片的偏振方向同与所述偏振片——组合的所述棱镜的反光 面上偏振膜的偏振方向相同。  a plurality of imaging devices 20, each of the plurality of imaging devices being combined with each reflective surface of the prism 10, the lens of each of the imaging devices facing a reflective surface of the prism, and each imaging A polarizing plate is mounted on the front of the lens of the device, and each of the plurality of imaging devices is configured to acquire the polarized light of the polarized light reflected by the polarizing plate, wherein the lens of each camera device The polarization direction of the front polarizing plate is the same as the polarization direction of the polarizing film on the reflecting surface of the prism combined with the polarizing plate.
其中, 棱镜的各反光面上的偏振膜的偏振方向与相邻反光面上的偏振膜的 偏振方向可以垂直, 也可以是其他角度, 不影响本发明的实现。  The polarization direction of the polarizing film on each reflective surface of the prism may be perpendicular to the polarization direction of the polarizing film on the adjacent reflective surface, or may be other angles, and does not affect the implementation of the present invention.
为了使本发明实施例的技术方案更加清楚明白, 参阅图 3B, 以棱镜的一个 反光面 100为例描述共光心摄像机的工作原理:  In order to make the technical solution of the embodiment of the present invention more clear, referring to FIG. 3B, the working principle of the common center camera is described by taking a reflective surface 100 of the prism as an example:
棱镜的反光面 100上贴有偏振膜 101 ,所述棱镜的反光面 100用于对透过偏 振膜 101的入射光线进行反射, 输出偏振化的反射光线;  A polarizing film 101 is attached to the reflective surface 100 of the prism, and the reflective surface 100 of the prism is used for reflecting incident light transmitted through the polarizing film 101 to output polarized reflected light.
摄像装置 20, 与所述棱镜的反光面 100对应, 且摄像装置 20的镜头 200前 安装有偏振片 201 , 所述摄像装置 20用于获取利用偏振片 201对所述棱镜的反 光面 100反射的偏振化的反射光线进行偏振处理之后的光线。  The imaging device 20 corresponds to the reflective surface 100 of the prism, and a polarizing plate 201 is mounted in front of the lens 200 of the imaging device 20, and the imaging device 20 is configured to acquire the reflective surface 100 of the prism by the polarizing plate 201. The polarized reflected light is subjected to polarization treatment.
为了更有效的阻止摄像机接收与其——组合的反光面的相邻反光面所反射 的光线, 该共光心摄像机还可以包括: 隔板, 用于阻挡所述棱镜的一个反光面 输出的偏振化的反射光线进入与该反光面相邻的另一个反光面对应的摄像装置 中, 所述隔板与所述相邻的两个反光面的交界线共面。  In order to more effectively prevent the camera from receiving light reflected by the adjacent reflective surface of the combined reflective surface, the common center camera may further include: a spacer for blocking polarization of a reflective surface output of the prism The reflected light enters an imaging device corresponding to another reflective surface adjacent to the reflective surface, and the boundary between the spacer and the adjacent two reflective surfaces is coplanar.
隔板可以与所述共光心摄像机的外壳固定连接, 或者与所述共光心摄像机 的外壳为一体成形的结构。 本发明实施例提供的共光心摄像机的反光面上有偏振膜, 摄像装置的镜头 前有偏振片, 由于各反光面上偏振膜的偏振方向与该反光面所对应的摄像装置 镜头前的偏振片的偏振方向相同, 与相邻反光面所对应的摄像装置镜头前的偏 振片的偏振方向不同, 导致摄像装置只能接收到来自与其对应的反光面上的反 射光线, 不能接收到相邻反光面 (该相邻反光面为与所述摄像装置所对应的反 光面相邻的反光面) 的反射光线, 这样, 由棱镜相邻的两个反光面的反射光线 形成的图像就不会混叠在一起, 就不会形成羽化的浸染带。 The partition may be fixedly coupled to the outer casing of the common-mode optical camera, or may be integrally formed with the outer casing of the common-mode optical camera. The common optical center camera provided by the embodiment of the invention has a polarizing film on the reflective surface, and the polarizing film is arranged in front of the lens of the image capturing device, and the polarization direction of the polarizing film on each reflecting surface and the polarization of the camera before the lens corresponding to the reflecting surface The polarization directions of the slices are the same, and the polarization directions of the polarizers before the lens of the camera corresponding to the adjacent reflective surfaces are different, so that the camera can only receive the reflected light from the corresponding reflective surface, and cannot receive adjacent reflections. The reflected light of the surface (the adjacent reflective surface is a reflective surface adjacent to the reflective surface corresponding to the imaging device), such that the image formed by the reflected light of the two reflective surfaces adjacent to the prism does not alias Together, there will be no emergence of feathered dip tape.
为了使本发明实施例更加清楚明白, 如下实施例将对本发明提供的共光心 摄像机进行详细描述。  In order to make the embodiments of the present invention more clear, the following embodiment will describe the common optical center camera provided by the present invention in detail.
图 4示出了基于一个朝上的反光面的光路示意图, 假定入射光线 301为自 然光, 其偏振方向为圆偏振, 偏振膜 101和偏振片 201的偏振方向都为水平偏 振。  Fig. 4 shows a schematic diagram of the optical path based on an upwardly reflecting surface, assuming that the incident light 301 is a natural light whose polarization direction is circularly polarized, and the polarization directions of the polarizing film 101 and the polarizing plate 201 are both horizontally polarized.
棱镜 10的反光面 100对透过偏振膜 101的入射光线 301进行反射, 输出偏 振化的反射光线 302, 由于偏振膜 101 的偏振方向为水平偏振, 所以入射光线 301透过偏振膜 101后变成水平偏振的线偏振光,反光面 100对该水平偏振的线 偏振光进行反射,输出反射光线 302,该反射光线 302也是水平偏振的线偏振光。  The reflective surface 100 of the prism 10 reflects the incident light 301 transmitted through the polarizing film 101, and outputs the polarized reflected light 302. Since the polarization direction of the polarizing film 101 is horizontally polarized, the incident light 301 passes through the polarizing film 101 and becomes The horizontally polarized linearly polarized light, the reflective surface 100 reflects the horizontally polarized linearly polarized light, and outputs a reflected ray 302, which is also horizontally polarized linearly polarized light.
摄像装置 20的镜头 200前的偏振片 201对反射光线 302进行偏振化处理, 由于反射光线 302是水平偏振的线偏振光, 偏振片 201的偏振方向为水平偏振, 所以该反射光线 302能透过偏振片 201射入到摄像装置 20的镜头 200中。  The polarizing plate 201 in front of the lens 200 of the imaging device 20 polarizes the reflected light 302. Since the reflected light 302 is horizontally polarized linearly polarized light and the polarization direction of the polarizing plate 201 is horizontally polarized, the reflected light 302 can pass through. The polarizing plate 201 is incident on the lens 200 of the image pickup device 20.
摄像装置 20接收利用偏振片 201对所述棱镜 10反光面 100反射的偏振化 的反射光线 302进行偏振处理之后的光线。  The image pickup device 20 receives the light after polarization treatment of the polarized reflected light 302 reflected by the reflecting surface 100 of the prism 10 by the polarizing plate 201.
本发明实施例提供的共光心摄像机的反光面上有偏振膜, 摄像装置的镜头 前有偏振片, 由于各反光面上偏振膜的偏振方向与该反光面所对应的摄像装置 镜头前的偏振片的偏振方向相同, 与相邻反光面所对应的摄像装置镜头前的偏 振片的偏振方向不同, 导致摄像装置只能接收到来自与其对应的反光面上的反 射光, 不能接收到相邻反光面 (该相邻反光面为与所述摄像装置所对应的反光 面相邻的反光面) 的反射光, 这样, 由棱镜相邻的两个反光面的反射光形成的 图像就不会混叠在一起, 就不会形成羽化的浸染带。 The common optical center camera provided by the embodiment of the invention has a polarizing film on the reflective surface, and the polarizing film is arranged in front of the lens of the image capturing device, and the polarization direction of the polarizing film on each reflecting surface and the polarization of the camera before the lens corresponding to the reflecting surface The polarization directions of the slices are the same, and the polarization directions of the polarizers before the lens of the camera corresponding to the adjacent reflective surfaces are different, so that the camera can only receive the reflected light from the corresponding reflective surface, and cannot receive adjacent reflections. The reflected light of the surface (the adjacent reflective surface is a reflective surface adjacent to the reflective surface corresponding to the imaging device), thus formed by the reflected light of the two reflective surfaces adjacent to the prism The images will not be aliased together and will not form a feathered dip ribbon.
图 5示出了基于一个朝下的反光面的光路示意图, 假定入射光线 301为自 然光, 其偏振方向为圆偏振, 偏振膜 101和偏振片 201的偏振方向都为水平偏 振。 其中, 该实施例中反光面、 偏振片和摄像装置对光线的处理与图 4所示实 施例相似, 在此不再赘述。  Fig. 5 shows a schematic diagram of the optical path based on a downward reflecting surface, assuming that the incident light 301 is a natural light whose polarization direction is circularly polarized, and the polarization directions of the polarizing film 101 and the polarizing plate 201 are both horizontally polarized. The processing of the light on the reflective surface, the polarizing plate, and the imaging device in this embodiment is similar to the embodiment shown in FIG. 4, and details are not described herein again.
可选的, 如图 6所示, 在反光面 100和偏振膜 101之间还可以有透明保护 膜 102, 用于防止反光面上的镀层脱落。 其中, 入射光线 301 顺序透过偏振膜 101和透明保护膜 102入射到反光面 100 ,反光面 100对入射光线 301进行反射, 得到的反射光线 302顺序透过透明保护膜 102、 偏振膜 101射向摄像装置 20。  Optionally, as shown in FIG. 6, a transparent protective film 102 may be further disposed between the reflective surface 100 and the polarizing film 101 for preventing the plating layer from falling off on the reflective surface. The incident light ray 301 is sequentially incident on the reflective surface 100 through the polarizing film 101 and the transparent protective film 102, and the incident light 301 is reflected by the reflective surface 100, and the reflected light ray 302 is sequentially transmitted through the transparent protective film 102 and the polarizing film 101. Imaging device 20.
由于采用了偏振片和偏振膜, 光通过偏振片和偏振膜时会减小光量, 所以 到达摄像装置镜头的反射光的光量会比入射光的光量小, 通常仅为入射光光量 的 50 % , 所以可以采用调节摄像装置的光圈来弥补偏振片和偏振膜带来的光量 损失。 光圈是一个用来控制光线透过镜头, 进入机身内感光面的光量的装置, 光圈大小可以用 f值进行表示: f值 =镜头的焦距 I镜头口径的直径。 光圈的 f值通常介于 2.8 到 16之间。 光圈的 f值愈小, 在同一单位时间内的进入机身 内感光面的光量便愈多。 例如光圈从 f8调整到 f5.6, 光圈大了一级, 同时, 进 入机身内感光面的光量也多了一倍。  Since the polarizing plate and the polarizing film are used, the amount of light is reduced when the light passes through the polarizing plate and the polarizing film, so the amount of reflected light reaching the lens of the imaging device is smaller than the amount of incident light, and is usually only 50% of the amount of incident light. Therefore, it is possible to adjust the aperture of the imaging device to compensate for the loss of light amount caused by the polarizing plate and the polarizing film. The aperture is a device used to control the amount of light that passes through the lens and into the photosensitive surface of the body. The aperture size can be expressed as f: f value = focal length of the lens I diameter of the lens aperture. The aperture value of the aperture is usually between 2.8 and 16. The smaller the f-number of the aperture, the greater the amount of light entering the photosensitive surface of the fuselage in the same unit time. For example, the aperture is adjusted from f8 to f5.6, and the aperture is one level larger. At the same time, the amount of light entering the photosensitive surface of the body is doubled.
上述本发明实施例介绍的共光心摄像机通过采用光学原理阻止摄像装置接 收与其——组合的反光面的相邻反光面所反射的光线, 为了更有效的阻止该摄 像装置接收与其——组合的反光面的相邻反光面所反射的光线, 该共光心摄像 机还可以包括: 隔板, 与所述共光心摄像机的外壳固定连接或者与所述共光心 摄像机的外壳为一体成形的结构, 用于阻挡所述棱镜的一个反光面输出的偏振 化的反射光线进入另一个反光面对应的摄像装置中, 其中, 所述一个反光面与 所述另一个反光面是相邻的两个反光面, 其中, 所述隔板与所述相邻的两个反 光面的交界线共面。 具体的, 棱镜的反光面可以朝上也可以朝下, 棱镜的反光 面朝上时, 隔板位于相邻的两个反光面交界线的正上方; 棱镜的反光面朝下时, 隔板位于相邻的两个反光面交界线的正下方。 如图 7所示, PI为棱镜, 其具有 Ml、 M2和 M3三个反光面, 这三个反光 面朝上, Cl、 C2和 C3分别为对应三个反光面 Ml、 M2和 M3的摄像装置, 为 了使 Ml和 M3的反射光不进入 C2的镜头, 在 Ml和 M2这两个相邻反光面的 交界线 S12上放置薄隔板 B12, 在 M3和 M2这两个相邻反光面的交界线 S23 上放置薄隔板 B23。 其中, 薄隔板 B12与 S12共面, 薄隔板 B12的底面 D12在 棱镜 P1底面的投影与 S12在棱镜 P1底面的投影重合;薄隔板 B23与 S23共面, 薄隔板 B23的底面 D23在棱镜 P1底面的投影与 S23在棱镜 P1底面的投影重合。 这样 B12和 B23把共光心摄像机内部的空间分成了三部分, 每一部分对应一个 反光面和一个摄像装置, 薄隔板会将相邻反光面的反射光遮挡, 使该部分空间 中的摄像装置不会接收到相邻反光面的反射光。 The common-mode optical camera introduced in the above embodiment of the present invention prevents the camera device from receiving the light reflected by the adjacent reflective surface of the combined reflective surface by using optical principles, in order to more effectively prevent the camera device from receiving the combination thereof. The light reflected by the adjacent reflective surface of the reflective surface, the common optical center camera may further include: a spacer, a fixed connection with the outer casing of the common optical camera or a structure integrally formed with the outer casing of the common optical camera a polarized reflected light for blocking the output of one reflective surface of the prism enters another corresponding reflective surface, wherein the one reflective surface and the other reflective surface are adjacent to each other a reflective surface, wherein the partition is coplanar with a boundary line between the two adjacent reflective surfaces. Specifically, the reflective surface of the prism may face upward or downward, and when the reflective surface of the prism faces upward, the partition is located directly above the boundary line of the adjacent two reflective surfaces; when the reflective surface of the prism faces downward, the partition is located Immediately below the boundary line between two adjacent reflective surfaces. As shown in FIG. 7, PI is a prism having three reflecting surfaces of M1, M2 and M3, the three reflecting surfaces are facing upward, and Cl, C2 and C3 are respectively corresponding to the three reflecting surfaces M1, M2 and M3. In order to prevent the reflected light of M1 and M3 from entering the lens of C2, a thin spacer B12 is placed on the boundary line S12 between the two adjacent reflective surfaces M1 and M2, at the boundary of two adjacent reflective surfaces of M3 and M2. A thin partition B23 is placed on the line S23. Wherein, the thin baffle B12 and S12 are coplanar, the projection of the bottom surface D12 of the thin baffle B12 on the bottom surface of the prism P1 coincides with the projection of S12 on the bottom surface of the prism P1; the thin baffles B23 and S23 are coplanar, and the bottom surface D23 of the thin baffle B23 The projection on the bottom surface of the prism P1 coincides with the projection of S23 on the bottom surface of the prism P1. Thus, B12 and B23 divide the space inside the common optical camera into three parts, each part corresponding to a reflective surface and a camera device, and the thin partition plate blocks the reflected light of the adjacent reflective surface, so that the imaging device in the partial space The reflected light from the adjacent reflective surface will not be received.
参阅图 8, 提供一种图像处理方法的实施例, 该方法实施例包括:  Referring to FIG. 8, an embodiment of an image processing method is provided. The method embodiment includes:
801、 获取摄像装置拍摄的场景图像。  801. Acquire a scene image captured by the camera.
802、 获取所述场景图像的边缘部分图像中各像素的亮度值; 其中, 所述场 景图像的边缘部分图像是所述摄像装置捕获的如下图像, 即与所述摄像装置组 合的反光面同与所述反光面相邻的反光面交界的区域反射的场景的光线所形成 的图像。  802. Obtain a brightness value of each pixel in an image of an edge portion of the scene image, where an edge portion image of the scene image is an image captured by the camera device, that is, a reflective surface combined with the camera device. An image formed by light rays of a scene reflected by an area bordered by the reflective surface adjacent to the reflective surface.
该方法适用于上述实施例所提供的共光心摄像机, 也适用于现有技术提供 的共光心摄像机。 如图 7所示共光心摄像机, 由于反光面 M2与 Ml和 M3分别 相邻, M2对应的摄像机拍摄的场景图像中的边缘部分图像包括: 反光面 M2与 Ml交界的区域反射的场景的光线所形成的图像, 和反光面 M2与 M3交界的区 域反射的场景的光线所形成的图像。 Ml对应的摄像机拍摄的场景图像中的边缘 部分图像包括: 反光面 M2与 Ml交界的区域反射的场景的光线所形成的图像。  The method is applicable to the common center camera provided by the above embodiments, and is also applicable to the common center camera provided by the prior art. As shown in FIG. 7 , since the reflective surface M2 is adjacent to M1 and M3 respectively, the image of the edge portion in the scene image captured by the camera corresponding to M2 includes: the light of the scene reflected by the area where the reflective surface M2 and M1 meet The formed image, and the image formed by the light of the scene reflected by the area where the reflective surface M2 and M3 meet. The image of the edge portion of the scene image captured by the camera corresponding to M1 includes: an image formed by the light of the scene reflected by the region where the reflective surface M2 and M1 meet.
803、 根据所述场景图像的边缘部分图像中各像素的亮度值和预置的与所述 摄像装置组合的反光面同与所述反光面相邻的反光面交界的区域反射光线所形 成图像中各像素的亮度补偿系数, 对所述场景图像的边缘部分图像中各像素的 亮度进行补偿。  803, according to the brightness value of each pixel in the edge portion image of the scene image and the preset reflective surface combined with the imaging device and the reflective surface adjacent to the reflective surface to reflect the light formed by the image formed by the light The brightness compensation coefficient of each pixel compensates for the brightness of each pixel in the edge portion image of the scene image.
在该步骤之前, 为了获得与所述摄像装置组合的反光面同与其相邻的反光 面交界的区域反射光线所形成图像中各像素的亮度补偿系数, 该方法进一步包 括: 获取所述摄像装置拍摄的单色图像的边缘部分图像和非边缘部分图像, 所 述单色图像的边缘部分图像是所述摄像装置捕获的与所述摄像装置组合的反光 单色图像的非边缘部分图像是所述单色图像中除所述边缘部分(边缘部分的宽 度和摄像机的光圈大小, 棱镜的大小以及反光镜边缘的质量有关, 一般小于图 像宽度的 5% )图像以外的部分; 获取所述单色图像的非边缘部分图像中像素的 平均亮度值, 将所述单色图像的边缘部分图像中各像素的亮度值相对于所述平 均亮度值的比值作为所述单色图像的边缘部分图像中各像素的亮度衰减系数; 确定所述单色图像的边缘部分图像中各像素的亮度衰减系数的倒数作为所述与 摄像装置对应的反光面同与其相邻的反光面交界的区域反射光线所形成图像中 对应像素的亮度补偿系数。 其中, 单色物体可以是单色模板, 该模板为白色模 板或者灰度模板; 相应的, 单色图像中各像素的 R、 G、 B值相等或近似相等。 Before this step, in order to obtain a reflective surface combined with the camera device, the reflective surface adjacent thereto The area of the face intersection reflects the brightness compensation coefficient of each pixel in the image formed by the light, the method further comprising: acquiring an edge part image and a non-edge part image of the monochrome image captured by the camera device, the edge part of the monochrome image The image is a non-edge portion image of the reflective monochrome image combined with the camera device captured by the camera device, except for the edge portion (the width of the edge portion and the aperture size of the camera, the size of the prism) And a quality of the edge of the mirror, generally less than 5% of the width of the image; a portion other than the image; obtaining an average luminance value of the pixel in the non-edge portion image of the monochrome image, and an image of the edge portion of the monochrome image a ratio of a luminance value of each pixel to the average luminance value as a luminance attenuation coefficient of each pixel in an edge portion image of the monochrome image; determining a luminance attenuation coefficient of each pixel in an edge portion image of the monochrome image The reciprocal is opposite to the area where the reflective surface corresponding to the imaging device is in contact with the adjacent reflective surface The brightness compensation coefficient of the corresponding pixel in the image formed by the light. The monochrome object may be a monochrome template, and the template is a white template or a grayscale template; correspondingly, the R, G, and B values of the pixels in the monochrome image are equal or approximately equal.
其中, 对场景图像的边缘部分图像中的各像素的亮度进行 卜偿的过程可以 是逐帧处理的, 为了加快处理速度, 可以采用图形处理器 (Graphic Processing Unit, GPU ), 数字信号处理器 (Digital Signal Processing, DSP)等器件进行处理。  The process of compensating the brightness of each pixel in the image of the edge portion of the scene image may be processed frame by frame. To speed up the processing, a graphics processing unit (GPU) and a digital signal processor may be used. Devices such as Digital Signal Processing, DSP) are processed.
本发明实施例通过利用预置的与摄像装置对应的反光面同与其相邻的反光 面交界的区域反射光线所形成图像中各像素的亮度衰减系数, 对所拍摄图像的 边缘部分图像中各像素的亮度进行补偿, 消除了由两反光面的交界区域所导致 的暗带。  In the embodiment of the present invention, each pixel in the image of the edge portion of the captured image is obtained by using a preset brightness attenuation coefficient of each pixel in the image formed by the reflected surface corresponding to the imaging device and the reflective surface adjacent to the adjacent reflective surface. The brightness is compensated to eliminate the dark band caused by the boundary area of the two reflective surfaces.
如下具体描述本发明实施例提供的获得与摄像装置对应的反光面同与其相 邻的反光面交界的区域反射光线所形成图像中各像素的亮度补偿系数的过程: 第一种方式, 参阅图 9, 其具体包括:  The process of obtaining the brightness compensation coefficient of each pixel in the image formed by the reflected light corresponding to the image pickup device and the reflected light surface of the region corresponding to the image pickup device provided by the embodiment of the present invention is as follows: First, refer to FIG. 9 , which specifically includes:
901、 获取所述摄像装置拍摄的单色图像的边缘部分图像和非边缘部分图 像。  901. Acquire an edge portion image and a non-edge portion image of the monochrome image captured by the camera device.
902、 获取所述单色图像的非边缘部分图像中像素的平均亮度值。  902. Acquire an average luminance value of a pixel in a non-edge portion image of the monochrome image.
具体的, 求非边缘部分图像中各像素的亮度值之和, 然后用所述和除以非 边缘部分图像中像素的个数, 得到平均亮度值。 Specifically, the sum of the luminance values of the pixels in the non-edge portion image is obtained, and then the sum is divided by the non- The number of pixels in the edge portion of the image gives an average luminance value.
903、 将单色图像中边缘部分图像的某一行中各像素的亮度值分别除以所述 平均亮度值, 得到该行中各像素的亮度衰减系数。  903. Dividing a luminance value of each pixel in a certain row of the edge portion image in the monochrome image by the average luminance value to obtain a luminance attenuation coefficient of each pixel in the row.
具体的, 如图 10所示, 假定单色图像中的边缘部分图像的宽度为 w , 图像 中某一像素的坐标为 (X, y ), 该步骤中求 y为确定值时, 不同 X对应的像素的 亮度衰减系数, 其中, X G [QW] , 假定 为该像素的亮度值, 该亮度值的取值 范围为 0 ~^55 , 则该像素亮度衰减系数为: Specifically, as shown in FIG. 10, it is assumed that the width of the edge portion image in the monochrome image is w, and the coordinates of a certain pixel in the image are (X, y). When y is determined as a certain value in this step, different X corresponds to The luminance attenuation coefficient of the pixel, where XG [ Q , W ] is assumed to be the luminance value of the pixel, and the luminance value ranges from 0 to ^55, then the luminance attenuation coefficient of the pixel is:
χ _ Β  χ _ Β
其中, 为单色图像的非边缘部分图像中像素的平均亮度值, 其取值范围 为 0 ~ 255 , 的取值范围为 e (()1] , 即 0 < ≤1Wherein, it is the average brightness value of the pixels in the non-edge part image of the monochrome image, and its value ranges from 0 to 255, and the range of values is e (() , 1] , that is, 0 < ≤1 .
如下描述单色图像中的边缘部分图像宽度 w的确定方式:  The manner of determining the image width w of the edge portion in the monochrome image is as follows:
具体的, 判断单色图像某一行中每个像素的亮度值是否低于阈值, 找到距 离图像中心最近的低于阈值的像素, 所述像素到单色图像边界的距离为 w。  Specifically, it is determined whether the brightness value of each pixel in a certain line of the monochrome image is lower than a threshold, and a pixel below the threshold closest to the center of the image is found, and the distance from the pixel to the boundary of the monochrome image is w.
904、确定单色图像的边缘部分图像其他行中各像素的亮度衰减系数,其中, 所述其他行与所述某一行具有相同横坐标的像素的亮度衰减系数相同。  904. Determine a luminance attenuation coefficient of each pixel in another row of the edge portion image of the monochrome image, wherein the other rows have the same luminance attenuation coefficient of the pixel having the same abscissa as the certain row.
905、 确定单色图像的边缘部分图像中各像素的亮度衰减系数的倒数作为所 述与摄像装置对应的反光面同与其相邻的反光面交界的区域反射光线所形成图 像中对应像素的亮度^卜偿系数。  905. Determine a reciprocal of a luminance attenuation coefficient of each pixel in an edge portion image of the monochrome image as a brightness of a corresponding pixel in an image formed by the reflected light surface corresponding to the imaging device and the reflective surface adjacent to the adjacent reflective surface. Compensation coefficient.
第二种方式: 参阅图 11 , 其具体包括:  The second way: Refer to Figure 11, which specifically includes:
1101、 获取所述摄像装置拍摄的单色图像的边缘部分图像和非边缘部分图 像。  1101. Acquire an edge portion image and a non-edge portion image of the monochrome image captured by the camera device.
1102、 获取所述单色图像的非边缘部分图像中像素的平均亮度值。  1102. Acquire an average brightness value of a pixel in a non-edge portion image of the monochrome image.
1103、 将单色图像中边缘部分图像的各像素的亮度值除以所述平均亮度值, 得到各像素的亮度衰减系数。  1103. Dividing a luminance value of each pixel of the edge portion image in the monochrome image by the average luminance value to obtain a luminance attenuation coefficient of each pixel.
1104、 确定单色图像的边缘部分图像中各像素的亮度衰减系数的倒数作为 所述与摄像装置对应的反光面同与其相邻的反光面交界的区域反射光线所形成 图像中对应像素的亮度补偿系数。 需要说明的是, 对于每个摄像装置, 如果摄像装置的自身摄像条件不变时, 则可以仅求一次单色图像的边缘部分图像中像素的亮度衰减系数, 如果摄像装 置的自身摄像条件改变时, 比如改变光圈值, 则相应的两反光面的交界区域也 会改变, 需要重新求单色图像的边缘部分图像的亮度衰减系数。 一般的, 光圈 值增大时, 两反光面的交界区域也会变大, 光圈值减小时, 两反光面的交界区 域也会减小。 1104. Determine a reciprocal of a luminance attenuation coefficient of each pixel in an edge portion image of the monochrome image as a brightness compensation of a corresponding pixel in an image formed by the reflected light surface corresponding to the imaging device and the reflective surface adjacent to the adjacent reflective surface. coefficient. It should be noted that, for each imaging device, if the imaging condition of the imaging device is not changed, only the luminance attenuation coefficient of the pixel in the edge portion image of the monochrome image may be obtained once, if the imaging condition of the imaging device changes. For example, if the aperture value is changed, the boundary area of the corresponding two reflecting surfaces will also change, and the brightness attenuation coefficient of the image of the edge portion of the monochrome image needs to be newly obtained. In general, when the aperture value is increased, the boundary area between the two reflecting surfaces is also increased, and when the aperture value is decreased, the boundary area between the two reflecting surfaces is also reduced.
可选的, 在对各摄像装置拍摄的场景图像的边缘部分图像中各像素的亮度 进行补偿, 得到各自补偿后的场景图像之后, 为了得到全景图像, 该方法还包 括: 将多个补偿后的场景图像进行拼接, 得到全景图像。  Optionally, after the brightness of each pixel in the image of the edge portion of the scene image captured by each camera device is compensated to obtain the compensated scene image, in order to obtain the panoramic image, the method further includes: The scene images are stitched together to obtain a panoramic image.
参阅图 12A, 本发明实施例提供一种图像处理装置, 其主要包括: 待补偿图像获取单元 1201 , 用于获取摄像装置拍摄的场景图像;  Referring to FIG. 12A, an embodiment of the present invention provides an image processing apparatus, which mainly includes: a to-be-compensated image acquiring unit 1201, configured to acquire a scene image captured by an imaging device;
亮度值获取单元 1202, 用于获取所述场景图像的边缘部分图像中各像素的 亮度值; 其中, 所述场景图像的边缘部分图像是所述摄像装置捕获的与所述摄 像装置组合的反光面同与其相邻的反光面交界的区域反射的场景的光线所形成 的图像;  The brightness value obtaining unit 1202 is configured to acquire a brightness value of each pixel in the image of the edge portion of the scene image, where the edge portion image of the scene image is a reflective surface captured by the camera device and combined with the camera device An image formed by light rays of a scene reflected by an area bordering the adjacent reflective surface;
补偿单元 1203 , 用于根据所述场景图像的边缘部分图像中各像素的亮度值 和预置的与所述摄像装置组合的反光面同与其相邻的反光面交界的区域反射光 线所形成图像中各像素的亮度补偿系数, 对所述场景图像的边缘部分图像中各 像素的亮度进行补偿。  The compensation unit 1203 is configured to: according to the brightness value of each pixel in the edge portion image of the scene image and the preset reflection surface combined with the reflective surface of the imaging device and the reflective surface of the adjacent reflective surface The brightness compensation coefficient of each pixel compensates for the brightness of each pixel in the edge portion image of the scene image.
其中, 与所述摄像装置组合的反光面同与其相邻的反光面交界的区域反射 光线所形成图像中各像素的亮度补偿系数可以是预先就配置在所述摄像装置上 的, 也可以是摄像装置利用单色图像中各像素的亮度值进行计算得到的。  The brightness compensation coefficient of each pixel in the image formed by the light reflecting surface combined with the reflective surface of the imaging device and the adjacent reflective surface may be pre-arranged on the imaging device, or may be imaged. The device is calculated using the luminance values of the pixels in the monochrome image.
摄像装置为了计算与所述摄像装置组合的反光面同与其相邻的反光面交界 的区域反射光线所形成图像中各像素的亮度补偿系数,参阅图 12B,该摄像装置 还包括:  In order to calculate the brightness compensation coefficient of each pixel in the image formed by the light reflected from the reflective surface combined with the adjacent reflective surface, the image pickup apparatus further includes:
单色彩图像获取单元 1204, 用于获取所述摄像装置拍摄的单色图像的边缘 部分图像和非边缘部分图像, 所述单色图像的边缘部分图像是所述摄像装置捕 获的与所述摄像装置组合的反光面同与其相邻的反光面交界的区域反射的单色 物体的光线所形成的图像; 所述单色图像的非边缘部分图像是所述单色图像中 除所述边缘部分图像以外的部分; 亮度衰减系数确定单元 1205 , 用于获取所述 单色图像的非边缘部分图像中像素的平均亮度值, 将所述单色图像的边缘部分 图像中各像素的亮度值相对于所述平均亮度值的比值作为所述单色图像的边缘 部分图像中各像素的亮度衰减系数, 可具体用于将单色图像的边缘部分图像的 某一行中各像素的亮度值除以所述平均亮度值, 得到所述某一行中各像素的亮 度衰减系数, 确定所述单色图像的边缘部分图像的其他行中各像素的亮度衰减 系数, 其中, 所述其他行与所述某一行具有相同横坐标的像素的亮度衰减系数 相同。 具体的衰减系数确定方法请参见方法实施例中步骤 903-904和步骤 1103 的描述, 在此不再赘述。 亮度补偿系数确定单元 1206, 用于确定所述单色图像 的边缘部分图像中各像素的亮度衰减系数的倒数作为所述与摄像装置对应的反 光面同与其相邻的反光面交界的区域反射光线所形成图像中各像素的亮度补偿 系数。 The single color image acquiring unit 1204 is configured to acquire an edge portion image and a non-edge portion image of the monochrome image captured by the imaging device, where the edge portion image of the monochrome image is captured by the camera device An image formed by the light of the monochromatic object reflected by the reflective surface combined with the imaging device and the region adjacent to the adjacent reflective surface; the non-edge portion image of the monochrome image is in the monochrome image a portion other than the edge portion image; a luminance attenuation coefficient determining unit 1205, configured to acquire an average luminance value of a pixel in the non-edge portion image of the monochrome image, and to use each pixel in the edge portion image of the monochrome image The ratio of the luminance value to the average luminance value is used as the luminance attenuation coefficient of each pixel in the edge portion image of the monochrome image, and can be specifically used for the luminance of each pixel in a certain line of the edge portion image of the monochrome image. Dividing the value by the average luminance value, obtaining a luminance attenuation coefficient of each pixel in the certain row, determining a luminance attenuation coefficient of each pixel in another row of the edge portion image of the monochrome image, where the other row and The pixels having the same abscissa in a certain row have the same luminance attenuation coefficient. For the specific attenuation coefficient determination method, refer to the descriptions of steps 903-904 and step 1103 in the method embodiment, and details are not described herein again. The brightness compensation coefficient determining unit 1206 is configured to determine a reciprocal of the brightness attenuation coefficient of each pixel in the edge portion image of the monochrome image as the reflected light of the area corresponding to the reflective surface corresponding to the imaging device and the adjacent reflective surface The brightness compensation coefficient of each pixel in the formed image.
本发明实施例通过利用预置的两反光面交界的区域反射光线所形成图像中 各像素的亮度衰减系数, 对所拍摄图像的边缘部分图像中各像素的亮度进行补 偿, 消除了由两反光面交界的区域所导致的暗带。  In the embodiment of the present invention, the brightness of each pixel in the image of the edge portion of the captured image is compensated by using the brightness attenuation coefficient of each pixel in the image formed by the reflected light at the boundary between the two reflective surfaces, and the two reflective surfaces are eliminated. The dark band caused by the border area.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是 可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读 存储介质中, 例如只读存储器, 磁盘或光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, such as a read only memory. Disk or disc, etc.
以上对本发明实施例所提供的共光心摄像机、 图像处理方法及装置进行了 上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本 领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均会 有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The description of the above embodiments of the common center camera, image processing method and apparatus provided by the embodiments of the present invention is only for helping to understand the method of the present invention and its core idea; meanwhile, for those skilled in the art, The present invention is not limited by the scope of the present invention.

Claims

权利要求 书 Claim
1、 一种共光心摄像机, 其特征在于, 包括:  A common optical center camera, comprising:
棱镜, 具有多个反光面且每个反光面均贴有偏振膜, 入射光线透过偏振膜 并经过所述棱镜的反光面反射, 输出偏振化的反射光线, 所述各反光面上偏振 膜的偏振方向与相邻反光面上偏振膜的偏振方向不同;  a prism having a plurality of reflective surfaces and each of the reflective surfaces is provided with a polarizing film, and the incident light passes through the polarizing film and is reflected by the reflective surface of the prism to output polarized reflected light, and the polarizing film on each of the reflective surfaces The polarization direction is different from the polarization direction of the polarizing film on the adjacent reflective surface;
多个摄像装置, 所述多个摄像装置中的每一个摄像装置与所述棱镜的各反 光面——组合, 所述每一个摄像装置的镜头朝着棱镜的一个反光面, 且各摄像 装置的镜头前均安装有偏振片, 所述多个摄像装置中每一个摄像装置用于获取 所述偏振片对所述偏振化的反射光线偏振处理后的光线, 其中, 每个摄像装置 的镜头前的偏振片的偏振方向同与其——组合的所述棱镜的反光面上偏振膜的 偏振方向相同。  a plurality of imaging devices, each of the plurality of imaging devices being combined with each of the reflective surfaces of the prism, the lens of each of the imaging devices facing a reflective surface of the prism, and each of the imaging devices A polarizing plate is disposed in front of the lens, and each of the plurality of imaging devices is configured to acquire light of the polarized light that is polarized by the polarized light, wherein each camera is in front of the lens The polarization direction of the polarizer is the same as the polarization direction of the polarizing film on the reflective surface of the prism to which it is combined.
2、 根据权利要求 1所述的共光心摄像机, 其特征在于,  2. A common center camera according to claim 1, wherein
所述棱镜的各反光面上的偏振膜的偏振方向与相邻反光面上的偏振膜的偏 振方向垂直。  The polarization direction of the polarizing film on each of the reflecting surfaces of the prism is perpendicular to the polarization direction of the polarizing film on the adjacent reflecting surface.
3、 根据权利要求 1所述的共光心摄像机, 其特征在于, 还包括: 隔板, 用于阻挡所述棱镜的一个反光面输出的偏振化的反射光线进入与所 述反光面相邻的另一个反光面对应的摄像装置中, 其中, 所述隔板与所述相邻 的两个反光面的交界线共面。  3. The common-mode optical camera according to claim 1, further comprising: a spacer for blocking polarized reflected light outputted by a reflective surface of the prism from entering the reflective surface In another imaging device corresponding to the reflective surface, the boundary between the spacer and the adjacent two reflective surfaces is coplanar.
4、 根据权利要求 3所述的共光心摄像机, 其特征在于, 所述隔板与所述共 光心摄像机的外壳固定连接或者与所述共光心摄像机的外壳为一体成形的结 构。  The common mode optical camera according to claim 3, wherein the spacer is fixedly coupled to the outer casing of the common optical camera or integrally formed with the outer casing of the common optical camera.
5、 一种图像处理方法, 其特征在于, 包括:  5. An image processing method, comprising:
获取摄像装置拍摄的场景图像;  Obtaining a scene image captured by the camera device;
获取所述场景图像的边缘部分图像中各像素的亮度值; 其中, 所述场景图 像的边缘部分图像是所述摄像装置捕获的如下图像, 即与所述摄像装置组合的 反光面同与所述反光面相邻的反光面交界的区域反射的场景的光线所形成的图 像; 根据所述场景图像的边缘部分图像中各像素的亮度值, 和预置的与所述摄 像装置组合的反光面同与所述反光面相邻的反光面交界的区域反射光线所形成 图像中各像素的亮度补偿系数, 对所述场景图像的边缘部分图像中各像素的亮 度进行补偿。 Acquiring a brightness value of each pixel in the image of the edge portion of the scene image; wherein the edge portion image of the scene image is an image captured by the camera device, that is, a reflective surface combined with the camera device An image formed by light rays of a scene reflected by an area bordered by a reflective surface adjacent to the reflective surface; And according to the brightness value of each pixel in the edge part image of the scene image, and the preset reflection surface combined with the imaging device and the reflective surface adjacent to the reflective surface, the image formed by the reflected light forms each of the images The brightness compensation coefficient of the pixel compensates for the brightness of each pixel in the edge portion image of the scene image.
6、 根据权利要求 5所述的方法, 其特征在于, 在对所述场景图像的边缘部 分图像中各像素的亮度进行补偿之前, 该方法还包括:  The method according to claim 5, wherein before the compensation of the brightness of each pixel in the image of the edge portion of the scene image, the method further comprises:
获取所述摄像装置拍摄的单色图像的边缘部分图像和非边缘部分图像, 所 述单色图像的边缘部分图像是所述摄像装置捕获的与所述摄像装置组合的的反 述单色图像的非边缘部分图像是所述单色图像中除所述边缘部分图像以外的部 分;  Obtaining an edge portion image and a non-edge portion image of the monochrome image captured by the camera device, wherein the edge portion image of the monochrome image is a reverse-reported monochrome image captured by the camera device and combined with the camera device The non-edge portion image is a portion of the monochrome image other than the edge portion image;
获取所述单色图像的非边缘部分图像中像素的平均亮度值, 将所述单色图 像的边缘部分图像中各像素的亮度值相对于所述平均亮度值的比值作为所述单 色图像的边缘部分图像中各像素的亮度衰减系数;  Obtaining an average luminance value of a pixel in the non-edge portion image of the monochrome image, and using a ratio of a luminance value of each pixel in the edge portion image of the monochrome image to the average luminance value as the monochrome image The brightness attenuation coefficient of each pixel in the edge portion image;
确定所述单色图像的边缘部分图像中各像素的亮度衰减系数的倒数作为与 所述摄像装置组合的反光面同与其相邻的反光面交界的区域反射光线所形成图 像中对应像素的亮度^卜偿系数。  Determining, by the reciprocal of the luminance attenuation coefficient of each pixel in the edge portion image of the monochrome image as the brightness of the corresponding pixel in the image formed by the reflected light surface combined with the reflective surface of the imaging device and the adjacent reflective surface Compensation coefficient.
7、 根据权利要求 6所述的方法, 其特征在于,  7. The method of claim 6 wherein:
将所述单色图像的边缘部分图像中各像素的亮度值相对于所述平均亮度值 的比值作为所述单色图像的边缘部分图像中各像素的亮度衰减系数包括:  The ratio of the luminance value of each pixel in the edge portion image of the monochrome image to the average luminance value as the luminance attenuation coefficient of each pixel in the edge portion image of the monochrome image includes:
将单色图像的边缘部分图像的某一行中各像素的亮度值除以所述平均亮度 值, 得到所述某一行中各像素的亮度衰减系数;  Dividing the luminance value of each pixel in a certain line of the edge portion image of the monochrome image by the average luminance value to obtain a luminance attenuation coefficient of each pixel in the certain row;
确定所述单色图像的边缘部分图像的其他行中各像素的亮度衰减系数, 其 中, 所述其他行与所述某一行具有相同横坐标的像素的亮度衰减系数相同。  A luminance attenuation coefficient of each pixel in another row of the edge portion image of the monochrome image is determined, wherein the other row has the same luminance attenuation coefficient as the pixel having the same abscissa as the certain row.
8、 一种图像处理装置, 其特征在于, 包括:  8. An image processing apparatus, comprising:
待补偿图像获取单元, 用于获取摄像装置拍摄的场景图像;  a to-be-compensated image acquisition unit, configured to acquire a scene image captured by the camera device;
亮度值获取单元, 用于获取所述场景图像的边缘部分图像中各像素的亮度 值; 其中, 所述场景图像的边缘部分图像是所述摄像装置捕获的如下图像, 即 与所述摄像装置组合的反光面同与所述反光面相邻的反光面交界的区域反射的 场景的光线所形成的图像; a brightness value acquiring unit, configured to acquire brightness of each pixel in an image of an edge portion of the scene image The image of the edge portion of the scene image is an image captured by the image capturing device, that is, a scene reflected by an area combined with a reflective surface of the image pickup device and a reflective surface adjacent to the reflective surface. An image formed by light;
补偿单元, 用于根据所述场景图像的边缘部分图像中各像素的亮度值和预 置的与所述摄像装置组合的反光面同与所述反光面相邻的反光面交界的区域反 射光线所形成图像中各像素的亮度补偿系数, 对所述场景图像的边缘部分图像 中各像素的亮度进行补偿。  a compensation unit, configured to reflect light according to a brightness value of each pixel in the edge portion image of the scene image and a preset reflective surface combined with the reflective device and a reflective surface adjacent to the reflective surface A brightness compensation coefficient of each pixel in the image is formed, and the brightness of each pixel in the edge portion image of the scene image is compensated.
9、 根据权利要求 8所述的装置, 其特征在于, 所述图像处理装置还包括: 单色彩图像获取单元, 用于获取所述摄像装置拍摄的单色图像的边缘部分 图像和非边缘部分图像, 所述单色图像的边缘部分图像是所述摄像装置捕获的 与所述摄像装置组合的反光面同与其相邻的反光面交界的区域反射的单色物体 的光线所形成的图像; 所述单色图像的非边缘部分图像是所述单色图像中除所 述边缘部分图像以外的部分;  The device according to claim 8, wherein the image processing device further comprises: a single color image acquiring unit, configured to acquire an edge portion image and a non-edge portion image of the monochrome image captured by the camera device An edge portion image of the monochrome image is an image formed by a light of a monochrome object reflected by an area of the reflective surface combined with the imaging device captured by the imaging device and the reflective surface adjacent thereto; The non-edge portion image of the monochrome image is a portion of the monochrome image other than the edge portion image;
亮度衰减系数确定单元, 用于获取所述单色图像的非边缘部分图像中像素 的平均亮度值, 将所述单色图像的边缘部分图像中各像素的亮度值相对于所述 平均亮度值的比值作为所述单色图像的边缘部分图像中各像素的亮度衰减系 数;  a luminance attenuation coefficient determining unit, configured to acquire an average luminance value of a pixel in a non-edge portion image of the monochrome image, and compare a luminance value of each pixel in an edge portion image of the monochrome image with respect to the average luminance value The ratio is used as a luminance attenuation coefficient of each pixel in the edge portion image of the monochrome image;
亮度补偿系数确定单元, 用于确定所述单色图像的边缘部分图像中各像素 的亮度衰减系数的倒数作为所述与摄像装置对应的反光面同与其相邻的反光面 交界的区域反射光线所形成图像中各像素的亮度补偿系数;  a brightness compensation coefficient determining unit, configured to determine a reciprocal of a brightness attenuation coefficient of each pixel in the edge portion image of the monochrome image as the area reflected light corresponding to the reflective surface corresponding to the imaging device and the adjacent reflective surface Forming a brightness compensation coefficient of each pixel in the image;
所述补偿单元, 用于根据所述场景图像的边缘部分图像中各像素的亮度值 和所述亮度补偿系数确定单元所确定的对应像素的亮度补偿系数, 对所述场景 图像的边缘部分图像中各像素的亮度进行补偿。  The compensation unit is configured to: according to the brightness value of each pixel in the edge part image of the scene image and the brightness compensation coefficient of the corresponding pixel determined by the brightness compensation coefficient determining unit, in the edge part image of the scene image The brightness of each pixel is compensated.
10、 根据权利要求 9所述的装置, 其特征在于,  10. Apparatus according to claim 9 wherein:
所述衰减系数确定单元, 用于将单色图像的边缘部分图像的某一行中各像 素的亮度值除以所述平均亮度值, 得到所述某一行中各像素的亮度衰减系数; 确定所述单色图像的边缘部分图像的其他行中各像素的亮度衰减系数, 其中, 所述其他行与所述某一行具有相同横坐标的像素的亮度衰减系数相同。 The attenuation coefficient determining unit is configured to divide a luminance value of each pixel in a certain row of the edge portion image of the monochrome image by the average luminance value to obtain a luminance attenuation coefficient of each pixel in the certain row; The luminance attenuation coefficient of each pixel in the other lines of the image of the edge portion of the monochrome image, where The pixels of the other row having the same abscissa as the one row have the same luminance attenuation coefficient.
PCT/CN2011/079834 2010-09-19 2011-09-19 Co-optical center camera, image processing device and device WO2012034542A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010290495.8 2010-09-19
CN2010102904958A CN101980080B (en) 2010-09-19 2010-09-19 Homocentric camera, image processing method and device

Publications (1)

Publication Number Publication Date
WO2012034542A1 true WO2012034542A1 (en) 2012-03-22

Family

ID=43600594

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079834 WO2012034542A1 (en) 2010-09-19 2011-09-19 Co-optical center camera, image processing device and device

Country Status (2)

Country Link
CN (1) CN101980080B (en)
WO (1) WO2012034542A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646314B (en) * 2013-12-13 2016-07-06 国家电网公司 Team safety event management system management-control method based on web site

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980080B (en) * 2010-09-19 2012-05-23 华为终端有限公司 Homocentric camera, image processing method and device
US10139644B2 (en) * 2016-07-01 2018-11-27 Tilt Five, Inc Head mounted projection display with multilayer beam splitter and color correction
CN110874817B (en) * 2018-08-29 2022-02-01 上海商汤智能科技有限公司 Image stitching method and device, vehicle-mounted image processing device, equipment and medium
CN111210777A (en) * 2018-11-21 2020-05-29 北京小米移动软件有限公司 Backlight brightness adjusting method and device, electronic equipment and machine-readable storage medium
CN111385487A (en) * 2018-12-28 2020-07-07 中兴通讯股份有限公司 Debugging method and device of multi-lens camera and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793527A (en) * 1995-06-30 1998-08-11 Lucent Technologies Inc. High resolution viewing system
JPH11146257A (en) * 1997-09-08 1999-05-28 Toshiba Tec Corp Panorama image pickup device
CN1247994A (en) * 1998-08-28 2000-03-22 朗迅科技公司 Stereoscopic full views watching system
CN1984346A (en) * 2005-12-16 2007-06-20 株式会社日立制作所 Photographing apparatus
CN101021678A (en) * 2007-04-04 2007-08-22 乔楠 Circular curtain camera system
CN101135838A (en) * 2006-08-30 2008-03-05 船井电机株式会社 Panoramic imaging device
CN101980080A (en) * 2010-09-19 2011-02-23 华为终端有限公司 Homocentric camera, image processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1552682A4 (en) * 2002-10-18 2006-02-08 Sarnoff Corp Method and system to allow panoramic visualization using multiple cameras
US7495694B2 (en) * 2004-07-28 2009-02-24 Microsoft Corp. Omni-directional camera with calibration and up look angle improvements
CN101521745B (en) * 2009-04-14 2011-04-13 王广生 Multi-lens optical center superposing type omnibearing shooting device and panoramic shooting and retransmitting method
CN101783883B (en) * 2009-12-26 2012-08-29 华为终端有限公司 Adjusting method in co-optical-center videography and co-optical-center camera system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793527A (en) * 1995-06-30 1998-08-11 Lucent Technologies Inc. High resolution viewing system
JPH11146257A (en) * 1997-09-08 1999-05-28 Toshiba Tec Corp Panorama image pickup device
CN1247994A (en) * 1998-08-28 2000-03-22 朗迅科技公司 Stereoscopic full views watching system
CN1984346A (en) * 2005-12-16 2007-06-20 株式会社日立制作所 Photographing apparatus
CN101135838A (en) * 2006-08-30 2008-03-05 船井电机株式会社 Panoramic imaging device
CN101021678A (en) * 2007-04-04 2007-08-22 乔楠 Circular curtain camera system
CN101980080A (en) * 2010-09-19 2011-02-23 华为终端有限公司 Homocentric camera, image processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646314B (en) * 2013-12-13 2016-07-06 国家电网公司 Team safety event management system management-control method based on web site

Also Published As

Publication number Publication date
CN101980080A (en) 2011-02-23
CN101980080B (en) 2012-05-23

Similar Documents

Publication Publication Date Title
WO2012034542A1 (en) Co-optical center camera, image processing device and device
US8928738B2 (en) Adapter and corresponding methods for adding 3D function to a 2D digital camera
JP7286024B2 (en) Imaging system with rotatable reflector
WO2011095026A1 (en) Method and system for photography
CN202617287U (en) 3D camera
US20210048605A1 (en) Light-folding camera and mobile device including the same
WO2013001880A1 (en) Three-dimensional imaging device and electronic equipment provided with same
CN109688317A (en) A kind of video camera and image generating method
WO2020224371A1 (en) Camera module, terminal device, imaging method and imaging apparatus
WO2014119965A1 (en) Method for photographing side-by-side stereoscopic images and monocular camera therefor
CA2839555C (en) Videoconferencing system using an inverted telescope camera
WO2010069169A1 (en) Single-sensor juxtaposing type stereo-picture shooting method
US5341168A (en) Method and system for receiving and transferring images in three dimensions
JPH09214992A (en) Image pickup device
JP5203230B2 (en) Display imaging device and remote interaction device
WO2021143640A1 (en) All-solid-state holographic photographing device and all-solid-state holographic projector
JP3792992B2 (en) Optical low-pass filter and optical apparatus using the same
JPH04223688A (en) Display and image pickup device
JP2001215608A (en) Branching optical element for digital single-lens reflex camera
JP2008014998A (en) Imaging apparatus
Kim et al. Performance analysis of a compact electro-optical 3D adapter with a wide capturing angle
Joblove Development of Tools and Workflow for “Run-and-Gun” Video Production in Stereoscopic 3D
JPH1055022A (en) Image pickup device
JPH07154654A (en) Image pickup device
JPH09200590A (en) Image pickup device

Legal Events

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

Ref document number: 11824612

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11824612

Country of ref document: EP

Kind code of ref document: A1