Open Emiree123 opened 7 months ago
gaussian filtering, box filtering, bilateral filtering with high pass for post processing the image
import numpy as np from scipy.signal import butter, filtfilt
def butter_highpass(cutoff, fs, order=5): nyq = 0.5 * fs normal_cutoff = cutoff / nyq b, a = butter(order, normal_cutoff, btype='high', analog=False) return b, a
def highpass_filter(data, cutoff, fs, order=5): b, a = butter_highpass(cutoff, fs, order=order) y = filtfilt(b, a, data) return y
highpass/lowpass syntax
imfuse(matlab) - https://stackoverflow.com/questions/24725310/how-can-i-make-the-composite-of-two-images-in-opencv-with-python with 50/50 split, one image shouldn't be more visible than the other, image all three, sound speed , reflection, combination