Soundfield imaging is a special analysis methodology aimed at capturing the directional components of the acoustic field and mapping them onto a domain called "ray space", where rele-vant acoustic objects become linear patterns, i.e., sets of collinear points. This allows us to overcome resolution issues while easing far-field assumptions. In this paper, we generalize this concept by introducing the ray space transform for acoustic field repre-sentation. The transform is based on a short space-time Fourier transform of the signals captured by a microphone array, using discrete Gabor frames. The resulting transform coefficients are parameterized in the same ray space used for soundfield imaging. The resulting transform enables the definition of analysis and syn-thesis operators, which exhibit perfect reconstruction capabilities. We show examples of applications of the ray space transform to source localization and spot spatial filtering.