-
大小: 16.58M文件类型: .rar金币: 2下载: 1 次发布日期: 2021-02-12
- 语言: Matlab
- 标签: 图像复原 Deconvolutio matlab blind-decon
资源简介
包括一片英文文献及其所对应的代码实现,主要功能是实现对运动模糊图像的复原。
代码片段和文件信息
function [x y k] = center_kernel_separate(x y k)
%
% Center the kernel by translation so that boundary issues are mitigated. Additionally
% if one shifts the kernel the the image must also be shifted in the
% opposite direction.
% get centre of mass
mu_y = sum([1:size(k 1)] .* sum(k 2)‘);
mu_x = sum([1:size(k 2)] .* sum(k 1));
% get mean offset
offset_x = round( floor(size(k 2) / 2) + 1 - mu_x );
offset_y = round( floor(size(k 1) / 2) + 1 - mu_y );
fprintf(‘CenterKernel: weightedMean[%f %f] offset[%d %d]\n‘ mu_x-1 mu_y-1 offset_x offset_y);
% make kernel to do translation
shift_kernel = zeros(abs(offset_y * 2) + 1 abs(offset_x * 2) + 1);
shift_kernel(abs(offset_y) + 1 + offset_y abs(offset_x) + 1 + offset_x) = 1;
% shift both image and blur kernel
kshif
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 988 2011-06-28 00:42 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\center_kernel_separate.m
文件 3169 2011-05-26 09:49 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\fast_deconv_bregman.m
文件 59141 2011-05-26 03:09 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\fishes.jpg
文件 3957468 2011-05-26 03:09 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\lyndsey.tif
文件 5929 2011-06-28 01:14 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\ms_blind_deconv.m
文件 142355 2011-05-26 03:09 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\mukta.jpg
文件 448 2011-02-03 21:30 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\pcg_kernel_core_irls_conv.m
文件 2194 2011-05-26 09:54 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\pcg_kernel_irls_conv.m
文件 1489716 2011-05-26 03:09 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\pietro.tif
文件 725 2011-06-28 01:41 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\README.txt
文件 6074 2011-01-30 03:04 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\solve_image_bregman.m
文件 3385 2011-06-28 00:49 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\ss_blind_deconv.m
文件 1862 2011-06-28 01:51 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv\test_blind_deconv.m
文件 14336400 2011-10-28 14:51 fergus_2011blind deconvolution using a normalized sparsity measure\priors_cvpr11[1].pdf
目录 0 2011-10-28 14:55 fergus_2011blind deconvolution using a normalized sparsity measure\blinddeconv
目录 0 2011-10-28 14:55 fergus_2011blind deconvolution using a normalized sparsity measure
----------- --------- ---------- ----- ----
20009854 16
评论
共有 条评论