A personalized HRTF fast modeling acquisition method

Through the analysis of physiological parameters and neural network fitting, personalized HRTF can be quickly obtained, which solves the difficulty of obtaining personalized HRTF in virtual auditory display, improves positioning accuracy and user experience, and makes virtual auditory display technology closer to reality. experience.

CN113038356BActive Publication Date: 2024-09-10SHANGHAI AVIATION ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911253436.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-09
Publication Date
2024-09-10
Estimated Expiration
2039-12-09

AI Technical Summary

Technical Problem

In existing virtual auditory display technology, it is difficult to obtain personalized HRTF, resulting in low positioning accuracy and poor user experience. Existing methods mostly use artificial heads to replace the non-personalized HRTF database measured by real people, and numerical simulation calculations are time-consuming. And it is difficult to apply widely.

Method used

By conducting correlation analysis on physiological shape parameters, combined with physical analysis to screen characteristic parameters, and using multiple data dimensionality reduction and neural network fitting to establish a personalized HRTF model, the user's personalized HRTF data can be quickly obtained, including steps such as analyzing the physiological shape parameter database Analyze and reduce dimensionality of personalized HRTF database, build and train neural networks, and input feature parameters for prediction and reconstruction.

Benefits of technology

It achieves rapid and accurate acquisition of personalized HRTF through a small number of feature parameters, reduces model training and storage space requirements, improves the positioning accuracy and user experience of virtual auditory display, and makes the predicted HRTF close to the measured real-person HRTF.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113038356B
    Figure CN113038356B
Patent Text Reader

Abstract

The present invention discloses a personalized HRTF rapid modeling acquisition method, which includes the following steps: step S1, performing correlation analysis on the physiological shape parameter database, and screening out characteristic physiological shape parameters in combination with physical analysis; step S2, performing multiple data dimension reduction on the personalized HRTF database, and extracting the characteristic matrix corresponding to the sample; step S3, establishing and training a neural network that fits the relationship between the characteristic physiological shape parameters of the samples in the collected personalized HRTF database and their corresponding HRTF characteristic matrix; and step S4, inputting the characteristic physiological shape parameters of the user, using the trained neural network to predict the HRTF characteristic matrix of the user, and reconstructing the characteristic matrix into a complete HRTF database. The advantage of the present invention is that the personalized HRTF corresponding to the user can be obtained relatively quickly and accurately through a small number of characteristic physiological shape parameters, thereby improving the positioning accuracy and user experience of the virtual auditory display technology to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtual auditory display, and is a method for rapidly modeling and acquiring personalized HRTF. The method can use an existing personalized HRTF database to rapidly establish a model relationship between individual physiological appearance parameters and personalized HRTF. The model can be used to rapidly generate a corresponding personalized HRTF database based on the physiological appearance parameters of the user. Background Art

[0002] Head Related Transfer Function (HRTF) is the core technology of virtual auditory display. It describes the transfer function between the sound source and the two ears in a free field and contains key information for virtual sound source playback.

[0003] HRTF is a multivariate function distributed by spatial position and frequency. In the case of far-field measurement, the distance parameter is often omitted, so HRTF is a cluster of frequency spectrum curves distributed by pitch and azimuth on a sphere. HRTF is the result of the comprehensive filtering effect of physiological structures such as the human head, torso, and auricle on sound waves. Therefore, the HRTF of different individuals varies due to differences in their physiological appearance parameters. Since the method of measuring personalized HRTF through experiments is costly, time-consuming and labor-intensive, most of the existing virtual auditory display related technologies use artificial heads instead of real people to obtain non-personalized HRTF databases, which restricts the positioning accuracy of virtual auditory display technology. Although numerical simulation calculation methods are more convenient than experimental measurements, the calculation time is still longer, and it is difficult to be widely used in products developed for non-specific users.

