jrispoli/breast-body-fusion
Supporting Information
Function Name: resizePhantom
Description: Resizes a phantom to desired dimensions using a nearest-neighbor interpolation
Input variables:
• inputPhantom: a three-dimensional (x,y,z) int8 array (e.g., a breast phantom)
• dimensions: a three-element (x,y,z) vector indicating desired number of points
Output variable:
• scaledPhantom: a three-dimensional (x,y,z) int8 array (e.g., a scaled breast phantom)
Function Name: phantomPlacement
Description: Returns the dimensions situate the phantom on a whole-body voxel model
Input variables:
• inputPhantom: a three-dimensional (x,y,z) int8 array (e.g., a breast phantom)
• position: single character 'l' or 'r' indicating left or right side of body
• dimensions: a three-element (x,y,z) vector indicating desired number of points
• xVoxelL, xVoxelR, yVoxel, zVoxel: voxel numbers where phantom is to be centered
Output variable:
• placementOffset: a three-element (x,y,z) vector indicating the pixel offset to place the phantom with respect to the whole-body voxel model
Function Name: extrudePhantom
Description: Extends the base xz plane of the phantom into the whole-body voxel model until encountering one of the specified tissue types
Input variables:
• inputPhantom: a three-dimensional (x,y,z) int8 array (e.g., a breast phantom)
• bodyModel: a three-dimensional (x,y,z) int8 array (e.g., a whole-body voxel model)
• placementOffset: a three-element (x,y,z) int vector indicating the pixel offset to place the phantom with respect to the whole-body voxel model
Output variable:
• extrudedPhantom: a three-dimensional (x,y,z) int8 array (e.g., a fused breast phantom)
Software Execution
It is recommended that the software functions are executed in the following sequence:
1) resizePhantom
2) phantomPlacement
3) extrudePhantom
Cite As
Joseph Rispoli (2024). jrispoli/breast-body-fusion (https://github.com/jrispoli/breast-body-fusion), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |
|