A space sensor often consists of a number of dies integrated side-by-side on a single substrate of package due to its high-resolution requirement. The sensing areas of these dies often cannot align both vertically and horizontally. This problem could cause serious image distortion if not handled properly. Trying to fix this problem at the base station on the earth is less effective since the expanded image data would have been too overwhelming. To overcome this problem, a low-cost built-in self-repair scheme is proposed in this paper. The misalignment amount at each die-to-die boundary is first decided continually, and then used to repair the distorted image on-the-fly right before they are stored into the image buffer. Experiments on a large number of test images indicate that a repair rate of almost 100% is achievable at only 2.43% area overhead.