Openshot-qt: OpenShot needs proper blur

Created on 9 May 2018  路  5Comments  路  Source: OpenShot/openshot-qt

OpenShot needs out-of-focus blur. The attached picture explains why!

blur

duplicate 馃挕 enhancement

Most helpful comment

Original image:

tv-test-pattern

Here is the current blur effect (6 horizontal radius, 3 iterations, 3 sigma, 6 vertical radius):

frame0001-current-6hr-3i-3s-6vr

You can see that the only blur is in the vertical component. Changing the interation value does not alter the effect, either.

Here is the fixed blur effect (same as above: 6 horizontal radius, 3 iterations, 3 sigma, 6 vertical radius) [pending PR]:

frame0001-fixed-6hr-3i-3s-6vr

Now the horizontal radius can be specified along with the vertical radius (or any combination of the two) and changing the iterations will result in more or less blur.

Here's an example with some text overlayed with a "rack focus" (0 horizontal radius, 3 iterations, 3 sigma, 0 vertical radius to 10 horizontal radius, 3 iterations, 3 sigma, 10 vertical radius) over 2 seconds.

Frame 1 (0s) - in focus:

frame0001-fixed-text_example-0hr-3i-3s-0vr

Frame 48 (2s) - out of focus:

frame0001-fixed-text_example-10hr-3i-3s-10vr

All 5 comments

@DylanC - This is an exact dupe of #1554 , but since this issue includes a sample screenshot, I think this should be the one that is kept and the other one closed as the dupe.

If you agree, would you mind adding the "enhancement" tag here and updating the tags on the other issue?

Dup of #1554.

@N3WWN - I will add the tags but I would prefer to keep both if you don't mind.

Oh sure thing! I don't mind at all ;)

I'm looking at this right now.

The current blur is supposed to be a Gaussian blur, but it's only being applied in one direction and for one iteration, resulting in a motion blur.

At present, a vertical blur negates the horizontal blur, so the only way to get a horizontal blur is to set the vertical radius to 0. There is currently no way to get both blurs with one effect.

Original image:

tv-test-pattern

Here is the current blur effect (6 horizontal radius, 3 iterations, 3 sigma, 6 vertical radius):

frame0001-current-6hr-3i-3s-6vr

You can see that the only blur is in the vertical component. Changing the interation value does not alter the effect, either.

Here is the fixed blur effect (same as above: 6 horizontal radius, 3 iterations, 3 sigma, 6 vertical radius) [pending PR]:

frame0001-fixed-6hr-3i-3s-6vr

Now the horizontal radius can be specified along with the vertical radius (or any combination of the two) and changing the iterations will result in more or less blur.

Here's an example with some text overlayed with a "rack focus" (0 horizontal radius, 3 iterations, 3 sigma, 0 vertical radius to 10 horizontal radius, 3 iterations, 3 sigma, 10 vertical radius) over 2 seconds.

Frame 1 (0s) - in focus:

frame0001-fixed-text_example-0hr-3i-3s-0vr

Frame 48 (2s) - out of focus:

frame0001-fixed-text_example-10hr-3i-3s-10vr

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Yesideez picture Yesideez  路  3Comments

mnally8 picture mnally8  路  3Comments

lukashajek78 picture lukashajek78  路  3Comments

LadyReader picture LadyReader  路  3Comments

gbbbbb picture gbbbbb  路  3Comments