|
TPCCLIB
|
Calculate between-class variance from PET image based on one threshold value, or estimate threshold that gives highest between-class variance. More...
Go to the source code of this file.
Functions | |
| double | imgBetween2ClassesVariance (IMG *img, const int fi, float threshold, int verbose) |
Calculate between-class variance from PET image based on one threshold value, or estimate threshold that gives highest between-class variance.
Only for testing purposes.
Definition in file imgthbcv.c.
| double imgBetween2ClassesVariance | ( | IMG * | img, |
| const int | fi, | ||
| float | threshold, | ||
| int | verbose ) |
Calculate between-class variance from one frame of a PET image, based on one absolute threshold value.
Between-class variance is calculated using formula by Cao et al. 2018 doi: 10.1109/ACCESS.2018.2889013
| img | Pointer to IMG data structure; not modified. |
| fi | Time frame of image data to use (1..dimt). Dynamic images should be summed before calling this function. |
| threshold | Absolute threshold value. |
| verbose | Verbose level |
Definition at line 71 of file imgthbcv.c.