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