Mimics was really nifty at creating a mask for a certain part of a dicom, but it was impossible to reduce the dicom to just that highlighted area while preserving all of the intensity data.
This code takes exported directory of .bmps from mimics with and without the mask of interest, and uses the color of the mask to select only the mask. The resulting stack of images are reduced by trimming away dead space around the object.
Ethan Nyberg (2022). DICOM Crop (https://www.mathworks.com/matlabcentral/fileexchange/57357-dicom-crop), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!