Index: trunk/Ohana/src/opihi/dvo/imdense.c
===================================================================
--- trunk/Ohana/src/opihi/dvo/imdense.c	(revision 2598)
+++ trunk/Ohana/src/opihi/dvo/imdense.c	(revision 3393)
@@ -20,8 +20,6 @@
   if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE);
 
-  image = LoadImages (&Nimage);
-  if (Nimage == 0) {
-    return (FALSE);
-  }
+  if ((image = LoadImages (&Nimage)) == NULL) return (FALSE);
+  BuildChipMatch (image, Nimage);
 
   Rmin = graphmode.coords.crval1 - 182.0;
@@ -42,4 +40,5 @@
     /* project this image to screen display coords */
     status = FALSE;
+    if (!FindMosaicForImage (image, Nimage, i)) continue;
     XY_to_RD (&r, &d, x, y, &image[i].coords);
     while (r < Rmin) r += 360.0; 
