threephases#
- cuqi.data.threephases(size=128, p=70)#
Three-phase phantom.
Creates an image with three different phases.
- Parameters:
size (int) – Size of the image to generate. Image is square with sides of length size.
p (int) – Number of blobs in each phase (blobs can overlap).
- Returns:
img – Image of the phantom.
- Return type:
ndarray
Notes
Python translation from phantomgallery code in AIRToolsII jakobsj/AIRToolsII.