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

    r12332 r14401  
    1212  Image *image;
    1313  Buffer *buf;
     14  SkyRegionSelection *selection;
    1415
    1516  GreyScale = FALSE;
     
    1920    remove_argument (N, &argc, argv);
    2021    GreyScale = TRUE;
     22  }
     23
     24  // parse skyregion options
     25  if ((selection = SetRegionSelection (&argc, argv)) == NULL) {
     26    gprint (GP_ERR, "invalid sky region selection\n");
     27    return FALSE;
    2128  }
    2229
     
    4451 
    4552  if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);
    46   image_subset (image, Nimage, &subset, &Nsubset, (Graphdata *) NULL, FALSE, tzero, trange, TRUE);
     53  image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TRUE);
    4754
    4855  if ((Nsubset > 1) && GreyScale) {
Note: See TracChangeset for help on using the changeset viewer.