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

    r12753 r14401  
    1010  char name[64], *date;
    1111  int typehash;
     12  SkyRegionSelection *selection;
    1213
    1314  PhotCode *code;
     
    1718
    1819  GetTimeFormat (&TimeReference, &TimeFormat);
     20
     21  // parse skyregion options
     22  if ((selection = SetRegionSelection (&argc, argv)) == NULL) {
     23    gprint (GP_ERR, "invalid sky region selection\n");
     24    return FALSE;
     25  }
    1926
    2027  TimeSelect = FALSE;
     
    7481
    7582  if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);
    76   image_subset (image, Nimage, &subset, &Nsubset, (Graphdata *) NULL, FALSE, tzero, trange, TimeSelect);
     83  image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TimeSelect);
    7784  BuildChipMatch (image, Nimage);
    7885
Note: See TracChangeset for help on using the changeset viewer.