Changeset 5536
- Timestamp:
- Nov 17, 2005, 2:26:19 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r5525 r5536 1 %%% $Id: psLibSDRS.tex,v 1.35 5 2005-11-16 21:34:48price Exp $1 %%% $Id: psLibSDRS.tex,v 1.356 2005-11-18 00:26:19 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 5269 5269 \begin{prototype} 5270 5270 psImage *psImageTransform(psImage *output, 5271 ps Array**blankPixels,5271 psPixels **blankPixels, 5272 5272 const psImage *input, 5273 5273 const psImage *inputMask, … … 5287 5287 If the \code{inputMask} is non-\code{NULL}, those pixels in the 5288 5288 \code{inputMask} matching \code{inputMaskVal} are to be ignored in the 5289 transformation. The \code{inputMask} must be of type \code{psMaskType}, and5290 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 i n the output image --- note that this is the reverse of what might be5294 naively expected, but it is what is required in order to use 5295 \code{psImagePixelInterpolate}. If the \code{pixels} array is5289 transformation. The \code{inputMask} must be of type 5290 \code{psMaskType}, and of the same size as the \code{input}, otherwise 5291 the function shall generate an error and return \code{NULL}. The 5292 transformation \code{outToIn} specifies the coordinates in the input 5293 image of a pixel in the output image --- note that this is the reverse 5294 of what might be naively expected, but it is what is required in order 5295 to use \code{psImagePixelInterpolate}. If the \code{pixels} array is 5296 5296 non-\code{NULL}, it shall consist of \code{psPixelCoord}s, and only 5297 5297 those pixels in the output image shall be transformed; otherwise, the … … 5301 5301 appropriate pixels in the input image are masked), the value shall be 5302 5302 set 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}. 5303 pixels, \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 5306 of handling the following types for the \code{input} (with 5307 corresponding types for the \code{output}): \code{psF32}, 5308 \code{psF64}. 5307 5309 5308 5310
Note:
See TracChangeset
for help on using the changeset viewer.
