Description Usage Arguments Value
View source: R/RImaGen-functions.r
Downsample an image.
1 2 | downsample(img, subFactor = 1, method = c("FLIRT", "SUBSAMP2"),
bin = FALSE, thresh = 0.9)
|
img |
An image of class |
subFactor |
Downsampling factor. |
method |
Downsampling method. |
bin |
|
thresh |
Treshhold for re-binarisation of downsampled binary images and masks. A threshold near 1 (say 0.9) is conservative according to FLIRT FAQ. |
A downsampled image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.