Changeset 2649
- Timestamp:
- Dec 7, 2004, 11:29:43 AM (22 years ago)
- Location:
- trunk/doc/modules
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
ModulesSDRS.tex (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/ChangeLogSDRS.tex
r2601 r2649 1 %%% $Id: ChangeLogSDRS.tex,v 1. 8 2004-12-02 22:21:15price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.9 2004-12-07 21:29:38 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 33 33 \begin{itemize} 34 34 \item Fixed up specification of \code{fitSpec} for \code{pmSubtractSky}. 35 \item Added a \code{mask} to \code{pmSubtractSky}, and specified that binned pixels which are clipped may be interpolated over, or simply ignored. 35 36 \end{itemize} -
trunk/doc/modules/ModulesSDRS.tex
r2638 r2649 1 %%% $Id: ModulesSDRS.tex,v 1.2 4 2004-12-06 20:13:57price Exp $1 %%% $Id: ModulesSDRS.tex,v 1.25 2004-12-07 21:29:43 price Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 870 870 the following: 871 871 \begin{verbatim} 872 psReadout *pmSubtractSky(psReadout *in, psPolynomial2D *poly, int binFactor,873 psStats *stats, float clipSD);872 psReadout *pmSubtractSky(psReadout *in, psPolynomial2D *poly, psImage *mask, psU8 maskVal, 873 int binFactor, psStats *stats, float clipSD); 874 874 \end{verbatim} 875 875 … … 886 886 When fitting the polynomial, the function shall first bin the input 887 887 image by \code{binFactor} in order to reduce the required processing 888 time. The statistic to use in this binning is specified by 889 \code{stat}. \code{stat} is of type \code{psStats} instead of simply 890 \code{psStatsOptions} so that clipping levels may be specified, if 891 desired. In the event that multiple options are specified by 892 \code{stats}, a warning shall be generated, and the option with the 893 highest priority shall be used, according to the following priority 894 order: \code{PS_STAT_SAMPLE_MEAN}, \code{PS_STAT_SAMPLE_MEDIAN}, 895 \code{PS_STAT_CLIPPED_MEAN}, \code{PS_STAT_ROBUST_MEAN},\ 896 \code{PS_STAT_ROBUST_MEDIAN}, \code{PS_STAT_ROBUST_MODE}. If the 897 \code{binFactor} is non-positive, or \code{stats} is \code{NULL} or 898 fails to specify an option, a warning shall be generated, and the fit 899 shall be performed on the entire image. 888 time. In the binning, pixels in the \code{mask} (if non-\code{NULL}) 889 which satisfy the \code{maskVal} shall be excluded. The statistic to 890 use in this binning is specified by \code{stat}. \code{stat} is of 891 type \code{psStats} instead of simply \code{psStatsOptions} so that 892 clipping levels may be specified, if desired. In the event that 893 multiple options are specified by \code{stats}, a warning shall be 894 generated, and the option with the highest priority shall be used, 895 according to the following priority order: \code{PS_STAT_SAMPLE_MEAN}, 896 \code{PS_STAT_SAMPLE_MEDIAN}, \code{PS_STAT_CLIPPED_MEAN}, 897 \code{PS_STAT_ROBUST_MEAN}, \code{PS_STAT_ROBUST_MEDIAN}, 898 \code{PS_STAT_ROBUST_MODE}. If the \code{binFactor} is non-positive, 899 or \code{stats} is \code{NULL} or fails to specify an option, a 900 warning shall be generated, and the fit shall be performed on the 901 entire image. 900 902 901 903 Binned pixels deviating more than \code{clipSD} standard deviations 902 904 from the mean of the binned pixels shall be clipped in a single 903 clipping iteration before polynomial fitting. If the \code{clipSD} is 904 non-positive, then the function shall generate a warning and not 905 perform any clipping. 906 905 clipping iteration before polynomial fitting. These pixels may be 906 interpolated over, or may be simply ignored in the fitting, according 907 to the choice of algorithm. If the \code{clipSD} is non-positive, 908 then the function shall generate a warning and not perform any 909 clipping. 910 911 The \code{mask} shall be of type \code{psU8}, and the input image, 912 \code{in}, shall be of type \code{psF32}. 907 913 908 914 \section{Calibration}
Note:
See TracChangeset
for help on using the changeset viewer.
