Skip to content
Prev Previous commit
Next Next commit
Update gabor_filter.py
  • Loading branch information
Mozartuss authored Oct 14, 2021
commit ec3eed48930440a6c9819c7e449ef15f6adefeb9
3 changes: 2 additions & 1 deletion digital_image_processing/filters/gabor_filter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Implementation of the Gaborfilter
# https://en.wikipedia.org/wiki/Gabor_filter
import numpy as np
from cv2 import imread, cvtColor, COLOR_BGR2GRAY, filter2D, CV_8UC3, imshow, waitKey

Expand Down Expand Up @@ -52,4 +53,4 @@ def gabor_filter_kernel(ksize, sigma, theta, lambd, gamma, psi):
imshow("gabor filter with 20x20 mask and 6 directions", out)

waitKey(0)
Mozartuss/Python
Mozartuss/Python