[0004] Since it is difficult to obtain personalized HRTF, and the existing image processing and three-dimensional scanning technologies can quickly obtain the physiological shape parameters of the human body, if it is possible to quickly model the user's physiological shape parameters to obtain the corresponding personalized HRTF data, the artificial head HRTF used in the existing virtual auditory display technology can be upgraded to a personalized HRTF customized for the user, thereby improving the positioning accuracy and user experience of the technology to a certain extent. Summary of the invention

[0005] The present invention aims to provide a personalized HRTF rapid modeling acquisition method, which uses relevant physiological appearance parameters of different users to quickly obtain the corresponding personalized HRTF data.

[0006] In order to achieve the above object, the present invention provides the following technical solution: a personalized HRTF fast modeling acquisition method, characterized in that it includes the following steps:

[0007] Step S1, performing correlation analysis on the physiological appearance parameter database, and screening out characteristic physiological appearance parameters in combination with physical analysis;

[0008] Step S2, performing multiple data dimensionality reduction on the personalized HRTF database to extract the feature matrix corresponding to the sample;

[0009] Step S3, establishing and training a neural network that fits the relationship between the characteristic physiological appearance parameters of the samples in the collected personalized HRTF database and their corresponding HRTF feature matrix; and

[0010] Step S4, input the characteristic physiological shape parameters of the user, use the trained neural network to predict the user's HRTF feature matrix, and reconstruct the feature matrix into a complete HRTF database.

[0011] As a preferred solution for a personalized HRTF fast modeling acquisition method, in step S1, the physiological shape parameters include the height of the concha cavity, the width of the concha, the height of the auricle, the width of the auricle, the width of the head, the head depth, the horizontal offset from the auricle to the center of the head, the depth of the upper torso, the rotation angle of the auricle, and the outward angle of the auricle.

[0012] As a preferred solution of a personalized HRTF fast modeling acquisition method, in step S2, the HRTF feature matrix is ​​obtained by repeatedly using the principal component analysis method to perform multiple data dimensionality reduction on the HRTF data, including the steps of:

[0013] Step S21, performing FFT on the HRIR data of the personalized database, and regularizing its amplitude spectrum into a three-dimensional array, where the first dimension is frequency, the second dimension is spatial position, and the third dimension is sample number;

[0014] Step S22, adding 1 to the personalized HRTF amplitude spectrum obtained in step S21, taking the logarithm, and then multiplying it by the inverse of the square root of the auditory filter bandwidth corresponding to each frequency point to obtain a three-dimensional array of transformed amplitude spectrum;

[0015] Step S23, extending the three-dimensional array of transformed amplitude spectrum obtained in step S22 into a two-dimensional matrix, wherein the first dimension is the spatial position and the second dimension is arranged in the order of frequency first and then sample number;

[0016] Step S24, compressing the first dimension of the matrix obtained in step S23 by retaining 95% of the reconstruction energy ratio through the principal component analysis method, and obtaining a spatial principal component coefficient matrix whose first dimension is the truncated spatial principal component coefficients, and whose second dimension is arranged in the order of frequency first and then sample number, and a truncated spatial principal component vector matrix;

[0017] Step S25, rearrange the spatial principal component coefficient matrix obtained in step S24 to obtain a two-dimensional matrix whose first dimension is frequency and whose second dimension is arranged in the order of first spatial principal component and then sample number;

[0018] Step S26, applying the principal component analysis method to the two-dimensional matrix in step S25, compressing the frequency dimension according to the energy ratio of retaining 99%, obtaining the first dimension of each truncated frequency principal component coefficient, the second dimension of the unfolded feature matrix arranged in the order of first spatial principal component and then sample number, and the truncated frequency principal component vector matrix;

[0019] Step S27, rearrange the expanded feature matrix obtained in step S26 into a three-dimensional array, where the first dimension is the frequency principal component coefficient, the second dimension is the spatial principal component coefficient, and the third dimension is the sample label. The matrix spanned by the first and second dimensions is the feature matrix of the sample at the current position in the third dimension.

