Changeset 27435 for trunk/Ohana/src/imregister/imreg/match.c
- Timestamp:
- Mar 24, 2010, 11:22:25 AM (16 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/imregister/imreg/match.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/20091201/Ohana merged eligible /branches/eam_branches/largefiles.20100314/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/imregister/imreg/match.c
r3606 r27435 2 2 # include "imreg.h" 3 3 4 int *match_criteria (RegImage *image, int Nimage, int *Nmatch) {4 off_t *match_criteria (RegImage *image, off_t Nimage, off_t *Nmatch) { 5 5 6 int i, j, Nname;7 int N, NMATCH;8 int *match;9 int reject;6 off_t i, j, Nname; 7 off_t N, NMATCH; 8 off_t *match; 9 off_t reject; 10 10 11 11 /* create selection index */ 12 12 N = 0; 13 13 NMATCH = 1000; 14 ALLOCATE (match, int, NMATCH);14 ALLOCATE (match, off_t, NMATCH); 15 15 16 16 Nname = 0; … … 36 36 if (N == NMATCH) { 37 37 NMATCH += 1000; 38 REALLOCATE (match, int, NMATCH);38 REALLOCATE (match, off_t, NMATCH); 39 39 } 40 40 } … … 43 43 } 44 44 45 int *match_images (RegImage *image, int Nimage, RegImage *subset, int Nsubset, int *Nmatch) {45 off_t *match_images (RegImage *image, off_t Nimage, RegImage *subset, off_t Nsubset, off_t *Nmatch) { 46 46 47 int i, j, N, Nfound;48 int *match;47 off_t i, j, N, Nfound; 48 off_t *match; 49 49 50 50 /* find matching images - very inefficient : sort by obstime, find those first? */ 51 ALLOCATE (match, int, Nsubset);51 ALLOCATE (match, off_t, Nsubset); 52 52 for (j = 0; j < Nsubset; j++) { 53 53 match[j] = -1;
Note:
See TracChangeset
for help on using the changeset viewer.
