OSDN Git Service

Add: TIPS Data for Mask and MaskBack of mrcImageFourierNeighborCorrelation v2.0.2p0032
authorkinoshita-eos <kinoshita@yasunaga-lab.bio.kyutech.ac.jp>
Wed, 15 Oct 2014 03:02:51 +0000 (12:02 +0900)
committerkinoshita-eos <kinoshita@yasunaga-lab.bio.kyutech.ac.jp>
Wed, 15 Oct 2014 03:02:51 +0000 (12:02 +0900)
new file:   TIPS/BackData/Makefile
new file:   TIPS/BackData/Makefile.config
new file:   TIPS/BinShape/Makefile
new file:   TIPS/BinShape/Makefile.config
modified:   TIPS/CreateGridImage/Makefile.config
new file:   TIPS/NulImage/Makefile
new file:   TIPS/NulImage/Makefile.config

TIPS/BackData/Makefile [new file with mode: 0644]
TIPS/BackData/Makefile.config [new file with mode: 0644]
TIPS/BinShape/Makefile [new file with mode: 0644]
TIPS/BinShape/Makefile.config [new file with mode: 0644]
TIPS/CreateGridImage/Makefile.config
TIPS/NulImage/Makefile [new file with mode: 0644]
TIPS/NulImage/Makefile.config [new file with mode: 0644]

diff --git a/TIPS/BackData/Makefile b/TIPS/BackData/Makefile
new file mode 100644 (file)
index 0000000..63daa4c
--- /dev/null
@@ -0,0 +1,41 @@
+#
+#      This is Main Makefile for Add Background to Image.
+#
+
+#### Input extention ####
+NUL=nul
+IN_BACK=inimrc
+BACK=back
+
+#### Suffixes rule ####
+# Defined at Sub
+
+#### INCLUDE ####
+-include Makefile.config
+
+#### Definition ####
+### FileData
+BACK_FILE_NAME=BinImage
+# ImageSize
+BACK_IN_SIZE_X=64
+BACK_IN_SIZE_Y=64
+BACK_IN_SIZE_Z=64
+BACK_IN_VALUE=1
+BACK_SIZE_X=256
+BACK_SIZE_Y=256
+BACK_SIZE_Z=256
+BACK_VALUE=0
+# Angstrom per 1 pixel
+BACK_LENGTH=1
+
+#### Rules of the list created ####
+# Defined at Sub
+
+##### Commands #####
+# Defined at Sub basically
+all::
+       make IniBackImage;
+       make BackImage;
+
+##### Commands(Input to Output) #####
+# Defined at Sub
diff --git a/TIPS/BackData/Makefile.config b/TIPS/BackData/Makefile.config
new file mode 100644 (file)
index 0000000..abbe30d
--- /dev/null
@@ -0,0 +1,43 @@
+#
+#      This is Sub Makefile for Add Background to Image.
+#
+
+#### Input extention ####
+# Defined at Main
+
+#### Suffixes rule ####
+.SUFFIXES: .$(NUL) .$(IN_BACK) .$(BACK)
+
+#### INCLUDE ####
+-include ../NulImage/Makefile.config
+
+#### Definition ####
+# Defined at Main
+
+# For ../NulImage/Makefile.config
+NUL_FILE_NAME=$(BACK_FILE_NAME)
+NUL_SIZE_X=$(BACK_IN_SIZE_X)
+NUL_SIZE_Y=$(BACK_IN_SIZE_Y)
+NUL_SIZE_Z=$(BACK_IN_SIZE_Z)
+NUL_VALUE=$(BACK_IN_VALUE)
+NUL_LENGTH=$(BACK_LENGTH)
+
+
+#### Rules of the list created ####
+
+
+##### Commands #####
+IniBackImage::
+       make NulImage;
+
+BackImage::
+       make $(BACK_FILE_NAME).$(BACK);
+
+
+##### Commands(Input to Output) #####
+.$(NUL).$(IN_BACK):
+       ln -s $*.$(NUL) $*.$(IN_BACK);
+
+.$(IN_BACK).$(BACK):
+       mrcImage3DPad -i $*.$(IN_BACK) -o $*.$(BACK) -M 1 -v $(BACK_VALUE) \
+                                               -Nx $(BACK_SIZE_X) -Ny $(BACK_SIZE_Y) -Nz $(BACK_SIZE_Z);
diff --git a/TIPS/BinShape/Makefile b/TIPS/BinShape/Makefile
new file mode 100644 (file)
index 0000000..2584d3e
--- /dev/null
@@ -0,0 +1,32 @@
+#
+#      This is Main Makefile for Create Bin Image that has same shape as Input.
+#
+
+#### Input extention ####
+IN_SBIN=inimrc
+SBIN=sbin
+
+#### Suffixes rule ####
+# Defined at Sub
+
+#### INCLUDE ####
+-include Makefile.config
+
+#### Definition ####
+### FileData
+SBIN_FILE_NAME=Input
+# ImageSize
+SBIN_F_MODE=4
+SBIN_VALUE=0.0125
+
+
+#### Rules of the list created ####
+# Defined at Sub
+
+##### Commands #####
+# Defined at Sub basically
+all::
+       make ShapeBinImage
+
+##### Commands(Input to Output) #####
+# Defined at Sub
diff --git a/TIPS/BinShape/Makefile.config b/TIPS/BinShape/Makefile.config
new file mode 100644 (file)
index 0000000..9f7618e
--- /dev/null
@@ -0,0 +1,28 @@
+#
+#      This is Sub Makefile for Create Bin Image that has same shape as Input.
+#
+
+#### Input extention ####
+# Defined at Main
+
+#### Suffixes rule ####
+.SUFFIXES: .$(IN_SBIN) .$(SBIN)
+
+#### INCLUDE ####
+
+#### Definition ####
+# Defined at Main
+
+
+#### Rules of the list created ####
+
+
+##### Commands #####
+ShapeBinImage::
+       make $(SBIN_FILE_NAME).$(SBIN);
+
+
+##### Commands(Input to Output) #####
+.$(IN_SBIN).$(SBIN):
+       mrcImageLowPassFilter -i $*.$(IN_SBIN) -o $*.$(SBIN)tmp -m $(SBIN_F_MODE) -hvp $(SBIN_VALUE);
+       mrcImageBinalization -i $*.$(SBIN)tmp -o $*.$(SBIN) -m 32;
index 023ed1e..0234888 100644 (file)
@@ -9,18 +9,23 @@
 .SUFFIXES: .$(NUL) .$(ONE) .$(GRID)
 
 #### INCLUDE ####
