libtpcmodext
 All Files Functions Variables Defines
Functions
cluster.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "include/libtpcmodext.h"
Include dependency graph for cluster.c:

Go to the source code of this file.

Functions

int clusterTACs (IMG *dimg, IMG *cimg, int nr, DFT *tac, int verbose)

Function Documentation

int clusterTACs ( IMG *  dimg,
IMG *  cimg,
int  nr,
DFT *  tac,
int  verbose 
)

Allocates memory and calculates the values for average TACs for clusters.

Returns:
Returns 0 if ok, and >0 in case of an error.
Parameters:
dimgDynamic image
cimgCluster image
nrHighest cluster ID
tacPointer to initiated but empty DFT data
verboseVerbose level; if zero, then only warnings are printed into stderr

Definition at line 44 of file cluster.c.