MCPcopy Create free account
hub / github.com/VisionXLab/OF-Diff / fspecial

Function fspecial

ldm/modules/image_degradation/bsrgan_light.py:209–217  ·  view source on GitHub ↗

python code from: https://github.com/ronaldosena/imagens-medicas-2/blob/40171a6c259edec7827a6693a93955de2bd39e76/Aulas/aula_2_-_uniform_filter/matlab_fspecial.py

(filter_type, *args, **kwargs)

Source from the content-addressed store, hash-verified

207
208
209def fspecial(filter_type, *args, **kwargs):
210 '''
211 python code from:
212 https://github.com/ronaldosena/imagens-medicas-2/blob/40171a6c259edec7827a6693a93955de2bd39e76/Aulas/aula_2_-_uniform_filter/matlab_fspecial.py
213 '''
214 if filter_type == 'gaussian':
215 return fspecial_gaussian(*args, **kwargs)
216 if filter_type == 'laplacian':
217 return fspecial_laplacian(*args, **kwargs)
218
219
220"""

Callers 3

add_blurFunction · 0.70
degradation_bsrganFunction · 0.70

Calls 2

fspecial_gaussianFunction · 0.70
fspecial_laplacianFunction · 0.70

Tested by

no test coverage detected