[0020] As a preferred solution for a personalized HRTF rapid modeling acquisition method, in step S3, a generalized regression neural network is used to nonlinearly fit the relationship between the physiological shape parameters and the HRTF feature matrix, and the steps are as follows:

[0021] Step S31, for each sample, find its characteristic physiological appearance parameter column vector in the database, sort them in order according to the sample number, and obtain the characteristic physiological appearance parameter matrix;

[0022] Step S32, for the three-dimensional feature matrix array, find the characteristic principal component coefficient corresponding to each sample in the order of the first dimension first and then the second dimension, and arrange them in sequence according to the sample numbers to obtain the characteristic principal component coefficient vector;

[0023] Step S33, input the characteristic physiological appearance parameter matrix and the corresponding characteristic principal component coefficient vector into the generalized regression neural network in the order of the first dimension first and the second dimension later, and perform one-dimensional parameter optimization on the smoothness factor of the network to obtain a trained generalized regression neural network, and rehearse these networks in the order of the first dimension first and the second dimension later to obtain a trained generalized regression neural network array.

[0024] As a preferred solution for a personalized HRTF fast modeling acquisition method, the HRTF reconstruction step in step S4 is as follows:

[0025] Step S41, inputting the characteristic physiological appearance parameters of the user into the generalized regression neural network array obtained in step S33 to obtain the corresponding characteristic principal component coefficient matrix;

[0026] Step S42, reversing the data dimension reduction process of steps S23 to S27, and finally reconstructing the transformed amplitude spectrum of the HRTF by multiplying the principal component coefficients by the stored corresponding principal component vectors;

[0027] Step S43, the amplitude spectrum conversion process of step S22 is reversed to obtain the HRTF amplitude spectrum.

[0028] Compared with the existing methods, the beneficial effects of the present invention are: 1. The personalized HRTF corresponding to the user can be obtained relatively quickly and accurately through a small number of characteristic physiological shape parameters; 2. After amplitude spectrum transformation and multiple data dimensionality reduction, the scale of the neural network array required for training is smaller, and the selected generalized regression neural network is trained faster, so the modeling speed is fast and the storage space is small; 3. The reconstruction process only involves a limited number of matrix multiplications and basic arithmetic operations, so the reconstruction speed is fast; 4. The generalized regression neural network has a strong small sample nonlinear fitting ability, and the predicted personalized HRTF is closer to the measured real person HRTF than the non-personalized artificial head HRTF. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a flow chart of the system of the present invention.

[0030] Figure 2 Schematic diagram of head and torso parameters in characteristic physiological appearance parameters.

[0031] Figure 3 Schematic diagram of auricle parameters among characteristic physiological appearance parameters.

[0032] Figure 4 The horizontal plane spectrum distortion of the personalized HRTF predicted by the present invention is compared with the spectrum distortion of the non-personalized artificial head method.

[0033] Figure 5 The vertical plane spectral distortion of the personalized HRTF predicted by the present invention is compared with the spectral distortion of the non-personalized artificial head method. DETAILED DESCRIPTION

[0034] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The HRTF database in this embodiment takes the HRTF database measured by the CIPIC laboratory of the University of California, Davis as an example. The personalized HRTF database of CIPIC contains 37 samples (including two artificial heads), which records HRIR (Head Related Impulse Response) of 200 points in length for the left and right ears at 1250 spatial sampling points. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary method personnel in this field without making creative work are within the scope of protection of the present invention.

[0035] See also Figure 1As shown, the personalized HRTF fast modeling acquisition method provided in this embodiment includes the following steps:

[0036] A. Conduct correlation analysis on the physiological appearance parameter database and select characteristic physiological appearance parameters in combination with physical analysis;

[0037] B. Perform multiple data dimensionality reduction on the personalized HRTF database and extract the feature matrix corresponding to the samples;

[0038] C. Establish and train a neural network that fits the relationship between the characteristic physiological appearance parameters of samples in the collected personalized HRTF database and their corresponding HRTF feature matrix;

[0039] D. Input the user's characteristic physiological shape parameters, use the trained neural network to predict the user's HRTF feature matrix, and reconstruct the feature matrix into a complete HRTF database.

