Skip to content

Commit ef0ebf1

Browse files
committed
Added gifs
1 parent c11bb60 commit ef0ebf1

32 files changed

+2
-4
lines changed

App/Classes/Effects/Filter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def __init__(
1919

2020
# Attributes
2121
self.type = type
22-
self.ahmed = "ahmed"
2322
# The spread or standard deviation of the Gaussian distribution
2423
self.sigma = sigma
2524
self.kernel_size = int(kernel_size)
@@ -79,7 +78,6 @@ def update_attributes(self):
7978

8079
def calculate_filter(self):
8180
if self.type == "Mean":
82-
print(self.ahmed)
8381
return self.mean_filter()
8482
elif self.type == "Median":
8583
return self.median_filter()

App/Classes/Effects/Hybrid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ def update_filtering(self):
281281

282282
elif not self.image2 is None:
283283
if self.hybrid_widget.radio_low_pass.isChecked():
284-
image2 = self.apply_filter(self.image2, self.low_pass_cutoff_freq, 1)
284+
image2 = self.apply_filter(self.image2, self.high_pass_cutoff_freq, 0)
285285
self.frame2.Display_image(image2)
286286
else:
287-
image2 = self.apply_filter(self.image2, self.high_pass_cutoff_freq, 0)
287+
image2 = self.apply_filter(self.image2, self.low_pass_cutoff_freq, 1)
288288
self.frame2.Display_image(image2)
289289

290290
def update_lowpass(self):
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8.33 KB
Binary file not shown.
Binary file not shown.

README_resources/Navigate.gif

19.5 MB
Loading

README_resources/noise.gif

21.2 MB
Loading

README_resources/reset.gif

22.4 MB
Loading

README_resources/snake.gif

27.9 MB
Loading

0 commit comments

Comments
 (0)