Extracts the original FITS header from the Properties object of the ImagePlus image (or from the current slice label in the case of an ImageStack) and returns it as an array of String objects representing each card. Taken from the ImageJ astroj package (www.astro.physik.uni-goettingen.de/~hessman/I
(ImagePlus img)
| 654 | * @param img The ImagePlus image which has the FITS header in it's "Info" property. |
| 655 | */ |
| 656 | public static String[] getHeader(ImagePlus img) { |
| 657 | return getHeader(img, img.getCurrentSlice()); |
| 658 | } |
| 659 | |
| 660 | /** |
| 661 | * Extracts the original FITS header from the Properties object of the |
no test coverage detected