This patent application also makes reference to:
U.S. patent application Ser. No. 13/174,344 filed on Jun. 30, 2015;
U.S. patent application Ser. No. 13/174,364 filed on Jun. 30, 2011;
U.S. patent application Ser. No. 13/174,430 filed on Jun. 30, 2011;
U.S. patent application Ser. No. 13/174,261 filed on Jun. 30, 2011;
U.S. patent application Ser. No. 13/077,912 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,922 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,886 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,926 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,893 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,923 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,868 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,880 filed on Mar. 31, 2011;
U.S. patent application Ser. No. 13/077,899 filed on Mar. 31, 2011;
U.S. Provisional Patent Application Ser. No. 61/439,301 filed on Feb. 3, 2011; and
U.S. patent application Ser. No. 13/077,930 filed on Mar. 31, 2011.
Each of the above stated applications is hereby incorporated herein by reference in its entirety.
Certain embodiments of the invention relate to audio processing. More specifically, certain embodiments of the invention relate to a method and system for noise cancellation and audio enhancement based on captured depth information.
Support and demand for video systems that support three-dimensional (3-D) video has increased rapidly in recent years. Both literally and physically, 3-D video provides a whole new way to watch video, in home and in theaters. However, 3-D video systems are still in their infancy in many ways and there is much room for improvement in terms of both cost and performance.
Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with some aspects of the present invention as set forth in the remainder of the present application with reference to the drawings.
A system and/or method is provided for noise cancellation and audio enhancement based on captured depth information, substantially as illustrated by and/or described in connection with at least one of the figures, as set forth more completely in the claims.
These and other advantages, aspects and novel features of the present invention, as well as details of an illustrated embodiment thereof, will be more fully understood from the following description and drawings.
Certain embodiments of the invention may be found in a method and system for noise cancellation and audio enhancement based on captured depth information. In various embodiments of the invention, a monoscopic camera comprising one or more image sensors and a depth sensor may generate video based on two-dimensional image data captured via the one or more image sensors and corresponding depth information captured via the depth sensor. The monoscopic camera may process corresponding audio for the generated video based on the captured depth information. The audio processing may comprise mitigating noise in the corresponding audio, enhancing voice quality in the corresponding audio, and/or enhancing audio quality of the corresponding audio. The monoscopic camera may be operable to determine, based on the captured depth information, one or more sound paths between a source of the corresponding audio and a microphone utilized to capture the corresponding audio emanating from the source. The one or more sound paths may comprise a direct path and one or more reflection paths. The processing of the audio may comprise removing portions of the captured audio arriving at the microphone via the one or more reflection paths.
The determination of the one or more sound paths may comprise detecting reflective surfaces off of which audio signals from the source may reflect. The determination of the one or more sound paths may comprise determining distances between the source and the detected reflective surfaces, distances between the source and the microphone, and distances between the surfaces and the microphone. The monoscopic camera may be operable to calculate a difference between an amount of time required for sound to travel the direct path and an amount of time required for sound to travel the reflection path. The monoscopic camera may be operable to detect echoes in the audio based on the calculated difference, and remove the detected echoes from the audio. While capturing the audio, a gain of the microphone may be controlled based on the captured depth information. The gain of the microphone may be controlled based on distance between the source and the microphone. As utilized herein a “3-D image” refers to a stereoscopic image, and “3-D video” refers to stereoscopic video.
The monoscopic camera 102 may capture images via a single viewpoint corresponding to the lens 101c. In this regard, EM waves in the visible spectrum may be focused on one or more image sensors by the lens 101c. The image sensor(s) may capture brightness and/or color information. The captured brightness and/or color information may be represented in any suitable color space such as YCrCb color space or RGB color space. The monoscopic camera 102 may also capture depth information via the lens 101c (and associated optics). For example, the monoscopic cameral 102 may comprise an infrared emitter, an infrared sensor, and associated circuitry operable to determine the distance to objects based on reflected infrared waves. Additional details of the monoscopic camera 102 are described below.
The monoscopic camera 102 may comprise a processor 124, a memory 126, and one or more sensors 128. The processor 124 may comprise suitable logic, circuitry, interfaces, and/or code that may be operable to manage operation of various components of the monoscopic camera 102 and perform various computing and processing tasks. A single processor 124 is utilized only for illustration but the invention is not so limited. In an exemplary embodiment of the invention, various portions of the monoscopic camera 102 depicted in
The processor 104 may comprise suitable logic, circuitry, interfaces, and/or code. The processor 104 may be operable to coordinate operation of the various components of the monoscopic camera 102. The processor 104 may, for example, run an operating system of the monoscopic camera 102 and control communication of information and signals between components of the monoscopic camera 102. The processor 104 may execute instructions stored in the memory 106.
The memory 106 may comprise, for example, DRAM, SRAM, flash memory, a hard drive or other magnetic storage, or any other suitable memory devices. For example, SRAM may be utilized to store data utilized and/or generated by the processor 104 and a hard-drive and/or flash memory may be utilized to store recorded image data and depth data.
The video encoder/decoder 107 may comprise suitable logic, circuitry, interfaces, and/or code. The video encoder/decoder 107 may be operable to process captured color, brightness, and/or depth data to make the data suitable for conveyance to, for example, the display 120 and/or to one or more external devices via the I/O block 114. For example, the video encoder/decoder 107 may convert between, for example, raw RGB or YcrCb pixel values and an MPEG encoding. Although depicted as a separate block 107, the video encoder/decoder 107 may be implemented in the DSP 110.
The depth sensor 108 may comprise suitable logic, circuitry, interfaces, and/or code. The depth sensor 108 may be operable to detect EM waves in the infrared spectrum and determine distance to objects based on reflected infrared waves. In an embodiment of the invention, distance may be determined based on time-of-flight of infrared waves transmitted by the emitter 109 and reflected back to the sensor 108. In an embodiment of the invention, depth may be determined based on distortion of a captured grid.
The audio encoder/decoder 109 may comprise suitable logic, circuitry, interfaces, and/or code. The audio encoder/decoder 109 may be operable to process captured audio data to make the data suitable for conveyance to, for example, the speaker 111 and/or to one or more external devices via the I/O block 114. For example, the video encoder/decoder 107 may convert between, for example, raw pulse-code-modulated audio and an MP3 or AAC encoding. Although depicted as a separate block 109, the audio encoder/decoder 109 may be implemented in the DSP 110.
The digital signal processor (DSP) 110 may comprise suitable logic, circuitry, interfaces, and/or code. The DSP 110 may be operable to perform complex processing of captured image data, captured depth data, and captured audio data. The DSP 110 may be operable to, for example, compress and/or decompress the data, encode and/or decode the data, and/or filter the data to remove noise and/or otherwise improve perceived audio and/or video quality for a listener and/or viewer.
The input/output module 112 may comprise suitable logic, circuitry, interfaces, and/or code that may enable the monoscopic camera 102 to interface with other devices in accordance with one or more standards such as USB, PCI-X, IEEE 1394, HDMI, DisplayPort, and/or analog audio and/or analog video standards. For example, the I/O module 112 may be operable to send and receive signals from the controls 122, output video to the display 120, output audio to a speaker 111, handle audio input from the microphone 113, read from and write to cassettes, flash cards, or other external memory attached to the monoscopic camera 102, and/or output audio and/or video via one or more ports such as a IEEE 1394 or USB port.
The microphone 113 may comprise a transducer and associated logic, circuitry, interfaces, and/or code operable to convert acoustic waves into electrical signals. The microphone 113 may be operable to amplify, equalize, and/or otherwise process captured audio signals. The directionality of the microphone 113 may be controlled electronically and/or mechanically. In an embodiment of the invention, the monoscopic camera 102 comprise multiple microphones 113 and may be operable to multiple separate audio tracks corresponding to the multiple microphones and/or may be operable to combine signals from the multiple microphones into a single audio track. The monoscopic camera 102 may also be operable to receive audio signals from or one more remotely located microphones.
The image sensor(s) 114 may each comprise suitable logic, circuitry, interfaces, and/or code that may be operable to convert optical signals to electrical signals. Each image sensor 114 may comprise, for example, a charge coupled device (CCD) images sensor or a complimentary metal oxide semiconductor (CMOS) image sensor. Each image sensor 114 may capture 2D brightness and/or color information.
The error protection module 315 may comprise suitable logic, circuitry, interfaces and/or code that may be operable to perform error protection functions for the monoscopic camera 102. For example, the error protection module 315 may provide error protection to encoded 2D video images and corresponding depth information and/or encoded audio data for transmission to a 3-D video rendering device such as the 3-D video rendering device 204. The error protection module 315 may apply one or more levels of error protections to an encoded 2D video image frame and/or corresponding depth information or data based on one or more of interest within the encoded 2D video image frame.
The optics 116 may comprise various optical devices for conditioning and directing EM waves received via the lens 101c. The optics 116 may direct EM waves in the visible spectrum to the image sensor 114 and direct EM waves in the infrared spectrum to the depth sensor 108. The optics 116 may comprise, for example, one or more lenses, prisms, color filters, and/or mirrors.
The lens 118 may be operable to collect and sufficiently focus electromagnetic waves in the visible and infrared spectra.
The digital display 120 may comprise an LCD, LED, OLED, or other digital display technology on which images recorded via the monoscopic camera 102 may be displayed. In an embodiment of the invention, the digital display 120 may be operable to display 3-D images.
The controls 122 may comprise suitable logic, circuitry, interfaces, and/or code. The controls 122 may enable a user to interact with the monoscopic camera 102. For example, controls for controlling recording and playback. In an embodiment of the invention, the controls 122 may enable a user to select whether the monoscopic camera 102 records and/or outputs video in 2D or 3-D modes.
The optical viewfinder 124 may enable a user to see what the lens 101c “sees,” that is, what is “in frame.”
In operation, the image sensor(s) 114 may capture frames of 2D video, the depth sensor(s) 108 may currently capture depth information associated with images in the video, and the microphone(s) 113 may concurrently capture audio. During editing and/or playback, the captured depth information may be utilized to generate a 3-D video from the captured 2D video. In this regard, exemplary details of such generation of a 3-D video are described below with respect to
During editing and/or playback, the captured depth information and/or the pixel data of the captured video may be utilized to process the captured audio. As an example, the captured depth information and/or pixel data may be utilized to control gain of the microphone(s) 113, as is described in more detail with respect to
In the frame 130, the line weight is used to indicate depth—heavier lines being closer to the viewer. Thus, the object 138 is farthest from the monoscopic camera 102, the object 142 is closest to the monoscopic camera 102 and the object 104 is at an intermediate distance. In various embodiments of the invention, depth information may be mapped to a grayscale, or pseudo-grayscale, image for display to a viewer. Such mapping may be performed, for example, by the DSP 110.
The image in the frame 134 is a conventional 2D image. A viewer of the frame 134, for example, on the display 120 or on a device connected to the monoscopic camera 102 via the I/O module 112, perceives the same distance between himself and each of the objects 138, 140, and 142. That is, each of the objects 138, 140, and 142 each appear to reside on the plane 132.
The image in the frame 136 is a 3-D image. A viewer of the frame 136, for example, on the display 120 or on a device connected to the monoscopic camera 102 via the I/O module 112, perceives the object 138 being furthest from him the object 142 being closest to him, and the object 140 being at an intermediate distance. In this regard, the object 138 appears to be behind the reference plane, the object 140 appears to be on the reference plane, and the object 142 appears to be in front of the reference plane.
Also shown is a graph 410 depicting audio signals 404, 404′, 406, and 406′. The audio signal 404 may be an audio signal that was generated by the sound source 402 at time instant T1 and arrived at the microphone 113 via the direct path. The audio signal 404′ may be the same audio signal generated by the sound source 402 at time instant T1 but may have arrived at the microphone 113 via the reflection path. Thus, the delay, D1, between the signal 404 and the signal 404′ may correspond to the difference between the distance of the direct path and the distance of the reflection path. That is, D1 is approximated by 2*PS1*S where S is the speed of sound. The audio signal 406 may be an audio signal that was generated by the sound source 402 at time instant T2 and arrived at the microphone 113 via the direct path. The audio signal 406′ may be the same audio signal generated by the sound source 402 at time instant T2 but may have arrived at the microphone 113 via the reflection path. Thus, the delay, D2, between the signal 406 and the signal 406′ may correspond to the difference between the distance of the direct path and the distance of the reflection path. That is, D2 is approximated by 2*PS2*S, where S is the speed of sound.
In operation, the monoscopic camera 102 may be operable to, based on the captured video and the captured depth information, detect the sound source 402 and the surface 400 in the video. For example, the sound source 402 may be detected by correlating movements in the image, for example a moving mouth, with the captured audio and the reflective surface 400 may be detected based on static and uniform depth recordings. After detecting the features of the scene, i.e., the source 402 and surface 400, the monoscopic camera 102 may determine the delay between the direct and reflection path and utilize the delay to remove and/or attenuate the signals 404′ and 406′. The monoscopic camera 102 may be operable to track the source 402 as it moves and periodically and/or occasionally recalculate the paths and the delay. For example, the paths and delay may be recalculated every X number of video frames, where X is a positive integer.
Echoes may be detected by, for example, buffering received audio signals, generate a delayed version of the buffered signal where the delay is equal to the delay between the direct path and the reflection path, and then comparing the delayed version with the buffered version. Detected echoes may then be attenuated or removed via, for example, one or more filters. The amount of delay introduced to the delayed version of the audio may be updated each time a new delay between direct path and reflection path is calculated.
Although playback and post-processing is described as being performed by the monoscopic camera 102, the invention is not so limited. In this regard, the captured video, depth, and/or audio may be communicated to a device, such as a desktop or laptop computer, for post-processing and/or playback.
Although the surfaces are shown as flat surfaces, the invention is not so limited and surfaces of any type may be detected and accounted for when determining reflection paths.
Various aspects of a method and system for noise cancellation and audio enhancement based on captured depth information are provided. In an exemplary embodiment of the invention, a monoscopic camera 102 comprising one or more image sensors 114 and a depth sensor 108 may generate video based on two-dimensional image data captured via the one or more image sensors 114 and corresponding depth information captured via the depth sensor 108. The monoscopic camera 102 may process corresponding audio for the generated video based on the captured depth information. The audio processing may comprise mitigating noise in the corresponding audio, enhancing voice quality in the corresponding audio, and/or enhancing audio quality of the corresponding audio. The monoscopic camera 102 may be operable to determine, based on the captured depth information, one or more sound paths, such as the paths 4201-4203, between a source of the corresponding audio, such as source 402, and a microphone 113 utilized to capture the corresponding audio emanating from the source. The one or more sound paths may comprise a direct path, such as path 4201, and one or more reflection paths, such as paths 4202 and 4203. The processing of the audio may comprise removing portions of the captured audio, such as signals 404′ and 406′, arriving at the microphone 113 via the one or more reflection paths.
The determination of the one or more sound paths may comprise detecting reflective surfaces, such as surfaces 424 and 426, off of which audio signals from the sound source may reflect. The determination of the one or more sound paths may comprise determining distances between the sound source and the detected reflective surfaces, distances between the sound source and the microphone, and distances between the surfaces and the microphone. The monoscopic camera 102 may be operable to calculate a difference, such as D1, between an amount of time required for sound to travel the direct path and an amount of time required for sound to travel the reflection path. The monoscopic camera 102 may be operable to detect echoes in the audio based on the calculated difference, and remove the detected echoes from the audio. While capturing the audio, a gain of the microphone 113 may be controlled based on the captured depth information. The gain of the microphone 113 may be controlled based on distance between the sound source and the microphone.
Other embodiments of the invention may provide a non-transitory computer readable medium and/or storage medium, and/or a non-transitory machine readable medium and/or storage medium, having stored thereon, a machine code and/or a computer program having at least one code section executable by a machine and/or a computer, thereby causing the machine and/or computer to perform the steps as described herein for generating three-dimensional video utilizing a monoscopic camera.
Accordingly, the present invention may be realized in hardware, software, or a combination of hardware and software. The present invention may be realized in a centralized fashion in at least one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware and software may be a general-purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.
The present invention may also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which when loaded in a computer system is able to carry out these methods. Computer program in the present context means any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following: a) conversion to another language, code or notation; b) reproduction in a different material form.
While the present invention has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present invention without departing from its scope. Therefore, it is intended that the present invention not be limited to the particular embodiment disclosed, but that the present invention will include all embodiments falling within the scope of the appended claims.
This patent application is a continuation application of non-provisional application Ser. No. 13/174,370, filed Jun. 30, 2011, and titled “METHOD AND SYSTEM FOR NOISE CANCELLATION AND AUDIO ENHANCEMENT BASED ON CAPTURED DEPTH INFORMATION”, and makes reference to, claims priority to and claims benefit from U.S. Provisional Patent Application Ser. No. 61/439,209 filed on Feb. 3, 2011 and U.S. Provisional Patent Application Ser. No. 61/377,867 filed on Aug. 27, 2010. Each of the above stated applications is hereby incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61439209 | Feb 2011 | US | |
61377867 | Aug 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13174370 | Jun 2011 | US |
Child | 14719296 | US |