문제

I am new to image processing and am trying to learn few concepts by practically implementing certain functions. I heard about creating eigen images of an image, so tried to implement the same, to actually know what they are and what properties they alter.

Thus I obtained the eigen vectors using the eig function in matlab. How can I display these eigen images using the vector? Please forgive me if the question is wrong or rudimentary. Your help is much appreciated.

도움이 되었습니까?

해결책

Assuming you have several images of size r x c, then taken the steps described on wikipedia, you should now have eigenvectors ev1, ev2 ... of length r x c.

If this is the case, it should be fairly easy to turn these into images again:

myImage1 = reshape(ev1,r,c);

Check whether r and c are in the right order and whether you need to transpose, but this is basically it.

For showing them you may want to look into surf or image.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top