sunwaee commited on
Commit
35efb41
·
1 Parent(s): 43cc773

inverted polarity

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ if img_or_video:
42
  gauss_highpass = gray - lowpass
43
 
44
  # Display original
45
- st.image(gauss_highpass, caption='High Pass')
46
 
47
  # Update elements
48
  filter_text.write(f'Using filter of size {size}x{size}. ')
 
42
  gauss_highpass = gray - lowpass
43
 
44
  # Display original
45
+ st.image(1-gauss_highpass, caption='High Pass')
46
 
47
  # Update elements
48
  filter_text.write(f'Using filter of size {size}x{size}. ')