Skip to main content

Arithmetic Operations (arithmetic-operations)

Per-pixel bitwise logic operations.

API

FunctionDescription
vision_bitwise_and(v, o)Bitwise AND with another image
vision_bitwise_or(v, o)Bitwise OR
vision_bitwise_xor(v, o)Bitwise XOR
vision_bitwise_not(v)Bitwise NOT

Notes

All operations directly modify the pixel data of the Vision image. Both images must have matching dimensions.