Elliptical adaptive structure element based on eigen value decomposition in matlab
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Linear Algebra 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!