⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os_asums.m

📁 实现PET/SPECT 幻影图像regression的matlab源代码 algorithms for Poisson emission tomography PET/SPECT/ Poisson
💻 M
字号:
 function Asums = os_asums(Gt, ci, nb, nsubset)%function Asums = os_asums(Gt, ci, nb, nsubset)%%	for ordered subsets (block iterative, incremental gradient) algorithms,%	we need to precompute the following backprojections:%		\sum_{i \in subset_m} a_ij = \sum_{i \in subset_m} c_i g_ijif nargin ~= 4, help(mfilename), error(mfilename), endna = ncol(Gt) / nb;if na * nb ~= ncol(Gt)	error('block size not a divisor of projection data size')end[starts, nsubset] = subset_start(nsubset);if ~isvar('ci') | isempty(ci)	ci = ones(nb,na);endfor iset=1:nsubset        ia = starts(iset):nsubset:na;        ii = outer_sum(1:nb,(ia-1)*nb);         % relevant row indices        Asums(:,iset) = Gt(:,ii) * col(ci(:,ia));end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -