OSDN Git Service

Add: TIPS Data for Mask and MaskBack of mrcImageFourierNeighborCorrelation
[eos/tutorial.git] / TIPS / CreateGridImage / Makefile.config
1 #
2 #       This is Sub Makefile for Create Sample Image that has grid points.
3 #
4
5 #### Input extention ####
6 # Defined at Main
7
8 #### Suffixes rule ####
9 .SUFFIXES: .$(NUL) .$(ONE) .$(GRID)
10
11 #### INCLUDE ####
12 -include ../NulImage/Makefile.config
13
14 #### Definition ####
15 # Defined at Main
16
17 # For ../NulImage/Makefile.config
18 NUL_FILE_NAME=$(FILE_NAME)
19 NUL_SIZE_X=$(1SIZE_X)
20 NUL_SIZE_Y=$(1SIZE_Y)
21 NUL_SIZE_Z=$(1SIZE_Z)
22 NUL_VALUE=$(BACK_VALUE)
23 NUL_LENGTH=$(LENGTH)
24
25 #### Rules of the list created ####
26
27
28 ##### Commands #####
29 1PointImage::
30         make $(FILE_NAME).$(ONE);
31
32 GridImage::
33         make $(FILE_NAME).$(GRID);
34         
35 Grid2Tiff::
36         mrc2tiff -i $(FILE_NAME).$(GRID) -o $(FILE_NAME).$(TIFF);
37
38 ##### Commands(Input to Output) #####
39 .$(NUL).$(ONE):
40         mrcImageScalarAdd -i $*.$(NUL) -o $*.$(ONE) -m 1 -v $(POINT_VALUE) \
41                                                 -x $(POINT_X) -y $(POINT_Y) -z $(POINT_Z);
42
43 .$(ONE).$(GRID):
44         mrcImageCrystalCreate -i $*.$(ONE) -o $*.$(GRID) \
45                                                         -nx $(NUM_X) -ny $(NUM_Y) -nz $(NUM_Z);