Artifacts induced by distortions which sometimes occur in two-dimensional projection images can appear in the resulting tomographic reconstructions. We describe a procedure for analyzing, correcting and removing experimental artifacts, and hence reducing reconstruction artifacts. Two-dimensional and three-dimensional images acquired with scanning transmission x-ray microscopy of a sample containing an integrated circuit interconnect show how these procedures can be successfully applied.