Invertible orientation scores as an application of generalized wavelet theory