MATLAB: Using svd before canny edge detection

edge detectionsvd

In my door detection project , i want to apply svd before edge detection process. my specific query is how i perform edge detection process by using this svd value([u,s,v]) .

Best Answer

im=rgb2gray(imread('2.png'));
figure,imshow(im);
[data_svd, S,D]=svd(double(im));
edge_image=edge(data_svd,'canny');
figure,imshow(edge_image);
pq.png
Is this you are looking for?