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
0
votes
0 answers

Matlab: Colormap colors not reflecting legend

I was able to take an image and overlay a heat map on top of it using Matlab. The problem I am having is, the color coding on the legend does not match the values represented on the map. If you run the code below on an image that is 1512x1080 you…
James Hayek
  • 643
  • 3
  • 10
  • 35
0
votes
0 answers

Why does my gaussian blur not look the same as OpenCV's GaussianBlur?

I wrote some Gaussian filter code, however it doesn't look like OpenCV's GaussianBlur with the same parameters: #!/usr/bin/env python3 import numpy as np import math import cv2 def get_raw_data(image_dims, rescale_factor=5): img =…
AnimatedRNG
  • 1,859
  • 3
  • 26
  • 39
0
votes
1 answer

How does the GaussianBlur -Function in OpenCV works

I wanted to ask where i can find how the GaussianBlur-function in OpenCV is implemented. While looking through the sourcecode i could only find this file but i´m looking for the code where the convolution is done. E.g something like this: for x to…
Drian
  • 171
  • 1
  • 10
0
votes
0 answers

Restore an image blurred with MATLAB's imgaussfilt function

I'm working to restore a blurred image without knowing the PSF value. I used blind deconvolution to estimate the PSF value and Lucy Richardson method to completely restore the image. The thing is, I used fspecial('gaussian') to blur the image and…
0
votes
1 answer

Inaccurate result from gaussian function

I have this Gaussian function. which is not producing desired result. for that reason image cannot be blurred properly. In the bellow code I have taken the kernel size(5) and sigma value(1), which is same as I took in the link below. it would be…
NEKIBUR RAHMAN
  • 204
  • 3
  • 15
0
votes
1 answer

Create Matrix with gaussian-distributed ellipsis in python

I have a 100x100 Matrix with Zeros. I want to add a 10x20 ellipsis around a specific point in the Matrix - lets say at position 40,60. The Ellipsis should be filled with values from 0 to 1. (1 in the center - 0 at the edge) - The numbers should be…
bor32
  • 41
  • 6
0
votes
1 answer

Java, LibGDX - Gaussian Blur Color Separator Trouble - Receiving Negative Value

I have been working on a gaussian blur on java and libgdx. It mostly works... This is the image that I am trying to blur. This is the result. The problem is the red value equals -1 in most cases rather than something like 255. I have searched lots…
Hunter
  • 1
  • 1
0
votes
1 answer

Edge Detection in OpenCV

We have written a code for edge detection in OpenCV java where the background for the image would be plain white to increase accuracy. We have added the following functions for the edge detection part: Imgproc.GaussianBlur(im, im2, new Size(0,0),…
0
votes
1 answer

How do you create a 'blurred text' image effect in iOS?

I want to create a text shaped blur effect to an image as shown below: Another example: I have found an answer on blurring a UILabel answer: How to blur UILabel text. But the effect is not correct. So, How can I create a blurred text image effect…
Chris Forever
  • 678
  • 1
  • 5
  • 18
0
votes
0 answers

Gaussian kernel in OpenCV to generate multiple scales

I want to implement an OpenCV version of VL_PHOW() (matlab src code) from VLFeat. In few words, it's dense SIFT with multiple scales (increasing SIFT descriptor bin size) to make it scale invariant. However, the authors suggests to apply a Gaussian…
justHelloWorld
  • 6,478
  • 8
  • 58
  • 138
0
votes
1 answer

Blur Filter for full page navigation

I want to have a full page navigation fade in and essentially act as a filter, blurring the entire screen except for the nav. when a user clicks the menu button. However, I can't seem to get it to work. I've tried the css blur filter and svg filters…
0
votes
0 answers

apply gausian blur based on user input

I am using fabricjs for canvas. I want to have blur effect for the background image. I could show the blur effect but not based on user value as i did not understand the algorithm. Also it takes some second to show the blur effect and is also not so…
Serenity
  • 3,884
  • 6
  • 44
  • 87
0
votes
1 answer

@keyframes for GaussianBlur (svg)

i am creating animation based on GaussianBlur (attribute "stdDeviation"), inside tag "animate" all is working, but i'm trying to use css animation. And it's doesnt work. When i had put attribute "stdDeviation" inside @keyframes browser returned …
ghett
  • 89
  • 9
0
votes
1 answer

How do I modify the SharpDX Gaussian Blur operation to not make the edges transparent?

I'm working on maintaining a piece of legacy code that uses SharpDX for its graphical operations. Part of the code takes a saw-tooth pattern and blurs it to create a jagged-edge effect for torn paper. We were encountering an odd bug where there was…
Sean Duggan
  • 1,105
  • 2
  • 18
  • 48
0
votes
1 answer

strange gaussianBlur result offset of kernel multiplication unwantedly padded.

You can see the result in the image below. The original image is just a grey pixel, the result should be that but blurred. Opencv is not using the immediate neighboring pixels for the Gaussian Blur, I'm guessing it's doing some sort of internal…
saykou
  • 167
  • 1
  • 9
1 2 3
13
14