- Timestamp:
- Jul 2, 2013, 9:12:29 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/Ohana/src/relphot/src/ImageOps.c
r35604 r35735 414 414 // returns image.Mcal - ff(x,y) 415 415 int MatchImageName (off_t meas, int cat, char *name) { 416 417 off_t i; 418 419 if (!name) return FALSE; 420 if (!name[0]) return FALSE; 421 422 if (!MeasureToImage) return FALSE; 423 424 i = MeasureToImage[cat][meas]; 425 if (i == -1) return FALSE; 426 427 // this is a bit crude: stack image names are of the form: 428 // RINGS.V3.skycell.1495.027.sky.191211.stk.988232.cmf. 429 430 // the primaryCell has a name of the form RINGS.V3.skycell.1495 or RINGS.V3.skycell.1495.027 431 // (if we use projection or skycell as the primary) 432 433 if (!strncmp(image[i].name, name, strlen(name))) return TRUE; 434 return FALSE; 435 } 436 437 // returns image.Mcal - ff(x,y) 438 int MatchImageSkycellID (off_t meas, int cat, char *name) { 416 439 417 440 off_t i;
Note:
See TracChangeset
for help on using the changeset viewer.