[0040] The characteristic physiological appearance parameters obtained in step A are obtained by correlation analysis combined with physical analysis. The specific method is as follows:

[0041] a The CIPIC database provides 10 physiological parameters of the subject's ear and 17 physiological parameters of the head and trunk. Taking the left ear as an example, we first perform correlation analysis on these 27 physiological parameters and calculate their linear correlation coefficient r:

[0042]

[0043] Where σ and μ are the standard deviation and mean of the random variables, respectively, and the subscripts X and Y represent two different random variables.

[0044] b. According to the correlation coefficient calculated in step a, the parameters with strong linear correlation are grouped together for classification. When the correlation coefficient threshold is set to 0.6, the 27 physiological appearance parameters provided by CIPIC can be divided into 14 categories. Figure 2 and 3 Among these 14 physiological parameters, the ones with larger physical size or more obvious acoustic significance are selected as representatives, which are: concha height d 1 、Concha height d 2 、Concha width d 3 、Auricle height d 5 、Auricle width d 6 , head width x 1 ,Head height x 2 , head depth x 3 , horizontal offset from auricle to head center x 5 、Neck height x 7 , Upper torso height x 10 , Upper torso depth x 11 、Auricle rotation angle θ1 、Auricle flare angle θ 2 ;

[0045] c Among the 14 independent physiological parameters obtained in step b, head height x 2 、Neck height x 7 , Upper torso height x 10 It is the axial size parameter of the body, which has little to do with HRTF and is therefore eliminated; 2 The parameter size is close to the measurement error and is eliminated; therefore, the characteristic physiological shape parameter is selected as the concha cavity height d 1 、Concha width d 3 、Auricle height d 5 、Auricle width d 6 , head width x 1 , head depth x 3 , horizontal offset from auricle to head center x 5 , Upper torso depth x 11 、Auricle rotation angle θ 1 、Auricle flare angle θ 2 .

[0046] The HRTF feature matrix in step B is obtained by repeatedly using the principal component analysis method to perform multiple data dimensionality reduction on the HRTF data. Taking the left ear data as an example, the steps are as follows:

[0047] a Perform 256-point FFT on the left ear HRIR data of all samples and all spatial positions in the CIPIC database, and regularize its amplitude spectrum into a three-dimensional array of size 129×1250×37, with the first dimension being frequency, the second dimension being spatial position, and the third dimension being sample number.

[0048] b. Add 1 to the amplitude spectrum of the HRTF obtained in step a, take the logarithm, and then multiply it by the inverse of the square root of the equivalent rectangular bandwidth (ERB) of the auditory filter bandwidth corresponding to each frequency point, as shown in the following formula:

[0049]

[0050] Where H(f) is the HRTF spectrum, To transform the amplitude spectrum, the frequency f in the ERB calculation formula is in kHz, so that a three-dimensional array of the transformed amplitude spectrum of the personalized HRTF can be obtained;

[0051] c. Expand the three-dimensional array of transformed amplitude spectrum obtained in step b into a two-dimensional matrix of size 1250×4773, where the first dimension is the spatial position and the second dimension is arranged in the order of frequency first and then sample number.

[0052] d. By using the principal component analysis method, the first dimension of the matrix obtained in step c is compressed according to the proportion of the reconstruction energy retained at 95%, and the first dimension is the truncated spatial principal component coefficients, and the second dimension is a spatial principal component coefficient matrix of a size of 9×4773 arranged in the order of frequency first and then sample number, and the truncated spatial principal component vector matrix of a size of 1250×9 is obtained;

[0053] e. Rearrange the spatial principal component coefficient matrix obtained in step d to obtain a 129×333 two-dimensional matrix with the first dimension being frequency and the second dimension being arranged in the order of first spatial principal component and then sample number;

