A FITS Image Reader for Mathematica
Author
Roberto G. Abraham
Title
A FITS Image Reader for Mathematica
Description
The vast majority of professional astronomical images are distributed in FITS (Flexible Image Transport System) format, as opposed to more common image formats such as GIF or JPEG. Mathematica cannot directly handle FITS images with the Import[] function. I have therefore written a package which allows FITS data to be read into Mathematica. This package uses MathLink to call the publicly available NASA CFITSIO library.This package has been tested using Mathematica v.4.0
Category
Academic Articles & Supplements
Keywords
URL
http://www.notebookarchive.org/2018-10-10q8ov8/
DOI
https://notebookarchive.org/2018-10-10q8ov8
Date Added
2018-10-02
Date Last Modified
2018-10-02
File Size
0.88 megabytes
Supplements
Rights
Redistribution rights reserved
This notebook has not been updated since 2002. 
Reading FITS images into Mathematica
Reading FITS images into Mathematica
Roberto G. Abraham
Institute of Astronomy
University of Cambridge
Madingley Road, Cambridge
CB3 OHA United Kingdom
University of Cambridge
Madingley Road, Cambridge
CB3 OHA United Kingdom
Practical image processing now seems possible with Version 4 of Mathematica (which now includes packed arrays, and has vastly improved numerical performance and storage characteristics). At least one commercial quality software add-on package for image processing in Mathematica will soon become available. Mathematica may well prove useful for analysing astronomical CCD data. However the vast majority of professional astronomical images are distributed in FITS (Flexible Image Transport System) format, as opposed to more common image formats such as GIF or JPEG. Mathematica cannot directly handle FITS images with the Import[] function. I have therefore written a package which allows FITS data to be read into Mathematica. This package uses MathLink to call the publicly available NASA CFITSIO library.
Instructions
An example
An example
Appendix I: MathLink source code
Appendix I: MathLink source code
Appendix II: Useful FITS links
Appendix II: Useful FITS links
Appendix III: Tips for image processing in Mathematica
Appendix III: Tips for image processing in Mathematica
Cite this as: Roberto G. Abraham, "A FITS Image Reader for Mathematica" from the Notebook Archive (2002), https://notebookarchive.org/2018-10-10q8ov8
Download
