|
| template<typename T > |
| bool | isNAN (const T &v) |
| |
| void | GetFormattedTimeString (char *output) |
| |
| std::string | GetCurrentOutputPath (bool ext=true) |
| |
| void | dbgout (const std::string &s) |
| |
| std::string | SPrintf (const char *fmt,...) |
| |
| void | dbgprintf (const char *fmt,...) |
| |
| void | dbgsetlogfile (const char *path) |
| |
| template<typename T > |
| void | DeleteAllElems (T &c) |
| |
| template<typename TPixel > |
| void | normalize (TPixel *d, uint w, uint h) |
| |
| template<typename T > |
| T | Lerp (T a, T b, float x) |
| |
| template<typename T > |
| T | Interpolate (T *image, int width, int height, float x, float y, bool *outside=0) |
| |
| template<typename T > |
| T | Interpolate1D (T *d, int len, float x) |
| |
| template<typename T > |
| T | Interpolate1D (const std::vector< T > &d, float x) |
| |
| template<typename T > |
| T | StdDeviation (T *start, T *end) |
| |
| std::vector< float > | ComputeRadialBinWindow (int rsteps) |
| | Calculate the radial weights for ZLUT profile comparisons. More...
|
| |
| float | ComputeBgCorrectedCOM1D (float *data, int len, float cf=2.0f) |
| |
| void | ComputeCRP (float *dst, int radialSteps, int angularSteps, float minradius, float maxradius, vector2f center, ImageData *src, float mean, float *crpmap=0) |
| |
| void | ComputeRadialProfile (float *dst, int radialSteps, int angularSteps, float minradius, float maxradius, vector2f center, ImageData *src, float mean, bool normalize) |
| |
| void | NormalizeRadialProfile (float *prof, int rsteps) |
| |
| void | NormalizeZLUT (float *zlut, int numLUTs, int planes, int radialsteps) |
| |
| void | GenerateImageFromLUT (ImageData *image, ImageData *zlut, float minradius, float maxradius, vector3f pos, bool useSplineInterp=true, int ovs=4) |
| |
| void | ApplyPoissonNoise (ImageData &img, float poissonMax, float maxValue=255) |
| |
| void | ApplyGaussianNoise (ImageData &img, float sigma) |
| |
| void | WriteComplexImageAsCSV (const char *file, std::complex< float > *d, int w, int h, const char *labels[]=0) |
| |
| void | WriteArrayAsCSVRow (const char *file, float *d, int len, bool append) |
| |
| void | WriteVectorAsCSVRow (const char *file, std::vector< float > d, bool append) |
| |
| void | WriteImageAsCSV (const char *file, float *d, int w, int h, const char *labels[]=0) |
| |
| std::vector< std::vector< float > > | ReadCSV (const char *filename, char sep='\t') |
| |
| std::vector< vector3f > | ReadVector3CSV (const char *file, char sep='\t') |
| |
| void | WriteTrace (std::string file, vector3f *results, int nResults) |
| |
| void | GenerateTestImage (ImageData &img, float xp, float yp, float size, float MaxPhotons) |
| |
| std::string | GetLocalModuleFilename () |
| |
| std::string | GetLocalModulePath () |
| |
| std::string | GetDirectoryFromPath (std::string fullpath) |
| |
| std::string | file_ext (const char *f) |
| |
| ImageData | ReadJPEGFile (const char *fn) |
| |
| ImageData | ReadLUTFile (const char *lutfile) |
| |
| int | ReadJPEGFile (uchar *srcbuf, int srclen, uchar **data, int *width, int *height) |
| |
| void | WriteJPEGFile (uchar *data, int w, int h, const char *filename, int quality) |
| |
| void | FloatToJPEGFile (const char *name, const float *d, int w, int h) |
| |
| void | WriteJPEGFile (const char *name, const ImageData &img) |
| |
| int | NearestPowerOf2 (int v) |
| |
| int | NearestPowerOf3 (int v) |
| |
| void | GenerateGaussianSpotImage (ImageData *img, vector2f pos, float sigma, float I0, float Ibg) |
| |
| std::vector< uchar > | ReadToByteBuffer (const char *filename) |
| |
| double | GetPreciseTime () |
| |
| template<typename T > |
| void | floatToNormalizedInt (T *dst, const float *src, uint w, uint h, T maxValue) |
| |
| template<typename T > |
| T * | floatToNormalizedInt (const float *src, uint w, uint h, T maxValue) |
| |
| template<typename T > |
| T | ComputeStdDev (T *data, int len) |
| |
| template<typename T > |
| T | qselect (T *data, int start, int end, int k) |
| |
| template<typename T > |
| T | erf (T x) |
| |