[0054] f. Apply the principal component analysis method to the two-dimensional matrix in step e, compress the frequency dimension according to the energy ratio of retaining 99%, and obtain the first dimension of each frequency principal component coefficient of the truncated frequency, the second dimension of the unfolded feature matrix with a scale of 12×333 arranged in the order of spatial principal components first and then sample numbers, and the truncated frequency principal component vector matrix with a scale of 129×12;

[0055] g. Rearrange the expanded feature matrix obtained in step f into a three-dimensional array of size 12×9×37. The first dimension is the frequency principal component coefficient, the second dimension is the spatial principal component coefficient, and the third dimension is the sample label. The 12×9 matrix spanned by the first and second dimensions is the feature matrix of the sample at the current position in the third dimension.

[0056] In step C, a generalized regression neural network (GRNN) is used to nonlinearly fit the relationship between the physiological shape parameters and the HRTF feature matrix. The steps are as follows:

[0057] a For each sample, find its characteristic physiological appearance parameter column vector in the database, sort it in sequence according to the sample number, and obtain a characteristic physiological appearance parameter matrix of size 7×37;

[0058] b. For a three-dimensional feature matrix array of size 12×9×37, find the characteristic principal component coefficient corresponding to each sample in the order of the first dimension first and then the second dimension, and arrange them in sequence according to the sample numbers to obtain a characteristic principal component coefficient vector of size 1×37;

[0059] c Select 28 samples from 37 samples as training set samples, input the characteristic physiological appearance parameter matrix and the corresponding characteristic principal component coefficient vector of the training set samples into the generalized regression neural network in the order of the first dimension first and then the second dimension, and perform one-dimensional parameter optimization on the smooth factor of the network to obtain the trained generalized regression neural network, and rehearse these networks in the order of the first dimension first and then the second dimension to obtain the trained generalized regression neural network array.

[0060] The HRTF reconstruction steps in step D are as follows:

[0061] a. Inputting the characteristic physiological appearance parameters of the user into the generalized regression neural network array obtained in step Cc to obtain the corresponding characteristic principal component coefficient matrix;

[0062] b. Reverse the data dimension reduction process of steps Bc to Bg, and finally reconstruct the transformed amplitude spectrum of HRTF by multiplying the principal component coefficients by the stored corresponding principal component vectors;

[0063] c Reverse the amplitude spectrum transformation process of step Bb to obtain the HRTF amplitude spectrum.

[0064] The use effect of the present invention is as follows Figure 4 and Figure 5 As shown, Figure 4 and Figure 5 The comparison between the spectral distortion of the personalized HRTF horizontal and mid-vertical planes predicted by the present invention and the spectral distortion of the non-personalized artificial head method in the test set samples when using the CIPIC database is given respectively.

[0065] In the actual application scenario of virtual auditory display, the user's characteristic physiological shape parameters can be obtained by direct measurement, image processing or three-dimensional coordinate measurement; the HRTF amplitude spectrum obtained by the present invention can be reconstructed with minimum phase to restore the complete HRTF complex spectrum, and combined with the interaural time difference (ITD) data obtained by personalized or non-personalized methods for virtual auditory playback.

[0066] In summary, the personalized HRTF fast modeling acquisition method proposed in the present invention has the advantages of fewer input parameters, fast speed, and more accurate personalized HRTF acquisition. It can be used in virtual auditory display technology to improve the positioning accuracy and user experience of the technology to a certain extent.

