darsia.full_like#
- full_like(image, fill_value, mode='shape', dtype=None)[source]#
Analog of np.full_like but for darsia.Image objects.
- Parameters:
- image
darsia.Image Input image.
- fill_value
np.ndarray|float|int Value to fill the output image with.
- mode
Literal[“shape”, “voxels”],optional Mode of the output image. Defaults to “shape”.
- dtype
Optional[StandardDtype],optional Dtype of the output image. Defaults to None.
- image
- Returns:
darsia.ImageOutput image.