10#include "tpcclibConfig.h"
32#define PET_GRAYSCALE 1
34#define PET_GRAYSCALE_INV 2
38#define PET_RAINBOW_WB 4
53extern int imgArithm(
IMG *img1,
IMG *img2,
char operation,
float ulimit,
int verbose);
54extern int imgArithmConst(
IMG *img,
float operand,
char operation,
float ulimit,
int verbose);
81 IMG *img,
float xsd,
float ysd,
float zsd,
int passNr,
double tolerance,
int verbose
83extern int filterAMGaussian(
double *a,
int n,
int passNr,
double nu,
double scale,
int termNr);
85extern double filterAMLB(
double *a,
int n,
double nu,
int termNr);
87 IMG *img,
float xsd,
float ysd,
float zsd,
int passNr,
int verbose
89extern int filterEbox(
double *a,
int n,
double wob,
double wib,
int rib,
int passNr);
90extern int fMean1DFilter(
float *data,
const int n,
const int s);
91extern int imgMeanFilter(
IMG *img,
int xn,
int yn,
int zn,
int tn,
int verbose);
115#define NEW_imgDeleteFrameOverlap imgDeleteFrameOverlap
127 IMG *img,
float minValue,
float maxValue,
IMG *timg
130 IMG *img,
IMG *
template,
float minValue,
float maxValue
133 IMG *img,
float minValue,
float maxValue
139 IMG *sumimg,
IMG *cluster,
float *max,
int *plane,
int *row,
int *col
142 IMG *cluster,
IMG *sum,
IMG *dynamic,
int clusterID,
143 int pi,
int ri,
int ci,
int pj,
int rj,
int cj,
float CVlim,
float CClim,
147 float *x,
float *y,
long long nr
150 IMG *dimg,
IMG *cimg,
int clusterID,
float *avg,
int verbose
153 IMG *cimg,
int pi,
int ri,
int ci
156 IMG *dimg,
IMG *cimg,
int pi,
int ri,
int ci
159 IMG *input,
int smoothDim,
int smoothNr,
IMG *output,
int verbose
162 float y1[],
float y2[],
long long n
170 IMG *img,
float lower_threshold_level,
float upper_threshold_level,
171 IMG *timg,
long long *lower_thr_nr,
long long *upper_thr_nr
175 IMG *img,
float minValue,
float maxValue,
IMG *timg,
long long *count
178 IMG *img,
float minValue,
float maxValue,
IMG *timg
181extern void imgCutoff(
IMG *image,
float cutoff,
int mode);
183 IMG *img,
const int sz,
const int sy,
const int sx,
float lthr,
float uthr,
184 IMG *mask,
int verbose
191 IMG *img,
int plane,
int frame,
float *maxvalue,
int colorscale,
192 char *fname,
int matXdim,
int matYdim,
193 int verbose,
char *status
201extern void integerScale(
int frame,
float ***src,
float **targ,
int width,
int height,
int zoom);
215extern int imgMaskFloodFill(
IMG *m,
int sz,
int sy,
int sx,
int label,
long long *n,
int verbose);
Header file for libtpcimgio.
int imgAverageAUC(IMG *img, float *avgauc)
int imgThresholdMask(IMG *img, float minValue, float maxValue, IMG *timg)
int imgsegmThresholdMask(IMG *img, float minValue, float maxValue, IMG *timg)
int imgsegmCheckNeighbours(IMG *cimg, int pi, int ri, int ci)
int filterHSSBE(int n, int r)
int imgsegmClusterMean(IMG *dimg, IMG *cimg, int clusterID, float *avg, int verbose)
int imgsegmClusterExpand(IMG *cluster, IMG *sum, IMG *dynamic, int clusterID, int pi, int ri, int ci, int pj, int rj, int cj, float CVlim, float CClim, int verbose)
void imgFlipVertical(IMG *img)
int imgSmoothOverFrames(IMG *img, int n)
int imgsegmMaskToCluster(IMG *img)
int imgAverageTAC(IMG *img, float *tac)
int img2cube(IMG *img1, int dim, IMG *img2)
int imgAUMC(IMG *img, IMG *oimg, int verbose)
float getAngle(point, point)
void integerScale(int frame, float ***src, float **targ, int width, int height, int zoom)
int imgDeleteFrameOverlap_old(IMG *img)
int imgMaskTAC(IMG *img, IMG *mask, double *tac, int verbose)
int imgGetFrameDyn(IMG *img, IMG *iimg, IMG *dimg, int verbose)
int imgMRT(IMG *img, IMG *oimg, int verbose)
long long imgMaskCount(IMG *img)
int fMean1DFilter(float *data, const int n, const int s)
int imgMaskRegionLabeling(IMG *mask1, IMG *mask2, int *n, int verbose)
int imgMaskCloak(IMG *img, int dim, float id)
int imgMaskFloodFill(IMG *m, int sz, int sy, int sx, int label, long long *n, int verbose)
void imgFlipHorizontal(IMG *img)
int imgMeanZ(IMG *img1, IMG *img2)
int imgGaussianEBoxFilter(IMG *img, float xsd, float ysd, float zsd, int passNr, int verbose)
void imgScale(IMG *src, IMG *targ, float zoom, int method)
int imgMaskRoiNr(IMG *img, INTEGER_LIST *list)
int imgArithm(IMG *img1, IMG *img2, char operation, float ulimit, int verbose)
int imgFlipRight(IMG *img)
int imgsegmFindBestNeighbour(IMG *dimg, IMG *cimg, int pi, int ri, int ci)
int imgGetFrameDiff(IMG *img, IMG *dimg, IMG *mimg, int verbose)
int imgSetScanner(IMG *img, int scanner_type)
void imgCutoff(IMG *image, float cutoff, int mode)
int imgsegmFindMaxOutsideClusters(IMG *sumimg, IMG *cluster, float *max, int *plane, int *row, int *col)
int tiffWriteImg(IMG *img, int plane, int frame, float *maxvalue, int colorscale, char *fname, int matXdim, int matYdim, int verbose, char *status)
float imgsegmPearson(float *x, float *y, long long nr)
int imgMeanFilter(IMG *img, int xn, int yn, int zn, int tn, int verbose)
int imgGaussianFIRFilter(IMG *img, float xsd, float ysd, float zsd, double tolerance, int verbose)
void imgMaskInvert(IMG *img)
int imgsegmThreshold(IMG *img, float minValue, float maxValue)
int imgsegmThresholdByMask(IMG *img, IMG *template, float minValue, float maxValue)
int imgFrameGapFill(IMG *img, int verbose)
int imgVoiMaskTAC(IMG *img, IMG *mask, int mv, double *tac, int verbose)
int imgFrameIntegral(IMG *img, int first, int last, IMG *iimg, int verbose)
int imgConvertUnit(IMG *img, char *unit)
int imgThresholding(IMG *img, float threshold_level, long long *thr_nr)
int imgStructuringElement(IMG *img, const int structuring_element, int verbose)
int imgAverageMaskTAC(IMG *img, IMG *timg, float *tac)
int imgMaskDilate(IMG *img, IMG *se)
int imgRawCountsPerTime(IMG *img, int operation)
int imgsegmCalcMRL(float y1[], float y2[], long long n)
int imgRegionGrowingByThreshold(IMG *img, const int sz, const int sy, const int sx, float lthr, float uthr, IMG *mask, int verbose)
int filterAMGaussian(double *a, int n, int passNr, double nu, double scale, int termNr)
int imgShrink(IMG *img1, IMG *img2, int doz)
double filterAMLB(double *a, int n, double nu, int termNr)
void imgFlipPlanes(IMG *img)
int imgMaskErode(IMG *img, IMG *se)
int imgsegmSimilar(IMG *input, int smoothDim, int smoothNr, IMG *output, int verbose)
int filterEbox(double *a, int n, double wob, double wib, int rib, int passNr)
int imgSwell(IMG *img1, IMG *img2, int doz)
int imgThresholdMaskCount(IMG *img, float minValue, float maxValue, IMG *timg, long long *count)
int imgArithmConst(IMG *img, float operand, char operation, float ulimit, int verbose)
int imgFlipAbove(IMG *img)
int imgThresholdByMask(IMG *img, IMG *templt, float thrValue)
int imgArithmFrame(IMG *img1, IMG *img2, char operation, float ulimit, int verbose)
float getDistance(point, point)
int imgGaussianAMFilter(IMG *img, float xsd, float ysd, float zsd, int passNr, double tolerance, int verbose)
int imgOutlierFilter(IMG *img, float limit)
int imgThresholdingLowHigh(IMG *img, float lower_threshold_level, float upper_threshold_level, IMG *timg, long long *lower_thr_nr, long long *upper_thr_nr)
int imgMaskConjunction(IMG *mask1, IMG *mask2)
int imgFramesCheck(IMG *img, int verbose)
int imgDeleteFrameOverlap(IMG *img)
Header file for libtpcmisc.