IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 25, 2012, 6:08:46 PM (14 years ago)
Author:
watersc1
Message:

Quick clean up of some debug statements that aren't required anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20120906/psLib/src/imageops/psImageInterpolate.c

    r34470 r34471  
    951951  if (xl < 0) { xl = 0; }
    952952  if (xl >= image->numCols) {xl = image->numCols - 1; }
    953     //{ *imageValue = NAN; return PS_INTERPOLATE_STATUS_GOOD; }
    954953  xh = xl + 1;
    955954  if (xh >= image->numCols) {xh = image->numCols - 1; }
    956     //{ *imageValue = NAN; return PS_INTERPOLATE_STATUS_GOOD; }
    957     //
     955
    958956  yl = floor(y);
    959957  if (yl < 0) { yl = 0; }
    960958  if (yl >= image->numRows) {yl = image->numRows - 1; }
    961     //{ *imageValue = NAN; return PS_INTERPOLATE_STATUS_GOOD; }
    962   //
    963959  yh = yl + 1;
    964960  if (yh >= image->numRows) {yh = image->numRows - 1; }
    965     //{ *imageValue = NAN; return PS_INTERPOLATE_STATUS_GOOD; }
    966   //
     961
    967962  if (imageValue && image) {
    968963    if (image->data.F32[yl][xl] == image->data.F32[yl][xh]) {
     
    989984    }
    990985  }
     986#if (0)
    991987  if (*imageValue == 0.0) {
    992988    fprintf(stderr,"IJK: Zero!: %g %g [%d %d %d %d] %g %g (%g %g %g %g)\n",
     
    995991            );
    996992  }
     993#endif
    997994  return PS_INTERPOLATE_STATUS_GOOD;
    998995}
Note: See TracChangeset for help on using the changeset viewer.