Elliptical adaptive structure element based on eigen value decomposition in matlab

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Decomposition 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by