Atomic resolution imaging of the strength and 3D direction of atomic displacements in functional oxide thin films