#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <time.h>#include "include/libtpcmodext.h"Go to the source code of this file.
Functions | |
| int | img_k1_using_ki (DFT *input, IMG *dyn_img, int frame_nr, IMG *ki_img, IMG *k1_img, IMG *k2k3_img, char *status) |
| int img_k1_using_ki | ( | DFT * | input, |
| IMG * | dyn_img, | ||
| int | frame_nr, | ||
| IMG * | ki_img, | ||
| IMG * | k1_img, | ||
| IMG * | k2k3_img, | ||
| char * | status | ||
| ) |
Computing pixel-by-pixel the K1 for irreversible PET tracers using previously determined Ki (K1*k3/(k2+k3) and bilinear regression.
| input | Pointer to the TAC data to be used as model input. Sample times in minutes. Curve is interpolated to PET frame times, if necessary |
| dyn_img | Pointer to dynamic PET image data. Image and input data must be in the same calibration units |
| frame_nr | Nr of frames that will be included in the fit [3-frame_nr] |
| ki_img | Pointer to previously calculated Ki image |
| k1_img | Pointer to initiated IMG structure where K1 values will be placed |
| k2k3_img | Pointer to initiated IMG structure where (k2+k3) values will be placed; enter NULL, if not needed |
| status | Pointer to a string (allocated for at least 64 chars) where error message or other execution status will be written; enter NULL, if not needed |
Definition at line 52 of file img_k1.c.
References MODEXT_TEST.
1.8.0