IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2016, 1:14:28 PM (10 years ago)
Author:
eugene
Message:

bump the order for the inverse transform fromTPA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20160809/psModules/src/astrom/pmAstrometryWCS.c

    r39697 r39754  
    691691    // the region defines the FPA pixels covered by the tranformation
    692692    psFree (fpa->fromTPA);
    693     fpa->fromTPA = psPlaneTransformInvert(NULL, fpa->toTPA, region, 50);
     693    psPlaneTransform *myPT = psPlaneTransformAlloc(fpa->toTPA->x->nX+4, fpa->toTPA->x->nY+4);
     694    fpa->fromTPA = psPlaneTransformInvert(myPT, fpa->toTPA, region, 50);
     695    psFree (myPT);
    694696    return true;
    695697}
Note: See TracChangeset for help on using the changeset viewer.