diff options
author | sr55 <[email protected]> | 2017-06-02 22:03:16 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-06-02 22:03:16 +0100 |
commit | 27f366140509b18897f0dc54194a1a0d55cf0bb6 (patch) | |
tree | 62fc39ba1edd10fc4d5914177760df318eb4a25c /win/CS/HandBrakeWPF/Properties | |
parent | 844a0bf724abc56edcad0390d82bf92eae219144 (diff) |
WinGui: Support for the new sharpen filter.
Diffstat (limited to 'win/CS/HandBrakeWPF/Properties')
4 files changed, 102 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs index ca1faa57d..5f16110fe 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.Designer.cs @@ -76,6 +76,23 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
+ /// Looks up a localized string similar to Custom Sharpen parameters.
+ ///
+ ///Unsharp syntax: y-strength=y:y-size=y:cb-strength=c:cb-size=c:cr-strength=c:cr-size=c
+ ///
+ ///Unsharp default: y-strength=0.25:y-size=7:cb-strength=0.25:cb-size=7
+ ///
+ ///Lapsharp syntax: y-strength=y:y-kernel=y:cb-strength=c:cb-kernel=c:cr-strength=c:cr-kernel=c
+ ///
+ ///Lapsharp default: y-strength=0.2:y-kernel=isolap:cb-strength=0.2:cb-kernel=isolap.
+ /// </summary>
+ public static string FilterView_CustomSharpenParams {
+ get {
+ return ResourceManager.GetString("FilterView_CustomSharpenParams", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Deblock reduces blocky artifacts caused by low quality video compression..
/// </summary>
public static string FilterView_Deblock {
@@ -249,6 +266,43 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
+ /// Looks up a localized string similar to Sharpening enhances the appearance of detail, especially edges. Overly strong Sharpen settings may damage picture quality and by creating ringing artifacts and enhancing noise, which can reduce compression efficiency.
+ ///
+ ///Unsharp is a general purpose unsharp masking filter. It sharpens by blurring, then calculating the difference between the blurred picture and the original.
+ ///
+ ///Lapsharp sharpens by using convolution kernels approximating Laplacian edge filters, sometimes producing higher quality results than [rest of string was truncated]";.
+ /// </summary>
+ public static string FilterView_Sharpen {
+ get {
+ return ResourceManager.GetString("FilterView_Sharpen", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Sharpen filter preset. Sets the strength of the filter..
+ /// </summary>
+ public static string FilterView_SharpenPreset {
+ get {
+ return ResourceManager.GetString("FilterView_SharpenPreset", resourceCulture);
+ }
+ }
+
+ /// <summary>
+ /// Looks up a localized string similar to Sharpen tune. Further adjusts the Sharpen preset to optimize settings for specific scenarios.
+ ///
+ ///None uses the default preset settings.
+ ///
+ ///Unsharp can be tuned for Fine, Medium-Fine, Medium, Medium-Coarse, or Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
+ ///
+ ///Lapsharp's Film tune refines settings for use with most live action content. Film uses an isotropic Laplacian kernel to sharpen all edges similarly, and luminance (brightness) information is sharp [rest of string was truncated]";.
+ /// </summary>
+ public static string FilterView_SharpenTune {
+ get {
+ return ResourceManager.GetString("FilterView_SharpenTune", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Add a new preset..
/// </summary>
public static string MainView_AddPreset {
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx index fe02d4fa0..4792a539f 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx +++ b/win/CS/HandBrakeWPF/Properties/ResourcesTooltips.resx @@ -418,4 +418,40 @@ Bob attempts to better preserve motion for a slight penalty to perceived resolut <data name="PictureSettingsView_KeepAR" xml:space="preserve">
<value>Keep Aspect Ratio maintains the original display aspect of the source. Disabling this may result in a stretched or squeezed picture.</value>
</data>
+ <data name="FilterView_CustomSharpenParams" xml:space="preserve">
+ <value>Custom Sharpen parameters.
+
+Unsharp syntax: y-strength=y:y-size=y:cb-strength=c:cb-size=c:cr-strength=c:cr-size=c
+
+Unsharp default: y-strength=0.25:y-size=7:cb-strength=0.25:cb-size=7
+
+Lapsharp syntax: y-strength=y:y-kernel=y:cb-strength=c:cb-kernel=c:cr-strength=c:cr-kernel=c
+
+Lapsharp default: y-strength=0.2:y-kernel=isolap:cb-strength=0.2:cb-kernel=isolap</value>
+ </data>
+ <data name="FilterView_Sharpen" xml:space="preserve">
+ <value>Sharpening enhances the appearance of detail, especially edges. Overly strong Sharpen settings may damage picture quality and by creating ringing artifacts and enhancing noise, which can reduce compression efficiency.
+
+Unsharp is a general purpose unsharp masking filter. It sharpens by blurring, then calculating the difference between the blurred picture and the original.
+
+Lapsharp sharpens by using convolution kernels approximating Laplacian edge filters, sometimes producing higher quality results than unsharp masking.</value>
+ </data>
+ <data name="FilterView_SharpenPreset" xml:space="preserve">
+ <value>Sharpen filter preset. Sets the strength of the filter.</value>
+ </data>
+ <data name="FilterView_SharpenTune" xml:space="preserve">
+ <value>Sharpen tune. Further adjusts the Sharpen preset to optimize settings for specific scenarios.
+
+None uses the default preset settings.
+
+Unsharp can be tuned for Fine, Medium-Fine, Medium, Medium-Coarse, or Coarse sharpening. Select one based on the output picture resolution and fineness of detail to enhance.
+
+Lapsharp's Film tune refines settings for use with most live action content. Film uses an isotropic Laplacian kernel to sharpen all edges similarly, and luminance (brightness) information is sharpened more than chrominance (color) information.
+
+Lapsharp's Grain tune is similar to Film, but uses an isotropic Laplacian of Gaussian kernel to reduce the effect on noise and grain. Useful for preserving grain and as a general alternative to the Film tune.
+
+Lapsharp's Animation tune is useful for cel animation such as anime and cartoons. Animation is identical to Film, but overall strength is reduced to avoid creating artifacts.
+
+Lapsharp's Sprite tune is useful for 1-/4-/8-/16-bit 2-dimensional games. Sprite uses a 4-neighbor Laplacian kernel that enhances vertical and horizontal edges more than diagonal edges.</value>
+ </data>
</root>
\ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs index f6a7898f0..594420109 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.Designer.cs @@ -502,6 +502,15 @@ namespace HandBrakeWPF.Properties { }
/// <summary>
+ /// Looks up a localized string similar to Sharpen.
+ /// </summary>
+ public static string FiltersView_Sharpen {
+ get {
+ return ResourceManager.GetString("FiltersView_Sharpen", resourceCulture);
+ }
+ }
+
+ /// <summary>
/// Looks up a localized string similar to Tune:.
/// </summary>
public static string FiltersView_Tune {
diff --git a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx index 6dce889d2..34edf84b0 100644 --- a/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx +++ b/win/CS/HandBrakeWPF/Properties/ResourcesUI.resx @@ -908,4 +908,7 @@ This will not affect your current settings in the Subtitle tab.</value> <data name="MainView_Searching" xml:space="preserve">
<value>Searching for start time</value>
</data>
+ <data name="FiltersView_Sharpen" xml:space="preserve">
+ <value>Sharpen</value>
+ </data>
</root>
\ No newline at end of file |