IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4098


Ignore:
Timestamp:
Jun 3, 2005, 11:44:01 AM (21 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmImageSubtract.c

    r4049 r4098  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-05-31 21:25:09 $
     7 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-06-03 21:43:42 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    282282
    283283                                        // Compute the value of the kernel at location (u, v):
    284                                         psF32 exponent = (PS_SQR(uScaled) * PS_SQR(vScaled)) /
     284                                        psF32 exponent = (PS_SQR(uScaled) + PS_SQR(vScaled)) /
    285285                                                         (2.0 * PS_SQR(sigmas->data.F32[sigPtr]));
    286286                                        currPreCalc->data.F32[v+size][u+size] =
     
    334334    PS_ASSERT_INT_POSITIVE(yNum, NULL);
    335335    PS_ASSERT_INT_POSITIVE(border, NULL);
     336    PS_ASSERT_INT_LARGER_THAN(image->numCols, xNum, NULL);
     337    PS_ASSERT_INT_LARGER_THAN(image->numRows, yNum, NULL);
     338    PS_ASSERT_INT_LARGER_THAN(image->numCols, (2 * border), NULL);
     339    PS_ASSERT_INT_LARGER_THAN(image->numRows, (2 * border), NULL);
    336340
    337341    if (stamps != NULL) {
     
    375379                //
    376380                // The following nested loop iterates over every pixel in the mask
    377                 // associated with this (i, j).  It ignores over pixels within a
     381                // associated with this (i, j).  It ignores pixels within a
    378382                // border of pixels from the image edge.
    379383                //
  • trunk/psModules/test/Makefile.am

    r3632 r4098  
    1010        tst_pmReadoutCombine \
    1111        tst_pmSubtractSky \
     12        tst_pmImageSubtract \
    1213        tst_pmObjects01
    1314
     
    2829tst_pmReadoutCombine_SOURCES = tst_pmReadoutCombine.c
    2930tst_pmSubtractSky_SOURCES = tst_pmSubtractSky.c
     31tst_pmImageSubtract_SOURCES = tst_pmImageSubtract.c
    3032tst_pmObjects01_SOURCES = tst_pmObjects01.c
    3133
Note: See TracChangeset for help on using the changeset viewer.