IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 4, 2007, 10:15:51 AM (19 years ago)
Author:
eugene
Message:

extensive updates to the avextract / mextract / skyregion system

File:
1 edited

Legend:

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

    r13479 r14401  
    99  char *name;
    1010  Image *image;
    11   Graphdata graphmode;
    1211  PhotCode *PhotcodeValue;
     12  SkyRegionSelection *selection;
    1313
    14   if (!GetGraphData (&graphmode, NULL, NULL)) return (FALSE);
     14  // parse skyregion options
     15  if ((selection = SetRegionSelection (&argc, argv)) == NULL) {
     16    gprint (GP_ERR, "invalid sky region selection\n");
     17    return FALSE;
     18  }
    1519
    1620  TimeSelect = FALSE;
     
    6569 
    6670  if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);
    67   image_subset (image, Nimage, &subset, &Nsubset, &graphmode, RegionSelect, tzero, trange, TimeSelect);
     71  image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TimeSelect);
    6872  BuildChipMatch (image, Nimage);
    6973
Note: See TracChangeset for help on using the changeset viewer.