| qmosaic | stsdas.hst_calib.wfpc | qmosaic |
qmosaic -- A quick mosaic of the 4 individual WF/PC or WFPC2 frames into 1 image.
qmosaic input output
This task will produce a quick mosaic of the four groups that comprise the full WFPC or WFPC2 field of view. The input frames may be composed of either 4 one-group images, or one 4-group (multigroup) WFPC or WFPC2 image. The output file is a GEIS image with one group, where the 4 input frames have been placed in their proper quadrants. In the case of WFPC2, you can specify which interpolation method you want to scale the PC frame or not to shrink to the WF scale at all (i.e. preserve the PC resolution).
The number of input images is flexible: it can take any number of input frames, either in multi-group or single group format. If the number of input frames is less than 4, the missing quadrant will be filled with zeros. If there are more than 4 input frames, the last repeated frame will overwrite the previous one of the same detector.
A more sophisticated mosaic task is available (WMOSAIC) to correct for the geometric distortion and inter-chip rotations, offsets, and scale differences.
---------
| 1 | 4 |
| | |
---------
| 2 | 3 |
| | |
---------
1. Mosaic one 4-group input image of 800x800 each, wr1.c0h, into a 1600x1600 pixel output image wr1mos.hhh.
wf> qwmosaic wr1.c0h wr1mos.hhh
2. There are 4 images (800x800) with one group each, namely im1.hhh,
im2.hhh, im3.hhh, and im4.hhh. Form a mosaic called imout.hhh.
wf> qwmosaic im*.hhh imout.hhh