Method: Magick::Image#adaptive_sharpen_channel

Defined in:
ext/RMagick/rmimage.cpp

#adaptive_sharpen_channel(radius = 0.0, sigma = 1.0, channel = Magick::AllChannels) ⇒ Magick::Image #adaptive_sharpen_channel(radius = 0.0, sigma = 1.0, *channels) ⇒ Magick::Image

The same as #adaptive_sharpen except only the specified channels are sharpened.

Overloads:

  • #adaptive_sharpen_channel(radius = 0.0, sigma = 1.0, channel = Magick::AllChannels) ⇒ Magick::Image

    Parameters:

    • radius (Numeric) (defaults to: 0.0)

      The radius of the Gaussian in pixels, not counting the center pixel.

    • sigma (Numeric) (defaults to: 1.0)

      The standard deviation of the Laplacian, in pixels.

    • channel (Magick::ChannelType) (defaults to: Magick::AllChannels)

      a ChannelType arguments.

  • #adaptive_sharpen_channel(radius = 0.0, sigma = 1.0, *channels) ⇒ Magick::Image

    Parameters:

    • radius (Numeric) (defaults to: 0.0)

      The radius of the Gaussian in pixels, not counting the center pixel.

    • sigma (Numeric) (defaults to: 1.0)

      The standard deviation of the Laplacian, in pixels.

    • *channels (Magick::ChannelType)

      one or more ChannelType arguments.

Returns:



580
581
582
583
584
585
586
587
588
# File 'ext/RMagick/rmimage.cpp', line 580

VALUE
Image_adaptive_sharpen_channel(int argc, VALUE *argv, VALUE self)
{
#if defined(IMAGEMAGICK_7)
    return adaptive_channel_method(argc, argv, self, GVL_FUNC(AdaptiveSharpenImage));
#else
    return adaptive_channel_method(argc, argv, self, GVL_FUNC(AdaptiveSharpenImageChannel));
#endif
}