IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36275


Ignore:
Timestamp:
Nov 8, 2013, 3:22:34 PM (13 years ago)
Author:
eugene
Message:

working on 2d convolve issues for psphot galaxies

Location:
branches/eam_branches/ipp-20130904/psLib/src/imageops
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psLib/src/imageops/psImageConvolve.c

    r36230 r36275  
    3636#define MIN_GAUSS_FRAC 0.25             // Minimum Gaussian fraction to accept when smoothing
    3737
    38 
    39 
    4038static bool threaded = false;           // Run image convolution threaded?
    4139static pthread_mutex_t threadMutex = PTHREAD_MUTEX_INITIALIZER;
    42 
    4340
    4441static void kernelFree(psKernel *kernel)
     
    21692166    return threaded;
    21702167}
    2171 
  • branches/eam_branches/ipp-20130904/psLib/src/imageops/psImageConvolve.h

    r36234 r36275  
    3535    psVector *kernel;
    3636} psImageSmoothCacheData;
     37
     38/// a structure to contain data related to image smoothing with a pre-cached 1D gauss kernel
     39typedef struct {
     40    float Nsigma;
     41    int Ns;                             // number of pixel radii
     42    float *radflux;                     // conv kernel in special positions
     43} psImageSmooth2dCacheData;
    3744
    3845/// A convolution kernel
Note: See TracChangeset for help on using the changeset viewer.