@@ -1274,6 +1274,19 @@ public void BilateralBlur(uint width, uint height)
12741274 mutator . BilateralBlur ( width , height ) ;
12751275 }
12761276
1277+ /// <summary>
1278+ /// Applies a non-linear, edge-preserving, and noise-reducing smoothing filter.
1279+ /// </summary>
1280+ /// <param name="width">The width of the neighborhood in pixels.</param>
1281+ /// <param name="height">The height of the neighborhood in pixels.</param>
1282+ /// <param name="channels">The channel(s) that should be blurred.</param>
1283+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
1284+ public void BilateralBlur ( uint width , uint height , Channels channels )
1285+ {
1286+ using var mutator = new Mutator ( _nativeInstance ) ;
1287+ mutator . BilateralBlur ( width , height , channels ) ;
1288+ }
1289+
12771290 /// <summary>
12781291 /// Applies a non-linear, edge-preserving, and noise-reducing smoothing filter.
12791292 /// </summary>
@@ -1288,6 +1301,21 @@ public void BilateralBlur(uint width, uint height, double intensitySigma, double
12881301 mutator . BilateralBlur ( width , height , intensitySigma , spatialSigma ) ;
12891302 }
12901303
1304+ /// <summary>
1305+ /// Applies a non-linear, edge-preserving, and noise-reducing smoothing filter.
1306+ /// </summary>
1307+ /// <param name="width">The width of the neighborhood in pixels.</param>
1308+ /// <param name="height">The height of the neighborhood in pixels.</param>
1309+ /// <param name="intensitySigma">The sigma in the intensity space.</param>
1310+ /// <param name="spatialSigma">The sigma in the coordinate space.</param>
1311+ /// <param name="channels">The channel(s) that should be blurred.</param>
1312+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
1313+ public void BilateralBlur ( uint width , uint height , double intensitySigma , double spatialSigma , Channels channels )
1314+ {
1315+ using var mutator = new Mutator ( _nativeInstance ) ;
1316+ mutator . BilateralBlur ( width , height , intensitySigma , spatialSigma , channels ) ;
1317+ }
1318+
12911319 /// <summary>
12921320 /// Forces all pixels below the threshold into black while leaving all pixels at or above
12931321 /// the threshold unchanged.
@@ -4188,6 +4216,20 @@ public void MotionBlur(double radius, double sigma, double angle)
41884216 mutator . MotionBlur ( radius , sigma , angle ) ;
41894217 }
41904218
4219+ /// <summary>
4220+ /// Motion blur the specified channel(s) of the image with the specified blur factor.
4221+ /// </summary>
4222+ /// <param name="radius">The radius of the Gaussian, in pixels, not counting the center pixel.</param>
4223+ /// <param name="sigma">The standard deviation of the Laplacian, in pixels.</param>
4224+ /// <param name="angle">The angle the object appears to be comming from (zero degrees is from the right).</param>
4225+ /// <param name="channels">The channel(s) that should be blurred.</param>
4226+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
4227+ public void MotionBlur ( double radius , double sigma , double angle , Channels channels )
4228+ {
4229+ using var mutator = new Mutator ( _nativeInstance ) ;
4230+ mutator . MotionBlur ( radius , sigma , angle , channels ) ;
4231+ }
4232+
41914233 /// <summary>
41924234 /// Negate colors in image.
41934235 /// </summary>
@@ -4224,7 +4266,16 @@ public void NegateGrayscale(Channels channels)
42244266 /// </summary>
42254267 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
42264268 public void Normalize ( )
4227- => _nativeInstance . Normalize ( ) ;
4269+ => Normalize ( ImageMagick . Channels . Undefined ) ;
4270+
4271+ /// <summary>
4272+ /// Normalize the specified channel(s) of the image (increase contrast by normalizing the pixel
4273+ /// values to span the full range of color values).
4274+ /// </summary>
4275+ /// <param name="channels">The channel(s) that should be normalized.</param>
4276+ /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
4277+ public void Normalize ( Channels channels )
4278+ => _nativeInstance . Normalize ( channels ) ;
42284279
42294280 /// <summary>
42304281 /// Oilpaint image (image looks like oil painting).
0 commit comments