Description Usage Arguments Value Examples
For each pixel, we consider a local patch consisting all pixels in a 21 x 21 pixel matrix, centered at the pixel being considered. Outliers are defined as pixels that have values larger than 3 standard deviations from the mean of the pixel values in its local patch. This is translated from code by Joseph Roth and Zach Richardson.
1  | outlierRejection(input)
 | 
input | 
 image matrix  | 
A matrix with non-breechface areas set to 0, and outliers set to NA.
1 2 3 4 5 6 7  | ## Not run: 
# first run this:
croppedExample <- cropBorders(removedExample, centeredExample$centeredPrimer)
# then
outlierNAexample <- outlierRejection(croppedExample)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.