Changeset 36275
- Timestamp:
- Nov 8, 2013, 3:22:34 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/psLib/src/imageops
- Files:
-
- 1 added
- 2 edited
-
psImageConvolve.c (modified) (2 diffs)
-
psImageConvolve.h (modified) (1 diff)
-
psImageConvolve2dCache.c (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psLib/src/imageops/psImageConvolve.c
r36230 r36275 36 36 #define MIN_GAUSS_FRAC 0.25 // Minimum Gaussian fraction to accept when smoothing 37 37 38 39 40 38 static bool threaded = false; // Run image convolution threaded? 41 39 static pthread_mutex_t threadMutex = PTHREAD_MUTEX_INITIALIZER; 42 43 40 44 41 static void kernelFree(psKernel *kernel) … … 2169 2166 return threaded; 2170 2167 } 2171 -
branches/eam_branches/ipp-20130904/psLib/src/imageops/psImageConvolve.h
r36234 r36275 35 35 psVector *kernel; 36 36 } psImageSmoothCacheData; 37 38 /// a structure to contain data related to image smoothing with a pre-cached 1D gauss kernel 39 typedef struct { 40 float Nsigma; 41 int Ns; // number of pixel radii 42 float *radflux; // conv kernel in special positions 43 } psImageSmooth2dCacheData; 37 44 38 45 /// A convolution kernel
Note:
See TracChangeset
for help on using the changeset viewer.
