Image subtraction or pixel subtraction or difference imaging is an image processing technique whereby the digital numeric value of one pixel or whole image is subtracted from another image, and a new image generated from the result. This is primarily done for one of two reasons – levelling uneven sections of an image such as half an image having a shadow on it, or detecting changes between two images.[1] This method can show things in the image that have changed position, brightness, color, or shape.
For this technique to work, the two images must first be spatially aligned to match features between them, and their photometric values and point spread functions must be made compatible, either by careful calibration, or by post-processing (using color mapping). The complexity of the pre-processing needed before differencing varies with the type of image, but is essential to ensure good subtraction of static features.
This is commonly used in fields such as time-domain astronomy (known primarily as difference imaging) to find objects that fluctuate in brightness or move. In automated searches for asteroids or Kuiper belt objects, the target moves and will be in one place in one image, and in another place in a reference image made an hour or day later. Thus, image processing algorithms can make the fixed stars in the background disappear, leaving only the target.[2] Distinct families of astronomical image subtraction techniques have emerged, operating in both image space[3][4] or frequency space,[5][6] with distinct trade-offs in both quality of subtraction and computational cost. These algorithms lie at the heart of almost all modern (and upcoming) transient surveys,[7][8] and can enable the detection of even faint supernovae embedded in bright galaxies. Nevertheless, in astronomical imaging, significant 'residuals' remain around bright, complex sources, necessitating further algorithmic steps to identify candidates (known as real-bogus classification)
The Hutchinson metric can be used to "measure of the discrepancy between two images for use in fractal image processing".[9][10]
See also
edit- Blink comparator
- Difference matte
- Image stabilization
- Dark frame subtraction – where a neutral "blank" frame is subtracted to reduce noise
- Blink comparator
- Palomar Transient Factory – a wide-field survey that uses image subtraction
References
edit- ^ HIPR2 homepage at The University of Edinburgh School of Informatics
- ^ Image Subtraction Procedure for Faint Asteroids by Bruce Gary
- ^ Alard, C.; Lupton, R. H. (1998-08-10). "A method for optimal image subtraction". The Astrophysical Journal. 503 (1): 325–331. arXiv:astro-ph/9712287. Bibcode:1998ApJ...503..325A. doi:10.1086/305984. ISSN 0004-637X. S2CID 15582577.
- ^ Bramich, D. M. (May 2008). "A New Algorithm For Difference Image Analysis". Monthly Notices of the Royal Astronomical Society: Letters. 386 (1): L77–L81. arXiv:0802.1273. Bibcode:2008MNRAS.386L..77B. doi:10.1111/j.1745-3933.2008.00464.x. ISSN 1745-3925. S2CID 14178876.
- ^ Zackay, Barak; Ofek, Eran O.; Gal-Yam, Avishay (2016-10-04). "Proper image subtraction - optimal transient detection, photometry and hypothesis testing". The Astrophysical Journal. 830 (1): 27. arXiv:1601.02655. Bibcode:2016ApJ...830...27Z. doi:10.3847/0004-637X/830/1/27. ISSN 1538-4357.
- ^ Hu, Lei; Wang, Lifan; Chen, Xingzhuo; Yang, Jiawen (2022-09-01). "Image Subtraction in Fourier Space". The Astrophysical Journal. 936 (2): 157. arXiv:2109.09334. Bibcode:2022ApJ...936..157H. doi:10.3847/1538-4357/ac7394. ISSN 0004-637X.
- ^ Kessler, R.; Marriner, J.; Childress, M.; Covarrubias, R.; D’Andrea, C. B.; Finley, D. A.; Fischer, J.; Foley, R. J.; Goldstein, D.; Gupta, R. R.; Kuehn, K.; Marcha, M.; Nichol, R. C.; Papadopoulos, A.; Sako, M. (2015-11-06). "The Difference Imaging Pipeline for the Transient Search in the Dark Energy Survey". The Astronomical Journal. 150 (6): 172. arXiv:1507.05137. Bibcode:2015AJ....150..172K. doi:10.1088/0004-6256/150/6/172. ISSN 1538-3881. S2CID 18310701.
- ^ Masci, Frank J.; Laher, Russ R.; Rusholme, Ben; Shupe, David L.; Groom, Steven; Surace, Jason; Jackson, Edward; Monkewitz, Serge; Beck, Ron; Flynn, David; Terek, Scott; Landry, Walter; Hacopians, Eugean; Desai, Vandana; Howell, Justin (2018-12-07). "The Zwicky Transient Facility: Data Processing, Products, and Archive". Publications of the Astronomical Society of the Pacific. 131 (995): 018003. arXiv:1902.01872. doi:10.1088/1538-3873/aae8ac. ISSN 0004-6280. S2CID 119079815.
- ^ Efficient computation of the Hutchinson metric between digitized images abstract
- ^ HUTCHINSON METRIC IN FRACTAL DNA ANALYSIS -- A NEURAL NETWORK APPROACH Archived August 18, 2011, at the Wayback Machine
External links
edit- Sussex Computer Vision webpage: Use of motion information in computer vision