VIP: Volume Image Processing
affine.h
Go to the documentation of this file.
1
/************************************************************************/
2
/* */
3
/* Author Philippe Thevenaz */
4
/* Affiliation Ecole polytechnique federale de Lausanne */
5
/* DMT/IOA/BIG */
6
/* P.O. Box 127 */
7
/* CH-1015 Lausanne */
8
/* Switzerland */
9
/* Telephone +41(21)693.51.89 */
10
/* Telefax +41(21)693.37.01 */
11
/* Email philippe.thevenaz@epfl.ch */
12
/* */
13
/************************************************************************/
14
15
/************************************************************************/
16
/* Public implementation follows */
17
/************************************************************************/
18
19
/*--- Defines ----------------------------------------------------------*/
20
21
#undef FALSE
22
#define FALSE ((int)(0 != 0))
23
24
#undef TRUE
25
#define TRUE ((int)(!FALSE))
26
27
#undef ERROR
28
#define ERROR ((int)FALSE)
29
/*jeff*/
30
/*--- Types ------------------------------------------------------------*/
31
32
struct
trsfStruct
{
33
double
dx
[3];
34
double
skew
[3][3];
35
};
36
37
38
int
affineTransformSHFJ
(
double
transform[][4],
39
double
origin[],
40
float
*inPtr,
41
float
*outPtr,
42
long
innx,
43
long
inny,
44
long
innz,
45
long
outnx,
46
long
outny,
47
long
outnz,
48
int
interpolationDegree,
49
float
background);
50
/************************************************************************/
51
/* Externals */
52
/*----------------------------------------------------------------------*/
53
/* access.c */
54
/************************************************************************/
55
56
/* access.c */
57
extern
void
errorReport
(
char
*errorMessage);
errorReport
void errorReport(char *errorMessage)
affineTransformSHFJ
int affineTransformSHFJ(double transform[][4], double origin[], float *inPtr, float *outPtr, long innx, long inny, long innz, long outnx, long outny, long outnz, int interpolationDegree, float background)
trsfStruct
Definition
affine.h:32
trsfStruct::dx
double dx[3]
Definition
affine.h:33
trsfStruct::skew
double skew[3][3]
Definition
affine.h:34
vip
splineresamp
affine.h
Generated by
1.13.2