Last active
May 3, 2026 11:40
-
-
Save monogenea/4a0e9895286ba3968d3d99c3de718607 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 as cv2 | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from skimage import data | |
| from scipy.ndimage import gaussian_laplace | |
| # Load a greyscale test image (uint8, values 0–255) | |
| image = data.camera() | |
| fig, ax = plt.subplots(figsize=(5, 5)) | |
| ax.imshow(image, cmap='gray') | |
| ax.set_title('Original image') | |
| ax.axis('off') | |
| plt.tight_layout() | |
| plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment