/usr/include/sys/_types/_pthread_attr_t.h \
/usr/include/sys/_types/_sigset_t.h /usr/include/sys/_types/_uid_t.h \
/usr/include/sys/resource.h \
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/stdint.h \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h \
/usr/include/stdint.h /usr/include/sys/_types/_int8_t.h \
/usr/include/sys/_types/_int16_t.h /usr/include/sys/_types/_int32_t.h \
/usr/include/sys/_types/_int64_t.h /usr/include/_types/_uint8_t.h \
/Users/tacyas/Eos/include/string.h /usr/include/math.h ../inc/config.h \
../inc/../inc/bmp2mrc.h /Users/tacyas/Eos/include/genUtil.h \
/Users/tacyas/Eos/include/File.h /Users/tacyas/Eos/include/Memory.h \
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/limits.h \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/limits.h \
/usr/include/limits.h /usr/include/machine/limits.h \
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
/usr/include/sys/syslimits.h
/usr/include/sys/_types/_pthread_attr_t.h \
/usr/include/sys/_types/_sigset_t.h /usr/include/sys/_types/_uid_t.h \
/usr/include/sys/resource.h \
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/stdint.h \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h \
/usr/include/stdint.h /usr/include/sys/_types/_int8_t.h \
/usr/include/sys/_types/_int16_t.h /usr/include/sys/_types/_int32_t.h \
/usr/include/sys/_types/_int64_t.h /usr/include/_types/_uint8_t.h \
/usr/include/sys/_types/_pthread_attr_t.h \
/usr/include/sys/_types/_sigset_t.h /usr/include/sys/_types/_uid_t.h \
/usr/include/sys/resource.h \
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/stdint.h \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h \
/usr/include/stdint.h /usr/include/sys/_types/_int8_t.h \
/usr/include/sys/_types/_int16_t.h /usr/include/sys/_types/_int32_t.h \
/usr/include/sys/_types/_int64_t.h /usr/include/_types/_uint8_t.h \
/Users/tacyas/Eos/include/string.h /usr/include/math.h ../inc/config.h \
../inc/../inc/bmp2mrc.h /Users/tacyas/Eos/include/genUtil.h \
/Users/tacyas/Eos/include/File.h /Users/tacyas/Eos/include/Memory.h \
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/limits.h \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/limits.h \
/usr/include/limits.h /usr/include/machine/limits.h \
/usr/include/i386/limits.h /usr/include/i386/_limits.h \
/usr/include/sys/syslimits.h
/usr/include/sys/_types/_pthread_attr_t.h \
/usr/include/sys/_types/_sigset_t.h /usr/include/sys/_types/_uid_t.h \
/usr/include/sys/resource.h \
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/stdint.h \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h \
/usr/include/stdint.h /usr/include/sys/_types/_int8_t.h \
/usr/include/sys/_types/_int16_t.h /usr/include/sys/_types/_int32_t.h \
/usr/include/sys/_types/_int64_t.h /usr/include/_types/_uint8_t.h \
/usr/include/sys/_types/_pthread_attr_t.h \
/usr/include/sys/_types/_sigset_t.h /usr/include/sys/_types/_uid_t.h \
/usr/include/sys/resource.h \
- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.1/include/stdint.h \
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/stdint.h \
/usr/include/stdint.h /usr/include/sys/_types/_int8_t.h \
/usr/include/sys/_types/_int16_t.h /usr/include/sys/_types/_int32_t.h \
/usr/include/sys/_types/_int64_t.h /usr/include/_types/_uint8_t.h \
int BytesPerImage;
} bmpFile;
+typedef enum lbmp2mrcInfoMode {
+ lbmp2mrcInfoModeY=0,
+ lbmp2mrcInfoModeR=1,
+ lbmp2mrcInfoModeG=2,
+ lbmp2mrcInfoModeB=3
+} lbmp2mrcInfoMode;
+
typedef struct lbmp2mrcInfo {
mrcImageParaTypeRealCoord Length;
+ lbmp2mrcInfoMode mode;
} lbmp2mrcInfo;
/* struct end */
<H2>Information from source codes</H2>
</A>
<PRE>
-../src/bmpFileInfo.c:
-
-../src/bmpFileRead.c:
-
-../src/lbmp2mrc.c:
</PRE>
<HR>
<A NAME="include">
int BytesPerImage;
} bmpFile;
+typedef enum lbmp2mrcInfoMode {
+ lbmp2mrcInfoModeY=0,
+ lbmp2mrcInfoModeR=1,
+ lbmp2mrcInfoModeG=2,
+ lbmp2mrcInfoModeB=3
+} lbmp2mrcInfoMode;
+
typedef struct lbmp2mrcInfo {
mrcImageParaTypeRealCoord Length;
+ lbmp2mrcInfoMode mode;
} lbmp2mrcInfo;
/* struct end */
int BytesPerImage;
} bmpFile;
+typedef enum lbmp2mrcInfoMode {
+ lbmp2mrcInfoModeY=0,
+ lbmp2mrcInfoModeR=1,
+ lbmp2mrcInfoModeG=2,
+ lbmp2mrcInfoModeB=3
+} lbmp2mrcInfoMode;
+
typedef struct lbmp2mrcInfo {
mrcImageParaTypeRealCoord Length;
+ lbmp2mrcInfoMode mode;
} lbmp2mrcInfo;
/* struct end */
fprintf(stderr, "Not supported Mode: BytesPerPixel: %d BitsPerPixel: %d \n", bmp->BytesPerPixel, bmp->BitsPerPixel);
exit(EXIT_FAILURE);
}
- data = 0.299*r + 0.587*g + 0.114*b;
+ switch(linfo.mode) {
+ case lbmp2mrcInfoModeY: {
+ data = 0.299*r + 0.587*g + 0.114*b;
+ break;
+ }
+ case lbmp2mrcInfoModeR: {
+ data = r;
+ break;
+ }
+ case lbmp2mrcInfoModeG: {
+ data = g;
+ break;
+ }
+ case lbmp2mrcInfoModeB: {
+ data = b;
+ break;
+ }
+ default: {
+ fprintf(stderr, "Not supported mode: %d. Instead, use Y: %d\n", linfo.mode, lbmp2mrcInfoModeY);
+ data = 0.299*r + 0.587*g + 0.114*b;
+ break;
+ }
+ }
if(0<bmp->Info.biWidth) {
mrcPixelDataSet(mrc, x, y, 0, data, mrcPixelRePart);
} else {
WORLDNAME=Tools
WORLDNAME=Tools
WORLDNAME=Tools
+WORLDNAME=Tools
+WORLDNAME=Tools
+++ /dev/null
-include ../../Config/Define.inc
-include ../Config/Define.inc
-include Config/Define.inc
-include .Source
-
-all:
- for dir in ${SOURCE} ; \
- do \
- if [ -d $${dir} ] ; then \
- $(CD) $${dir}; make all; $(CD) ..; \
- fi \
- done
-
-install:
- for dir in ${SOURCE} ; \
- do \
- if [ -d $${dir} ] ; then \
- $(CD) $${dir}; make install; $(CD) ..; \
- fi \
- done
-
-put:
- for dir in ${SOURCE} ; \
- do \
- if [ -d $${dir} ] ; then \
- $(CD) $${dir}; make put; $(CD) ..; \
- fi \
- done
-
-putSF:
- if [ -f private ] ; then \
- echo "$(WORLDNAME)/$(CLASSNAME) is private " ; \
- else \
- for dir in ${SOURCE} ; \
- do \
- if [ -d $${dir} ] ; then \
- $(CD) $${dir}; make putSF; $(CD) ..; \
- fi \
- done \
- fi
-
-clean:
- for dir in ${SOURCE} ; \
- do \
- $(CD) $${dir}; make clean; $(CD) ..; \
- done
-
-check:
- @for dir in ${SOURCE} ; do \
- if [ -d $${dir} ] ; then \
- $(CD) $${dir}; \
- echo $${dir}; \
- $(RM) Makefile; \
- $(CP) ../../../Config/Template/$(WORLDNAME)Template.Dir/Makefile Makefile ; \
- make check; \
- $(CD) ..; \
- fi \
- done
-
-depend: check
- @for dir in ${SOURCE} ; \
- do \
- $(CD) $${dir}; make depend; $(CD) ..; \
- done
-
-backup:
- cd ../../..; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/Config; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/Makefile; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/.[A-z]*
- tar uvf ${EOS_HOME}/backup/EosBase.tar .[A-z]*
- @for dir in ${SOURCE} ; \
- do \
- $(CD) $${dir}; make backup; $(CD) ..; \
- done
-
-backup-all:
- cd ../../..; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/Config; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/Makefile; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/.[A-z]*
- tar rvf ${EOS_HOME}/backup/EosBase.tar .[A-z]*
- @for dir in ${SOURCE} ; \
- do \
- $(CD) $${dir}; make backup; $(CD) ..; \
- done
-
-distribute:
- cd ../../..; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/Config; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/Makefile; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/.[A-z]*
- @for dir in ${SOURCE} ; \
- do \
- $(CD) $${dir}; make distribute; $(CD) ..; \
- done
-
-distribute-all:
- cd ../../..; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/Config; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/Makefile; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/.[A-z]*
- @for dir in ${SOURCE} ; \
- do \
- $(CD) $${dir}; make distribute-all; $(CD) ..; \
- done
-
--- /dev/null
+/Users/tacyas/Eos/src/Config/Template/ToolsClassTemplate.Dir/Makefile
\ No newline at end of file
"-i","-i[nput]","Input: bmpFile","Essential","1","1","In","inFile::bmpFile","NULL"
"-o","-o[utput]","Output: mrcImage","Essential","1","1","Out","outFile::mrcImage","NULL"
"-L","-L[ength]","Input: Length","Optional","2","1","LengthX","Real","1.0","1","LengthY","Real","1.0"
+"-M","-M[ode]","Input: Mode","Optional","1","1","Mode","Integer","0"
"-c","-c[onfig]","ConfigurationFile","Optional","1","1","configFile","inFile","NULL"
"-m","-m[ode]","Mode","Optional","1","1","mode","Integer","0"
+++ /dev/null
-include ../../../Config/Define.inc
-include ../../Config/Define.inc
-include ../Config/Define.inc
-include Config/Define.inc
-
-all:
- cd src; make all; cd ..
-
-install:
- cd src; make install; cd ..
-
-
-putSF:
- if [ -f private ] ; \
- then \
- echo "$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME) is private"; \
- else \
- cvs -z4 -d:ext:$$USER@$$EOS_SOURCEFORGE commit || cvs -z4 -d:ext:$$USER@$$EOS_SOURCEFORGE import src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME); \
- fi
-
-put:
- cd src; make put; cd ..
-
-clean:
- cd src; make clean; cd ..
-
-depend:
- cd src; make depend; cd ..
-
-check:
- @if [ ! -d $(EOS_HOME)/hostdepend/$(OSTYPE)/src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/$(OSTYPE) ] ; then \
- echo making directory; \
- mkdir -p $(EOS_HOME)/hostdepend/$(OSTYPE)/src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/$(OSTYPE); \
- fi
- ln -sf ../../../../../hostdepend/$(OSTYPE)/src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/$(OSTYPE) src/$(OSTYPE);
- @$(RM) src/Makefile
- @echo "New src/Makefile"
- @$(CP) ../../../Config/Template/$(WORLDNAME)Template.Dir/src/Makefile src/Makefile
- @cd src; touch $(OSTYPE)/.Depend; make depend
-
-cvsupdate::
- cvs -d $(EOS_CVSROOT) update -d
-
-cvscommit::
- cvs -d $(EOS_CVSROOT) commit
-
-backup:
- @cd ../../../..; \
- echo $(OBJECTNAME) ; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Config ; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Makefile ;\
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/.[A-z]* ; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/inc ; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/doc; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/wish; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/[A-z]*.[A-z]*; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/.[A-z]*; \
- tar uvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/Makefile
-
-backup-all:
- @cd ../../../..; \
- echo $(OBJECTNAME) ; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Config ; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Makefile ;\
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/.[A-z]* ; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/inc ; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/doc; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/wish; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/[A-z]*.[A-z]*; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/.[A-z]*; \
- tar rvf ${EOS_HOME}/backup/EosBase.tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/Makefile
-
-distribute:
- cd ../../../..; \
- echo $(OBJECTNAME) ; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Config ; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Makefile ;\
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/.[A-z]* ; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/inc ; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/doc; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/wish; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/[A-z]*.[A-z]*; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/.[A-z]*; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/Makefile ; \
- tar uvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/$(OSTYPE)
-
-distribute-all:
- @cd ../../../..; \
- echo $(OBJECTNAME) ; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Config ; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/Makefile ;\
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/.[A-z]* ; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/inc ; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/doc; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/wish; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/[A-z]*.[A-z]*; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/.[A-z]*; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/Makefile ; \
- tar rvf ${EOS_HOME}/distribute/src.$(OSTYPE).tar src/$(WORLDNAME)/$(CLASSNAME)/$(OBJECTNAME)/src/$(OSTYPE)
-
-eosintroduce:
- ${EOS_HOME}/sbin/eosintroduce ${WORLDNAME} ${CLASSNAME} ${OBJECTNAME} ./
-
-include Config/Target.inc
--- /dev/null
+/Users/tacyas/Eos/src/Config/Template/ToolsTemplate.Dir/Makefile
\ No newline at end of file
long flagLengthY;
float LengthY;
+ long flagMode;
+ long Mode;
+
long flagconfigFile;
char* configFile;
FILE* fptconfigFile;
}
SBREAK;
}
+ SCASE("M") {
+ if(i+1<argc) {
+ info->Mode = stringGetNthIntegerData(argv[i+1], 1, " ,");
+ i++;
+ info->flagMode++;
+ } else {
+ usage(argv[0]);
+ exit(EXIT_FAILURE);
+ }
+ SBREAK;
+ }
SCASE("c") {
if(i+1<argc) {
info->configFile = stringGetNthWord(argv[i+1], 1, " ,");
linfo.Length.x = info.LengthX;
linfo.Length.y = info.LengthY;
linfo.Length.z = info.LengthX;
-
+ linfo.mode = info.Mode;
bmpFileRead(&in, info.fptIn, 0);
DEBUGPRINT("lbmp2mrc\n");
- lbmp2mrc(&out, &in, linfo, 0);
+ lbmp2mrc(&out, &in, linfo, info.mode);
DEBUGPRINT1("mrcFileWrite: %s\n", info.Out);
mrcFileWrite(&out, info.Out, "in main", 0);
-/bin/bash: bmp2mrc: そのようなファイルやディレクトリはありません
+<HTML>
+<HEAD>
+<TITLE>bmp2mrc</TITLE>
+</HEAD>
+<BODY>
+<H1>bmp2mrc</H1>
+<H2>Usage</H2>
+<PRE>
+Usage: bmp2mrc
+Options:
+ [-i[nput] In (NULL ).as(inFile::bmpFile ) ] :Essential :Input: bmpFile
+ [-o[utput] Out (NULL ).as(outFile::mrcImage ) ] :Essential :Output: mrcImage
+ [-L[ength] LengthX (1.0 ).as(Real )
+ LengthY (1.0 ).as(Real ) ] :Optional :Input: Length
+ [-M[ode] Mode (0 ).as(Integer ) ] :Optional :Input: Mode
+ [-c[onfig] configFile (NULL ).as(inFile ) ] :Optional :ConfigurationFile
+ [-m[ode] mode (0 ).as(Integer ) ] :Optional :Mode
+----- Additional Usage -----
+</PRE>
+</BODY>
+</HTML>
-I 1 0 1 1 0 1 -1x1+1+1.500000 ' ' 'In' 'Input: bmpFile' i
-O 1 0 1 1 0 1 -1x1+1+3.000000 ' ' 'Out' 'Output: mrcImage' o
-I 1 0 0 1 0 1 -1x1+1+4 ' ' '1.0' 'LengthX' Input: Length
- -I 1 0 1 0 0 1 -1x1+1+6.000000 ' ' 'configFile' 'ConfigurationFile' c
- -i 1 0 1 0 0 -1x1+1+7.500000 0 0 0 0 0 'mode' 'Mode' m
+ -i 1 0 1 0 0 -1x1+1+6.000000 0 0 0 0 0 'Mode' 'Input: Mode' M
+ -I 1 0 1 0 0 1 -1x1+1+7.500000 ' ' 'configFile' 'ConfigurationFile' c
+ -i 1 0 1 0 0 -1x1+1+9.000000 0 0 0 0 0 'mode' 'Mode' m
-E
-E
-E
info->fptIn = NULL; info->flagIn = 0;
info->fptOut = NULL; info->flagOut = 0;
info->LengthX = 1.0; info->flagLengthX = 0;
- info->LengthX = 1.0; info->flagLengthX = 0;
+ info->LengthY = 1.0; info->flagLengthY = 0;
+ info->Mode = 0; info->flagMode = 0;
info->fptconfigFile = NULL; info->flagconfigFile = 0;
info->mode = 0; info->flagmode = 0;
}
if(info->flagLengthY) {
}
+ if(info->flagMode) {
+ }
+
if(info->flagconfigFile) {
info->fptconfigFile = fileOpen(info->configFile, "r");
}
fprintf(stderr, " [-i[nput] In (NULL ).as(inFile::bmpFile ) ] :Essential :Input: bmpFile\n");
fprintf(stderr, " [-o[utput] Out (NULL ).as(outFile::mrcImage ) ] :Essential :Output: mrcImage\n");
fprintf(stderr, " [-L[ength] LengthX (1.0 ).as(Real ) \n LengthY (1.0 ).as(Real ) ] :Optional :Input: Length\n");
+ fprintf(stderr, " [-M[ode] Mode (0 ).as(Integer ) ] :Optional :Input: Mode\n");
fprintf(stderr, " [-c[onfig] configFile (NULL ).as(inFile ) ] :Optional :ConfigurationFile\n");
fprintf(stderr, " [-m[ode] mode (0 ).as(Integer ) ] :Optional :Mode\n");
additionalUsage();