Skip to content
Snippets Groups Projects
Commit 35765f53 authored by Wolfgang Ludwig's avatar Wolfgang Ludwig
Browse files

Problems with Meld / rebase. Use version from origin/master

parent a19909e0
No related branches found
No related tags found
No related merge requests found
...@@ -394,7 +394,15 @@ for det_ind = app.det_ind ...@@ -394,7 +394,15 @@ for det_ind = app.det_ind
dvecsam = gtGeoLab2Sam(dveclab, rot_l2s, labgeo, samgeo, true); dvecsam = gtGeoLab2Sam(dveclab, rot_l2s, labgeo, samgeo, true);
% Let's convert grain center Sam -> Lab % Let's convert grain center Sam -> Lab
[~, shifts_sam] = gtMatchGetSampleShifts(parameters, om); if isfield(parameters.acq, 'correct_sample_shifts')
if parameters.acq.correct_sample_shifts
[~, shifts_sam] = gtMatchGetSampleShifts(parameters, om);
else
shifts_sam = 0;
end
else
shifts_sam = 0;
end
gcsam_v = gcsam(ones(1, size(rot_l2s, 3)), :) + shifts_sam; gcsam_v = gcsam(ones(1, size(rot_l2s, 3)), :) + shifts_sam;
gclab_v_t = gtGeoSam2Lab(gcsam_v, rot_s2l, labgeo, samgeo, false)'; gclab_v_t = gtGeoSam2Lab(gcsam_v, rot_s2l, labgeo, samgeo, false)';
......
This diff is collapsed.
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