diff options
Diffstat (limited to 'noao/imred/quadred/src/quad/qstatistics.cl')
-rw-r--r-- | noao/imred/quadred/src/quad/qstatistics.cl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noao/imred/quadred/src/quad/qstatistics.cl b/noao/imred/quadred/src/quad/qstatistics.cl new file mode 100644 index 00000000..a20f373f --- /dev/null +++ b/noao/imred/quadred/src/quad/qstatistics.cl @@ -0,0 +1,19 @@ +procedure qstatistics (images) + +begin + string tmp + + tmp = mktemp ("uparm$tmp") + + #quadsections (image, window=window, section="", template="", + #xskip1=INDEF, xskip2=INDEF, xtrim1=INDEF, xtrim2=INDEF, ytrim1=INDEF, + #ytrim2=INDEF, >> tmp) + quadsections (image, window=window, section="", template="", >> tmp) + + # Calculate image statistics + imstatistics ("@"//tmp, fields=fields, lower=lower, upper=upper, + binwidth=binwidth, format=format) + + + delete (tmp, ver-) +end |