|
a |
|
b/man/get_template.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/get_template.R |
|
|
3 |
\name{get_template} |
|
|
4 |
\alias{get_template} |
|
|
5 |
\title{Lung Template Creation} |
|
|
6 |
\usage{ |
|
|
7 |
get_template( |
|
|
8 |
folder_warp, |
|
|
9 |
folder_comp, |
|
|
10 |
sides = c("right", "left"), |
|
|
11 |
gradientStep = 0.2, |
|
|
12 |
mask = TRUE, |
|
|
13 |
verbose = TRUE |
|
|
14 |
) |
|
|
15 |
} |
|
|
16 |
\arguments{ |
|
|
17 |
\item{folder_warp}{Folder path for warped images} |
|
|
18 |
|
|
|
19 |
\item{folder_comp}{Folder path for composite transformations} |
|
|
20 |
|
|
|
21 |
\item{sides}{Do both left and right or only one?} |
|
|
22 |
|
|
|
23 |
\item{gradientStep}{Gradient step size} |
|
|
24 |
|
|
|
25 |
\item{mask}{Logical statement. TRUE if template should be binary.} |
|
|
26 |
|
|
|
27 |
\item{verbose}{Print output messages} |
|
|
28 |
} |
|
|
29 |
\value{ |
|
|
30 |
New Template. Right lung = 1, left lung = 2, non-lung = 0. |
|
|
31 |
} |
|
|
32 |
\description{ |
|
|
33 |
Create a new lung template from warped images and composite transformations. If the DSC < 0.99, more iterations should be performed. |
|
|
34 |
} |