shepp_logan¶
- odl.phantom.transmission.shepp_logan(space, modified=False, min_pt=None, max_pt=None)[source]¶
Standard Shepp-Logan phantom in 2 or 3 dimensions.
- Parameters:
- space
DiscretizedSpace Space in which the phantom is created, must be 2- or 3-dimensional. If
space.shapeis 1 in an axis, a corresponding slice of the phantom is created.- modified
bool, optional True if the modified Shepp-Logan phantom should be given. The modified phantom has greatly amplified contrast to aid visualization.
- min_pt, max_ptarray-like, optional
If provided, use these vectors to determine the bounding box of the phantom instead of
space.min_ptandspace.max_pt. It is currently required thatmin_pt >= space.min_ptandmax_pt <= space.max_pt, i.e., shifting or scaling outside the original space is not allowed.Providing one of them results in a shift, e.g., for
min_pt:new_min_pt = min_pt new_max_pt = space.max_pt + (min_pt - space.min_pt)
Providing both results in a scaled version of the phantom.
- space
See also
forbildSimilar phantom but with more complexity. Only supports 2d.
odl.phantom.geometric.defriseGeometry test phantom
shepp_logan_ellipsoidsGet the parameters that define this phantom
odl.phantom.geometric.ellipsoid_phantomFunction for creating arbitrary ellipsoid phantoms
References