|
a |
|
b/man/partition_lung.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/partition_lung.R |
|
|
3 |
\name{partition_lung} |
|
|
4 |
\alias{partition_lung} |
|
|
5 |
\title{Partition the lung} |
|
|
6 |
\usage{ |
|
|
7 |
partition_lung( |
|
|
8 |
img, |
|
|
9 |
kernel_size = c(30, 30, 30), |
|
|
10 |
kernel_stride = c(30, 30, 30), |
|
|
11 |
centroid = TRUE |
|
|
12 |
) |
|
|
13 |
} |
|
|
14 |
\arguments{ |
|
|
15 |
\item{img}{Lung scan to be partitioned. Can be in 3D matrix or ANTs image file format.} |
|
|
16 |
|
|
|
17 |
\item{kernel_size}{Size of the kernel, in voxel units of width, depth, and height. Must be c(3,3,3) or greater. Default: c(30,30,30)} |
|
|
18 |
|
|
|
19 |
\item{kernel_stride}{Stride (or spacing) between kernels, in voxel units, for width, depth, and height. If kernel_stride = kernel_size, the partitions are non-overlapping. If stride = c(1,1,1), then each voxel is returned.} |
|
|
20 |
|
|
|
21 |
\item{centroid}{Logical. If true, output includes the centroids of each partition.} |
|
|
22 |
} |
|
|
23 |
\value{ |
|
|
24 |
Matrix of x, y, and z coordinates for each partition |
|
|
25 |
} |
|
|
26 |
\description{ |
|
|
27 |
Partition the lung |
|
|
28 |
} |