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.c

    r3446 r3476  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-03-18 02:35:14 $
     12 *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-03-22 21:52:49 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2727#include "psConstants.h"
    2828#include "psImageErrors.h"
     29#include "psCoord.h"
    2930
    3031psS32 psImageClip(psImage* input,
     
    10341035    break;
    10351036
    1036 
    10371037    switch (mode) {
    10381038        PSIMAGE_SHIFT_ARBITRARY_CASE(FLAT);
     
    10491049    return out;
    10501050}
     1051
     1052
     1053// XXX: implementation is awaiting working psPlaneTransform functions like
     1054// invert.  Also, the next SDRS should have a different signature.
     1055psImage* psImageTransform(psImage *output,
     1056                          const psImage *input,
     1057                          const psImage *inputMask,
     1058                          int inputMaskVal,
     1059                          const psPlaneTransform *outToIn,
     1060                          const psImage *combineMask,
     1061                          int combineMaskVal)
     1062{
     1063    if (input == NULL) {
     1064        psError(PS_ERR_BAD_PARAMETER_NULL, true,
     1065                PS_ERRORTEXT_psImage_IMAGE_NULL);
     1066        return NULL;
     1067    }
     1068
     1069    if (outToIn == NULL) {
     1070        psError(PS_ERR_BAD_PARAMETER_NULL, true,
     1071                PS_ERRORTEXT_psImageManip_TRANSFORM_NULL);
     1072        return NULL;
     1073    }
     1074
     1075    // find the input image domain in the output image
     1076
     1077    // loop through the output image using the domain above and transform
     1078    // each output pixel to input coordinates and use psImagePixelInterpolate
     1079    // to determine the pixel value.
     1080
     1081
     1082    return NULL;
     1083}
Note: See TracChangeset for help on using the changeset viewer.