medpy.filter.houghtransform.template_sphere#
- medpy.filter.houghtransform.template_sphere(radius, dimensions)[source]#
Returns a spherical binary structure of a of the supplied radius that can be used as template input to the generalized hough transform.
- Parameters:
- radiusinteger
The circles radius in voxels.
- dimensionsinteger
The dimensionality of the circle
- Returns:
- template_spherendarray
A boolean array containing a sphere.