rankIntensity.Rd
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")
image is output