[0067] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A personalized HRTF rapid modeling acquisition method, characterized in that: It includes the following steps: Step S1, performing correlation analysis on the physiological appearance parameter database, and screening out characteristic physiological appearance parameters in combination with physical analysis; Step S2, performing multiple data dimensionality reduction on the personalized HRTF database to extract the feature matrix corresponding to the sample; Step S3, establishing and training a neural network that fits the relationship between the characteristic physiological appearance parameters of the samples in the collected personalized HRTF database and their corresponding HRTF feature matrix; as well as, Step S4, inputting the characteristic physiological shape parameters of the user, using the trained neural network to predict the user's HRTF feature matrix, and reconstructing the feature matrix into a complete HRTF database; In step S2, the HRTF feature matrix is ​​obtained by repeatedly using the principal component analysis method to perform multiple data dimensionality reduction on the HRTF data, which includes the following steps: step S21, performing FFT on the HRIR data of the personalized database, and regularizing its amplitude spectrum into a three-dimensional array, wherein the first dimension is frequency, the second dimension is spatial position, and the third dimension is sample number; step S22, adding 1 to the personalized HRTF amplitude spectrum obtained in step S21, taking the logarithm, and then multiplying it by the inverse of the square root of the auditory filter bandwidth corresponding to each frequency point to obtain a three-dimensional array of transformed amplitude spectrum; step S23, extending the three-dimensional array of transformed amplitude spectrum obtained in step S22 into a two-dimensional matrix, wherein the first dimension is spatial position, and the second dimension is arranged in the order of frequency first and then sample number; step S24, compressing the first dimension of the matrix obtained in step S23 by the principal component analysis method, retaining 95% of the reconstruction energy ratio, to obtain a matrix with the first dimension as the intercepted principal component of each space. Step S25: rearrange the spatial principal component coefficient matrix obtained in step S24 to obtain a two-dimensional matrix with frequency as the first dimension and spatial principal component as the second dimension and sample number as the second dimension; Step S26: apply the principal component analysis method to the two-dimensional matrix in step S25, compress the frequency dimension according to the energy ratio of retaining 99%, and obtain an expanded feature matrix with the first dimension being the intercepted frequency principal component coefficients, the second dimension being the spatial principal component as the second dimension and sample number as the second dimension, and the frequency principal component vector matrix after the intercept; Step S27: rearrange the expanded feature matrix obtained in step S26 into a three-dimensional array with the frequency principal component coefficients as the first dimension, the spatial principal component coefficients as the second dimension, and the sample number as the third dimension. The matrix spanned by the first and second dimensions is the feature matrix of the sample at the current position in the third dimension.

2. The personalized HRTF rapid modeling acquisition method according to claim 1, characterized in that: In step S1, the physiological shape parameters include the height of the concha cavity, the width of the concha, the height of the auricle, the width of the auricle, the width of the head, the head depth, the horizontal offset from the auricle to the center of the head, the depth of the upper trunk, the rotation angle of the auricle, and the flaring angle of the auricle.

3. The personalized HRTF rapid modeling acquisition method according to claim 1, characterized in that: In step S3, a generalized regression neural network is used to nonlinearly fit the relationship between the physiological shape parameters and the HRTF feature matrix, and the steps are as follows: Step S31, for each sample, find its characteristic physiological appearance parameter column vector in the database, sort them in order according to the sample number, and obtain the characteristic physiological appearance parameter matrix; Step S32, for the three-dimensional feature matrix array, find the characteristic principal component coefficient corresponding to each sample in the order of the first dimension first and then the second dimension, and arrange them in sequence according to the sample numbers to obtain the characteristic principal component coefficient vector; Step S33, input the characteristic physiological appearance parameter matrix and the corresponding characteristic principal component coefficient vector into the generalized regression neural network in the order of the first dimension first and the second dimension later, and perform one-dimensional parameter optimization on the smoothness factor of the network to obtain a trained generalized regression neural network, and rehearse these networks in the order of the first dimension first and the second dimension later to obtain a trained generalized regression neural network array.

4. The personalized HRTF rapid modeling acquisition method according to claim 1, characterized in that: The HRTF reconstruction steps in step S4 are as follows: Step S41, inputting the characteristic physiological appearance parameters of the user into the generalized regression neural network array obtained in step S33 to obtain the corresponding characteristic principal component coefficient matrix; Step S42, reversing the data dimension reduction process of steps S23 to S27, and finally reconstructing the transformed amplitude spectrum of the HRTF by multiplying the principal component coefficients by the stored corresponding principal component vectors; Step S43, the amplitude spectrum conversion process of step S22 is reversed to obtain the HRTF amplitude spectrum.