Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update digital_image_processing/filters/gabor_filter.py
Co-authored-by: John Law <johnlaw.po@gmail.com>
  • Loading branch information
Mozartuss and poyea authored Oct 19, 2021
commit 08d703e1b27f68f3b751ea9264aad2f95333fdc6
3 changes: 3 additions & 0 deletions digital_image_processing/filters/gabor_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def gabor_filter_kernel(


if __name__ == "__main__":
Comment thread
Mozartuss marked this conversation as resolved.
import doctest

doctest.testmod()
# read original image
img = imread("../image_data/lena.jpg")
# turn image in gray scale value
Expand Down