InSPIRE utility to smooth 3D volume data
This example uses a gaussian filter extracted from wikipedia:
kernel = [0.125 0.625 1 0.625 0.125] for standard normal distribution. Note that given this kernel, users at least need to pad two layers of zeros around the a3d, otherwise there will be out of bound error when the edge voxels of a3d are being processed. This filter could be used to compare with the convn function in matlab, but it may give you an intuitive control of your filtering.
Cite As
Rex Cheung (2024). InSPIRE utility to smooth 3D volume data (https://www.mathworks.com/matlabcentral/fileexchange/36285-inspire-utility-to-smooth-3d-volume-data), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing > Smoothing and Denoising >
Tags
Acknowledgements
Inspired: SOLLAR CHIMNEY DISALINATION APPARATUS
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |