| get_template | R Documentation | 
Create a new lung template from warped images and composite transformations. If the DSC < 0.99, more iterations should be performed.
get_template(
  folder_warp,
  folder_comp,
  sides = c("right", "left"),
  gradientStep = 0.2,
  mask = TRUE,
  verbose = TRUE
)
| folder_warp | Folder path for warped images | 
| folder_comp | Folder path for composite transformations | 
| sides | Do both left and right or only one? | 
| gradientStep | Gradient step size | 
| mask | Logical statement. TRUE if template should be binary. | 
| verbose | Print output messages | 
New Template. Right lung = 1, left lung = 2, non-lung = 0.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.