@@ -968,7 +968,10 @@ public void AdaptiveResize(IMagickGeometry geometry)
968968 /// </summary>
969969 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
970970 public void AdaptiveSharpen ( )
971- => AdaptiveSharpen ( 0.0 , 1.0 ) ;
971+ {
972+ using var mutator = new Mutator ( _nativeInstance ) ;
973+ mutator . AdaptiveSharpen ( ) ;
974+ }
972975
973976 /// <summary>
974977 /// Adaptively sharpens the image by sharpening more intensely near image edges and less
@@ -977,7 +980,10 @@ public void AdaptiveSharpen()
977980 /// <param name="channels">The channel(s) that should be sharpened.</param>
978981 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
979982 public void AdaptiveSharpen ( Channels channels )
980- => AdaptiveSharpen ( 0.0 , 1.0 , channels ) ;
983+ {
984+ using var mutator = new Mutator ( _nativeInstance ) ;
985+ mutator . AdaptiveSharpen ( channels ) ;
986+ }
981987
982988 /// <summary>
983989 /// Adaptively sharpens the image by sharpening more intensely near image edges and less
@@ -987,7 +993,10 @@ public void AdaptiveSharpen(Channels channels)
987993 /// <param name="sigma">The standard deviation of the Laplacian, in pixels.</param>
988994 /// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
989995 public void AdaptiveSharpen ( double radius , double sigma )
990- => AdaptiveSharpen ( radius , sigma , ImageMagick . Channels . Undefined ) ;
996+ {
997+ using var mutator = new Mutator ( _nativeInstance ) ;
998+ mutator . AdaptiveSharpen ( radius , sigma ) ;
999+ }
9911000
9921001 /// <summary>
9931002 /// Adaptively sharpens the image by sharpening more intensely near image edges and less
@@ -997,7 +1006,10 @@ public void AdaptiveSharpen(double radius, double sigma)
9971006 /// <param name="sigma">The standard deviation of the Laplacian, in pixels.</param>
9981007 /// <param name="channels">The channel(s) that should be sharpened.</param>
9991008 public void AdaptiveSharpen ( double radius , double sigma , Channels channels )
1000- => _nativeInstance . AdaptiveSharpen ( radius , sigma , channels ) ;
1009+ {
1010+ using var mutator = new Mutator ( _nativeInstance ) ;
1011+ mutator . AdaptiveSharpen ( radius , sigma , channels ) ;
1012+ }
10011013
10021014 /// <summary>
10031015 /// Local adaptive threshold image.
0 commit comments