STIR  6.2.0
Functions
apply_patlak_to_images.cxx File Reference

Apply the Patlak linear fit using Dynamic Images. More...

#include "stir/CPUTimer.h"
#include "stir/modelling/PlasmaData.h"
#include "stir/modelling/ParametricDiscretisedDensity.h"
#include "stir/modelling/PatlakPlot.h"
#include "stir/shared_ptr.h"
#include "stir/Succeeded.h"
#include "stir/IO/OutputFileFormat.h"
#include "stir/IO/read_from_file.h"
#include <string>
#include <iostream>
#include <iomanip>

Functions

int main (int argc, char *argv[])
 

Detailed Description

Apply the Patlak linear fit using Dynamic Images.

Author
Charalampos Tsoumpas
Usage:
apply_patlak_to_images output_parametric_image input_dynamic_image [par_file]
  • The dynamic images will be calibrated only if the calibration factor is given.
  • The if_total_cnt is set to true the Dynamic Image will have the total number of counts while if set to false it will have the total_number_of_counts/get_duration(frame_num).
  • The dynamic images will always be in decaying counts.
  • The plasma data is assumed to be in decaying counts.
See also
PatlakPlot.h for the par_file
Note
This implementation does not use wighted least squares because for Patlak Plot only the last frames are used, which they usually have the same duration and similar number of counts.
Todo:
Reimplement the method for image-based input function.
Todo:
Add to the Doxygen documentation a reference to their paper and how exactly this utility works.