medpy.filter.houghtransform.template_ellipsoid#

medpy.filter.houghtransform.template_ellipsoid(shape)[source]#

Returns an ellipsoid binary structure of a of the supplied radius that can be used as template input to the generalized hough transform.

Parameters:
shapetuple of integers

The main axes of the ellipsoid in voxel units.

Returns:
template_spherendarray

A boolean array containing an ellipsoid.