- Timestamp:
- Sep 25, 2016, 6:47:47 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/psastro/src/psastroMosaicAstrom.c
r39699 r39724 280 280 281 281 // psPlaneTransformInvert will generate a new fromTPA with order to match toTPA 282 fpa->fromTPA = psPlaneTransformInvert (fpa->fromTPA, fpa->toTPA, fitRegion, 100); 282 psFree (fpa->fromTPA); 283 psPlaneTransform *myPT = psPlaneTransformAlloc(fpa->toTPA->x->nX+4, fpa->toTPA->x->nY+4); 284 285 fpa->fromTPA = psPlaneTransformInvert (myPT, fpa->toTPA, fitRegion, 100); 286 psFree (myPT); 283 287 284 288 psFree (fpa->toSky); … … 291 295 292 296 psFree (view); 297 298 if (!psastroMosaicSetAstrom (fpa)) { 299 psError(PSASTRO_ERR_UNKNOWN, false, "failed to apply mosaic distortion terms\n"); 300 return false; 301 } 302 293 303 return true; 294 304 }
Note:
See TracChangeset
for help on using the changeset viewer.
