The present invention is directed to a system and method which makes a phased array look like a curved array for purposes of performing spatial compounding calculations. In one embodiment, the phased array is treated as though it were a curved array by creating both a virtual apex and a virtual radius of curvature. Based on this transformation, standard spatial-compounding resampling tables can be used just as they are with curved arrays. In one embodiment, after the data is compounded to form the target image, certain data is removed prior to the actual display. This removed data represents data generated by virtual rays the prior to the physical skin line of the phased array.