knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

gaussian_blur("input.png", "output.png", sigma = 1) perform gaussian blur on an input image using a 3X3 convolution filter.

Inputs: - input_path: string, path to the input .png file - output_path: string, path to the output .png file - sigma: float/double, the standard diviation for the gaussian convolution filter matrix.

Output: returns a .png file at the output path and a matrix for pixel values.

Example: gaussian_blur("input.png", "output.png", sigma = 1)



UBC-MDS/InstaRF documentation built on May 15, 2019, 4:10 a.m.