IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2004, 3:05:53 PM (22 years ago)
Author:
desonia
Message:

doxygen comments added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageStats.h

    r1441 r1442  
    1 
    21/** @file psImageStats.h
    32*  \brief Routines for calculating statistics on images.
     
    109*  @author George Gusciora, MHPCC
    1110*
    12 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-08-09 23:40:55 $
     11*  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2004-08-10 01:05:53 $
    1413*
    1514*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2726/// @{
    2827
    29 /// This routine must determine the various statistics for the image.
    30 psStats* psImageStats(psStats* stats,  ///< defines statistics to be calculated
    31                       psImage* in,     ///< image (or subimage) to calculate stats
    32                       psImage* mask,   ///< mask data for image (NULL ok)
    33                       int maskVal);     ///< mask Mask for mask
     28/** This routine must determine the various statistics for the image.
     29 *
     30 *  Determine statistics for image (or subimage). The statistics to be
     31 *  determined are specified by stats. The mask allows pixels to be excluded
     32 *  if their corresponding mask pixel value matches the value of maskVal.
     33 *  This function must be defined for the following types: psS8, psU16, psF32,
     34 *  psF64.
     35 *
     36 *  @return psStats*    the resulting statistics result(s)
     37 */
     38psStats* psImageStats(
     39    psStats* stats,                    ///< defines statistics to be calculated
     40    psImage* in,                       ///< image (or subimage) to calculate stats
     41    psImage* mask,                     ///< mask data for image (NULL ok)
     42    int maskVal                        ///< mask Mask for mask
     43);
    3444
    35 psHistogram* psImageHistogram(psHistogram* out,        ///< input histogram description & target
    36                               psImage* in,     ///< Image data to be histogramed.
    37                               psImage* mask,   ///< mask data for image (NULL ok)
    38                               unsigned int maskVal);    ///< mask Mask for mask
     45/** Construct a histogram from an image (or subimage).
     46 *
     47 *  The histogram to generate is specified by psHistogram hist (see section
     48 *  4.3.2 in SDRS). This function must be defined for the following types:
     49 *  psS8, psU16, psF32, psF64.
     50 *
     51 *  @return psHistogram*     the resulting histogram
     52 */
     53psHistogram* psImageHistogram(
     54    psHistogram* out,                  ///< input histogram description & target
     55    psImage* in,                       ///< Image data to be histogramed.
     56    psImage* mask,                     ///< mask data for image (NULL ok)
     57    unsigned int maskVal               ///< mask Mask for mask
     58);
    3959
    40 /// Fit a 2-D polynomial surface to an image.
    41 psPolynomial2D* psImageFitPolynomial(const psImage* input,     ///< image to fit
    42                                      psPolynomial2D* coeffs    ///< coefficient structure carries in
    43                                      // desired terms & target
    44                                     );
     60/** Fit a 2-D polynomial surface to an image.
     61 *
     62 *  The input structure coeffs contains the desired order and terms of
     63 *  interest. This function must be defined for the following types: psS8,
     64 *  psU16, psF32, psF64.
     65 *
     66 *  @return psPolynomial2D*     fitted polynomial result
     67 *
     68 */
     69psPolynomial2D* psImageFitPolynomial(
     70    const psImage* input,              ///< image to fit
     71    psPolynomial2D* coeffs             ///< coefficient structure carries in desired terms & target
     72);
    4573
    46 /// Evaluate a 2-D polynomial surface to image pixels.
    47 int psImageEvalPolynomial(const psImage* input,        ///< image to fit
    48                           const psPolynomial2D* coeffs ///< coefficient structure carries in desired terms
    49                          );
     74/** Evaluate a 2-D polynomial surface for the image pixels.
     75 *
     76 *  Given the input polynomial coefficients, set the image pixel values on the
     77 *  basis of the polynomial function. This function must be defined for the
     78 *  following types: psS8, psU16, psF32, psF64.
     79 *
     80 *  @return psImage*    the resulting image
     81 */
     82int psImageEvalPolynomial(
     83    const psImage* input,              ///< input image
     84    const psPolynomial2D* coeffs       ///< coefficient structure carries in desired terms
     85);
    5086
    5187/// @}
Note: See TracChangeset for help on using the changeset viewer.