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

topotomo import: fixed permutation of images

parent 40760c2c
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,8 @@ function gr = gtGrainImportTopotomoScan(gr, p, det_ind, data_type)
b_vol = zeros(b_size, data_type);
for ii_p = 1:nph
filen_name = fullfile(base_dir, [base_name, sprintf('%04d.edf', (ii_b - 1) * nph + ii_p)]);
b_vol(:, :, ii_p) = edf_read(filen_name, [], 'nodisp', info);
% Heads up: transposing the images
b_vol(:, :, ii_p) = edf_read(filen_name, [], 'nodisp', info, 'permute', false);
end
bck_grnd = median(b_vol(:, :, [1:5, end-5:end]), 3);
......
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