@@ -15,19 +15,19 @@ public static class BinaryThresholdExtensions
15
15
/// Applies binarization to the image splitting the pixels at the given threshold with
16
16
/// Luminance as the color component to be compared to threshold.
17
17
/// </summary>
18
- /// <param name="source">The image this method extends .</param>
18
+ /// <param name="source">The current image processing context .</param>
19
19
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
20
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
20
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
21
21
public static IImageProcessingContext BinaryThreshold ( this IImageProcessingContext source , float threshold )
22
22
=> source . ApplyProcessor ( new BinaryThresholdProcessor ( threshold , BinaryThresholdMode . Luminance ) ) ;
23
23
24
24
/// <summary>
25
25
/// Applies binarization to the image splitting the pixels at the given threshold.
26
26
/// </summary>
27
- /// <param name="source">The image this method extends .</param>
27
+ /// <param name="source">The current image processing context .</param>
28
28
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
29
29
/// <param name="mode">Selects the value to be compared to threshold.</param>
30
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
30
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
31
31
public static IImageProcessingContext BinaryThreshold (
32
32
this IImageProcessingContext source ,
33
33
float threshold ,
@@ -38,12 +38,12 @@ public static IImageProcessingContext BinaryThreshold(
38
38
/// Applies binarization to the image splitting the pixels at the given threshold with
39
39
/// Luminance as the color component to be compared to threshold.
40
40
/// </summary>
41
- /// <param name="source">The image this method extends .</param>
41
+ /// <param name="source">The current image processing context .</param>
42
42
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
43
43
/// <param name="rectangle">
44
44
/// The <see cref="Rectangle"/> structure that specifies the portion of the image object to alter.
45
45
/// </param>
46
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
46
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
47
47
public static IImageProcessingContext BinaryThreshold (
48
48
this IImageProcessingContext source ,
49
49
float threshold ,
@@ -53,13 +53,13 @@ public static IImageProcessingContext BinaryThreshold(
53
53
/// <summary>
54
54
/// Applies binarization to the image splitting the pixels at the given threshold.
55
55
/// </summary>
56
- /// <param name="source">The image this method extends .</param>
56
+ /// <param name="source">The current image processing context .</param>
57
57
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
58
58
/// <param name="mode">Selects the value to be compared to threshold.</param>
59
59
/// <param name="rectangle">
60
60
/// The <see cref="Rectangle"/> structure that specifies the portion of the image object to alter.
61
61
/// </param>
62
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
62
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
63
63
public static IImageProcessingContext BinaryThreshold (
64
64
this IImageProcessingContext source ,
65
65
float threshold ,
@@ -71,11 +71,11 @@ public static IImageProcessingContext BinaryThreshold(
71
71
/// Applies binarization to the image splitting the pixels at the given threshold with
72
72
/// Luminance as the color component to be compared to threshold.
73
73
/// </summary>
74
- /// <param name="source">The image this method extends .</param>
74
+ /// <param name="source">The current image processing context .</param>
75
75
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
76
76
/// <param name="upperColor">The color to use for pixels that are above the threshold.</param>
77
77
/// <param name="lowerColor">The color to use for pixels that are below the threshold</param>
78
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
78
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
79
79
public static IImageProcessingContext BinaryThreshold (
80
80
this IImageProcessingContext source ,
81
81
float threshold ,
@@ -86,12 +86,12 @@ public static IImageProcessingContext BinaryThreshold(
86
86
/// <summary>
87
87
/// Applies binarization to the image splitting the pixels at the given threshold.
88
88
/// </summary>
89
- /// <param name="source">The image this method extends .</param>
89
+ /// <param name="source">The current image processing context .</param>
90
90
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
91
91
/// <param name="upperColor">The color to use for pixels that are above the threshold.</param>
92
92
/// <param name="lowerColor">The color to use for pixels that are below the threshold</param>
93
93
/// <param name="mode">Selects the value to be compared to threshold.</param>
94
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
94
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
95
95
public static IImageProcessingContext BinaryThreshold (
96
96
this IImageProcessingContext source ,
97
97
float threshold ,
@@ -104,14 +104,14 @@ public static IImageProcessingContext BinaryThreshold(
104
104
/// Applies binarization to the image splitting the pixels at the given threshold with
105
105
/// Luminance as the color component to be compared to threshold.
106
106
/// </summary>
107
- /// <param name="source">The image this method extends .</param>
107
+ /// <param name="source">The current image processing context .</param>
108
108
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
109
109
/// <param name="upperColor">The color to use for pixels that are above the threshold.</param>
110
110
/// <param name="lowerColor">The color to use for pixels that are below the threshold</param>
111
111
/// <param name="rectangle">
112
112
/// The <see cref="Rectangle"/> structure that specifies the portion of the image object to alter.
113
113
/// </param>
114
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
114
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
115
115
public static IImageProcessingContext BinaryThreshold (
116
116
this IImageProcessingContext source ,
117
117
float threshold ,
@@ -123,15 +123,15 @@ public static IImageProcessingContext BinaryThreshold(
123
123
/// <summary>
124
124
/// Applies binarization to the image splitting the pixels at the given threshold.
125
125
/// </summary>
126
- /// <param name="source">The image this method extends .</param>
126
+ /// <param name="source">The current image processing context .</param>
127
127
/// <param name="threshold">The threshold to apply binarization of the image. Must be between 0 and 1.</param>
128
128
/// <param name="upperColor">The color to use for pixels that are above the threshold.</param>
129
129
/// <param name="lowerColor">The color to use for pixels that are below the threshold</param>
130
130
/// <param name="mode">Selects the value to be compared to threshold.</param>
131
131
/// <param name="rectangle">
132
132
/// The <see cref="Rectangle"/> structure that specifies the portion of the image object to alter.
133
133
/// </param>
134
- /// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations .</returns>
134
+ /// <returns>The <see cref="IImageProcessingContext"/>.</returns>
135
135
public static IImageProcessingContext BinaryThreshold (
136
136
this IImageProcessingContext source ,
137
137
float threshold ,
0 commit comments