IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12186


Ignore:
Timestamp:
Mar 2, 2007, 11:48:12 AM (19 years ago)
Author:
Paul Price
Message:

The usual way is much faster (factor of 3) for filled kernels. Might
want to count the number of zero pixels in the kernel and use the
result to choose the algorithm.

File:
1 edited

Legend:

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

    r12179 r12186  
    77/// @author Eugene Magnier, IfA
    88///
    9 /// @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
    10 /// @date $Date: 2007-03-02 21:05:52 $
     9/// @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
     10/// @date $Date: 2007-03-02 21:48:12 $
    1111///
    1212/// Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    215215    psImage *out;                       // Image to be returned
    216216
    217 #if 0
     217#if 1
    218218
    219219    // This is the usual way of doing the convolution, but it wastes time if there's a large number of zero
Note: See TracChangeset for help on using the changeset viewer.