XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


ommosaic (ommosaic-2.7.1) [xmmsas_20141104_1833-14.0.0]

MAD test for data Image alignment Cross-correlation Home Index

Meta Index / Home Page / Algorithm- Sky Images / Image alignment

Alignment example

Please refer to section Initializetion example

Create a vector of booleans, isStacked,  of size equal to the number
of images, and initialize to false.

 set isStacked[3] to true- this will be the reference image. (NB indices
start at zero).

1) Attempt to align image 5 with image 4
        If successful - set isStacked[4] to true

2) Attempt to align image 3 with image 4
        If successful - set isStacked[2] to true

 
3) Attempt to align image 2 with image 4
        If successful - set isStacked[1] to true

4) If image 5 has been aligned then 
   attempt to align image 3 with image 5
   If successful - set isStacked[2] to true

5) If image 5 has been aligned then 
   attempt to align image 1 with image 5
   If successful - set isStacked[0] to true

6) If image 1 has been, but image 2 has not been aligned then 
   attempt to align image 2 with image 1
   If successful - set isStacked[1] to true



XMM-Newton SOC/SSC -- 2014-11-04