machinevisiontoolbox.Image.__lshift__
- Image.__lshift__(other)[source]
Overloaded
<<
operator- Returns:
elementwise binary-left-shift of images
- Return type:
Image
Left shift pixel values in an Image.
Example:
>>> from machinevisiontoolbox import Image >>> img = Image([[1, 2], [3, 4]]) >>> z = img << 1 >>> z.image array([[2, 4], [6, 8]], dtype=uint8)