OSDN Git Service

mrcimagePyramid create
[eos/base.git] / src / Tools / mrcImage / mrcImagePyramid / inc / mrcImagePyramid.h
diff --git a/src/Tools/mrcImage/mrcImagePyramid/inc/mrcImagePyramid.h b/src/Tools/mrcImage/mrcImagePyramid/inc/mrcImagePyramid.h
new file mode 100755 (executable)
index 0000000..2d8a612
--- /dev/null
@@ -0,0 +1,91 @@
+#ifndef MRCIMAGEPYRAMID_H
+#define MRCIMAGEPYRAMID_H
+#include <stdio.h>
+#include <stdlib.h>
+
+#define OPTION_FLAG     '-'
+#define OPTION_FLAG_POS (0)
+#define OPTION_POS      (1)
+
+
+
+
+typedef struct mrcImagePyramidInfo {
+    long flagRedirect;
+
+    long flagInU;
+    char* InU;
+    FILE* fptInU;
+    
+    long flagInV;
+    char* InV;
+    FILE* fptInV;
+    
+    long flagInW;
+    char* InW;
+    FILE* fptInW;
+    
+    long flagIn1ShrinkList;
+    char** In1ShrinkList;
+    char* In1ShrinkListList;
+    FILE** fptIn1ShrinkList;
+    FILE* fptIn1ShrinkListList;
+    
+    long flagIn2ShrinkList;
+    char** In2ShrinkList;
+    char* In2ShrinkListList;
+    FILE** fptIn2ShrinkList;
+    FILE* fptIn2ShrinkListList;
+    
+    long flagoutU;
+    char* outU;
+    FILE* fptoutU;
+    
+    long flagoutV;
+    char* outV;
+    FILE* fptoutV;
+    
+    long flagoutW;
+    char* outW;
+    FILE* fptoutW;
+    
+    long flagoutFlow;
+    char* outFlow;
+    FILE* fptoutFlow;
+    
+    long flagoutHistgram;
+    char* outHistgram;
+    FILE* fptoutHistgram;
+    
+    long flagconfigFile;
+    char* configFile;
+    FILE* fptconfigFile;
+    
+    long flagmode;
+    long mode;
+    
+    long flagBG;
+    float BG;
+    
+    long flagBIN;
+    long BIN;
+    
+    long flagTHRESHOLD;
+    long THRESHOLD;
+    
+} mrcImagePyramidInfo;
+#ifdef __cplusplus
+extern "C" {
+#endif
+extern void argCheck(mrcImagePyramidInfo* info, int argc, char* avgv[]);
+extern void khorosInit(int argc, char* avgv[]);
+extern void init0(mrcImagePyramidInfo* info);
+extern void init1(mrcImagePyramidInfo* info);
+extern void usage(char* usage);
+extern void additionalUsage(void);
+extern void htmlBeforeUsage(char* usage);
+extern void htmlAfterUsage(char* usage);
+#ifdef __cplusplus
+};
+#endif
+#endif /* MRCIMAGEPYRAMID_H */