Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- obr=imread('C:\Users\VPC\Desktop\WKiRO\cw1\obrazy testowe\Filtracja\LENABC.BMP');
- e_sob=edge(obr,'sobel',0.06);
- e_prew=edge(obr,'prewitt',0.06);
- e_canny=edge(obr,'canny',[0.08 0.2],1);
- e_zeros=edge(obr,'zerocross');
- e_log=edge(obr,'log',0.04,1);
- %plot
- subplot(2,3,1);
- subimage(obr);
- subplot(2,3,2);
- subimage(e_sob);
- subplot(2,3,3);
- subimage(e_prew);
- subplot(2,3,4);
- subimage(e_canny);
- subplot(2,3,5);
- subimage(e_zeros);
- subplot(2,3,6);
- subimage(e_log);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement