PART -14 PHOTUTILS | Mastering Gaussian Kernel in with Python: Image Processing | DESI ASTRO

preview_player
Показать описание
SOME PYTHON BOOKS TO BUY:
----------------------------------------------------------------------------------------------------

This function gaussian_kernel generates a 2D Gaussian kernel of a specified size and standard deviation. You can adjust the size and sigma parameters according to your requirements. This kernel can be used for tasks like image convolution, smoothing, or filtering

A 2D Gaussian kernel is a matrix used in image processing for tasks like blurring, edge detection, and noise reduction. It's based on the Gaussian distribution, which is a bell-shaped curve representing the probability distribution of a continuous random variable. In image processing, applying a Gaussian kernel effectively convolves the image with this bell-shaped function, resulting in smoothing or blurring of the image.

# import library
import photutils
Gauss_kernel=make_2dgaussian_kernel(fwhm=50,size=(111,115))
Gauss_kernel