Changeset 33399
- Timestamp:
- Mar 4, 2012, 6:28:02 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20111122/Ohana/src/relphot/src
- Files:
-
- 3 edited
-
ImageOps.c (modified) (3 diffs)
-
MosaicOps.c (modified) (2 diffs)
-
select_images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/relphot/src/ImageOps.c
r33394 r33399 338 338 339 339 if (image[i].flags & IMAGE_BAD) return (1000); 340 distance = image[i]. dummy3; // XXX dummy3 == ubercalDist340 distance = image[i].ubercalDist; // was dummy3 in structure 341 341 return (distance); 342 342 } … … 413 413 // we optionally do not recalibrate images with UBERCAL zero points 414 414 if (image[i].flags & ID_IMAGE_PHOTOM_UBERCAL) { 415 image[i]. dummy3 = 0; // dummy3 = ubercalDist415 image[i].ubercalDist = 0; // was dummy3 416 416 if (KEEP_UBERCAL) continue; 417 417 } … … 515 515 // minUbercalDist calculated here is the min value for any star owned by this image 516 516 // since this particular image is tied to that star, bump its distance by 1 517 image[i]. dummy3= minUbercalDist + 1;517 image[i].ubercalDist = minUbercalDist + 1; 518 518 } 519 519 free (list); -
branches/eam_branches/ipp-20111122/Ohana/src/relphot/src/MosaicOps.c
r33394 r33399 440 440 for (j = 0; j < MosaicN_Image[i]; j++) { 441 441 off_t im = MosaicToImage[i][j]; 442 image[im]. dummy3= mosaic[i].ubercalDist;443 fprintf (stderr, "%d %d %d\n", (int) i, (int) im, image[im]. dummy3);442 image[im].ubercalDist = mosaic[i].ubercalDist; 443 fprintf (stderr, "%d %d %d\n", (int) i, (int) im, image[im].ubercalDist); 444 444 } 445 445 if (KEEP_UBERCAL) continue; … … 546 546 for (j = 0; j < MosaicN_Image[i]; j++) { 547 547 off_t im = MosaicToImage[i][j]; 548 image[im]. dummy3= mosaic[i].ubercalDist;549 fprintf (stderr, "%d %d %d\n", (int) i, (int) im, image[im]. dummy3);548 image[im].ubercalDist = mosaic[i].ubercalDist; 549 fprintf (stderr, "%d %d %d\n", (int) i, (int) im, image[im].ubercalDist); 550 550 } 551 551 } -
branches/eam_branches/ipp-20111122/Ohana/src/relphot/src/select_images.c
r33374 r33399 245 245 } 246 246 image[nimage].flags &= ~ID_IMAGE_PHOTOM_POOR; 247 image[nimage]. dummy3= 1000; // dummy3 == ubercalDist247 image[nimage].ubercalDist = 1000; // dummy3 == ubercalDist 248 248 } 249 249 line_number[nimage] = i;
Note:
See TracChangeset
for help on using the changeset viewer.
