Diff of /man/biometric_mask.Rd [000000] .. [242173]

Switch to unified view

a b/man/biometric_mask.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/biometric_mask.R
3
\name{biometric_mask}
4
\alias{biometric_mask}
5
\alias{ct_biometric_mask}
6
\alias{mri_biometric_mask}
7
\title{Estimate Biometric Masks}
8
\usage{
9
biometric_mask(file, type = c("ct", "mri"), ...)
10
11
ct_biometric_mask(file, ...)
12
13
mri_biometric_mask(file, ...)
14
}
15
\arguments{
16
\item{file}{Filename (or nifti) of image}
17
18
\item{type}{character of \code{ct} for CT images or \code{mri} for magnetic
19
resonance images}
20
21
\item{...}{arguments to pass to \code{ct/mri_ear_mask} and
22
\code{ct/mri_face_mask}}
23
}
24
\value{
25
Object of class nifti
26
}
27
\description{
28
Estimates biometric masks for anonymization, such as the face and
29
ears.
30
}
31
\examples{
32
\dontrun{
33
file = "~/Desktop/Desktop/scratch/100-318_20070723_0957_CT_3_CT_Head-.nii.gz"
34
mask = NULL
35
robust = FALSE
36
mask = ct_biometric_mask(
37
   file = file,
38
   robust = FALSE
39
   )
40
 img = readnii(file)
41
 rimg = randomize_mask(img, mask = face)
42
}
43
44
}