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

Function fspecial

ldm/modules/image_degradation/bsrgan.py:210–218  ·  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

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

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