Face Anonymizer (BET)
This Face Anonymizer (BET) algorithm extracts an approximated face from a T1-weighted MRI, eliminating facial areas outside of a certain buffer from the brain. The algorithm employs several other algorithms developed by the MIPAV project.
Contents
Background
The procedure used by this algorithm to return an image with an extracted face consists of five major steps:
- Extract the brain.
- Buffer the brain.
- Define the face.
- Extract the face.
- Smooth the face.
Step 1, Extract the brain
Parameters that directly relate to the mechanics of the brain extraction tool can be changed using the dialog box for the face anonymizer. For more information, refer to the dialog help section.
For more information concerning the mechanics of this portion of the algorithm, see references.
Step 2: Buffer the brain
The brain extracted from the brain extraction tool is buffered by a certain number of millimeters that can be set using this algorithm's dialog menu. This portion of the algorithm employs the morphological dilate algorithm to extend the brain mask derived from brain extraction tool in three dimensions. Refer to Extract Brain: Extract Brain Surface (BSE) for more information.
Step 3: Define the face
The face is searched for in an area defined by the MRI given orientation. This orientation is derived from the file information of the MRI and can be changed using this algorithm's dialog options. Within this region an initial shape is chosen that will expand in an effort to extract the face.
Step 4: Extract the face
Face extraction is achieved by appending spheres of random radius onto the initial shape. This size of the spheres decays exponentially as the area of the two octants is filled. Eventually the process converges to a shape that is defined as an approximate face and does not lie within the buffered brain area. For more information on the method of sphere approximation, see references.
Step 5: Smooth the face
The extracted face is smoothed to approximate a quarter-cylinder within the two given octants. The final extracted face is guaranteed to not lie within the extracted brain.
Image types
You can apply this algorithm only to 3D T1-weighted MRI images. The image file must represent the whole brain (from the left to the right side and from the top to the bottom of the brain). The algorithm would not work if the image file contains only a few slices.
Notes
The resulting image is of the same data type as the original image.
Reference:
Within the MIPAV project:
The brain extraction tool, which extracts the surface of the brain from a T1-weighted MRI and the dilate algorithm, which buffers the extracted brain by a set number of millimeters, are described here: Extract Brain: Extract Brain Surface (BSE).
Outside of MIPAV:
Applying the Face Anonymizer Algorithm
To use this algorithm, do the following:
- Select Algorithms > Brain Tools > Face de-Identification. The Face Anonymizer dialog box appears.
- Complete the information in the dialog box. Check that the MRI orientation information is correct.
- Click OK.
- The algorithm begins to run, and a progress bar appears with the status. When the algorithm finishes running, the progress bar disappears, and the original image without the extracted face appears.
Recommendation: To find an optimal set of parameter values, run this algorithm repeatedly on a representative volume of the 3D T1-weighted MRI images using different parameter values. Keep the records of parameter values you use. |
Which way is the patient's face pointing?
|
Specifies the orientation of the image. MIPAV extrapolates this value from the image file information. Confirm that the orientation given is correct: Right - sagittal image with x-axis oriented posterior to anterior; Left - sagittal image with X-axis oriented anterior to posterior; Down - axial image with Y-axis oriented posterior to anterior; Up - axial image with y-axis oriented anterior to posterior;
|
|
Into the screen - coronal image with Z-axis oriented posterior to anterior; Out of the screen - coronal image with Z-axis oriented anterior to posterior.
| ||
Face Removal Options
| ||
Brain buffer
|
Guarantees that the extracted brain will be avoided by the specified number of millimeters. Refer to Step 2: Buffer the brain for more information.
| |
Brain Extraction Options
| ||
Initial shape
|
Uses a sphere shape instead of an ellipse for estimating the initial boundary. Specifies whether a sphere should be used for initial brain extraction. For more information, see the sphere approximation option for the brain extraction tool.
| |
Image influence ratio
|
Specifies the depth to calculate in approximating brain maximum and minimum intensities. For more information, refer to "Extract Brain: Extract Brain Surface (BSE)" to learn more about the image influence option for the brain extraction tool. Default value is 0.1. Allowed values range from 0.01 to 0.5.
| |
Mesh stiffness
|
Controls the stiffness of the brain approximation mesh. For more information about the stiffness option, refer to Chapter "Extract Brain: Extract Brain Surface (BSE)"of the MIPAV manual. Default value is 0.15. Allowed values range from 0.01 to 0.5.
| |
OK
|
Confirms the dialog settings and runs the algorithm.
| |
Cancel
|
Disregards any changes that you made in this dialog box and closes this dialog box.
| |
Help
|
Displays online help for this dialog box.
|