Created
October 26, 2016 08:36
-
-
Save mstrYoda/721cc755ee51bba3f704393ba35ad086 to your computer and use it in GitHub Desktop.
matlab basic sobel and prewitt edge detection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f=imread('coins.png'); | |
subplot(2,4,1);imshow(f); | |
bw1 = edge(f,'prewitt'); | |
subplot(2,4,2);imshow(bw1); | |
bw2 = edge(f,'sobel'); | |
subplot(2,4,3);imshow(bw2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment