IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 18, 2010, 2:54:33 PM (16 years ago)
Author:
bills
Message:

add image->externID to the list of allowed fields for mextract.
Pass measure->imageID to the function MatchImage and if valid, use it to find the image directly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/ImageSelection.c

    r27435 r28955  
    4545}
    4646
    47 Image *MatchImage (unsigned int time, short int source) {
     47Image *MatchImage (unsigned int time, short int source, unsigned int imageID) {
    4848
    4949  int m;
    5050
    51   m = match_image_subset (image, subset, Nsubset, time, source);
     51  if ((imageID != 0) && (imageID < Nimage)) {
     52    m = (int) imageID - 1;
     53  } else {
     54    m = match_image_subset (image, subset, Nsubset, time, source);
     55  }
    5256  if (m == -1) return (NULL);
    5357  if (!FindMosaicForImage (image, Nimage, m)) return (NULL);
Note: See TracChangeset for help on using the changeset viewer.