openpiv_cxx.filters.highpass_filter¶
- openpiv_cxx.filters.highpass_filter(img, sigma=1.0, truncate=2.0, clip_at_zero=True, keep_dtype=False)¶
A simple sliding window gaussian high pass filter.
- Parameters:
img (ndarray) – A two dimensional array containing pixel intenensities.
sigma (float) – Standard deviation of gaussian kernel.
truncate (float) – Truncate the kernel at specified standard deviations.
keep_dtype (bool) – Cast output to original dtype.
- Returns:
new_img – A two dimensional array containing pixel intenensities.
- Return type:
ndarray