Spherical hough transform for 3D images
SPHERICALHOUGH detects spherical structures from 3D images. Determines object centers and radii and outputs image mask of centers and spheres. This hough transform is based on the gradient field of the image. The code is heavily based off of Circular Hough Transform by Tao Peng (see info below).
USAGE:
[center_img,sphere_img,sphcen2,sphrad]=SPHERICALHOUGH(
img,radrange,grdthres,fltrLM_R,multirad,obj_cint)
EXAMPLE:
Run Example.m to see demonstration of SphericalHough on 3D MRI data of a rat kidney. It demonstrates the detection of kidney glomeruli, which are roughly spherical at 31x31x31 um^3 resolution. The expected radii are between 2 to 7 pixels. Example data is from the following article: MRH of age-related nephropathy, Tox Path, 2012 Jul;40(5):764-78 (http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3515870)
Supplemental material is also available on CIVMspace: http://www.civm.duhs.duke.edu/lx201107
Essential support functions are included for the example. Complete support functions can be found at the websites below:
SphericalHough http://www.mathworks.com/matlabcentral/fileexchange/48219
ordfilt3 http://www.mathworks.com/matlabcentral/fileexchange/22044
load_nii http://www.mathworks.com/matlabcentral/fileexchange/8797
showsrs2 http://wiki.biac.duke.edu/biac:tools
2007_03_07 original Circular Hough Transform by Yao Peng
2010_08_25 Spherical Hough Transform by Brian Hulette
2014_10_20 simpification, filtration, image mapping, classifiers, and example by Luke Xie
Cite As
Luke Xie (2024). Spherical hough transform for 3D images (https://www.mathworks.com/matlabcentral/fileexchange/48219-spherical-hough-transform-for-3d-images), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Transforms >
Tags
Acknowledgements
Inspired by: Detect circles with various radii in grayscale image via Hough Transform, ordfilt3
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.
SUPPORT_NIfTI_20140122/
SUPPORT_biactools_0.93/general/
SUPPORT_biactools_0.93/general/@url/
SUPPORT_biactools_0.93/general/private/
SUPPORT_biactools_0.93/mr/
Version | Published | Release Notes | |
---|---|---|---|
1.4.0.0 | added more input validation, changed gradient threshold input to a ratio, inverted object center intensity threshold |