Questions tagged [gaussian-kernel]
14 questions
5
votes
2 answers
How to approximate gaussian kernel for image blur
From wiki, a $3 \times3$ gaussian kernel is approximated as:
$$\frac{1}{16}\begin{bmatrix}1&2&1\\2&4&2\\1&2&1 \end{bmatrix}.$$
Applying this kernel in an image equals to applying an one-dimensional kernel in x-direction then again in y-direction, so…
Finley
- 153
- 1
- 6
4
votes
1 answer
Is Unsharp Mask (USM) Equivalent to Applying Laplacian of Gaussian Filter Directly on the Image?
There are some educational materials, like Alex Pan - CS 194-26: Image Manipulation and Computational Photography - Fun With Frequencies and Gradients, which demonstrate the unsharp masking technique used for sharpening the image is almost…
today
- 143
- 3
4
votes
1 answer
What Are Different Approaches to Realize a Gaussian Blur (Smoothing) Step on an Image?
Could some review some methods to apply Gaussian Filter (Blur) on an image besides the direct one using Truncated FIR (classic convolution with Truncated Kernel) approximation?
cz5
- 91
- 5
3
votes
0 answers
PYTHON Calculating Laplacian of Gaussian Kernel Matrix
I've been trying to create a LoG kernel for various sigma values. But the problem is that I always get float value matrix and I need integer value matrix as it is published on every document. I haven't find a method.
1st image: My functions and my…
Fatih M.
- 31
- 1
- 2
2
votes
1 answer
Fast computation of a convolution integral with Gaussian kernel
Given a convolution integral with gaussian kernel
$$
g(y) =\int_a^b\varphi(y-x)f(x)dx=\int_{-\infty}^{+\infty}\varphi(y-x)f(x)\mathbb{I}_{[a,b]}(x)dx
$$
where
$\varphi(x)= \frac{1}{\sqrt{2\pi}}\exp{\left(-\frac{x^2}{2}\right)}$ a unidimensional…
NN2
- 143
- 5
2
votes
1 answer
Appropriate Gaussian filter parameters when resizing image
When scaling an image down it is common to first convolve the image with a Gaussian filter. Given a scale factor $0 < s < 1,$ what is an appropriate $\sigma$ to use?
For example, if $s = 0.5$ (halving the width of the image) it seems reasonable to…
wcochran
- 193
- 1
- 5
1
vote
1 answer
What is the outcome of applying a derivative on X and Y for an image? and Other Gaussian Questions
I've been diving into smoothing kernels and I came up with a lot of questions that I haven't been able to find in the internet. If you can I'd appreciate the help :)
(Capitals and bold were used for formatting)
QUESTION 1
It is my understanding…
error404
- 11
- 2
1
vote
1 answer
Generating Kawase Blur Kernels to Approximate a Gaussian Blur on an Image
Is there an algorithm to generate the Kawase Blur Kernels to approximate the actual Gaussian Blur (of a specific kernel size, and if possible, a sigma)?
Shukant Pal
- 155
- 4
1
vote
0 answers
What are the differences between Gaussian down-sampling and bicubic down-sampling in Matlab? Which is more accurate for simulating low resolution?
I see in some of the technical papers, good practice for downsampling is to first pass the image through a Gaussian Filter and then take sampling to avoid problems like aliasing and so on.
However, I also see a lot of people simply use the bicubic…
ackbar03
- 11
- 1
0
votes
0 answers
How to enhance thermogram image in grayscale?
I'm trying to do some image processing to improve the image below but I'm having some trouble. I already tried to do histogram equalization followed by laplace sharpening, I tried to implement a buttersworth high pass filter but the image became all…
0
votes
0 answers
Choose the right Sigma for Gaussian filter
I have the following problem: I have a time series with counted data. I now want to smooth it using a Gaussian low-pass filter. Is there a method to determine the sigma value? The window should have a size of 365. The data set contains 2191…
faine10
- 1
0
votes
0 answers
Having trouble calculating the correct Gaussian Kernel values from the Gaussian function formula
I'm having trouble calculating the same values for a Gaussian filter kernel as those derived in the Canny edge detector Wikipedia page
It states:
The equation for a Gaussian filter kernel of size (2k+1)x(2k+1) is
given by:
$$ H_{i,j} = \frac {1}…
Nevermore
- 1
- 1
0
votes
0 answers
temporal smoothing: FWHM of Gaussian kernel vs. window length of moving average
Suppose in one case I convolve Gaussian kernel with FWHM=10 samples. I would like to compare the result with moving average. My question: should I take the moving average window also 10 samples? In other words, is the size of FWHM equivalent to…
student
- 101
0
votes
0 answers
Gaussian kernel notation
In this paper on content-aware seam carving, they have given an equation:
$$ w^{s}(k)=\frac{1}{n^{k}} \sum_{i=1}^{N}\left[\mathcal{N}\left( \|z_{i}-o| |_{2} \; | \; 0, \sigma^{2}\right) \cdot \delta\left[b\left(p_{i}\right)-C^{k}\right]\right]…
Nirmal
- 101
- 2