本文研究了一种空域中的图像分解技术,进而利用改种分解方法,探 讨了图像插值算法.本文提出的图像分解方法的主要思想是:利用类型确定的滤波器(如低通)对原始图像滤波,将图像分解为高频和低频两部分,并对分解得到的 低频或高频成分进行处理,图像可分解成不同频率分量的图层之和,进而在各个图层上进行相应的插值处理,最后利用逆变换得到最终的结果.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Implementation of 'Minimized-Laplacian Residual Interpolation for Color Image Demosaicking'
%
% This code is available only for reserch purpose.
% If you use this code for future publications,
% please cite the following paper.
%
% Daisuke Kiku, Yusuke Monno, Masayuki Tanaka, and Masatoshi Okutomi,
% 'Minimized-Laplacian Residual Interpolation for Color Image Demosaicking',
% IS&T/SPIE Electronic Imaging, Digital Photography X, 2014.
%
% Main funtion
% rgb_dem = demosaick(rgb, pattern, sigma)
%
% Input
% - rgb :