#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_patlak (DFT *input, IMG *dyn_img, int start, int end, linefit_range fit_range, IMG *ki_img, IMG *ic_img, IMG *nr_img, char *status) |
| int img_patlak | ( | DFT * | input, |
| IMG * | dyn_img, | ||
| int | start, | ||
| int | end, | ||
| linefit_range | fit_range, | ||
| IMG * | ki_img, | ||
| IMG * | ic_img, | ||
| IMG * | nr_img, | ||
| char * | status | ||
| ) |
Computing pixel-by-pixel the graphical analysis for irreversible PET tracers (Gjedde-Patlak plot).
| 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 |
| start | The range of frames where line is fitted, given as the frame start here and next the end index, i.e. [0..frame_nr-1] |
| end | The range of frames where line is fitted, given as the frame start above and here the end index, i.e. [0..frame_nr-1] |
| fit_range | Use the whole range or based on data leave out points from the beginning; PRESET or EXCLUDE_BEGIN |
| ki_img | Pointer to initiated IMG structure where Ki values will be placed |
| ic_img | Pointer to initiated IMG structure where plot y axis intercept values will be placed; enter NULL, if not needed |
| nr_img | Pointer to initiated IMG structure where the number of plot data points actually used in the fit is written; enter NULL, when 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 61 of file img_patlak.c.
References check_times_dft_vs_img(), copy_times_from_img_to_dft(), and MODEXT_TEST.
1.8.0