--- /dev/null
+#
+# 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
--- /dev/null
+#
+# 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);
--- /dev/null
+#
+# 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
--- /dev/null
+#
+# 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;
.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);
--- /dev/null
+#
+# 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
--- /dev/null
+#
+# 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) #####