Hello,
I am trying to apply the RL sharpening filter on an image with areas protected by a mask, but the filter is applied to the entire image, as if it had no mask. Is this behavior normal?
Thanks
Are you using the standalone, plugin or command? The command blend_fade may be helpful to you.
I’m using GIMP plug-in
I don’t know what the expected behaviour is in case of the GIMP plug-in, but I’ve just applied sharpening or other plug-in operations to an entire layer and used a separate mask to blend the changes in vs. an unprocessed layer.
That is probably the best way to do things.
- Apply filter to new layer (select this in the plugin).
- Add black mask to new layer and paint in the parts you want.
Alternatively, you could make a selection on the original layer. When you apply the filter, G’MIC will only work on the selection. Make sure you don’t feather or turn anti-aliasing on in your selection, remember to turn off transparency. These will confuse G’MIC.
Note, if there is a issue with a filter as it should ignore transparency, please do mention it. Krita/Paint.NET/etc can’t send RGB to G’MIC, but they do RGBA.
Transparency can still be bothersome; e.g., areas where the image relies on it or if the selection contains transparent areas. This is why I mentioned blend_fade because that is the way that G’MIC could handle transparency; i.e., as a separate blending layer.
Thanks everyone for your help. I have been reviewing each parameter that you have suggested and it has worked correctly.