Effacer les filtres
Effacer les filtres

Elliptical adaptive structure element based on eigen value decomposition in matlab

1 vue (au cours des 30 derniers jours)
Patrice Gaofei
Patrice Gaofei le 30 Nov 2020
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);
```

Réponses (0)

Catégories

En savoir plus sur Matrix Decomposition dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by