Changeset 30648
- Timestamp:
- Feb 16, 2011, 11:47:18 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/Ohana/src/relastro/src/select_images.c
r30616 r30648 144 144 } 145 145 146 // this adds 1.3 sec for 3M images 146 147 if (!FindMosaicForImage (timage, Ntimage, i)) { 147 fprintf (stderr, "cannot find mosaic for "OFF_T_FMT"\n", i);148 fprintf (stderr, "cannot find mosaic for "OFF_T_FMT"\n", i); 148 149 continue; 149 150 } … … 165 166 found = FALSE; 166 167 167 /* transform corners to ra,dec */168 /* transform corners to ra,dec -- costs ~3sec for 3M images (pikake) */ 168 169 double RminImage = 360.0; 169 170 double RmaxImage = 0.0; 170 171 double DminImage = +90.0; 171 172 double DmaxImage = -90.0; 172 // int leftside = FALSE;173 173 for (j = 0; j < 5; j++) { 174 174 XY_to_RD (&Ri[j], &Di[j], Xi[j], Yi[j], &timage[i].coords); … … 197 197 if (USE_BASIC_CHECK) goto found_it; 198 198 199 // RA(nStart) is guaranteed to be < RminImage: 199 // RA(nStart) is guaranteed to be < RminImage: -- costs 0.5sec for 3M images 200 200 nStart = getRegionStartByRA (RminImage, RmaxSky, skylist[0].Nregions); 201 201 … … 258 258 } 259 259 MARKTIME("finish image selection: %f sec\n", dtime); 260 261 if (VERBOSE) fprintf (stderr, "found "OFF_T_FMT" images\n", nimage);260 261 if (VERBOSE) fprintf (stderr, "found "OFF_T_FMT" images\n", nimage); 262 262 263 263 REALLOCATE (image, Image, MAX (nimage, 1));
Note:
See TracChangeset
for help on using the changeset viewer.
