Changeset 31879
- Timestamp:
- Jul 14, 2011, 10:41:53 AM (15 years ago)
- Location:
- tags/ipp-20110622/pswarp
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
src/pswarpMapGrid.c (modified) (1 diff)
-
src/pswarpTransformReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20110622/pswarp
- Property svn:mergeinfo set to
-
tags/ipp-20110622/pswarp/src/pswarpMapGrid.c
r23487 r31879 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 -
tags/ipp-20110622/pswarp/src/pswarpTransformReadout.c
r28548 r31879 110 110 // Ensure threading is off for the covariance calculation, since we are threading on a different level. 111 111 psImageCovarianceSetThreads(false); 112 113 psAssert (xGridMin >= 0, "xGridMin too small\n"); 114 psAssert (yGridMin >= 0, "yGridMin too small\n"); 115 psAssert (xGridMax < grid->nXpts, "xGridMax too big\n"); 116 psAssert (yGridMax < grid->nYpts, "yGridMax too big\n"); 112 117 113 118 // create jobs and supply them to the threads
Note:
See TracChangeset
for help on using the changeset viewer.
