Changeset 3734 for trunk/doc/modules/ModulesSDRS.tex
- Timestamp:
- Apr 20, 2005, 5:30:12 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/modules/ModulesSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/ModulesSDRS.tex
r3427 r3734 1 %%% $Id: ModulesSDRS.tex,v 1.3 5 2005-03-15 23:19:36price Exp $1 %%% $Id: ModulesSDRS.tex,v 1.36 2005-04-21 03:30:12 price Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 1635 1635 \end{enumerate} 1636 1636 1637 The function shall return an array of \code{psPixels}, one for each of 1638 the input \code{images}, containing pixels that have been identified 1639 as cosmic rays according to the above criteria. 1637 The function shall return a \code{psArray} of \code{psArray}s of 1638 \code{psPixelCoord}, one \code{psArray} for each of the input 1639 \code{images}, containing pixels that have been identified as cosmic 1640 rays according to the above criteria. 1640 1641 1641 1642 If any of the input pointers are \code{NULL}, then the function shall … … 1669 1670 1670 1671 for (int i = 0; i < nImages; i++) { 1671 ps Pixels*blanks = NULL; // List of blank pixels1672 psArray *blanks = NULL; // List of blank pixels 1672 1673 transformed->data[i] = psImageTransform(NULL, &blanks, inputs->data[i], 1673 1674 inputMask->data[i], inputMaskVal, NAN, skyToDetector, … … 1690 1691 NULL, numIter, sigmaClip, combineStats); // Combined image 1691 1692 psArray *bad = pmRejectPixels(inputs, rejected, NULL, skyToDetector, rejThreshold, gradLimit); // Bad pix 1692 ps Pixels*combinePixels = NULL; // Pixels to combine1693 psArray *combinePixels = NULL; // Pixels to combine 1693 1694 for (int i = 0; i < nImages; i++) { 1694 ps Pixels*badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input1695 psArray *badSource = psPixelsTransform(NULL, bad->data[i], skyToDetector); // Bad pixels on the input 1695 1696 psImage *badMask = psPixelsToMask(NULL, badSource, PS_MASK_COSMICRAY); // Mask image for the input 1696 1697 (void)psBinaryOp(inputMask->data[i], inputMask->data[i], "|", badMask); // Put CRs into original mask
Note:
See TracChangeset
for help on using the changeset viewer.
