Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blur Filter: Allow only blurring a region of the image #12

Closed
noxifoxi opened this issue Mar 29, 2018 · 7 comments
Closed

Blur Filter: Allow only blurring a region of the image #12

noxifoxi opened this issue Mar 29, 2018 · 7 comments
Labels
enhancement Enhancements

Comments

@noxifoxi
Copy link

noxifoxi commented Mar 29, 2018

Make it possible to not just blur the whole source. The ability to make a selection there the blur filter is applied on the source.

@Xaymar Xaymar added the enhancement Enhancements label Apr 26, 2018
@Xaymar Xaymar added this to the 0.5.0 milestone Apr 26, 2018
@Xaymar Xaymar changed the title Blur filter in a section Blur Filter: Allow only blurring a region of the image Apr 26, 2018
@Xaymar
Copy link
Owner

Xaymar commented Apr 26, 2018

To clarify, do you want this to be a hard cut or have an option for smoothing out? If latter, I have to write a bit more code but it will work.

@noxifoxi
Copy link
Author

noxifoxi commented Apr 26, 2018

Nice to hear you working on it 😃. I was thinking of a hard cut, but an option to smooth it would be a good idea too (although I personally wouldn't use this smoothing feature).

@Xaymar
Copy link
Owner

Xaymar commented Apr 28, 2018

Work in progress, this is a test of the region select code on the GPU itself.

image
image

@Xaymar
Copy link
Owner

Xaymar commented Apr 28, 2018

Semi-finished product for Box Blur
image

@noxifoxi
Copy link
Author

Wow, this really looks promising.
I assume the "Filter.Blur.Region.Feather" is a setting for the edge smoothness?
Secondly I want to ask if the filter will work on a game capture, like the non-region version?

Keep up the good work. 👍

@Xaymar
Copy link
Owner

Xaymar commented Apr 28, 2018

All Filters work on any kind of source, they really have no reason to not work on a specific source. Yes "Filter.Blur.Region.Feather" is the "edge smoothness" or usually known by feather area.

@Xaymar
Copy link
Owner

Xaymar commented Apr 28, 2018

And here is the final result, all three types of blur can now be selectively applied to a region or the inverse of that region, with an optional feather area.

image
image

@Xaymar Xaymar closed this as completed in af71a7c Apr 28, 2018
Repository owner locked as resolved and limited conversation to collaborators Apr 26, 2021
@Xaymar Xaymar added this to the Blur (Component, Filter) milestone Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancements
Projects
None yet
Development

No branches or pull requests

2 participants