IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 22, 2005, 11:52:49 AM (21 years ago)
Author:
desonia
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImageManip.h

    r3264 r3476  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-02-17 19:26:24 $
     13 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-03-22 21:52:49 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2020
    2121#include "psImage.h"
     22#include "psCoord.h"
    2223
    2324/// @addtogroup Image
     
    180181);
    181182
     183/** Transform the input image according the supplied transformation.
     184 *
     185 *  Transform the input image according the supplied transformation. In the
     186 *  event that the output is NULL, the smallest possible image capable of
     187 *  containing the entire transformed input image is to be returned; otherwise
     188 *  only the image size specified in the output image is to be used. If the
     189 *  inputMask is not NULL, those pixels in the inputMask matching inputMaskVal
     190 *  are to be ignored in the transformation. The inputMask must be of type
     191 *  psU8, and of the same size as the input, otherwise the function shall
     192 *  generate an error and return NULL. The transformation outToIn specifies
     193 *  the coordinates in the input image of a pixel in the output image - note
     194 *  that this is the reverse of what might be naively expected, but it is what
     195 *  is required in order to use psImagePixelInterpolate. If combineMask is not
     196 *  NULL, then those pixels that match combineMaskVal are not transformed.
     197 *  combineMask must be of type psU8 and of the same size as the output,
     198 *  otherwise the function shall generate an error and return NULL. This
     199 *  function must be capable of handling the following types for the input
     200 *  (with corresponding types for the output): psF32, psF64.
     201 *
     202 *  @return psImage*    The transformed image.
     203 */
     204psImage* psImageTransform(
     205    psImage *output,                   ///< psImage to recycle, or NULL
     206    const psImage *input,              ///< psImage to apply transform to
     207    const psImage *inputMask,          ///< if not NULL, mask of input psImage
     208    int inputMaskVal,                  ///< masking value for inputMask
     209    const psPlaneTransform *outToIn,   ///< the transform to apply
     210    const psImage *combineMask,        ///< if not NULL, mask of pixels not to be transformed
     211    int combineMaskVal                 ///< masking value for combineMask
     212);
     213
    182214#endif
Note: See TracChangeset for help on using the changeset viewer.