|
TPCCLIB
|
Functions using mask image for extracting input. More...
#include "libtpcidi.h"Go to the source code of this file.
Functions | |
| int | imgMaskPixelTACs (IMG *img, IMG *mask, double thrs, DFT *dft, int verbose) |
Functions using mask image for extracting input.
Definition in file idimask.c.
Extract TACs of every image voxel which has a value > thrs in the mask image.
Mask value is saved as region 'size' in DFT. Mainly for testing IDI methods.
| img | Pointer to allocated image from which the weighted TAC is calculated. |
| mask | Pointer to mask image; x, y, and z dimensions must be the same as in the image to which the mask is applied. |
| thrs | Mask threshold: pixels with mask values above this are included in TACs. |
| dft | Pointer to initiated DFT struct where pixel TACs will be written; any previous contents are deleted. |
| verbose | Verbose level; set to <=0 to prevent all prints to stdout . |
Definition at line 17 of file idimask.c.