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

6D-Twin-datastructure: fixed small output glitch

parent 24a7869c
No related branches found
No related tags found
No related merge requests found
...@@ -306,11 +306,6 @@ function [samp_ors, estim_space_bbox_pix, estim_orient_bbox] = gt6DCreateProjDat ...@@ -306,11 +306,6 @@ function [samp_ors, estim_space_bbox_pix, estim_orient_bbox] = gt6DCreateProjDat
% Using the same because it gives the same size/uvw-limits % Using the same because it gives the same size/uvw-limits
if (ii_g > 1) if (ii_g > 1)
blobs(extended_projs(ii_g).shared_refl) = samp_ors(1).proj(conf.det_index).bl(extended_projs(ii_g).shared_refl_pos_in_parent); blobs(extended_projs(ii_g).shared_refl) = samp_ors(1).proj(conf.det_index).bl(extended_projs(ii_g).shared_refl_pos_in_parent);
if (conf.use_parent_mask)
proj_bl_masks = project_masks(samp_ors(ii_g), extended_projs(ii_g), grs(1).fwd_sim(conf.det_index).gv_verts, p, conf);
blobs = assign_masks(blobs, proj_bl_masks, ~extended_projs(ii_g).shared_refl);
end
end end
else else
fprintf(' - Loading segmented blobs..') fprintf(' - Loading segmented blobs..')
...@@ -333,6 +328,14 @@ function [samp_ors, estim_space_bbox_pix, estim_orient_bbox] = gt6DCreateProjDat ...@@ -333,6 +328,14 @@ function [samp_ors, estim_space_bbox_pix, estim_orient_bbox] = gt6DCreateProjDat
end end
end end
if (conf.use_raw_images(ii_g) && conf.use_parent_mask && ii_g > 1)
fprintf('\b\b: Done in %g seconds.\n - Producing blob masks..', toc(c))
c = tic();
proj_bl_masks = project_masks(samp_ors(ii_g), extended_projs(ii_g), grs(1).fwd_sim(conf.det_index).gv_verts, p, conf);
blobs = assign_masks(blobs, proj_bl_masks, ~extended_projs(ii_g).shared_refl);
end
fprintf('\b\b: Done in %g seconds.\n - Equalizing blob sizes..', toc(c)) fprintf('\b\b: Done in %g seconds.\n - Equalizing blob sizes..', toc(c))
c = tic(); c = tic();
......
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