Changeset 3402 for trunk/Ohana/src/opihi/dvo/ImageOps.c
- Timestamp:
- Mar 9, 2005, 9:23:49 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/ImageOps.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/ImageOps.c
r3393 r3402 44 44 while (flipped && (r > Rmid)) r-= 360.0; 45 45 status = RD_to_XY (&X, &Y, r, d, &graph[0].coords); 46 47 46 if (!status) continue; 48 47 if (X < graph[0].xmin) continue; … … 50 49 if (Y < graph[0].ymin) continue; 51 50 if (Y > graph[0].ymax) continue; 52 subset[n] = i; 53 n++; 54 if (n > npts - 1) { 55 npts += 200; 56 REALLOCATE (subset, int, npts); 57 } 58 break; 51 goto in_region; 52 /** we miss any images which surround the region. we are also 53 missing the DIS images for which the corners don't touch 54 the region, but which are needed for WRP images with 55 corners touching the region **/ 59 56 } 60 /** we miss any images which surround the region. we are also 61 missing the DIS images for which the corners don't touch 62 the region, but which are needed for WRP images with 63 corners touching the region **/ 57 continue; 58 } 59 in_region: 60 subset[n] = i; 61 n++; 62 if (n > npts - 1) { 63 npts += 200; 64 REALLOCATE (subset, int, npts); 64 65 } 65 66 }
Note:
See TracChangeset
for help on using the changeset viewer.
