IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 17, 2005, 5:15:04 PM (22 years ago)
Author:
desonia
Message:

Added tests for psFitsReadImage & psFitsWriteImage. Also re-enabled
some 'not a requirement' code to support a superset of the required
datatype for various functions.

File:
1 edited

Legend:

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

    r2861 r3028  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-01-03 22:02:35 $
     12 *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-01-18 03:15:03 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    114114        psImageClipCase(S8)
    115115        psImageClipCase(S16)
    116         psImageClipCase(S32)                   // Not a requirement
    117         //        psImageClipCase(S64)            Not a requirement
     116        psImageClipCase(S32)            // Not a requirement
     117        psImageClipCase(S64)            // Not a requirement
    118118        psImageClipCase(U8)
    119119        psImageClipCase(U16)
    120         //        psImageClipCase(U32)            Not a requirement
    121         //        psImageClipCase(U64)            Not a requirement
     120        psImageClipCase(U32)            // Not a requirement
     121        psImageClipCase(U64)            // Not a requirement
    122122        psImageClipCase(F32)
    123123        psImageClipCase(F64)
     
    504504        //        PS_IMAGE_REBIN_CASE(U8);       Not valid since psVectorStats doesn't allow
    505505        PS_IMAGE_REBIN_CASE(U16);
    506         //        PS_IMAGE_REBIN_CASE(U32);      Not a requirement
    507         //        PS_IMAGE_REBIN_CASE(U64);      Not a requirement
     506        PS_IMAGE_REBIN_CASE(U32);      // Not a requirement
     507        PS_IMAGE_REBIN_CASE(U64);      // Not a requirement
    508508        PS_IMAGE_REBIN_CASE(S8);
    509509        //        PS_IMAGE_REBIN_CASE(S16);      Not valid since psVectorStats doesn't allow
    510         //        PS_IMAGE_REBIN_CASE(S32);      Not a requirement
    511         //        PS_IMAGE_REBIN_CASE(S64);      Not a requirement
     510        PS_IMAGE_REBIN_CASE(S32);      // Not a requirement
     511        PS_IMAGE_REBIN_CASE(S64);      // Not a requirement
    512512        PS_IMAGE_REBIN_CASE(F32);
    513513        PS_IMAGE_REBIN_CASE(F64);
     
    10101010        PSIMAGE_SHIFT_CASE(MODE,U8);  \
    10111011        PSIMAGE_SHIFT_CASE(MODE,U16); \
    1012         /*        PSIMAGE_SHIFT_CASE(MODE,U32);    Not a requirement */ \
    1013         /*        PSIMAGE_SHIFT_CASE(MODE,U64);    Not a requirement */ \
     1012        PSIMAGE_SHIFT_CASE(MODE,U32);     /* Not a requirement */ \
     1013        PSIMAGE_SHIFT_CASE(MODE,U64);     /* Not a requirement */ \
    10141014        PSIMAGE_SHIFT_CASE(MODE,S8);  \
    10151015        PSIMAGE_SHIFT_CASE(MODE,S16); \
    1016         /*        PSIMAGE_SHIFT_CASE(MODE,S32);    Not a requirement */ \
    1017         /*        PSIMAGE_SHIFT_CASE(MODE,S64);    Not a requirement */ \
     1016        PSIMAGE_SHIFT_CASE(MODE,S32);    /* Not a requirement */ \
     1017        PSIMAGE_SHIFT_CASE(MODE,S64);    /* Not a requirement */ \
    10181018        PSIMAGE_SHIFT_CASE(MODE,F32); \
    10191019        PSIMAGE_SHIFT_CASE(MODE,F64); \
Note: See TracChangeset for help on using the changeset viewer.