Changeset 14401 for trunk/Ohana/src/opihi/dvo/imphot.c
- Timestamp:
- Aug 4, 2007, 10:15:51 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/imphot.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/imphot.c
r12332 r14401 12 12 Image *image; 13 13 Buffer *buf; 14 SkyRegionSelection *selection; 14 15 15 16 GreyScale = FALSE; … … 19 20 remove_argument (N, &argc, argv); 20 21 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; 21 28 } 22 29 … … 44 51 45 52 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); 47 54 48 55 if ((Nsubset > 1) && GreyScale) {
Note:
See TracChangeset
for help on using the changeset viewer.
