Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- #definindo as matrizes de filtro
- media = np.array([[1,1,1],
- [1,1,1],
- [1,1,1]], dtype=np.float32)
- gauss = np.array([[1,2,1],
- [2,4,2],
- [1,2,1]], dtype=np.float32)
- horizontal = np.array([[-1,0,1],
- [-2,0,2],
- [-1,0,1]], dtype=np.float32)
- vertical = np.array([[-1,-2,-1],
- [0,0,0],
- [1,2,1]], dtype=np.float32)
- laplacian = np.array([[0,-1,0],
- [-1,4,-1],
- [0,-1,0]], dtype=np.float32)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement