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/mextract.c

    r28241 r28955  
    8888  mosaicMode = FALSE;
    8989  for (i = 0; !loadImages && (i < Nfields); i++) {
    90     if (fields[i].ID == MEAS_XCCD) loadImages = TRUE;
    91     if (fields[i].ID == MEAS_YCCD) loadImages = TRUE;
     90    if (fields[i].ID == MEAS_XCCD) loadImages = TRUE;   // Are these still needed? Xccd and Yccd are in measurement
     91    if (fields[i].ID == MEAS_YCCD) loadImages = TRUE;   // and dbExtractMeasures doesn't look at the image for these
    9292    if (fields[i].ID == MEAS_XMOSAIC) loadImages = mosaicMode = TRUE;
    9393    if (fields[i].ID == MEAS_YMOSAIC) loadImages = mosaicMode = TRUE;
     94    if (fields[i].ID == MEAS_EXTERN_ID) loadImages = mosaicMode = TRUE;
    9495  }
    9596  if (loadImages && !SetImageSelection (mosaicMode, selection)) goto escape;
     
    305306    gprint (GP_ERR, "  catID : catalog ID (32 bit)\n");
    306307    gprint (GP_ERR, "  imageID : ID of source image (32 bit)\n");
     308    gprint (GP_ERR, "  externID : externID of source image (32 bit)\n");
    307309    return (FALSE);
    308310  }
Note: See TracChangeset for help on using the changeset viewer.