Clear Filters
Clear Filters

Elliptical adaptive structure element based on eigen value decomposition in matlab

1 view (last 30 days)
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);
```

Answers (0)

Categories

Find more on Matrix Decomposition in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!