Skip to main content
QUICK REVIEW

[Paper Review] Infrared Imaging Data Reduction Software and Techniques

Chris N. Sabbey, R. G. McMahon|arXiv (Cornell University)|Jan 11, 2001
Infrared Target Detection MethodologiesEngineering1 references4 citations
TL;DR

The paper presents IRDR, a fast, modular C-based software package for automated reduction of dithered infrared imaging data, optimized for CPU and disk efficiency. It enables full weight map handling, subpixel image registration via object-mask cross-correlation, and non-clipping coaddition, achieving 10× faster dither offset measurement and 2.5× faster median stacking than IRAF, with 0.1-pixel subpixel accuracy and 100% success rate in testing.

ABSTRACT

We describe the InfraRed Data Reduction (IRDR) software package, a small ANSI C library of fast image processing routines for automated pipeline reduction of infrared (dithered) observations. We developed the software to satisfy certain design requirements not met in existing packages (e.g., full weight map handling) and to optimize the software for large data sets (non-interactive tasks that are CPU and disk efficient). The software includes stand-alone C programs for tasks such as running sky frame subtraction with object masking, image registration and coaddition with weight maps, dither offset measurement using cross-correlation, and object mask dilation. Although we currently use the software to process data taken with CIRSI (a near-IR mosaic imager), the software is modular and concise and should be easy to adapt/reuse for other work. IRDR is available from anonymous ftp to ftp.ast.cam.ac.uk in pub/sabbey.

Motivation & Objective

  • To address the inefficiency and limitations of existing software packages in handling large-scale, dithered infrared imaging data from wide-field instruments like CIRSI.
  • To develop a CPU- and disk-efficient, fully automated pipeline for processing terabyte-scale datasets without clipping or simplifying image intersections.
  • To enable accurate, non-clipping coaddition using full weight maps and robust handling of bad pixels and artifacts.
  • To support high-precision astrometry and mosaic creation across diverse fields, from dense Galactic centers to sparse high-latitude regions.
  • To provide a modular, reusable software library that supports both scripting integration and direct C library calls.

Proposed method

  • The software uses a two-pass reduction: first pass generates object masks via SExtractor's OBJECTS option, then second pass performs running sky subtraction with masked object regions.
  • Running sky subtraction is accelerated using a sliding window (circular buffer) of image pointers, reducing I/O from N×M to N reads and mode calculations.
  • Dither offsets are measured via cross-correlation of object pixel lists (x, y, brightness) from SExtractor masks, enabling subpixel accuracy of ~0.1 pixels through parabolic fitting.
  • Image registration and coaddition use bi-linear interpolation with fractional overlap areas (a_i) and weighted averaging: P = (Σ a_i w_i p_i) / (Σ a_i w_i), where w_i is the pixel weight.
  • Weight maps are generated per pixel as w_i = g_i · t / V, with g_i as gain (0.0 for bad pixels), t as exposure time, and V as image variance.
  • Outliers are rejected using a 5σ threshold based on median absolute deviation (MAD), with σ = MAD / 0.6745, to avoid bias in low-number-of-frames coadds.

Experimental results

Research questions

  • RQ1How can infrared image reduction be made more efficient and scalable for large datasets exceeding 1 TB?
  • RQ2What is the optimal method for subpixel dither offset measurement that avoids errors from background variations and cosmic rays?
  • RQ3How can image coaddition be performed without clipping to the intersection of dither frames while preserving full weight map information?
  • RQ4Can a modular, stand-alone C library outperform general-purpose tools like IRAF in speed and memory efficiency for specific tasks like median stacking and sky subtraction?
  • RQ5What is the achievable astrometric accuracy when combining coadded dither sets from multiple chips and telescope pointings using automated pipeline tools?

Key findings

  • The IRDR software achieved a 2.5× speedup in median plane calculation compared to IRAF’s imcombine for stacks of 50 images, using a custom cubemean.c routine.
  • Running sky subtraction using a sliding window reduced I/O and computation from N×M to N operations, significantly improving efficiency.
  • The object-mask cross-correlation method for dither offset measurement was approximately 10× faster than IRAF STSDAS crosscor and achieved 100% success rate, even in challenging fields like the Galactic center.
  • Subpixel offset accuracy reached ~0.1 pixels through parabolic fitting of the cross-correlation peak, ensuring precise image alignment.
  • The dither set coaddition method used robust rejection (5σ from median) based on MAD, avoiding bias in low-SNR coadds with only 5–9 frames per set.
  • The final mosaic images achieved a random astrometric residual of σ ≈ 0.3 arcsec with no significant systematic errors, confirming high-precision astrometry.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.