IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32728 for trunk/psLib


Ignore:
Timestamp:
Nov 21, 2011, 6:35:31 AM (15 years ago)
Author:
eugene
Message:

counting error in psImageSmooth_PreAlloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageConvolve.c

    r32727 r32728  
    825825        for (int j = 0; j < Ny; j++) {
    826826            psF32 *vi = image->data.F32[j];
    827             int xMax = PS_MIN(Nrange + 1, Nx);
     827            int xMax = PS_MIN(Nrange, Nx);
    828828            /* Smooth first Nrange pixels, with renorm */
    829829            for (int i = 0; i < xMax; i++, vi++) {
Note: See TracChangeset for help on using the changeset viewer.