Skip to content

Instantly share code, notes, and snippets.

@6uja
6uja / hybrid.py
Created September 30, 2025 08:42
import sys
import cv2
import numpy as np
import os
def gaussian_blur_kernel_2d(sigma, height, width):
y, x = np.mgrid[0:height, 0:width]
y = y - (height // 2)
x = x - (width // 2)