Skip to content
Snippets Groups Projects
Commit c33aad56 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

6D-reconstruction: removed initial LS steps and added more iterations to compensate

parent 9957e4a2
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ function par_rec = gtRecGrainsDefaultParameters(algo)
'ospace_oversize', 1.1, 'rspace_oversize', 1.2, ...
'shape_functions_type', 'none');
par_rec = struct(...
'algorithm', upper(algo), 'num_iter', 50, 'list', [], ...
'algorithm', upper(algo), 'num_iter', 100, 'list', [], ...
'options', par_6D_rec_opts);
end
end
......@@ -41,15 +41,12 @@ function [algo, good_or] = gtReconstruct6DLaunchAlgorithm(sampler, rec_opts, par
switch (upper(rec_opts.algorithm))
case '6DL1'
algo.cp_ls(30); % To get close to the feasible region
algo.cp_l1(rec_opts.num_iter, rec_opts.lambda);
case '6DLS'
algo.cp_ls(rec_opts.num_iter);
case '6DTV'
algo.cp_ls(30); % To get close to the feasible region
algo.cp_tv(rec_opts.num_iter);
case '6DTVL1'
algo.cp_ls(30); % To get close to the feasible region
algo.cp_tvl1(rec_opts.num_iter, rec_opts.lambda);
otherwise
error('gtReconstructGrainOrientation:wrong_parameter', ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment