Three mosaics are constructed for each galaxy, corresponding to the J, H and Ks bands. The mosaic image size is first derived from the optical diameter, D25, scaled by roughly three times this diameter, thus allowing for ample background removal. The appropriate "coadd" images are then collected from the 2MASS database. For the largest galaxies, multiple, adjoining scans comprise the image collection. In addition to the images, the calibrated point sources are also gathered from the database, and are used in the background removal operation. The construction process entails bi-cubic resampling of the coadds onto a larger grid of 1 arcsec pixels, subtracting the background after removing stars and blanking the target galaxy, adjusting the photometric zero points for adjoining scans to match the central scan, updating the FITS headers and writing the final images. The most difficult procedure is the background removal, a formidable component of ground-based NIR imaging, particularly for the H-band because of the highly variable atmospheric OH emission (the typical aggregate sky brightness at 1.6 µm is 13 mag arcsec-2).
The background must be removed carefully to avoid subtracting the galaxy itself, particularly the low surface brightness wings. The size of the galaxy is then a critical parameter toward satisfactory background removal. For the first iteration at background removal, we assume the size is given by the optical diameter. This usually provides an adequate margin for error since the optical diameter is typically larger than the NIR diameter, except when the foreground extinction is significant (i.e., galaxies projected near the Galactic Plane). The elliptical shape of the galaxy is given by the RC3 eccentricity and position angle. For galaxies that do not have RC3 entries, we use the UGC catalog or the 2MASS XSC catalog, which should be adequate for galaxies smaller than 2 to 3arcmin. The background or "sky" can then be isolated and removed after the galaxy is elliptically masked from the images; see below. After the preliminary mosaic is constructed, we determine the actual NIR size and shape of the galaxy, and adjust the parameters accordingly, then process/iterate again using the updated parameters.
Due to the nature of the ground-based 2MASS scan methodology, and the subsequent high sky brightness and fluctuations, which occur at all scale lengths, background subtraction is in practice very challenging in the NIR. We first construct a mosaic from coadd images belonging to the same scan/tile, since sky variations are continuous within the scan. Conversely, background variations are disjointed between neighboring scans, and overall background offsets must also be removed. The image below illustrates the daunting NIR background:
For more detailed information, click here.