Description Usage Arguments Value Examples
View source: R/replace_outside_hull.R
Determines values outside the surface of an image and gives a mask back with those values set to a replacement.
1 2 3 4 5 6 7 | replace_outside_surface(
img,
value = 0,
threshold = 0,
replace_value = NA,
reorient = FALSE
)
|
img |
nifti object or array |
value |
Value to check against. If zero, then
|
threshold |
Include dimension if fewer than |
replace_value |
Value to replace those outside the surface. |
reorient |
Should image be reoriented if a filename?
Passed to |
Creates an array of binary values. If img
is a nifti
object, then a nifti
is returned
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.