- Timestamp:
- Sep 6, 2011, 11:00:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110710/pswarp/src/pswarpMapGrid.c
r23487 r32337 32 32 int Ny = src->image->numRows + src->image->row0; 33 33 34 // allocate an extra superpixel to carry the remainder 35 int nXpts = Nx / nXpix; 36 int nYpts = Ny / nYpix; 37 if (Nx % nXpix) nXpts ++; 38 if (Ny % nYpix) nYpts ++; 34 // always allocate an extra superpixel to handle spillover 35 int nXpts = (int)(Nx / nXpix) + 1; 36 int nYpts = (int)(Ny / nYpix) + 1; 39 37 40 38 // create the grid of maps
Note:
See TracChangeset
for help on using the changeset viewer.
