Elliptical adaptive structure element based on eigen value decomposition in matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to generate elliptical adaptive structure element based on eigen value decomposition for inpainting purpose. I am having images of size 360*640. So far, I have been able to get to the level of eigen decomposition. Please, how can I proceed from here.
```
clc;
clear all;
Img = imread('lab1.jpg');
Img = double(Img);
M = 3;
sigma1 = 1;
rw = 3;
g = gradient(Img, sigma1);
cutoff = ceil(3*rw);
h = fspecial('gaussian',2*cutoff+1,rw);
H = conv2(g*g.',h,'same');
[V, e] = eig(H);
```
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Decomposition finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!