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).
gaussianblur
224
questions
1
vote
2
answers
52
views
Gaussian blur from PIL doesn't take alpha into account
I'm trying to apply gaussian blur to a PIL.Image which has transparency, but blurring doesn't seem to be applied to the alpha channel.
Here's my code:
import wx
from PIL import Image, ImageFilter
...
-1
votes
1
answer
32
views
How to add a Blur Filter to SVG Element in CSS [closed]
I'm trying to add a blur effect to an SVG element. I attempted using within the SVG but changing the values of stdDeviation doesn't seem to produce any changes. How can I properly apply a blur filter ...
0
votes
2
answers
66
views
Can't seem to recreate Gaussian blur using Numpy
I want to implement Gaussian Blur (similar to cv2.GaussianBlur) using only Numpy but I can't seem to understand how to tackle the alpha channel. My code:
# 1D Gaussian PD Function
def gauss(x, sigma):
...
0
votes
1
answer
59
views
OpenCV acceleration (OpenCL) of gaussian blur
I'm porting an image post-processing library to OpenCV, and testing the UMat OpenCL acceleration features.
First tests work quite well, with complex filters using lots of arithmetic and math ...
0
votes
0
answers
17
views
Gaussianblur C++ programming and CUDA
I made a CUDA C++ programming code for Gaussian blur. But I have a problem with my CPU image. It doesn't blur but the GPU image does. At the end, my CPU image is always black. I can't generate a CPU ...
0
votes
0
answers
20
views
How can i blur the lower layer of my windows app in Flutter
In Flutter, it is easy to use BackdropFilter to blur a image or something that is a child widget of the app. But, is there any way to blur the "lower layer" of my app? Just like the weather ...
0
votes
1
answer
142
views
How to rewrite RenderScript code in Android
I have this piece of code in Android that given an int value, performs some image processing (blur effect) using RenderScript. While it is super fast and efficient, it is deprecated so I am looking ...
1
vote
2
answers
114
views
Issues in Gaussian blur transform with kernel computation and normalization
I am currently trying to implement Gaussian blurring myself for learning purposes. The blurring effect does not take place. Instead the image contrast is enhanced.
#include <algorithm>
#include &...
0
votes
0
answers
46
views
Is there a way on Python to make a matrix (in the maths sense) from a (blur) function?
Essentially, I'm trying to set up an inverse problem, of the form
Ax=y
where A is a matrix/operator (e.g. blurring) acting on an image x (which I squeeze to make an array) and y is the consequent ...
1
vote
0
answers
94
views
Derivative of Gaussian Blur with respect to the pixels
I'm applying a Gaussian blur to an image where each pixel of the original image is being optimized for some purpose and the Gaussian blur is an intermediate transformation. For several reasons, it is ...
0
votes
0
answers
65
views
Given the radius, how do I unblur an image with gaussian blur?
Ive been given the following image and the knowledge that it was blurred using 6px radius gaussian blur. How do I go about unblurring it?
0
votes
0
answers
260
views
PyVista: 3D Gaussian Smoothing of PolyData
I would like to replicate the example here https://docs.pyvista.org/version/stable/examples/01-filter/gaussian-smoothing.html using my own data but trying to apply the gaussian_smooth() method to my ...
0
votes
1
answer
138
views
Blur Behind Bootstrap Tooltip
What I want:
The area behind a tooltip is blurred:
What I have
The area behind the tooltip is not blurred:
My Code
Please see my jsFiddle for the full code: https://jsfiddle.net/heetertc/d8qw03jg/33/...
2
votes
2
answers
302
views
Is there a way to use a conditional kernel in openCV that only changes pixels on an image if the condition is true?
I want to use a kernel that performs a pixel operation based on a conditional expression.
Let's say I have this grayscale image (6x6 resolution):
and I use a 3x3 pixel kernel, how would I change the ...
-1
votes
1
answer
163
views
Gaussian blur in C using SDL
I'm trying to create a Gaussian blur in C using SDL.
Here is my function:
We admit that the param surface is a grayscale image (that's why i only use the r).
SDL_Surface* gaussian_blur(SDL_Surface* ...