|
TPCCLIB
|
Functions for turning IMG image volume data. More...
#include "libtpcimgp.h"Go to the source code of this file.
Functions | |
| void | imgFlipHorizontal (IMG *img) |
| void | imgFlipVertical (IMG *img) |
| void | imgFlipPlanes (IMG *img) |
| int | imgFlipRight (IMG *img) |
| int | imgFlipAbove (IMG *img) |
| int | imgMeanZ (IMG *img1, IMG *img2) |
Functions for turning IMG image volume data.
Definition in file imgflips.c.
| int imgFlipAbove | ( | IMG * | img | ) |
Flip IMG data like viewed from above.
| img | Pointer to IMG which will be flipped. |
Definition at line 115 of file imgflips.c.
| void imgFlipHorizontal | ( | IMG * | img | ) |
Flip IMG data horizontally (left-right).
Definition at line 13 of file imgflips.c.
| void imgFlipPlanes | ( | IMG * | img | ) |
Flip IMG data planes (head-toes).
To work properly, the plane numbers must be contiguous.
Definition at line 55 of file imgflips.c.
Referenced by imgAnalyzeToEcat().
| int imgFlipRight | ( | IMG * | img | ) |
Flip IMG data like viewed from right side.
| img | Pointer to IMG which will be flipped |
Definition at line 73 of file imgflips.c.
| void imgFlipVertical | ( | IMG * | img | ) |
Flip IMG data vertically (up-down).
Definition at line 34 of file imgflips.c.
Calculate image average over z dimension (image planes).
| img1 | Pointer to input IMG data structure; not modified. |
| img2 | Pointer to output IMG data structure; allocated here. |
Definition at line 157 of file imgflips.c.