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

📄 eql_emdp.m

📁 实现PET/SPECT 幻影图像regression的matlab源代码 algorithms for Poisson emission tomography PET/SPECT/ Poisson
💻 M
字号:
 function x = eql_emdp(x, G, yi, ci, ri, Asum, C)%function x = eql_emdp(x, G, yi, ci, ri, Asum, C)%	Alvaro De Pierro's modified EM algorithm%	for quadratically penalized log-likelihood%	image reconstruction from Poisson data%	one iteration%	Asum = A'1 = G' * c	(optional)%	Penalty: R(x) = \sum_k ([Cx]_k)^2 / 2%%	Copyright 1998, Jeff Fessler, The University of Michiganif nargin < 3, help(mfilename), error(mfilename), endif ~isvar('ci') | isempty(ci)	ci = ones(size(yi(:)));endif ~isvar('ri') | isempty(ri)	ri = zeros(size(yi(:)));endif ~isvar('Asum') | isempty(Asum)	Asum = G' * ci;endif ~isvar('C') | isempty(C)	C = 0;endeml_check(yi, ci, ri);if any(x <= 0), error 'need x > 0', end	yp = ci .* (G * x) + ri;		% predicted measurements	if any(yi & ~yp), error 'model mismatch', end	eterm = G' * (ci .* (yi ./ yp));	%	%	if \zkj = 1_{\ckj \neq 0} / \sum_j' 1_{\ckj' \neq 0}	%	then \tilde{c}_j = \sum_k \ckj^2 / \zkj	%	%	in serial C we could be smarter and use a GEM approach	% 	n_per_k = sum(C' ~= 0)';	if max(n_per_k) == 2		% for consistency with ASPIRE using depierro=2 factor%		warning 'using depierro = 2 version'		Cfac = (C .* C)' * (2 * ones(size(n_per_k)));	else		Cfac = (C .* C)' * n_per_k;	end	x = eql_root(Cfac, (Asum + C'*(C*x) - Cfac .* x) / 2, x .* eterm);

⌨️ 快捷键说明

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