module CrImage::Operation::GaussianBlur

Overview

Applies a 3x3 Gaussian blur. Implementation derived from here

Taking sample image:

Woman with black turtleneck and white background
image.gaussian_blur(1).save("gaussian_1_sample.jpg")
image.gaussian_blur(5).save("gaussian_5_sample.jpg")
Blurred sample image with value 1 Blurred sample image with value 5

Direct including types

Defined in:

cr-image/operation/gaussian_blur.cr

Instance Method Summary

Instance Method Detail

def gaussian_blur(sigma : Int32) : self #

[View source]
def gaussian_blur!(sigma : Int32) : self #

[View source]