Logical

IceMan Reference Guide

Logical

Each of these functions returns images containing only 1's and 0's, respectively representing Boolean true and false values. They are useful for generating masks. They are the means of performing conditional operations on a per-pixel basis.

ice.Image And(b)
b: Second operand (ice.Image).

Logical AND operation.

ice.Image Eq(b)
b: Second operand (ice.Image).

Logical equality: each pixel is one or zero depending on whether corresponding pixels in operand images are equal or not.

ice.Image Ge(b)
b: Second operand (ice.Image).

"Greater-than-or-equal" operation.

ice.Image Gt(b)
b: Second operand (ice.Image).

"Greater-than" operation.

ice.Image Le(b)
b: Second operand (ice.Image).

"Less-than-or-equal" operation.

ice.Lt(b)
b: Second operand (ice.Image).

"Less-than" operation.

ice.Image Nand(b)
b: Second operand (ice.Image).

"Not-and" operation.

ice.Image Nor(b)
b: Second operand (ice.Image).

"Not-or" operation.

ice.Image Not()
Unary logical complement.
ice.Image Ne(b)
b: Second operand (IceImage).

Logical "not-equal" operation.

ice.Image Or(b)
b: Second operand (ice.Image).

Logical OR operation.

ice.Image Xnor(b)
b: Second operand (ice.Image).

Exclusive "not-OR" operation.

ice.Image Xor(b)
b: Second operand (ice.Image).

Exclusive OR operation.