Index: trunk/Ohana/src/opihi/dvo/gimages.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/gimages.c	(revision 12753)
+++ trunk/Ohana/src/opihi/dvo/gimages.c	(revision 14401)
@@ -10,4 +10,5 @@
   char name[64], *date;
   int typehash;
+  SkyRegionSelection *selection;
 
   PhotCode *code;
@@ -17,4 +18,10 @@
 
   GetTimeFormat (&TimeReference, &TimeFormat);
+
+  // parse skyregion options
+  if ((selection = SetRegionSelection (&argc, argv)) == NULL) {
+    gprint (GP_ERR, "invalid sky region selection\n");
+    return FALSE;
+  }
 
   TimeSelect = FALSE;
@@ -74,5 +81,5 @@
 
   if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);
-  image_subset (image, Nimage, &subset, &Nsubset, (Graphdata *) NULL, FALSE, tzero, trange, TimeSelect);
+  image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TimeSelect);
   BuildChipMatch (image, Nimage);
 
