size (int) – Size of the phantom (square) image.
n_data (int) – Number of phantoms to generate per sample.
transform (Callable) – Transformation to apply to the output image.
use_dict_output (bool) – Whether to return output as dict with key “x” or a bare Tensor (default: False).