Escolar Documentos
Profissional Documentos
Cultura Documentos
Hn = In*L(3)
̅ +𝐃
F=𝐁 ̅
Where i and j are pixel indexes. The filter well as for obtaining optimized weight
kernel Wij is a function of the guidance maps for the fusion of source images.
image I and independent of p. This filter is
linear with respect to p. Now we define the
Algorithm for weights maps using image
guided filter. The key assumption of the
statistics:
guided filter is a local linear model
Consider two source images A &B. Passes
between the guidance I and the filtering
through guided filter and take the guided
output q. We assume that q is a linear
difference output. These guided difference
transform of I in a window K centered at
images are used to find the weights by
the pixel k [3]: measuring the strength of details.
qi ak Ii bk i k Calculate the Covariance of the guided
difference coefficient AGd (i,j) or
Where ak, bk are some linear coefficients BGd(i,j).
assumed to be constant in ωk. Where ωk is Cov (X) =E[ (X - E(X) ) (X - E(X) )T
X = Neighbourhood matrix.
a square window of size (2r 1) (2r 1)
Calculate Vertical strength and Horizontal
p – Input image, I-guidance image, q - strength.
output image
H Strength (i,j)= ∑𝑤𝑒𝑖𝑔𝑒𝑛 𝑘𝑜𝑓𝑐𝑖,𝑗
q meana .* I meanb
V Strength (i,j)= ∑𝑤𝑒𝑖𝑔𝑒𝑛𝑘𝑜𝑓𝑐𝑖,𝑗
Where a, b are linear coefficients
Eigen k = eigen value of covariance matrix
a covIp./ varI
Calculate the weights of guided difference
covIp corrIp meanI .* meanp coefficients.
varI corrI meanI .* meanI W (i,j) = H detail Strength(i,j)+ V detail
corrIp = fmean(I.*p) Strength(i,j)
corrI = fmean(I.*I) , b = meanp- Block Diagram
a.*meanIWhen I = p (guidance image =
Input image)
covIp = σp2 then a = σp2 / (σp2 + ε) and
b = (1 - a)µp
Case 1: When σp2>> ε (edge pixel)
then a = 1, b = 0
So the output (q) = Input (p)
Pixel is preserved.
70 API
60
50 SD 100
40 API
30 AG 80
20 SD
60
10 H
40 AG
0
MIF 20 H
FSI 0
MIF
CC
FSI
CC
100
80 API
Fig18: Bar chart for Date set-4
60 SD
40
20 AG
0 H
MIF
Data set-5: MR-T1 and MR-T2 scan
images of Alzheimer disease.
FSI
In this project, a method of image [3] Kaiming He, Member, IEEE, Jian Sun,
fusion using the concept of Guided filter Member, IEEE, and Xiaoou Tang, Fellow,
and discrete wavelet transform is used for IEEE “Guided Image Filtering” vol. 35,
generating weight maps. The detail images june2013.
are generated using DWT algorithm for
better enhancement of our images. The [4] Durga Prasad Bavirisetti1 |
content, edge preservation and activity Interactive “ Digital image processing ” 4th
level compared with several existing state- edition, 2018, Pearson publications.
of-art image fusion methods.