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

6D-Reconstruction: let's now trust FwdSim determination of volume size (with a...

6D-Reconstruction: let's now trust FwdSim determination of volume size (with a small margin addition)

Signed-off-by: default avatarNicola Vigano <nicola.vigano@esrf.fr>
parent 1c190f92
No related branches found
No related tags found
No related merge requests found
......@@ -155,8 +155,9 @@ classdef Gt6DReconstructionAlgorithmFactory < handle
% Build Empty volumes
blob_size = size(bl(1).intm);
if (isfield(ref_gr, 'proj'))
% volume_size = [ref_gr.proj.vol_size_y, ref_gr.proj.vol_size_x, ref_gr.proj.vol_size_z];
volume_size = Gt6DReconstructionAlgorithmFactory.get_volume_size(ref_gr.center, omegas, bl, sampler.parameters);
spacing = mean([ref_gr.proj.vol_size_y, ref_gr.proj.vol_size_x, ref_gr.proj.vol_size_z]) * 0.2;
volume_size = round([ref_gr.proj.vol_size_y, ref_gr.proj.vol_size_x, ref_gr.proj.vol_size_z] + spacing);
% volume_size = Gt6DReconstructionAlgorithmFactory.get_volume_size(ref_gr.center, omegas, bl, sampler.parameters);
else
volume_size = Gt6DReconstructionAlgorithmFactory.getVolSize(blob_size, self.vol_type);
end
......
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