phi = itd2angle(itd,ild,f_inst,tr)
itd | ITDs to convert to angles |
lookup | a struct containing the polinomial fitting entries p,MU,S. This struct can be generated by itd2anglelookuptable |
phi | angles for the corresponding ITD values / deg |
itd2angle(itd,lookup) converts the given ITD values to azimuth angles phi. Therefore a lookup table containing the polynomial fitting parameters is used. This lookup table is created from a set of HRTFs with known azimuth angles and stores the corresponding ITD values. Note that itd2angle works with the dietz2011 and with lindemann1986.