Video and sound separation device, method, and program
Patent Information
- Application Number
- JP2025509341
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-03
- Estimated Expiration
- 2043-03-28
AI Technical Summary
Current audiovisual separation technologies, such as those using neural networks, suffer from imperfect sound source separation and contamination due to calculation errors in gain tensors, leading to low resolution and incorrect sound localization in video recordings.
An audiovisual separation device and method that includes an image feature calculation unit, an acoustic feature calculation unit, an image feature optimization unit, and a direction-specific sound synthesis unit, which optimize image features based on acoustic features to minimize errors and improve sound source separation without requiring additional neural network learning, thereby increasing the sparsity of gain tensors.
This approach enhances sound source separation performance by minimizing errors between target sound sources and output sounds, achieving improved resolution and accurate sound localization without additional neural network training.
Abstract
Description
Video and audio separation device, method, and program
[0001] The present invention relates to an image / audio separation device, method, and program that receives an image containing multiple objects, such as musical instruments, and corresponding audio signals as input, and acquires audio signals emitted from each direction by the multiple objects.
[0002] In content production, techniques for extracting and removing unnecessary objects from recorded data have traditionally played an important role in increasing the degree of freedom in production. To achieve this goal, monaural sound source separation techniques have been studied in the audio field, as disclosed in Patent Document 1.
[0003] In recent years, there has been a growing need to not only separate monaural sound sources, but also to localize the separated sound sources to objects in the image and manage video and audio in an integrated manner. As such, a monaural audio source separation technology has been proposed, as in Non-Patent Document 1, which separates audio corresponding to individual objects contained in video from the video and monaural audio.
[0004] Furthermore, as described in Non-Patent Document 2, practical application of a sound collection and playback method called Ambisonics is also underway, which uses four microphones arranged on the vertices of a regular tetrahedron and can capture sound from different directions, although the resolution is low.
[0005] Japanese Patent Application Publication No. 2019-144467
[0006] H. Zhao, et al. "The sound of pixels", Proc. of The European Conference on Computer Vision (ECCV), 2018MI. A. Gerzon, "Periphony: With-Height Sound Reproduction" J. Audio Eng. Soc., vol. 21, no.1, pp. 2-10, (1973 February)
[0007] The technology described in Non-Patent Document 1 inputs an image featuring only a single instrument into a pre-trained neural network, and separates only the audio spectrogram corresponding to that instrument from monaural audio that has multiple instrument sounds mixed in. This technology restores spatial audio using the following steps: 1) separates the monaural audio signal into multiple sound sources using an audio neural network, 2) divides the video into multiple small regions using a video neural network to calculate gains to multiply the multiple sound sources for each small region, and 3) multiplies the multiple sound sources by the gains to generate audio corresponding to each small region.
[0008] However, there are problems such as the fact that the separation performance of monophonic sound by acoustic neural networks is not perfect, and that calculation errors in the gain calculated for each small region can result in the sound generated for each small region being mixed with sounds from sound sources that should actually belong to other regions.
[0009] When a performance scene is recorded with a spherical camera, the instrument player will only be present in a specific area of the image. In this case, the gain output by the technology described in Non-Patent Document 1 is considered to be a tensor in which, ideally, only the elements corresponding to the small area of the player take nonzero values, and the other elements are zero. Also, even when focusing on each small area, if sound source separation is ideally achieved, only specific channels take nonzero values, and the other elements are zero. In other words, the ideal state is for the above gain tensor to have nonzero components in only a very small number of elements.
[0010] However, in reality, the gain of elements corresponding to small regions where no objects exist is not zero, and therefore the resolution is not high. Therefore, by explicitly modeling the sparsity of such gain tensors, further improvement in sound source separation performance can be expected.
[0011] The present invention has been made in view of the above circumstances, and has an object to provide an image and audio separation device, a method, and a program that improve sound source separation performance while increasing the sparsity of a gain tensor output from a celestial sphere image, without requiring additional learning of a neural network.
[0012] In order to solve the above problem, the video / audio separation device of the first aspect of the present invention comprises an image feature calculation unit that converts image signals of multiple images that constitute part or all of a video into image features; an audio feature calculation unit that converts audio signals corresponding to the images into audio features consisting of multiple individual sound sources; an image feature optimization unit that optimizes the image features based on the audio features and a specified target sound source and outputs optimal image features; and a directional audio synthesis unit that generates audio for each direction based on the audio features and the optimal image features.
[0013] According to the first aspect of the present invention, it is possible to minimize the error between the target sound source for each direction given as spatial sound and the output sound, thereby making it possible to improve sound source separation performance without requiring additional learning of the neural network.
[0014] Fig. 1 is a block diagram showing an example of the electronic configuration of a video and audio separation device according to this embodiment. Fig. 2 is a diagram showing the flow of processing performed between each unit in a memory. Fig. 3 is a flowchart showing an example of operation of the video and audio separation device according to this embodiment. Fig. 4 is a flowchart showing a detailed example of operation of an image feature optimization unit.
[0015] Hereinafter, each embodiment of the present invention will be described with reference to the drawings. The drawings are schematic or conceptual, and the relationship between the thickness and width of each part, the size ratio between parts, etc., are not necessarily the same as those in reality. Furthermore, even when the same part is shown, the dimensions and ratios may be different depending on the drawing. In this specification and each drawing, elements similar to those described above with reference to the previous drawings are designated by the same reference numerals, and detailed and redundant explanations will be omitted as appropriate.
[0016] First, the configuration of a video and audio separation device to which the video and audio separation method according to this embodiment is applied will be described.
[0017] FIG. 1 is a diagram showing an example of the electronic configuration of a video and audio separation device according to this embodiment.
[0018] As shown in Figure 1, the video and audio separation device 10 uses a sound source separation technology that receives an image signal a, which is a signal of a video containing multiple objects such as musical instruments, and a corresponding audio signal h as input, and acquires audio signals g for each direction emitted by the multiple objects.
[0019] The electronic configuration of this video and audio separating device 10 includes a CPU 12, a recording medium reader 14, an input unit 16 that receives signals input to the video and audio separating device 10, an output unit 18 that outputs information generated by the video and audio separating device 10, a memory 20 that stores various programs, and a storage device 30, all connected to one another via a bus 11. Such a video and audio separating device 10 can be realized using, but is not limited to, a PC or a tablet terminal. Alternatively, it does not necessarily have to be configured using the same hardware, and can be realized using multiple pieces of hardware with distributed functions, such as on the cloud.
[0020] The memory 20 stores programs for implementing the image feature calculation process, the acoustic feature calculation process, the image feature optimization process, and the direction-specific acoustic synthesis process. That is, the image feature calculation unit 22, the acoustic feature calculation unit 24, the image feature optimization unit 26, and the direction-specific acoustic synthesis unit 28 are implemented by the programs stored in the memory 20.
[0021] The CPU 12 is a computer that controls the operations of the respective units 22 , 24 , 26 , and 28 in accordance with the programs stored in the memory 20 .
[0022] The programs for these units 22, 24, 26, and 28 may be stored in advance in the memory 20, or may be read from an external recording medium 15 such as a memory card via the recording medium reading unit 14 and stored in the memory 20. The programs for these units 22, 24, 26, and 28 cannot be rewritten.
[0023] In addition to this non-rewritable area, a writable data area 29 is secured as an area for storing rewritable data in the memory 20. If the amount of data to be stored exceeds the capacity of the writable data area 29, the data may be stored in a storage device 30 such as an SSD (Solid State Drive) or HDD (Hard Disk Drive).
[0024] Next, the operation of each of the units 22, 24, 26, and 28 will be described with reference to FIG.
[0025] FIG. 2 is a diagram showing the flow of processing performed between the various units in the memory.
[0026] Image signals a of a plurality of images constituting a part or all of a video are input to the input unit 16. An audio signal h of sound corresponding to the images is also input to the input unit 16. A designated target sound source e is also input to the input unit 16.
[0027] The input unit 16 outputs the input image signal a, sound signal h, and target sound source e to the memory 20 .
[0028] The image feature amount calculation unit 22 converts the image signal a output from the input unit 16 to the memory 20 into an image feature amount b.
[0029] The acoustic feature calculation unit 24 converts the acoustic signal h output from the input unit 16 to the memory 20 into an acoustic feature d consisting of a plurality of individual sound sources.
[0030] The audio signal h may be a monaural audio signal. In this case, the audio feature calculation unit 24 separates the audio signal h, which is a monaural audio signal, into audio sources of multiple channels and outputs each audio source as an audio feature d.
[0031] The image feature optimization unit 26 optimizes the image feature b output from the image feature calculation unit 22 based on the acoustic feature d converted by the acoustic feature calculation unit 24 and the target sound source e output from the input unit 16 to the memory 20, thereby generating an optimal image feature f.
[0032] The image feature value optimization unit 26 can generate the optimal image feature value f, for example, as follows.
[0033] When outputting the optimal image feature f, the image feature optimization unit 26 stores therein a dual tensor having the same dimensions as the image feature b. Then, the image feature optimization unit 26 performs processing to update the dual tensor by applying a proximity operator to the weighted sum of the image feature b and the dual tensor.
[0034] Next, the image feature optimization unit 26 updates the image feature b by a weighted sum of the tensor product calculated from the image feature b and the acoustic feature d, the gradient of the error norm with respect to the target sound source e, and the dual tensor.
[0035] The image feature value optimization unit 26 further performs convex projection on the updated image feature value b to calculate an optimal image feature value f.
[0036] The image feature optimization unit 26 repeats this series of processes until the update width of the dual tensor falls below a predetermined threshold or the number of updates reaches a predetermined number, thereby generating an optimal image feature f.
[0037] The direction-specific sound synthesis unit 28 generates direction-specific sound g related to the sound feature d based on the sound feature d converted by the sound feature calculation unit 24 and the optimal image feature f generated by the image feature optimization unit 26.
[0038] The acoustic signal h may also be an Ambisonics signal acquired by four or more microphones.
[0039] In this case, the image feature calculation unit 22 sets a plurality of small regions for each of a plurality of images based on the image signal a. Furthermore, for each of the set small regions, the direction (elevation angle and azimuth angle) from the microphone used to acquire the Ambisonics signal is determined, and output as image feature b to the image feature optimization unit 26. The image feature b determined for each small region is used in the image feature optimization unit 26 as a gain by which the individual sound source included in the acoustic feature d is multiplied.
[0040] Furthermore, the target sound source e is calculated for each small region from the Ambisonics signal, i.e., the target sound source e calculated from the Ambisonics signal corresponds to each sound coming from the direction of each small region.
[0041] The image feature optimization unit 26 can generate an optimal image feature f for each small region, for example, by using an optimization process based on the image feature b and the acoustic feature d to minimize the error between the acoustic signal emitted from each small region and the target sound source e.
[0042] The direction-specific sound synthesis unit 28 generates, for each small region, a sound emitted from that region as a direction-specific sound g based on the sound feature amount d and the optimal image feature amount f.
[0043] The output unit 18 outputs the direction-specific sound g generated by the direction-specific sound synthesis unit 28. Therefore, the output unit 18 can be realized as a speaker that outputs the sound g.
[0044] In this way, the video / audio separation device 10 operates in cooperation with hardware such as the bus 11, CPU 12, recording medium reading unit 14, input unit 16, output unit 18, memory 20, and storage device 30 that constitute the video / audio separation device 10, and software which is each program stored in the memory 20.
[0045] Next, an example of the operation of the video and audio separation device according to this embodiment will be described.
[0046] FIG. 3 is a flowchart showing an example of the operation of the video and audio separation device according to this embodiment.
[0047] In processing step 1, the acoustic feature calculation unit 24 outputs an acoustic feature d from the acoustic signal h. The acoustic feature d is, for example, a separated sound source S obtained by separating an input monaural sound into one or more channels (here, C channel). c (0≦c<C). Note that the 0th channel (W component) of the Ambisonics signal can be used for monaural sound. A pre-trained neural network or the like can be used to separate the sound sources, but any method that can separate multiple sound sources can be used (S1).
[0048] In processing step 2, the image feature calculation unit 22 converts the image signal a of one or more images constituting a part or all of the video into an image feature b. The image feature b is, for example, composed of a total of C gains to be given to each of the sound sources of the multiple channels output in processing step 1 for each small region, and K x A tensor quantity w with dimension C kc (0≦k<K), where K is the number of small regions set in the image. Alternatively, the image feature amount calculation unit 22 may use a neural network that receives a video signal as input and outputs an image feature amount b (S2).
[0049] In processing step 3, the image feature optimization unit 26 optimizes the image feature b using the sound sources of the multiple channels output by the acoustic feature calculation unit 24 and the input target sound source e, and outputs the optimized image feature f (S3).
[0050] The operation of the image feature amount optimization unit 26, that is, processing step 3, will now be described in detail.
[0051] FIG. 4 is a flowchart showing a detailed example of the operation of the image feature amount optimization unit.
[0052] In processing step 3-0, the image feature optimization unit 26 initializes a dual tensor, which is a tensor having the same dimensions as the image feature b. Uniform random numbers may be used for the initialization (S30).
[0053] In processing step 3-1, the image feature optimization unit 26 weights and adds the image feature b to the dual tensor, calculates a proximity operator for the convex conjugate function of the L1 norm as shown in the following equation, and outputs the updated dual tensor for each small region and each channel. 1 is a predetermined constant.
[0054]
[0055] where:
[0056]
[0057] The update step
[0058]
[0059] It should be noted that a proximity operator for a convex function other than the L1 norm, such as the L21 norm, may also be used as the proximity operator (S31).
[0060] In processing step 3-2, the image feature optimization unit 26 calculates an update difference from the image feature b, the tensor product of the sound sources of the multiple channels from the acoustic feature calculation unit 24, and the weighted sum of the gradient and dual tensor of the L2 norm related to the error of the target sound source e, and calculates an intermediate image feature w ’ kc The target sound source corresponding to the small area k is calculated as y k In addition, the update step γ 2 is a predetermined constant (S32).
[0061]
[0062] In processing step 3-3, the image feature value optimization unit 26 calculates the intermediate image feature value w ’ kc A convex projection is calculated for each small region and for each channel, and an optimal image feature value f is calculated (S33).
[0063]
[0064] In processing step 3-4, the image feature optimization unit 26 repeats processing steps 3-1 to 3-3 until a stopping condition is satisfied, which can be either when the norm of the error between the updated dual tensor and the dual tensor before the update falls below a predetermined threshold, or when the number of iterations reaches a predetermined number (S34).
[0065] Returning to FIG. 3 , in processing step 4, the direction-specific sound synthesis unit 28 calculates the tensor product of the sound sources of the multiple channels output from the acoustic feature calculation unit 24 and the optimal image feature f output from the image feature optimization unit 26, as shown in the following equation, and generates direction-specific sound g related to the acoustic feature d (S4).
[0066]
[0067] As described above, the video and audio separation device to which the video and audio separation method according to this embodiment is applied can minimize the error between the target sound source for each direction given as spatial audio and the output audio, thereby making it possible to improve sound source separation performance without requiring additional training of the neural network.
[0068] The present invention is not limited to the above-described embodiments, and various modifications can be made in the implementation stage without departing from the spirit of the invention. Furthermore, the above-described embodiments include various inventions, and various inventions can be extracted by selecting and combining the multiple constituent elements disclosed. For example, if the problem can be solved and the desired effect can be obtained even if some constituent elements are deleted from all the constituent elements shown in the embodiments, the configuration from which these constituent elements are deleted can be extracted as an invention.
[0069] REFERENCE SIGNS LIST 10 Video and audio separation device 11 Bus 12 CPU 14 Recording medium reading unit 15 External recording medium 16 Input unit 18 Output unit 20 Memory 22 Image feature amount calculation unit 24 Sound feature amount calculation unit 26 Image feature amount optimization unit 28 Direction-specific sound synthesis unit 29 Writable data area 30 Storage device a Image signal b Image feature amount d Sound feature amount e Target sound source f Optimized image feature amount g Direction-specific sound h Sound signal
Claims
1. A video and audio separation device comprising: an image feature calculation unit that converts image signals of multiple images that constitute all or part of a video into image features; an audio feature calculation unit that converts audio signals corresponding to the images into audio features consisting of multiple individual sound sources; an image feature optimization unit that optimizes the image features based on the audio features and a specified target sound source, and outputs optimal image features; and a directional audio synthesis unit that generates audio for different directions based on the audio features and the optimal image features.
2. The video and audio separation device of claim 1, wherein the image feature calculation unit sets a plurality of small regions in each of the plurality of images, and outputs as the image feature a gain to be multiplied by an individual sound source contained in the audio feature for each of the set small regions.
3. The video / audio separation device of claim 1, characterized in that the image feature calculation unit sets multiple small regions in each of the multiple images, and the target sound source is sound from each direction in which the multiple small regions exist.
4. The video / audio separation device according to claim 1, wherein the audio signal is an Ambisonics signal acquired by four or more microphones, and the target sound source is calculated using the Ambisonics signal.
5. The video and audio separation device of claim 1, wherein, when the audio signal is a mono audio signal, the audio feature calculation unit separates the mono audio signal into audio sources of multiple channels, and the audio features are each of the audio sources separated into the multiple channels.
6. The video and audio separation device of claim 1, wherein the image feature optimization unit repeats the following steps: updating the dual tensor by applying a proximity operator to a weighted sum of the image feature and the dual tensor, updating the image feature by a tensor product calculated from the image feature and the audio feature, a gradient related to an error norm with respect to the target sound source, and a weighted sum of the dual tensor; and performing a convex projection on the updated image feature to calculate the optimal image feature, until an update width of the dual tensor falls below a predetermined threshold value or the number of updates reaches a predetermined number.
7. A video and audio separation method, characterized in that a processor of a video and audio separation device executes the following steps: converting image signals of multiple images constituting all or part of a video into image features; converting audio signals of audio corresponding to the images into audio features consisting of multiple individual sound sources; optimizing the image features based on the audio features and a specified target sound source, and outputting optimal image features; and generating audio for each direction related to the audio features based on the audio features and the optimal image features.
8. A program for causing a computer to function as each unit of the video / audio separation device according to any one of claims 1 to 6.
Citation Information
Patent Citations
Audiovisual source separation and localization using generative adversarial networks
JP2022529553A
Systems and methods for visually guided audio separation
US20210174817A1
Single-channel and multi-channel source separation enhanced by lip motion
US20210217182A1
