1. A computer readable storage medium having a computer program stored thereon and representing a set of instructions that when executed by a computer causes the computer to: calculate a mapping function that provides a location of each sub-volume of an imaging volume as a function of time from ultrasound data; determine a respective acquisition window for each sub-volume of the imaging volume from the mapping function; and reconstruct an image of the imaging volume substantially free of motion artifacts from imaging data acquired from the imaging volume.