Image.__sub__#
- Image.__sub__(other: Image | ndarray | int | float | bool) Image[source][source]#
Overloaded
-operator- Returns:
element-wise subtraction of images
- Return type:
Compute the difference of an Image with another image or a scalar. Supports:
image
-image, element-wisescalar
-imageimage
-scalar
Examples
- ..warning:: Values will be wrapped not clipped to the range of the
pixel datatype.