Skip to main content

Questions tagged [blur]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
161 views

Convolution shadow mapping apply filter

I've implemented the convolution shadow mapping technique (CSM) and want to apply a gaussian filter to receive soft shadows. The filter size of the filtered pixels is not static. With help of a summed ...
5 votes
1 answer
1k views

How does directional Gaussian blurring work?

In image editing software, you often have the ability to do a directional blur where you can choose and angle and a magnitude of a blur. How does this actually work in practice with Gaussian blurring? ...
1 vote
0 answers
31 views

RayTracing grid acceleration slowness using motion blur

I'm adding some motionblur feature to my raytracer and I'm using an uniform grid acceleration scheme (it will be updated to bvh later on) to speed up the rendering time. My problem is that if I have a ...
0 votes
0 answers
205 views

Achieving bokeh blur with custom shapes

I have a 2D texture, without any depth maps, which I'd like to blur to achieve a bokeh effect. The catch, however, is that I want the effect to be custom bitmaps/shapes (e.g. a heart). Here's a part ...
1 vote
3 answers
1k views

Blurring image with RGB values without convolving it with a kernel

I'm using an app for face redaction that doesn't allow access to the source code but only allows me to pass pixel values for red, green and blue channel upon which it creates a matrix with the same ...
3 votes
1 answer
109 views

Origin of blurring and colour distortion in monochrome diagrams

I am analysing a large number of PDF files from scientific articles, all of which contain images which (I think) were originally monochrome ( black/white). The images have been extracted with Apache ...
5 votes
1 answer
1k views

Blur with alpha transparency

I'm writing a simple box blur for a graphics library. The formula makes the average of a range of pixels by adding the ARGB amounts and then dividing by the blur range For example, with a blur range ...
4 votes
1 answer
459 views

Deriving blur from real optical formulae

Looking at the Wikipedia page for Circle of Confusion, and at such posts as this one, I completely understand how to calculate the values for near, far, focal planes and hyperfocal distance. I am also ...
6 votes
2 answers
3k views

Bokeh from depth map

How do I generate bokeh that simulates shallow depth of field given a perfect depth map? Here's what I tried: Generated a sample scene using blender and corresponding depth map Using Python, ...
-2 votes
1 answer
144 views

gaussFactorForOffset cannot call a non-function how to fixed this code?

Crossposted here http://forum.lwjgl.org/index.php?topic=6724 Hello guys I am trying to blur image using fragment shader but it is not smooth.. I search the internet and I found similar problem... ...
3 votes
2 answers
153 views

Modulo vs Scaling vs Capping when performing filters

I'm currently taking a graphics course and we've recently covered cross-correlation with regards to using a filter matrix that is applied to a region of pixels in a sort of continual raster-type scan ...
0 votes
1 answer
222 views

Questions about Blur effect

I am working on a specific blur effect that implies several behaviours. But before I would like to know what you think about those blurring algorithms according to performances and quality : Kawase ...
3 votes
0 answers
102 views

Replace a chain of image blurs with one blur

In this question I asked how to implement a chain of blurs in one single step. Then I found out from the gaussian blur page of Wikipedia that: Applying multiple, successive gaussian blurs to an ...
9 votes
1 answer
310 views

Applying correct light physics to gaussian blur formulas for glow

I am trying to make a glow shader using separable gaussian blurring. I have recently been inspired by the short youtube video "computer color is broken" and I have messed with it with color ...
4 votes
1 answer
3k views

Is it better to blur the input or output of an edge detection shader for noise reduction?

To reduce noise of edge detection the norm seems like it is to apply a blur. However, is it generally better to apply the blur to the input of the edge detection. The input in my case being the depth ...
2 votes
0 answers
50 views

detect blurred zones after conversion to black & white

I'm working on a document storage project and i found a problem. After converting/compressing a scanned document to black & white sometimes, some areas of the document are unreadable because ...
9 votes
1 answer
756 views

Tweaking a glow shader to make it look better

I have a simple game and and subjects of it are these little lines. It is targeted for iOS and android so it has a HUGE range of processors that it could run on, right now. I am trying to add ...
8 votes
1 answer
4k views

Detect in-focus regions of an image

Is there any strategy to detect the region of an image that is sharp and in-focus, in order to separate the out-of-focus background? I've tried using edge detection methods but without any success. ...
8 votes
1 answer
4k views

How is motion blur implemented in modern realtime renderers?

When realtime renderers (such as 3d games) have motion blur, how is it usually implemented? I think I've heard something about needing to have motion vectors for each pixel but I'm not sure about ...
12 votes
1 answer
5k views

How is Depth of Field Implemented?

I know that depth of field involves blurring. There's some great information about how to do a Gaussian blur in the question How is Gaussian Blur Implemented? But, other than that, how is depth of ...