+-include ../NulImage/Makefile.config
 
 #### Definition ####
 # Defined at Main
 
+# For ../NulImage/Makefile.config
+NUL_FILE_NAME=$(FILE_NAME)
+NUL_SIZE_X=$(1SIZE_X)
+NUL_SIZE_Y=$(1SIZE_Y)
+NUL_SIZE_Z=$(1SIZE_Z)
+NUL_VALUE=$(BACK_VALUE)
+NUL_LENGTH=$(LENGTH)
+
 #### Rules of the list created ####
 
 
 ##### Commands #####
-NulImage::
-       mrcImageNullImageCreate -o $(FILE_NAME).$(NUL) \
-                                                       -Nx $(1SIZE_X) -Ny $(1SIZE_Y) -Nz $(1SIZE_Z) \
-                                                       -v $(BACK_VALUE) -d $(LENGTH);
 1PointImage::
        make $(FILE_NAME).$(ONE);
 
diff --git a/TIPS/NulImage/Makefile b/TIPS/NulImage/Makefile
new file mode 100644 (file)
index 0000000..c764370
--- /dev/null
@@ -0,0 +1,34 @@
+#
+#      This is Main Makefile for Create Sample Null Image.
+#
+
+#### Input extention ####
+NUL=nul
+
+#### Suffixes rule ####
+# Defined at Sub
+
+#### INCLUDE ####
+-include Makefile.config
+
+#### Definition ####
+### FileData
+NUL_FILE_NAME=NullImage
+# ImageSize
+NUL_SIZE_X=10
+NUL_SIZE_Y=10
+NUL_SIZE_Z=1
+NUL_VALUE=0
+# Angstrom per 1 pixel
+NULLENGTH=1
+
+#### Rules of the list created ####
+# Defined at Sub
+
+##### Commands #####
+# Defined at Sub basically
+all::
+       make NulImage;
+
+##### Commands(Input to Output) #####
+# Defined at Sub
diff --git a/TIPS/NulImage/Makefile.config b/TIPS/NulImage/Makefile.config
new file mode 100644 (file)
index 0000000..4b03177
--- /dev/null
@@ -0,0 +1,24 @@
+#
+#      This is Sub Makefile for Create Sample Null Image.
+#
+
+#### Input extention ####
+# Defined at Main
+
+#### Suffixes rule ####
+
+#### INCLUDE ####
+
+#### Definition ####
+# Defined at Main
+
+#### Rules of the list created ####
+
+
+##### Commands #####
+NulImage::
+       mrcImageNullImageCreate -o $(NUL_FILE_NAME).$(NUL) \
+                                                       -Nx $(NUL_SIZE_X) -Ny $(NUL_SIZE_Y) -Nz $(NUL_SIZE_Z) \
+                                                       -v $(NUL_VALUE) -d $(NUL_LENGTH);
+
+##### Commands(Input to Output) #####