Image Processing in Python with Montage
- Creators
- Good, John
-
Berriman, G. Bruce
Abstract
The Montage image mosaic engine has found wide applicability in astronomy research, integration into processing environments, and is an examplar application for the development of advanced cyber-infrastructure. It is written in C to provide performance and portability. Linking C/C++ libraries to the Python kernel at run time as binary extensions allows them to run under Python at compiled speeds and enables users to take advantage of all the functionality in Python. We have built Python binary extensions of the 59 ANSI-C modules that make up version 5 of the Montage toolkit. This has involved a turning the code into a C library, with driver code fully separated to reproduce the calling sequence of the command-line tools; and then adding Python and C linkage code with the Cython library, which acts as a bridge between general C libraries and the Python interface. We will demonstrate how to use these Python binary extensions to perform image processing, including reprojecting and resampling images, rectifying background emission to a common level, creation of image mosaics that preserve the calibration and astrometric fidelity of the input images, creating visualizations with an adaptive stretch algorithm, processing HEALPix images, and analyzing and managing image metadata.
Additional Information
© 2019 Astronomical Society of the Pacific. Montage is funded by the National Science Foundation under Grant Numbers ACI-1440620 and ACI-1642453, and was previously funded by the National Aeronautics and Space Administration's Earth Science Technology Office, Computation Technologies Project, under Cooperative Agreement Number NCC5-626 between NASA and the California Institute of Technology.Attached Files
Published - 523-0685.pdf
Files
Name | Size | Download all |
---|---|---|
md5:1366ec3bf65ccbe19b61fb2c217cbe3e
|
217.3 kB | Preview Download |
Additional details
- Eprint ID
- 100133
- Resolver ID
- CaltechAUTHORS:20191202-092823229
- NSF
- ACI-1440620
- NSF
- ACI-1642453
- NASA
- NCC5-626
- Created
-
2019-12-02Created from EPrint's datestamp field
- Updated
-
2019-12-02Created from EPrint's last_modified field
- Caltech groups
- Infrared Processing and Analysis Center (IPAC)
- Series Name
- Astronomical Society of the Pacific Conference Series
- Series Volume or Issue Number
- 523