Skip to content

Commit

Permalink
Create edges.py
Browse files Browse the repository at this point in the history
Python script to detect edges.
  • Loading branch information
pontikos committed Sep 19, 2015
1 parent 1fdf5e0 commit c49ff75
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions edges.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

import numpy as np
import matplotlib.pyplot as plt

from skimage.io import imread
from skimage.filters import roberts, sobel, scharr, prewitt

image = imread('Figure_41.jpg')

edges = roberts(image)
edges = sobel(image)


0 comments on commit c49ff75

Please sign in to comment.