|
MOPEX Online Manual |
||||||||||
Basic Concepts: Background Matching AlgorithmBackground matching of the overlapping input images is performed by the MOPEX script overlap.pl. It calculates and applies an additive correction to each image in the input stack in order to bring them to a common background level. This is often the first step in processing Spitzer imaging data, before mosaicking the frames together.The images interpolated to a common grid can be subtracted pixel-by-pixel in order to match their backgrounds. We assume that the only correction required is a constant offset, εn, i.e. that the following corrections should be applied to the input image In
Since the problem is invariant under any arbitrary global shift δ of all images, one of the shifts can be picked to be the last one εNimages-1. It is set to 0 at first. The additional constraint that will fix the global shift is to have the total shift of all images add up to 0:
If Nimages is greater than or equal to MIN_IMG_NUM, then the outlier ε's are excluded from calculating δ, but δ is applied to all the ε's.
Figure 1: The overlap of Image1 and Image2 is an area of four pixels with the following pixel indices: k1= {36,37,38,39}; k2 = {0,1,2,3}, given that the first pixel has index = 0 and the x-direction is scanned first.
|
help@spitzer.caltech.edu