Description Usage Arguments Value
View source: R/register_lung_mask.R
This function registers the right and left lung masks to a template mask. To register to the standard lung template mask, type system.file("extdata", "lung_template_mask.nii.gz", package = "lungct").
1 2 3 4 5 6 7 8 9 10 11 12 |
moving_mask |
Mask of moving image. Right lung = 1, left lung = 2, non-lung = 0 |
fixed_mask |
Mask of fixed image. Right lung = 1, left lung = 2, non-lung = 0 |
moving |
Moving image to apply transformation |
sides |
Choose to register right and/or left lungs. |
verbose |
Print diagnostic messages |
typeofTransform |
Type of transform, passed to |
composeTransforms |
Prefix of output filename to save the composed forward transformations. The prefix will add comptx.nii.gz to the end. |
mask_interpolator |
Interpolator used to apply transformation to moving mask,
passed to |
interpolator |
Interpolator used to apply transformation to image,
passed to |
... |
addition arguments to pass to |
A list of warped masks, images, and transformations for right and left lungs separately
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.