IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2014, 6:36:42 AM (12 years ago)
Author:
eugene
Message:

adding select_mosaics_hostregion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140206/Ohana/src/relastro/src/MosaicOps.c

    r36564 r36570  
    256256  return &mosaic[mos];
    257257}
     258
     259int select_mosaics_hostregion (RegionHostTable *regionHosts, Image *image, off_t Nimage) {
     260
     261  ALLOCATE (mosaicUsed, char, Nmosaic);
     262  memset (mosaicUsed, 0, Nmosaic * sizeof(char));
     263
     264  // we need to add the mosaics to each of the region hosts lists of images
     265  for (i = 0; i < regionHosts->Nhosts; i++) {
     266
     267    RegionHostInfo *host = &regionHosts->hosts[i];
     268
     269    // find the mosaics associated with a given
     270    for (j = 0; j < host->Nimages; j++) {
     271
     272      int Nim = host->imageSeq[j];
     273      if (Nim
     274
     275      int mos = mosaic_for_images[Nim];
     276
     277    }
     278
     279}
Note: See TracChangeset for help on using the changeset viewer.