IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2005, 2:57:14 PM (20 years ago)
Author:
Paul Price
Message:

Importing from PAP cvs tree again. This will now be the working tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/stacTransform.c

    r3669 r5743  
    130130        for (int i = 0; i < nImages; i++) {
    131131            (*outputs)->data[i] = psImageAlloc(outnx, outny, PS_TYPE_F32);
     132            psImageInit((*outputs)->data[i], 0.0);
    132133        }
    133134    }
     
    200201                    // Change PS_INTERPOLATE_BILINEAR to best available technique.
    201202                    outImage->data.F32[y][x] = (psF32)psImagePixelInterpolate(image, detector->x,
    202                                                                               detector->y, mask, 1, 0.0,
     203                                                                              detector->y, mask, 1, NAN,
    203204                                                                              PS_INTERPOLATE_BILINEAR);
    204205                    if (error) {
     
    207208                                                                                                detector->x,
    208209                                                                                                detector->y,
    209                                                                                                 mask, 1, 0.0);
     210                                                                                                mask, 1, NAN);
    210211                    }
    211212
Note: See TracChangeset for help on using the changeset viewer.