IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 27, 2006, 2:49:31 PM (20 years ago)
Author:
Paul Price
Message:

Adding psStatsSingleOption and psStatsGetValue --- already coded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r7991 r8000  
    1 %%% $Id: psLibSDRS.tex,v 1.424 2006-07-27 03:52:15 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.425 2006-07-28 00:49:31 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    48104810\code{psStatsToString} shall translate in the reverse direction.
    48114811
     4812Since the statistics functions are often used with only a single
     4813statistic desired (e.g., in image combination, where the output pixel
     4814is a statistic value), we provide functions to assist with this:
     4815\begin{prototype}
     4816psStatsOptions psStatsSingleOption(psStatsOptions option);
     4817double psStatsGetValue(const psStats *stats, psStatsOptions option);
     4818\end{prototype}
     4819\code{psStatsSingleOption} shall return the single statistics option
     4820that is set in the input \code{option}, or zero in the event that
     4821multiple or no options are set.  \code{psStatsGetValue} shall return
     4822the value of the particular statistic in the \code{stats} structure
     4823that corresponds to the supplied single statistics \code{option}; the
     4824function shall return \code{NAN} in the event of an error.
     4825
    48124826\begin{prototype}
    48134827long psVectorCountPixelMask (psVector *mask, psMaskType value);
Note: See TracChangeset for help on using the changeset viewer.