Documentation ¶
Index ¶
- func BoxGray(img *image.Gray, kernelSize image.Point, anchor image.Point, ...) (*image.Gray, error)
- func BoxRGBA(img *image.RGBA, kernelSize image.Point, anchor image.Point, ...) (*image.RGBA, error)
- func GaussianBlurGray(img *image.Gray, radius float64, sigma float64, border padding.Border) (*image.Gray, error)
- func GaussianBlurRGBA(img *image.RGBA, radius float64, sigma float64, border padding.Border) (*image.RGBA, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoxGray ¶
func BoxGray(img *image.Gray, kernelSize image.Point, anchor image.Point, border padding.Border) (*image.Gray, error)
BoxGray applies average blur to a grayscale image. The amount of bluring effect depends on the kernel size, where both width and height can be specified. The anchor point specifies a point inside the kernel. The pixel value will be updated after the convolution was done for the given area. Border types supported: see convolution package.
func BoxRGBA ¶
func BoxRGBA(img *image.RGBA, kernelSize image.Point, anchor image.Point, border padding.Border) (*image.RGBA, error)
BoxRGBA applies average blur to an RGBA image. The amount of bluring effect depends on the kernel size, where both width and height can be specified. The anchor point specifies a point inside the kernel. The pixel value will be updated after the convolution was done for the given area. Border types supported: see convolution package.
func GaussianBlurGray ¶
func GaussianBlurGray(img *image.Gray, radius float64, sigma float64, border padding.Border) (*image.Gray, error)
GaussianBlurGray applies average blur to a grayscale image. The amount of bluring effect depends on the kernel radius and sigma value. The anchor point specifies a point inside the kernel. The pixel value will be updated after the convolution was done for the given area. For border types see convolution package.
func GaussianBlurRGBA ¶
func GaussianBlurRGBA(img *image.RGBA, radius float64, sigma float64, border padding.Border) (*image.RGBA, error)
GaussianBlurRGBA applies average blur to an RGBA image. The amount of bluring effect depends on the kernel radius and sigma value. The anchor point specifies a point inside the kernel. The pixel value will be updated after the convolution was done for the given area. For border types see convolution package.
Types ¶
This section is empty.