-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmaster_reg_worm_20180103.m
More file actions
48 lines (38 loc) · 1.21 KB
/
master_reg_worm_20180103.m
File metadata and controls
48 lines (38 loc) · 1.21 KB
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
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 '/worm/20180103'];
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 '/worm/20180103'];
param.opath = param.ipath;
param.parallel = false;
else
param.ppath = '/home/jkinney';
addpath([param.ppath '/lotus-registration']);
param.ipath = '/om/user/jkinney/DLFM/worm/20180103';
param.opath = param.ipath;
end
param.inputFilePath1 = [param.ipath '/horizontal/Reconstructed/'];
param.inputFilePath2 = [param.ipath '/vertical/Reconstructed/'];
%%
param.savePath = [param.opath '/registration/'];
param.voxel_x = 0.323/2; % um
param.voxel_y = 0.323/2; % um
param.voxel_z = 2.0; % um
%param.angle = [-1.2*pi/2 0 0];
param
param.inputFileName = {'Recon3D_2_100ms_Mono_16bit_N15_FrameNumber_0001.mat'};
register(param)
close all;