Estimates biometric masks for anonymization, such as the face and ears.
biometric_mask(file, type = c("ct", "mri"), ...) ct_biometric_mask(file, ...) mri_biometric_mask(file, ...)
file | Filename (or nifti) of image |
---|---|
type | character of |
... | arguments to pass to |
Object of class nifti
if (FALSE) { 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) }