Questions tagged [gaussianblur]

In image processing, a Gaussian blur (also known as Gaussian smoothing) is the result of blurring an image by a Gaussian function (named after mathematician and scientist Carl Friedrich Gauss).

Gaussian Blur is a simple algorithm of blurring. In image processing, a Gaussian blur (also known as Gaussian smoothing) is the result of blurring an image by a Gaussian function (named after mathematician and scientist Carl Friedrich Gauss).

It is a widely used effect in graphics software, typically to reduce image noise and reduce detail. The visual effect of this blurring technique is a smooth blur resembling that of viewing the image through a translucent screen, distinctly different from the bokeh effect produced by an out-of-focus lens or the shadow of an object under usual illumination.

Gaussian smoothing is also used as a pre-processing stage in computer vision algorithms in order to enhance image structures at different scales - see scale space representation and scale space implementation.

210 questions
2
votes
2 answers

Blur kernel separation for two pass rendering

It is necessary for me to calculate the kernel for two-pass blur. Suppose there is a blur kernel 5x5, which is generated as follows: public static float[][] getKernelf(int size, float sigma) { float[][] kernel = new float[size][size]; int…
congard
  • 945
  • 2
  • 10
  • 28
2
votes
0 answers

Depth of Field shader for points/strokes in Processing

Recently I've been using the Depth of Field shader below (originally from the ofxPostProcessing library for OpenFrameworks) for my Processing sketches. depth.glsl uniform float maxDepth; void main() { float depth = gl_FragCoord.z /…
solub
  • 1,291
  • 17
  • 40
2
votes
0 answers

What sigma value used in GIMP to Gaussian blur?

I'm trying to implement Gaussian blur to the gray image. But I do find that there are differences between the output of Gaussian blur process of GIMP and mine. As you can see the above images, the left is the output of GIMP and right image is mine.…
start01
  • 121
  • 4
  • 13
2
votes
1 answer

SVG feGaussianBlur and feColorMatrix filters not working in Chrome?

I'm attempting to use the filters from this code http://bl.ocks.org/nbremer/0e98c72b043590769facc5e829ebf43f . The achieved effect is good in Firefox 56 (64bits) on Win 7, but it is strange in Chrome 62 (64bits). The colors are much lighter and the…
GuitarExtended
  • 787
  • 2
  • 11
  • 32
2
votes
1 answer

Linearly separating a Gaussian Filter and calculating with Numpy

I have a 2d numpy array containing greyscale pixel values from 0 to 255. What I want to do is to create a gaussian filter from scratch. I have already written a function to generate a normalized gaussian kernel: def gaussianKernel(size, sigma): …
Joe Iddon
  • 20,101
  • 7
  • 33
  • 54
2
votes
1 answer

Normalizing an image after (gaussian) filtering

I have implemented a gaussian filter following the algorithm of Nixon Aguado. The algorithm (after finding the template as described here gaussian template) is the following. The pseudo code is in MATLAB style I believe. function…
KansaiRobot
  • 7,564
  • 11
  • 71
  • 150
2
votes
2 answers

OpenGL es 2.0 Gaussian blur on triangle

I recently learn opengl es 2.0, and now I try to make a gaussian blur on triangles generate by myself. I have some difficult to understand examples on the web and most apply the blur on an image. I know I have to use framebuffer but I don't know how…
Vitge
  • 49
  • 1
  • 5
2
votes
0 answers

SVG feGaussianBlur stdDeviation value issue in IE

I have this SVG code in my HTML that renders a triangle with a shadow below it:
Cirou
  • 1,420
  • 12
  • 18
2
votes
2 answers

Strange behavior when gaussian blurring an image using big radius / standard deviation

See EDIT I tried to implement the gaussian blur algorithm on my own in MATLAB instead of using the built-in algorithm for reasons of understanding it in detail. I found an interesting implementation and someone has already asked how to code that…
2
votes
0 answers

Gaussian Filters with ORB

I have started my first project in the field of Image recognition using Feature Point detectors and descriptors. I have no prior knowledge on the topics of Image recognition techniques before starting of this project and then I have researched on…
1
vote
1 answer

Calculating Gaussian Kernel sigma and width to approximate a desired lower resolution pixel/m for satellite images

I am working with satellite images with different spatial resolutions, understood as pixel/meter. For experiments I want to artificially down-sample these images, keeping the image size constant. For example I have a 512x512 image with spatial…
1
vote
1 answer

Gaussian Blur implementation generates weird output

I'm trying to implement a Gaussian Blur on golang image.Image objects. For the following image: The output image generated is: As one can see, the output image contains some unprocessed borders that corresponds to the current implementation…
gabriel_tiso
  • 1,007
  • 3
  • 11
  • 27
1
vote
1 answer

Flutter How to achieve Gaussian blur in AE?

I'm using BackdropFilter to achieve Gaussian blur, but the effect is completely different from AE. The picture before using Gaussian blur is like this: My code is like this: BackdropFilter( filter: ImageFilter.blur( sigmaX: sigma.value, …
Nullable
  • 761
  • 5
  • 17
1
vote
1 answer

How to calculate normal distribution kernal for 1d gaussian filter

I need to apply a 1d gaussian filter to a list of floats in c#, ie, to smooth a graph. I got as far as simply averaging each value with n neighbors, but the result wasn't quite right and so I discovered that I need to apply a normal distribution…
arcadeperfect
  • 137
  • 10
1
vote
0 answers

CSS: Backdrop Filter Slow on Android Chrome

I have coded a website in Next.js. I decided to have some text boxes in front of the background with backdrop-filter enabled in order to achieve the "glass like" effect. Particularly I have added these lines in css .textbox { background: rgba(…
Manos Pan
  • 13
  • 4