IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5536


Ignore:
Timestamp:
Nov 17, 2005, 2:26:19 PM (21 years ago)
Author:
Paul Price
Message:

Altered psImageTransform to use psPixels instead of psArray for
blankPixels.

File:
1 edited

Legend:

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

    r5525 r5536  
    1 %%% $Id: psLibSDRS.tex,v 1.355 2005-11-16 21:34:48 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.356 2005-11-18 00:26:19 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    52695269\begin{prototype}
    52705270psImage *psImageTransform(psImage *output,
    5271                           psArray **blankPixels,
     5271                          psPixels **blankPixels,
    52725272                          const psImage *input,
    52735273                          const psImage *inputMask,
     
    52875287If the \code{inputMask} is non-\code{NULL}, those pixels in the
    52885288\code{inputMask} matching \code{inputMaskVal} are to be ignored in the
    5289 transformation.  The \code{inputMask} must be of type \code{psMaskType}, and
    5290 of the same size as the \code{input}, otherwise the function shall
    5291 generate an error and return \code{NULL}.  The transformation
    5292 \code{outToIn} specifies the coordinates in the input image of a pixel
    5293 in the output image --- note that this is the reverse of what might be
    5294 naively expected, but it is what is required in order to use
    5295 \code{psImagePixelInterpolate}.  If the \code{pixels} array is
     5289transformation.  The \code{inputMask} must be of type
     5290\code{psMaskType}, and of the same size as the \code{input}, otherwise
     5291the function shall generate an error and return \code{NULL}.  The
     5292transformation \code{outToIn} specifies the coordinates in the input
     5293image of a pixel in the output image --- note that this is the reverse
     5294of what might be naively expected, but it is what is required in order
     5295to use \code{psImagePixelInterpolate}.  If the \code{pixels} array is
    52965296non-\code{NULL}, it shall consist of \code{psPixelCoord}s, and only
    52975297those pixels in the output image shall be transformed; otherwise, the
     
    53015301appropriate pixels in the input image are masked), the value shall be
    53025302set to \code{exposed}, and the pixel added to the appropriate list of
    5303 pixels (\code{psPixels}) in the array of \code{blankPixels} for return
    5304 to the user.  This function must be capable of handling the following
    5305 types for the \code{input} (with corresponding types for the
    5306 \code{output}): \code{psF32}, \code{psF64}.
     5303pixels, \code{blankPixels} (which shall be allocated if
     5304\code{blankPixels} is \code{non-NULL} and \code{*blankPixels} is
     5305\code{NULL}), for return to the user.  This function must be capable
     5306of handling the following types for the \code{input} (with
     5307corresponding types for the \code{output}): \code{psF32},
     5308\code{psF64}.
    53075309
    53085310
Note: See TracChangeset for help on using the changeset viewer.