diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /noao/imred/crutil/src/crfix.cl | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'noao/imred/crutil/src/crfix.cl')
-rw-r--r-- | noao/imred/crutil/src/crfix.cl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/noao/imred/crutil/src/crfix.cl b/noao/imred/crutil/src/crfix.cl new file mode 100644 index 00000000..68947c7a --- /dev/null +++ b/noao/imred/crutil/src/crfix.cl @@ -0,0 +1,20 @@ +# CRFIX -- Replace cosmic rays in an image using a cosmic ray mask. + +procedure crfix (input, output, crmask) + +file input {prompt="Input image"} +file output {prompt="Output image"} +file crmask {prompt="Cosmic ray mask"} + +begin + file in, out, crm + + in = input + out = output + crm = crmask + + if (in != out) + imcopy (in, out, verbose=no) + fixpix (out, crm, linterp="INDEF", cinterp="INDEF", verbose=no, + pixels=no) +end |