[3b2327]: / man / register_lung_mask.Rd

Download this file

50 lines (40 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/register_lung_mask.R
\name{register_lung_mask}
\alias{register_lung_mask}
\title{Lung Registration}
\usage{
register_lung_mask(
moving_mask,
fixed_mask,
moving = NULL,
sides = c("right", "left"),
verbose = FALSE,
typeofTransform = "SyN",
composeTransforms = NULL,
mask_interpolator = "nearestNeighbor",
interpolator = "linear",
...
)
}
\arguments{
\item{moving_mask}{Mask of moving image. Right lung = 1, left lung = 2, non-lung = 0}
\item{fixed_mask}{Mask of fixed image. Right lung = 1, left lung = 2, non-lung = 0}
\item{moving}{Moving image to apply transformation}
\item{sides}{Choose to register right and/or left lungs.}
\item{verbose}{Print diagnostic messages}
\item{typeofTransform}{Type of transform, passed to \code{\link{antsRegistration}}}
\item{composeTransforms}{Prefix of output filename to save the composed forward transformations. The prefix will add comptx.nii.gz to the end.}
\item{mask_interpolator}{Interpolator used to apply transformation to moving mask,
passed to \code{\link{antsApplyTransforms}}}
\item{interpolator}{Interpolator used to apply transformation to image,
passed to \code{\link{antsApplyTransforms}}}
\item{...}{addition arguments to pass to \code{\link{antsRegistration}}}
}
\value{
A list of warped masks, images, and transformations for
right and left lungs separately
}
\description{
This function registers the right and left lung masks to a template mask. To register to the standard lung template mask, type \code{system.file("extdata", "lung_template_mask.nii.gz", package = "lungct").}
}