biometric_mask: Estimate Biometric Masks

Description Usage Arguments Value Examples

View source: R/biometric_mask.R

Description

Estimates biometric masks for anonymization, such as the face and ears.

Usage

1
2
3
4
5

Arguments

file

Filename (or nifti) of image

type

character of ct for CT images or mri for magnetic resonance images

...

arguments to pass to ct/mri_ear_mask and ct/mri_face_mask

Value

Object of class nifti

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
file = "~/Desktop/Desktop/scratch/100-318_20070723_0957_CT_3_CT_Head-.nii.gz"
mask = NULL
robust = FALSE
mask = ct_biometric_mask(
   file = file,
   robust = FALSE
   )
 img = readnii(file)
 rimg = randomize_mask(img, mask = face)

## End(Not run)

neuroconductor-devel/ichseg documentation built on Sept. 5, 2019, 8:01 p.m.