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

    r14286 r14401  
    99
    1010/* load images based on parameters and region, etc */
    11 int SetImageSelection (int mosaicMode, int RegionSelect) {
     11int SetImageSelection (int mosaicMode, SkyRegionSelection *selection) {
    1212
    1313  int Ngraph;
    14   Graphdata graphsky;
    1514  int TimeSelect;
    1615  time_t tzero, tend;
     
    1918  subset = NULL;
    2019 
    21   if (RegionSelect) {
    22     // how does this know which sky plot to use?
    23     if (!GetGraphData (&graphsky, NULL, NULL)) {
    24       gprint (GP_ERR, "region display not available\n");
    25       return (FALSE);
    26     }
    27   }
    28 
    2920  TimeSelect = GetTimeSelection (&tzero, &tend);
    3021
     
    4132  if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);
    4233  BuildChipMatch (image, Nimage);
    43   image_subset (image, Nimage, &subset, &Nsubset, &graphsky, RegionSelect, tzero, (double) tend - tzero, TimeSelect);
     34  image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, (double) tend - tzero, TimeSelect);
    4435  sort_image_subset (image, subset, Nsubset);
    4536  return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.