[3b2327]: / man / segment_lung_lr.Rd

Download this file

23 lines (20 with data), 597 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/segment_lung_lr.R
\name{segment_lung_lr}
\alias{segment_lung_lr}
\title{Lung Segmentation}
\usage{
segment_lung_lr(img, lthresh = -300, verbose = TRUE)
}
\arguments{
\item{img}{CT scan in ANTs or NIfTI file format}
\item{lthresh}{Threshold used to find the lung and airways,
from the CT. Default: -300 HU.}
\item{verbose}{Print diagnostic messages.}
}
\value{
Lung mask in ANTs file format. Right lung = 1, left lung = 2, non-lung = 0
}
\description{
This function segments the right and left lungs from a CT scan.
}