eigenvalue decomposition of structure tensor in matlab
问题 I have a synthetic image. I want to do eigenvalue decomposition of local structure tensor (LST) of it for some edge detection purposes. I used the eigenvalues l1 , l2 and eigenvectors e1 , e2 of LST to generate an adaptive ellipse for each pixel of image. Unfortunately I get unequal eigenvalues l1 , l2 and so unequal semi-axes length of ellipse for homogeneous regions of my figure: However I get good response for a simple test image: I don't know what is wrong in my code: function [H,e1,e2,l1