Method: Magick::Image#adaptive_blur_channel

Defined in:
ext/RMagick/rmimage.cpp

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

The same as #adaptive_blur except only the specified channels are blurred.

Overloads:

  • #adaptive_blur_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_blur_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:



472
473
474
475
476
477
478
479
480
# File 'ext/RMagick/rmimage.cpp', line 472

VALUE
Image_adaptive_blur_channel(int argc, VALUE *argv, VALUE self)
{
#if defined(IMAGEMAGICK_7)
    return adaptive_channel_method(argc, argv, self, GVL_FUNC(AdaptiveBlurImage));
#else
    return adaptive_channel_method(argc, argv, self, GVL_FUNC(AdaptiveBlurImageChannel));
#endif
}