Description Usage Arguments Value Examples
This function applies a low and high-pass Gaussian filter. The low-pass
filter uses an 11 x 11 matrix with sigma = 6
, and the high-pass filter
uses a 149 x 149 matrix with sigma = 44
. This is translated from code
by Joseph Roth and Zach Richardson.
1 | gaussianFilter(inputImage, nonBF)
|
inputImage |
image matrix |
nonBF |
binary matrix of the same dimensions as |
The image matrix after filtering.
1 2 3 4 5 6 7 8 | ## Not run:
# first run this:
croppedExample <- cropBorders(removedExample, centeredExample$centeredPrimer)
# then
nonBF <- is.na(croppedExample)
processedExample <- gaussianFilter(inpaintedExample, nonBF)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.