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: radius : integer
The circles radius in voxels.
dimensions : integer
The dimensionality of the circle
Returns: template_sphere : ndarray
A boolean array containing a sphere.