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
1
vote
1 answer

Gaussian Filter implemetation

I am preparing to implement a Gaussian Filter in C#, and in preparation I am reading literature on this. However I have disagreeing sources. One book (Japanese text: Practical Image Processing Introduction by Uchimura) specifies that the equation…
KansaiRobot
  • 7,564
  • 11
  • 71
  • 150
1
vote
1 answer

How to blur 3D array of points, while maintaining their original values? (Python)

I have a sparse 3D array of values. I am trying to turn each "point" into a fuzzy "sphere", by applying a Gaussian filter to the array. I would like the original value at the point (x,y,z) to remain the same. I just want to create falloff values…
Kalina
  • 5,504
  • 16
  • 64
  • 101
1
vote
0 answers

What is the reason behind parameter "truncate" in scipy.ndimage.gaussian_filter1d

everyone. I'm gone through a lot of documentation, website, however, I still don't understand "What is the reason behind parameter "truncate" in scipy.ndimage.gaussian_filter1d" Below is the description taken from scipy…
orbitalz
  • 21
  • 7
1
vote
1 answer

In-built method/flag for applying gaussian blur to objects drawn by Graphics2D?

Are there any in-built methods, or flags I can set, with a Java Graphics2D object such that I can draw polygons or other shapes with gaussian blur automatically applied? Or if anyone knows of a computationally efficient shortcut/hack, that would be…
HomerPlata
  • 1,687
  • 5
  • 22
  • 39
1
vote
1 answer

Parallelize chain of Gaussian Blurs

I have this code (revisited version of this): void HessianDetector::detectOctaveKeypoints(const Mat &firstLevel, ...) { vector blurs (par.numberOfScales+3, Mat()); blurs[1] = firstLevel; for (int i = 1; i < par.numberOfScales+2; i++){ …
justHelloWorld
  • 6,478
  • 8
  • 58
  • 138
1
vote
1 answer

DM Script, why does the fourier transform of gaussian-kenel needs modulus

Recently I learn DM_Script for TEM image processing I needed Gaussian blur process and I found one whose name is 'Gaussian Blur' in http://www.dmscripting.com/recent_updates.html This code implements Gaussian blur algorithm by multiplying the fast…
Ryu
  • 11
  • 1
1
vote
1 answer

Image deblurring using gaussian filter in matlab without additive noise

I have to use an inverse filter to remove the blurring from this image . Unfortunately, I have to figure out the transfer function H of the imaging system used to get these sharper images, It should be Gaussian. So, I should determine the…
Javiss
  • 765
  • 3
  • 10
  • 24
1
vote
4 answers

Using GaussianBlur on image in viewDidLoad blocks UI

I'm creating a blur effect using this below function in viewDidLoad of viewController func applyBlurEffect(image: UIImage){ let imageToBlur = CIImage(image: image)! let blurfilter = CIFilter(name: "CIGaussianBlur")! …
Arun K
  • 810
  • 2
  • 12
  • 33
1
vote
0 answers

Gaussian blurring wrong objects using Grabpass (on Unity ShaderLab)

I'm attempting to apply a Gaussian blur to a plane, such that any object behind the plane gets blurred, and any object in front of the plane does not get blurred. The code for my shader is as follows: Shader "Custom/Blur" { Properties { …
1
vote
1 answer

Converting raster (tiff) image to a pixel image in R - problems when converting spatial polygon into owin object class

I am not an R expert, but i use it for all kinds of image processing. Now I am trying to apply Gaussian blur smoothing (spatstat package) on my satellite S-2 image. Original type of my image is Raster (Raster layer) tiff, actually a subtract image…
Ursulka Siete
  • 143
  • 1
  • 10
1
vote
1 answer

Java: implementation of Gaussian Blur

I need to implement Gaussian Blur in Java for 3x3, 5x5 and 7x7 matrix. Can you correct me if I'm wrong: I've a matrix(M) 3x3 (middle value is M(0, 0)): 1 2 1 2 4 2 1 2 1 I take one pixel(P) from image and for each nearest pixel: s = M(-1,…
Wiszen
  • 77
  • 1
  • 4
  • 12
1
vote
0 answers

Gaussian blur on a single object

I have implemented a simple gaussian blur and combined it with deferred shading, and it works. When I'm trying to add another object to the scene the object is also affected by the blur, which is not what I'm looking for. Is it possible to make the…
Riggs
  • 99
  • 2
  • 9
1
vote
1 answer

How can I obtain a gaussian kernel array to filter my image

For an experiment, I need a gaussian filter over an entire window such as the middle part is shown. Since I use PsychoPy, basically, I need an N x M array (N and M are the size in pixels of the window) of ones in the middle (where the underlying…
lilla
  • 151
  • 3
  • 12
1
vote
1 answer

SSE optimization of Gaussian blur

I'm working on a school project , I have to optimize part of code in SSE, but I'm stuck on one part for few days now. I dont see any smart way of using vector SSE instructions(inline assembler / instric f) in this code(its a part of guassian blur…
Smarty77
  • 1,208
  • 3
  • 15
  • 30
0
votes
0 answers

Backdrop-filter blur not working on submenu

I'm trying to applicate the backdrop-filter: saturate(180%) blur(20px); in a submenu, but it's not working at all. This is my setup (WordPress site): The main menu is a sticky menu, with a the color property .style-color-550572-bg tweaked with this…
Chuck23
  • 1
  • 1