OSDN Git Service

new file: bin/mrc2mrc
[eos/hostdependX86LINUX64.git] / include / lmrcImageCentre.h
1 #ifndef MRC_CENTRE
2 #define MRC_CENTRE
3 /*
4 # %M% %Y% %I%
5 # The latest update : %G% at %U%
6 #
7 #%Z% lmrcImageSymmetryFind ver %I%
8 #%Z% Created by 
9 #%Z%
10 #%Z% Usage : lmrcImageSymmetryFind 
11 #%Z% Attention
12 #%Z%
13 */
14 #include <stdio.h>
15 #include <stdlib.h>
16 #include <string.h>
17 #include <math.h>                  
18 #define GLOBAL_DECLARATION
19
20 #undef DEBUG
21 #include "genUtil.h"
22 #include "mrcImage.h"
23
24 /* struct begin */
25
26 typedef struct lmrcImageCenterOfMass {
27   float x;
28   float y;
29   float z;
30 } lmrcImageCenterOfMass;
31
32 /* struct end */
33
34 /* prototype begin */
35 extern void lmrcImageCenterOfMassCalculate(lmrcImageCenterOfMass *centerOfMass,mrcImage in1);
36 extern void lmrcImageShiftCenterOfMassIntoImageCenter(mrcImage* out, mrcImage* in, mrcPixelDataHowToGet mode);
37 /* prototype end */
38
39 #endif