get_template: Lung Template Creation

Description Usage Arguments Value

View source: R/get_template.R

Description

Create a new lung template from warped images and composite transformations. If the DSC < 0.99, more iterations should be performed.

Usage

1
2
3
4
5
6
7
8
get_template(
  folder_warp,
  folder_comp,
  sides = c("right", "left"),
  gradientStep = 0.2,
  mask = TRUE,
  verbose = TRUE
)

Arguments

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

Value

New Template. Right lung = 1, left lung = 2, non-lung = 0.


muschellij2/lungct documentation built on July 13, 2020, 2:17 p.m.