mDiff1
Calculates the difference between a pair of overlapping images
Usage
mDiff [-d
level]
[-n(o-areas)]
[-s
statusfile]
in1.fits
in2.fits
out.fits
template.hdr
Overview
mDiff calculates a simple difference between a single pair of overlapping images. This is meant for use on reprojected images where the pixels already line up exactly. mDiff analyzes an image metadata table to determine a list of overlapping images. Each image is compared with every other image to determine all overlapping image pairs. A pair of images are deemed to overlap if any pixel around the perimeter of one image falls within the boundary of the other image.
Options
-
-d level -
Turns on debugging to the specified level (1-4).
-
-n -
No-area-images flag. Creates difference image without requiring pixel area FITS image
-
-z factor -
Scale second image by factor before subtracting.
-
-s statusfile -
Output and errors are sent to statusfile instead of to stdout
Arguments
in1.fits
|
First input FITS file. (Also needs area image |
|---|---|
in2.fits
|
Second input FITS file.(Also needs area image |
out.fits
|
Difference FITS image to be generated. |
template.hdr
|
FITS header template used to generate output image. |
Result
FITS image and area image representing the difference in the overlap region.
Messages
OK
|
[struct stat="OK"] |
|---|---|
ERROR
|
Cannot open status file: statusfile |
ERROR
|
Images don't overlap |
ERROR
|
All pixels are blank |
ERROR
|
Template file not found |
ERROR
|
FITS library error |
ERROR
|
general error |
Examples
- $ mDiff proj/in1.fits proj/in2.fits output/diff.fits template.hdr
-
[struct stat="OK"]
Releases
5 releases since Debian 9 (Stretch); the text changed 1 time.
-z since Debian 10 (Buster).