Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ai4ce/RAP
/ normalize_kernel
Function
normalize_kernel
utils/brisque.py:50–51 ·
view source on GitHub ↗
(kernel)
Source
from the content-addressed store, hash-verified
48
49
50
def
normalize_kernel(kernel):
51
return
kernel / np.sum(kernel)
52
53
54
def
gaussian_kernel2d(n, sigma):
Callers
1
gaussian_kernel2d
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected