diff options
Diffstat (limited to '125/CH7/EX7.27/Fig7_27.sce')
-rwxr-xr-x | 125/CH7/EX7.27/Fig7_27.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/125/CH7/EX7.27/Fig7_27.sce b/125/CH7/EX7.27/Fig7_27.sce new file mode 100755 index 000000000..b59432f68 --- /dev/null +++ b/125/CH7/EX7.27/Fig7_27.sce @@ -0,0 +1,26 @@ +//Caption: Scilab code for Edge Detection using Different Edge detectors
+//[1]. Sobel [2].Prewitt [3].Log [4].Canny
+//Fig7.27
+//page389
+close;
+clc;
+a = imread('E:\DIP_JAYARAMAN\Chapter7\sailing.jpg');
+a = rgb2gray(a);
+c = edge(a,'sobel');
+d = edge(a,'prewitt');
+e = edge(a,'log');
+f = edge(a,'canny');
+ShowImage(a,'Original Image')
+title('Original Image')
+figure
+ShowImage(c,'Sobel')
+title('Sobel')
+figure
+ShowImage(d,'Prewitt')
+title('Prewitt')
+figure
+ShowImage(e,'Log')
+title('Log')
+figure
+ShowImage(f,'Canny')
+title('Canny')
\ No newline at end of file |