ideal_filter module¶
-
ideal_filter.
start
(vidFile, alpha, low, high, chromAttenuation, name)¶ Performs color magnification on the video by applying an ideal bandpass filter, i.e. applies a discrete fourier transform on the gaussian downsapled video and cuts off the frequencies outside the bandpass filter, magnifies the result and saves the output video :param vidFile: Video file :param alpha: Magnification factor :param low: Temporal low frequency cutoff :param high: Temporal high frequency cutoff :param chromAttenuation: Boolean if chrominance attenuation should be applied :param name: Output video name