Difference between revisions of "Support:Documents:Examples:Estimate Input Parameters Simultaneously with Flow"

From COMKAT wiki
Jump to navigation Jump to search
Line 3: Line 3:
  
 
==== Tissue Uptake ====
 
==== Tissue Uptake ====
The flow model has one tissue compartment and (radioactive) water in the blood is assumed to rapidly exchange with the water in the tissue.
+
The flow model has one tissue compartment.  Radioactive water (or another freely diffusible molecule) in the blood is assumed to rapidly exchange with the water in the tissue.
 
The tissue model has two rate constants: K<sub>1</sub> and k<sub>2</sub> and can be depicted in a diagram:
 
The tissue model has two rate constants: K<sub>1</sub> and k<sub>2</sub> and can be depicted in a diagram:
  
Line 13: Line 13:
  
  
where C<sub>T</sub> is the tissue concentration and C<sub>p</sub> is the plasma concentration of radioactive water.
+
where C<sub>T</sub> is the tissue concentration and C<sub>p</sub> is the plasma concentration of radioactive water.
 +
C<sub>T</sub> and C<sub>p</sub> are interpreted as either molar concentrations or decay-corrected activity concentration
 +
([http://www.ncbi.nlm.nih.gov/pubmed/17555251?ordinalpos=2&itool=EntrezSystem2.PEntrez.Pubmed.Pubmed_ResultsPanel.Pubmed_RVDocSum Salinas 2007]).
  
  
Instead of estimating K<sub>1</sub> and k<sub>2</sub>, it sometimes is advantageous estimate a different set of parameters defined as
+
Instead of estimating K<sub>1</sub> and k<sub>2</sub>, it sometimes is advantageous to estimate a different set of parameters defined as
  
 
lambda = K<sub>1</sub>/k<sub>2</sub> and F = K<sub>1</sub>.
 
lambda = K<sub>1</sub>/k<sub>2</sub> and F = K<sub>1</sub>.
  
F is blood flow (perfusion) per unit volume of tissue (we're assuming 100% extraction) and lambda is the ratio of tissue to blood concentration at equilibrium.
+
F is blood flow (perfusion) per unit volume of tissue (for simplicity we're assuming 100% extraction) and lambda is the ratio of tissue to blood concentrations at equilibrium.
  
 
To use this parameterization in COMKAT, one needs to express the rate constants in terms of lambda and F:
 
To use this parameterization in COMKAT, one needs to express the rate constants in terms of lambda and F:
 
K<sub>1</sub> = F, k<sub>2</sub> = K<sub>1</sub>/lambda
 
K<sub>1</sub> = F, k<sub>2</sub> = K<sub>1</sub>/lambda
  
This example demonstrates how to estimate lambda and F.
+
This example demonstrates how to estimate F (simultaneously with input function parameters).  The example could be easily modified to estimate lambda as well.
  
  
 
==== Input Function ====
 
==== Input Function ====
This example also demonstrates how to use a parameterized input function.  Specifically, the plasma concentration vs. time is modeled as
+
This example also demonstrates how to use a parameterized input function.  Specifically, the plasma concentration vs. time t is modeled as
  
C<sub>p</sub> = (p<sub>1</sub>t - p<sub>2</sub> - p<sub>3</sub>) exp(p<sub>4</sub> t) + p<sub>2</sub> exp(p<sub>5</sub> t) + p<sub>3</sub> exp(p<sub>6</sub>t)   [aka Feng input]
+
C<sub>p</sub> = (p<sub>1</sub>t - p<sub>2</sub> - p<sub>3</sub>) exp(p<sub>4</sub> t) + p<sub>2</sub> exp(p<sub>5</sub> t) + p<sub>3</sub> exp(p<sub>6</sub>t)   [aka [http://www.ncbi.nlm.nih.gov/pubmed/8449593?ordinalpos=3&itool=EntrezSystem2.PEntrez.Pubmed.Pubmed_ResultsPanel.Pubmed_RVDocSum Feng] input]
  
This input function was proposed in Feng ''Int. J. Biomed. Comput.'' 32(2):95-110, 1993 and has been implemented in fin.m in the COMKAT examples folder.
+
This input function has been implemented in fin.m in the COMKAT examples folder.
  
 
==== Pixel Values ====
 
==== Pixel Values ====
 
In a PET image, pixel values represent the radioactivity concentration. There are contributions from radioactivity in blood and tissue.  The arterial blood concentration includes radioactive water in plasma and the blood cells and is designated C<sub>a</sub>.  Here we assume C<sub>a</sub> can be described using the Feng input equation but with different values for p<sub>1</sub>, p<sub>2</sub>, ... p<sub>6</sub> than were used for C<sub>p</sub>.   
 
In a PET image, pixel values represent the radioactivity concentration. There are contributions from radioactivity in blood and tissue.  The arterial blood concentration includes radioactive water in plasma and the blood cells and is designated C<sub>a</sub>.  Here we assume C<sub>a</sub> can be described using the Feng input equation but with different values for p<sub>1</sub>, p<sub>2</sub>, ... p<sub>6</sub> than were used for C<sub>p</sub>.   
The tissue concentration is C<sub>T</sub> and is given above.  The pixel activity concentration is calculated as the concentration in the tissue plus the pixel's fractional blood space F<sub>v</sub> times the arterial blood concentration:  PET = C<sub>T</sub> + F<sub>v</sub>C<sub>a</sub>.
+
The tissue activity concentration is C<sub>T</sub> x S where S is the exponentially-decaying specific activity and C<sub>T</sub> is given above.  The pixel activity concentration is calculated as the activity concentration in the tissue plus the pixel's fractional blood space F<sub>v</sub> times the arterial blood activity concentration:  PET = C<sub>T</sub>S + F<sub>v</sub>C<sub>a</sub>.
  
== COMKAT Implementation ==
+
==== COMKAT Implementation ====
  
 
PET indicates a tissue
 
PET indicates a tissue
 
  
  

Revision as of 00:08, 8 March 2008

Estimating Input Function Parameters Simultaneously with Flow

This example demonstrates an approach to simultaneously estimating input functions parameters along with blood flow in the context of the PET blood flow model.

Tissue Uptake

The flow model has one tissue compartment. Radioactive water (or another freely diffusible molecule) in the blood is assumed to rapidly exchange with the water in the tissue. The tissue model has two rate constants: K1 and k2 and can be depicted in a diagram:

ExampleFigureBloodFlowModel.png

It can also be described by the differential equation:

dCT/dt = K1 Cp - k2 CT


where CT is the tissue concentration and Cp is the plasma concentration of radioactive water. CT and Cp are interpreted as either molar concentrations or decay-corrected activity concentration (Salinas 2007).


Instead of estimating K1 and k2, it sometimes is advantageous to estimate a different set of parameters defined as

lambda = K1/k2 and F = K1.

F is blood flow (perfusion) per unit volume of tissue (for simplicity we're assuming 100% extraction) and lambda is the ratio of tissue to blood concentrations at equilibrium.

To use this parameterization in COMKAT, one needs to express the rate constants in terms of lambda and F: K1 = F, k2 = K1/lambda

This example demonstrates how to estimate F (simultaneously with input function parameters). The example could be easily modified to estimate lambda as well.


Input Function

This example also demonstrates how to use a parameterized input function. Specifically, the plasma concentration vs. time t is modeled as

Cp = (p1t - p2 - p3) exp(p4 t) + p2 exp(p5 t) + p3 exp(p6t) [aka Feng input]

This input function has been implemented in fin.m in the COMKAT examples folder.

Pixel Values

In a PET image, pixel values represent the radioactivity concentration. There are contributions from radioactivity in blood and tissue. The arterial blood concentration includes radioactive water in plasma and the blood cells and is designated Ca. Here we assume Ca can be described using the Feng input equation but with different values for p1, p2, ... p6 than were used for Cp. The tissue activity concentration is CT x S where S is the exponentially-decaying specific activity and CT is given above. The pixel activity concentration is calculated as the activity concentration in the tissue plus the pixel's fractional blood space Fv times the arterial blood activity concentration: PET = CTS + FvCa.

COMKAT Implementation

PET indicates a tissue


ExampleFigureBloodFlowInputModelDataToFit.png


Text

Write some introduction to your example.

Code

You can put code in a different format using <pre> tags like:

For text that you want to appear as part of a MATLAB function or program, encase it inside a "pre" block.
Line 2 of pre block
    Line 3 (indented) of pre block.

Edit the current page to see how this is done.

Figures

Remember to include figures and plots in your example to make it look pretty and convey information. To insert a figure, create a figure file in png (preferred) or other graphic format.

figure
plot(1:10)
title('Example Figure')
ylabel('y-axis label')
xlabel('x-axis label')
set(1,'PaperPosition',[0.25 2.5 3 2])
print -dpng ExampleFigure.png


Next, upload the image file ("upload file" at the bottom of any wiki page) giving it a unique name.


Use double-square brackets to insert the figure into the page


ExampleFigure.png


Edit the example index page to include your example in the list

Add your new example to the list of examples on the example index page by adding a line like this to the index page:

[http://comkat.case.edu/comkat/comkat_wiki/index.php?title=Support:Documents:Examples:Instructions_for_Adding_Your_Own_Example The title of you example]

Within the brackets, the first part is the URL address to your example page. Then you type your example title following that address. On the index page it will look like:

The title of you example


That is it. It is so simple that even a caveman (or professor) can do it.