Filter › Unsharp Mask and High Pass - #196
Open
rezaularif wants to merge 1 commit into
Open
rezaularif wants to merge 1 commit into
rezaularif wants to merge 1 commit into
Conversation
Unsharp Mask has Photoshop's Amount (1–500%), Radius and Threshold, so it can sharpen edges and leave smooth areas like skin alone. High Pass keeps detail finer than its radius and turns the rest middle gray, for sharpening on a layer set to Overlay. Both preview live, are limited to the selection, and leave the layer's size and alpha as they are. The blur is rendered once and the pixel work runs in bands, so on an 8000 × 6000 photo Unsharp Mask takes about 1.4 times as long as Gaussian Blur.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds two sharpening filters, Filter › Unsharp Mask and Filter › High Pass, as in Photoshop.
What's added
How to use
Tests
SharpenFilterTests. The full suite passes, and the project format is unchanged.