View source: R/rankIntensity.R
rankIntensity | R Documentation |
Rank transform the intensity of an image to reduce the impact of outliers; useful when using correlation-based metrics for registration and possibly for segmentation tasks. best used with a mask.
rankIntensity(x, mask, getMask = TRUE, method = "max")
x |
input image |
mask |
optional mask |
getMask |
boolean only used if mask is not present |
method |
optional method passed to |
image is output
Avants BB
fi <- makeImage(c(10, 10, 10), rnorm(1000))
rfi <- rankIntensity(fi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.