darsia.zeros_like#
- zeros_like(image, mode='shape', dtype=None)[source]#
Analog of np.zeros_like but for darsia.Image objects.
- Parameters:
- image
darsia.Image Input image.
- 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.