The invention relates to system for optoacoustic imaging, in particular for rasterscan optoacoustic mesoscopy (RSOM), and an according method for optoacoustic imaging data processing. The system comprises: an irradiation unit configured to irradiate an object comprising biological tissue with electromagnetic radiation, a detection unit configured to detect acoustic waves generated in the object at a plurality of locations along an axial dimension and along at least one lateral dimension, which is perpendicular to the axial dimension, in response to irradiating the object with electromagnetic radiation and to generate a plurality of according detection signals, and a processing unit configured to determine an axial displacement of the course of one or more first detection signals along the axial dimension relative to the course of one or more second detection signals along the axial dimension, to correct the detection signals by reducing and/or eliminating the axial displacement, and to reconstruct at least one image of the object based on the corrected detection signals. The invention allows for a correction and/or elimination of effects caused by motion of the object in a simple and reliable way.