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

6D-reconstruction: fixed a small inconsitency

parent 0bf44585
No related branches found
No related tags found
No related merge requests found
...@@ -127,7 +127,7 @@ classdef Gt6DVolumeToBlobProjector < Gt6DVolumeProjector ...@@ -127,7 +127,7 @@ classdef Gt6DVolumeToBlobProjector < Gt6DVolumeProjector
sf_time = []; sf_time = [];
end end
if (~isempty(self.ss_geometries)) if (self.using_super_sampling())
offs = self.ss_offsets{n}; offs = self.ss_offsets{n};
else else
offs = self.offsets{n}; offs = self.offsets{n};
...@@ -147,21 +147,16 @@ classdef Gt6DVolumeToBlobProjector < Gt6DVolumeProjector ...@@ -147,21 +147,16 @@ classdef Gt6DVolumeToBlobProjector < Gt6DVolumeProjector
function [sino, bs_time, sf_time] = process_sino_bwd(self, blobs, n) function [sino, bs_time, sf_time] = process_sino_bwd(self, blobs, n)
% Here we extract the individual sinograms from the blobs % Here we extract the individual sinograms from the blobs
if (~isempty(self.ss_geometries)) if (self.using_super_sampling())
offs = self.ss_offsets{n}; offs = self.ss_offsets{n};
geom = self.ss_geometries{n};
else else
offs = self.offsets{n}; offs = self.offsets{n};
geom = self.geometries{n};
end end
if (~isempty(self.shape_functions)) sinogram_size = [ ...
sizes_shape_funcs = cat(1, self.shape_functions{n}(:).bbsize); self.proj_size(1), size(geom, 1), self.proj_size(2)];
depth_sino_sf = sum(sizes_shape_funcs(:, 3));
sinogram_size = [ ...
self.proj_size(1), depth_sino_sf, self.proj_size(2)];
else
sinogram_size = [ ...
self.proj_size(1), numel(offs.proj), self.proj_size(2)];
end
c = tic(); c = tic();
if (self.blob_sinogram_c_functions) if (self.blob_sinogram_c_functions)
......
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