\name{rip.blur}
\alias{rip.blur}
\title{Blur a \code{"rip"} object}
\usage{
rip.blur(x,
         method = c("mean", "median", "gaussian"),
         ksize = c(1L, 1L),
         sigma.x = 1,
         sigma.y = 1,
         anchor = c(-1L, -1L),
         borderType = c("reflect_101", "constant", "replicate", "reflect", "wrap"))
}
\arguments{
  \item{x}{rip object (or an object that can be coerced to one).}

  \item{method}{Blurring method to use.}

  \item{ksize}{Blur kernel size.}

  \item{sigma.x, sigma.y}{
    Standard deviation of Gaussian blur kernel. This combined with
    \code{ksize} determines the blur kernel.
  }

  \item{anchor}{Determines the position of the kernel with reference
    to location in the output image. The default is to center the
    kernel.}

  \item{borderType}{Character string determining how the value of
    \sQuote{missing} pixels outside the image boundary are
    computed. The names are suggestive; see OpenCV documentation
    for details.}
}
\value{
  A blurred \code{"rip"} object.
}
\description{
  Wrapper for blurring functions in OpenCV.
}
\details{
  Blurs an image using one of three algorithms in OpenCV,
  \code{blur} (local mean), \code{medianBlur} (local median), or
  \code{gaussianBlur} (local filtering with a Gaussian
  kernel). There are limitations on kernel size for certain methods
  (see OpenCV documentation for details).
}
\author{
  Deepayan Sarkar
}
