-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmaster_reg_bead_20180328_9_after_vertical_phantom.m
97 lines (76 loc) · 2.8 KB
/
master_reg_bead_20180328_9_after_vertical_phantom.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
clear all;
close all;
%% load parameters
param = init_param();
%%
[~,hostname] = system('hostname')
param.hostname = strtrim(hostname);
setup_par
if ~isempty(strfind(param.hostname, 'Justins-Mac'))
param.ppath = '/Users/justin/Desktop/DDLFM';
addpath([param.ppath '/lotus-registration']);
param.ipath = [param.ppath '/bead/20180328'];
param.opath = param.ipath;
param.parallel = false;
elseif ~isempty(strfind(param.hostname, 'willis'))
param.ppath = '/home/jkinney/Desktop/DDLFM';
addpath([param.ppath '/lotus-registration']);
param.ipath = [param.ppath '/bead/20180328'];
param.opath = param.ipath;
param.parallel = false;
else
param.ppath = '/home/jkinney';
addpath([param.ppath '/lotus-registration']);
param.ipath = '/om/user/jkinney/DLFM/bead/20180328';
param.opath = param.ipath;
%param.opath = '/om/scratch/Tue/jkinney/bead/20180328';
param.parallel = false;
end
%param.inputFilePath1 = [param.ipath '/horizontal/Reconstructed/'];
param.inputFilePath1 = [param.ipath '/vertical_phantom/'];
%param.inputFilePath2 = [param.ipath '/vertical/Reconstructed/'];
param.inputFilePath2 = [param.ipath '/vertical_phantom/copies_of_vertical/'];
%%
param.savePath = [param.opath '/registration/'];
param.voxel_x = 0.5; % um
param.voxel_y = 0.5; % um
param.voxel_z = 4.0; % um
param.angle = [0 0 0]; % radians
param.interp = 1;
param
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_0_0_0_trans_0_0_50.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_0_0_0_trans_0_50_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_0_0_0_trans_50_0_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_0_0_0_trans_50_50_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_0_0_0_trans_50_50_50.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_0_0_90_trans_0_0_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_0_90_0_trans_0_0_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_90_0_0_trans_0_0_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_90_0_90_trans_0_0_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_90_90_0_trans_0_0_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_-90_-90_-90_trans_0_0_0.mat'};
register(param)
close all;
param.inputFileName = {'Recon3D_after_9_Mono_N15_20180608_110054_rot_90_90_90_trans_0_0_0.mat'};
register(param)
close all;